]> sourceware.org Git - glibc.git/blame - ChangeLog
Initialize all of datahead structure in nscd (BZ #16791)
[glibc.git] / ChangeLog
CommitLineData
1cdeb237
SP
12014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2
bc8f194c
SP
3 [BZ #16791]
4 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5 structure.
6 (datahead_init_pos): Call datahead_init_common early.
7 (datahead_init_neg): Likewise.
8
1cdeb237
SP
9 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10 datahead_init_neg): New functions.
11 * nscd/aicache.c (addhstaiX): Use them.
12 * nscd/grpcache.c (cache_addgr): Likewise.
13 * nscd/hstcache.c (cache_addhst): Likewise.
14 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15 * nscd/netgroupcache.c (do_notfound): Likewise.
16 (addgetnetgrentX): Likewise.
17 (addinnetgrX): Likewise.
18 * nscd/pwdcache.c (cache_addpw): Likewise.
19 * nscd/servicescache.c (cache_addserv): Likewise.
20
16b293a7
SP
212014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22 Atsushi Onoe <atsushi@onoe.org>
23
24 [BZ #14308]
25 [BZ #12994]
26 [BZ #13651]
27 * resolv/res_query.c (__libc_res_nsearch): Return if at least
28 one response is valid.
29 * resolv/res_send.c (send_dg): Check for validity of other
30 response if the current response is a referral.
31
a28a9b94
SE
322014-04-29 Steve Ellcey <sellcey@mips.com>
33
34 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35
2ca180e9
SL
362014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
37
38 [BZ #16823]
39 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40 Always divide by positive zero when computing -Inf result.
41 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
43
18f2945a
AZ
442014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45
46 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47 FPSCR if value do not change.
48 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
50 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
54 function.
55
5abebba4
CD
562014-05-29 Carlos O'Donell <carlos@systemhalted.org>
57
58 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
59 * sysdeps/unix/sysv/linux/hppa: Move directory from
60 ports/systeps/unix/sysv/linux/hppa.
61 * README: Update listing for hppa-*-linux-gnu.
62
f7ed60c2
OB
632014-04-28 Ondřej Bílka <neleai@seznam.cz>
64
fff763a5
OB
65 [BZ #16754]
66 * manual/stdio.texi (Hook functions): Fix types of stream hook
67 functions.
f7ed60c2
OB
68 [BZ #16854]
69 * socket/sys/socket.h: Fix typo in comment.
70
df639d73
WD
712014-04-28 Wilco <wdijkstr@arm.com>
72
f7ed60c2 73 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
74 * sysdeps/arm/math_private.h: New file.
75 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
76
48332d82
L
772014-04-25 H.J. Lu <hongjiu.lu@intel.com>
78
79 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
80 with __int128_t.
81 (La_x86_64_retval): Likewise.
82
e5e0d9a4
IB
832014-04-24 Ian Bolton <ian.bolton@arm.com>
84
85 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
86 fpsr if value didn't change.
87 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
88 to fpcr if value didn't change.
89 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
90 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
91 fpsr or fpcr if value didn't change.
92 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
93 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
94 fpcr if value didn't change.
95 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
96 to fpsr if value didn't change.
97
bacc75f7
SP
982014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
99
100 * nptl/tst-sem3.c: Use test-skeleton.c
101 (main): Rename to do_test. Use return instead of
102 exit.
103 * nptl/tst-sem4.c: Use test-skeleton.c
104 (main): Rename to do_test.
105
a059d359
DM
1062014-04-22 David S. Miller <davem@davemloft.net>
107
108 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
109 (struct sigaction): New struct member __glibc_reserved0, change
110 type of sa_flags to int.
111
ea6c92f3
YZ
1122014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
113
114 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
115 (COUNT_LEADING_ZEROS_0): Define for AArch64.
116
766c4a36
SP
1172014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
118
119 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
120 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
121
140cc7ab
VK
1222014-04-22 Will Newton <will.newton@linaro.org>
123 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
124
125 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
126 (__longjmp): Add longjmp and longjmp_target SystemTap
127 probes.
128 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
129 (__sigsetjmp): Add setjmp SystemTap probe.
130
c54e5cf7
CD
1312014-04-17 Carlos O'Donell <carlos@redhat.com>
132
133 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
134 match manual order.
135
75ffb047
AZ
1362014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
139
2cd925f7
AZ
1402014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/fpu/fenv_private.h
143 (libc_feholdexcept_setroundl_ctx): Define to
144 libc_feholdexcept_setround_ppc_ctx.
145 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
146 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
147 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
148 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
149
39e6cd8d
IB
1502014-04-17 Ian Bolton <ian.bolton@arm.com>
151
152 * sysdeps/aarch64/math-tests.h: New file.
153
f9281df9
SY
1542014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
155
156 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
157 New.
158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
159 Check and set bit_AVX2_Usable.
160 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
161 macro.
162 (bit_AVX2): Likewise.
163 (index_AVX2_Usable): Likewise.
164 (CPUID_AVX2): Likewise.
165 (HAS_AVX2): Likewise.
166
37d35007
WN
1672014-04-17 Will Newton <will.newton@linaro.org>
168
7c677662
WN
169 * manual/setjmp.texi (System V contexts): Add note that
170 calling setcontext on a context created by a call to a
171 signal handler is undefined. Update text to note that
172 setcontext from a signal handler is possible but not
173 recommended.
174
37d35007 175 [BZ #16629]
e04a4e9d
WN
176 * stdlib/tst-setcontext.c: Include signal.h.
177 (main): Check that the signal stack before and
178 after swapcontext is the same.
179
37d35007
WN
180 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
181 Re-implement to restore registers in user code and avoid
182 rt_sigreturn system call.
183
423a7160
W
1842014-04-17 Wilco <wdijkstr@arm.com>
185
186 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
187 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
188 * math/test-fenv.c: Skip exception trap tests on targets which only
189 support non-stop mode.
190
bc93ab29
IB
1912014-04-17 Ian Bolton <ian.bolton@arm.com>
192 Wilco Dijkstra <wilco.dijkstra@arm.com>
193
194 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
195 (libc_feholdsetround_aarch64_ctx)
196 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
197 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
198 (libc_feresetround_ctx, libc_feresetroundf_ctx)
199 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
200 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
201 (libc_feresetround_noexl_ctx): Define.
202
95fc5fa3
RH
2032014-04-16 Richard Henderson <rth@redhat.com>
204
ddb04724
RH
205 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
206
d77c0899
RH
207 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
208 unwind tables.
209
a3df56fc
RH
210 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
211 const from the non-libc, non-ldso copy.
212
95fc5fa3
RH
213 * sysdeps/alpha/libm-test-ulps: Regenerate.
214
7e0b6763
IB
2152014-04-16 Ian Bolton <ian.bolton@arm.com>
216 Wilco Dijkstra <wilco.dijkstra@arm.com>
217
218 * sysdeps/aarch64/fpu/math_private.h: New file.
219
a9ea2e0c
MS
2202014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
221
222 * sysdeps/aarch64/libm-test-ulps: Regenerate.
223
ea8ba7cd
IZ
2242014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
225
226 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
227 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
228 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
229 Intel MPX bound registers before _dl_profile_fixup.
230 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
231 registers after _dl_profile_fixup. Save and restore bound
232 registers bnd0/bnd1 when calling _dl_call_pltexit.
233 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
234 (LR_BND_OFFSET): Likewise.
235 (LRV_BND0_OFFSET): Likewise.
236 (LRV_BND1_OFFSET): Likewise.
237
9f2a4fbc
ST
2382014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
239
240 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
241 to...
242 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
243 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
244 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
245 fields.
9f2a4fbc 246
fd15a59b
ST
2472014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
248
249 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
250
f19dfa0a
SL
2512014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
252
253 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
254
4fa8bc3b
SL
2552014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
256
257 [BZ #14770]
258 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
259 * sysdeps/s390/configure: Regenerate.
260
8ea587db
SL
2612014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
262
263 [BZ #16824]
264 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
265 Set round-to-nearest internally to reduce error accumulation.
266
aa5f0ff1
AM
2672014-04-16 Alan Modra <amodra@gmail.com>
268
269 [BZ #16740]
270 [BZ #16619]
271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
272 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 273 * NEWS: Update fixed bug list.
aa5f0ff1 274
bb9c256f
SP
2752014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
276
277 * benchtests/Makefile: Depend on libraries in build directory.
278 (bench-math): Separate out math tests.
279 (bench-pthread): Separate out pthread tests.
280 (bench): Include math and pthread tests.
281
f737dfd0
CD
2822014-04-14 Carlos O'Donell <carlos@redhat.com>
283
284 [BZ #16831]
285 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
286 _dl_debug_initialize.
287
0699f766
CD
2882014-04-14 Carlos O'Donell <carlos@redhat.com>
289
290 * configure.ac: Remove SELinux header check.
291 * configure: Regenerate.
292 * nscd/selinux.c (perms): Array of const char* to permission names.
293 (nscd_request_avc_has_perm): Call security_deny_unknown to find
294 default policy. Call string_to_security_class and string_to_av_perm to
295 translate strings. Enforce default policy and call avs_has_perm with
296 results of translated strings.
297
809bd45f
DM
2982014-04-13 David S. Miller <davem@davemloft.net>
299
300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
301
89e691f2
AM
3022014-04-12 Allan McRae <allan@archlinux.org>
303
304 [BZ #16838]
305 * manual/string.texi (Collation Functions): Fix qsort argument
306 order in example.
307 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
308
9c9daaeb
CM
3092014-04-11 Chris Metcalf <cmetcalf@tilera.com>
310
311 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
312 Make the test a no-op if there are no exceptions defined.
313
95561fb9
PP
3142014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
315
fe8d072c 316 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
317 enable-hardcoded-path-in-tests
318
970c602a
WN
3192014-04-11 Will Newton <will.newton@linaro.org>
320
321 * benchtests/Makefile (extra-objs): Add json-lib.o.
322 (bench-func): Tidy up JSON output.
323 * benchtests/bench-skeleton.c: Include json-lib.h.
324 (main): Use JSON library functions to do output of
325 benchmark results.
326 * benchtests/bench-timing-type.c (main): Output the
327 timing type simply, leaving formatting to the user.
328 * benchtests/json-lib.c: New file.
329 * benchtests/json-lib.h: Likewise.
330
36875b06
TR
3312014-04-11 Torvald Riegel <triegel@redhat.com>
332
333 [BZ #15215]
334 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
335 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
336 memory barriers. Add comments.
337 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
338 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
339 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
340 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
341 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
342 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
343
579db35a
SL
3442014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
345
346 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
347 * sysdeps/s390/s390-64/configure.ac: ... this ...
348 * sysdeps/s390/configure.ac: ... to here.
349 * sysdeps/s390/s390-32/configure: Delete file.
350 * sysdeps/s390/s390-64/configure: Delete file.
351 * sysdeps/s390/configure: Regenerate.
352
c12e9f37
JAPH
3532014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
354
355 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
356
439bda32
WN
3572014-04-11 Will Newton <will.newton@linaro.org>
358
359 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
360 to zero if it is not defined elsewhere. (mtrim): Test
361 the value of MALLOC_DEBUG with #if rather than #ifdef.
362
6a5d6ea1
TR
3632014-04-10 Torvald Riegel <triegel@redhat.com>
364
365 * benchtests/pthread_once-inputs: New file.
366 * benchtests/pthread_once-source.c: New file.
367 * benchtests/README: Update documentation.
368
a4c75cfd
IZ
3692014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
370 H.J. Lu <hongjiu.lu@intel.com>
371
372 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
373 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
374 * sysdeps/x86_64/configure: Regenerated.
375 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
376 macro.
377 (REGISTER_SAVE_RAX): Likewise.
378 (REGISTER_SAVE_RCX): Likewise.
379 (REGISTER_SAVE_RDX): Likewise.
380 (REGISTER_SAVE_RSI): Likewise.
381 (REGISTER_SAVE_RDI): Likewise.
382 (REGISTER_SAVE_R8): Likewise.
383 (REGISTER_SAVE_R9): Likewise.
384 (REGISTER_SAVE_BND0): Likewise.
385 (REGISTER_SAVE_BND1): Likewise.
386 (REGISTER_SAVE_BND2): Likewise.
387 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
388 bound registers when calling _dl_fixup.
389
27822ce6
AZ
3902014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391
392 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
393 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
394 definition.
395 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
396 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
397 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
398 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
399 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
400 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
401 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
402
a88ddc90
PTB
4032014-04-09 Peter Brett <peter@peter-b.co.uk>
404
405 [BZ #15514]
406 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
407 pathconf(_PC_NAME_MAX).
408
01f8eac2
AZ
4092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
410
411 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
412 Remove macro usage.
413 (__PTHREAD_SPINS): Move definition to ...
414 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
415 (__PTHREAD_SPINS): ... here.
416 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
417 (__PTHREAD_SPIN): Likewise.
418 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
419 (__PTHREAD_SPIN): Likewise.
420 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
421 (__PTHREAD_SPIN): Likewise.
422 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
423 (__PTHREAD_SPIN): Likewise.
424 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
425 (__PTHREAD_SPIN): Likewise.
426 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
427 (__PTHREAD_SPIN): Likewise.
428 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
429 (__PTHREAD_SPIN): Likewise.
430 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
431 (__PTHREAD_SPIN): Likewise.
432 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
433 (__PTHREAD_SPIN): Likewise.
434 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
435 (__PTHREAD_SPIN): Likewise.
436 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
437 (__PTHREAD_SPIN): Likewise.
438 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
439 (__PTHREAD_SPIN): Likewise.
440
de21c33c
AZ
4412014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
442
443 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
444 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
445 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
446 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
447 imply folder.
448 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
449 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
450 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
451 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
452 correct imply path.
453 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
454 strlen symbol for non multi-arch builds.
455 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
456 missing hidden_def and weak_alias.
457
862c472e
CD
4582014-04-08 Carlos O'Donell <carlos@redhat.com>
459
460 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
461
8667f90e
WN
4622014-04-07 Will Newton <will.newton@linaro.org>
463
464 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
465 and contents. [!_LIBC] Remove #ifndef and contents.
466 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
467 * string/memccpy.c (__memccpy): Use ANSI prototype.
468 * string/memfrob.c (memfrob): Likewise.
469 * string/strcoll.c (STRCOLL): Likewise.
470 * string/strlen.c (strlen): Likewise.
471 * string/strtok.c (STRTOK): Likewise.
472 * string/strcat.c: Remove unused #include of memcopy.h.
473 (strcat): Use ANSI prototype.
474 * string/strchr.c: Remove unused #include of memcopy.h.
475 (strchr): Use ANSI prototype.
476 * string/strcmp.c: Remove unused #include of memcopy.h.
477 (strcmp): Use ANSI prototype.
478 * string/strcpy.c: Remove unused #include of memcopy.h.
479 (strcpy): Use ANSI prototype.
480
7ffa9423
AZ
4812014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
482
483 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
484 * config.make.in (config-extra-cppflags): Set it from
485 libc_extra_cppflags.
486 * configure.ac (libc_extra_cflags): Make it accumulate over
487 configure fragments.
488 (libc_extra_cppflags): New flag.
489 * configure. Regenerate.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
491 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
492 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
494
8bd70862
AZ
4952014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
496
497 [BZ #16815]
498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
499 result for FE_DOWNWARD rounding mode.
500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
501 Likewise.
502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
503
d42f3448
CM
5042014-04-04 Chris Metcalf <cmetcalf@tilera.com>
505
506 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
507 in function argument name.
508
1c21d115
DS
5092014-04-03 David Svoboda <svoboda@cert.org>
510
511 [BZ #5666]
512 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
513 explicitly.
514
fcccd512
RM
5152014-04-03 Roland McGrath <roland@hack.frob.com>
516
517 * elf/dl-unmap-segments.h: New file.
518 * sysdeps/generic/ldsodefs.h
519 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
520 * elf/dl-close.c: Include <dl-unmap-segments.h>.
521 * elf/dl-fptr.c: Likewise.
522 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
523 * sysdeps/aarch64/tlsdesc.c: Likewise.
524 * sysdeps/arm/tlsdesc.c: Likewise.
525 * sysdeps/i386/tlsdesc.c: Likewise.
526 * sysdeps/tile/dl-runtime.c: Likewise.
527 * sysdeps/x86_64/tlsdesc.c: Likewise.
528 * elf/dl-load.h: New file.
529 * elf/dl-load.c: Include it.
530 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
531 Macros moved to dl-load.h.
532 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
533 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
534 Use _dl_unmap_segments in place of __munmap.
535 Break out segment-mapping loop into ...
536 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
537
f6488e2b
WN
5382014-04-03 Will Newton <will.newton@linaro.org>
539
540 * elf/dl-lookup.c (do_lookup_x): Remove comment
541 referring to nested function and move variable
542 declarations down to before first use.
543
6f05bafe
JM
5442014-04-02 Joseph Myers <joseph@codesourcery.com>
545
a84e78c8
JM
546 [BZ #16799]
547 [BZ #16800]
548 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
549 with 0 numerator.
550 * math/s_catanf.c (__catanf): Likewise.
551 * math/s_catanh.c (__catanh): Likewise.
552 * math/s_catanhf.c (__catanhf): Likewise.
553 * math/s_catanhl.c (__catanhl): Likewise.
554 * math/s_catanl.c (__catanl): Likewise.
555 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
556 by positive zero when computing -Inf result.
557 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
558 (catanh_test): Likewise.
559 * sysdeps/i386/fpu/libm-test-ulps: Update.
560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
561
6f05bafe
JM
562 [BZ #16789]
563 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
564 instead of using underflowing value in computing result.
565 * math/s_clog10.c (__clog10): Likewise.
566 * math/s_clog10f.c (__clog10f): Likewise.
567 * math/s_clog10l.c (__clog10l): Likewise.
568 * math/s_clogf.c (__clogf): Likewise.
569 * math/s_clogl.c (__clogl): Likewise.
570 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
571 (clog10_test): Likewise.
572 * sysdeps/i386/fpu/libm-test-ulps: Update.
573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574
b0abbc21
AM
5752014-04-02 Alan Modra <amodra@gmail.com>
576
577 [BZ #16739]
578 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
579 output when value is near a power of two. Use int64_t for lx and
580 remove casts. Use decimal rather than hex exponent constants.
581 Don't use long double multiplication when double will suffice.
582 * math/libm-test.inc (nextafter_test_data): Add tests.
583 * NEWS: Add 16739 and 16786 to bug list.
584
af6b1797
AM
5852014-04-02 Alan Modra <amodra@gmail.com>
586
587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
588
483818d7
AM
5892014-04-02 Alan Modra <amodra@gmail.com>
590
591 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
592
f6c55796
WN
5932014-04-01 Will Newton <will.newton@linaro.org>
594
595 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
596 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
597
13f7fe35
FW
5982014-04-01 Florian Weimer <fweimer@redhat.com>
599
600 [BZ #13347]
601 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
602 * nptl/tst-setuid2.c: New file.
603 * nptl/Makefile (xtests): Add tst-setuid2.
604
c859b32e
AM
6052014-04-01 Alan Modra <amodra@gmail.com>
606
607 [BZ #16786]
608 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
609
54fa2475
JM
6102014-03-31 Joseph Myers <joseph@codesourcery.com>
611
8795b4a4
JM
612 [BZ #6803]
613 [BZ #6804]
614 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
615 set errno as appropriate.
616 * math/w_scalbf.c (__scalbf): Likewise.
617 * math/w_scalbl.c (__scalbl): Likewise.
618 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
619 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
620 * math/libm-test.inc (scalb_test_data): Add errno expectations.
621 Add more NaN tests.
622
54fa2475
JM
623 [BZ #16349]
624 * math/w_atan2.c: Include <errno.h>.
625 (__atan2): Set errno for result underflowing to zero.
626 * math/w_atan2f.c: Include <errno.h>.
627 (__atan2f): Set errno for result underflowing to zero.
628 * math/w_atan2l.c: Include <errno.h>.
629 (__atan2l): Set errno for result underflowing to zero.
630 * math/auto-libm-test-in: Don't allow missing errno for some atan2
631 tests.
632 * math/auto-libm-test-out: Regenerated.
633
757d9dd5
AZ
6342014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
635
636 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
637 Encode instruction correctly in little endian.
638 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
639 Likewise.
640 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
641 Likewise.
642 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
643 Likewise.
644 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
645 Likewise.
646
d7a68734
JM
6472014-03-31 Joseph Myers <joseph@codesourcery.com>
648
47c5adeb
JM
649 [BZ #9894]
650 * sysdeps/unix/sysv/linux/kernel-features.h
651 [__sparc__ && !__arch64__ && !__sparc_v9__]
652 (__ASSUME_SET_ROBUST_LIST): Do not define.
653 [__sparc__ && !__arch64__ && !__sparc_v9__]
654 (__ASSUME_FUTEX_LOCK_PI): Likewise.
655 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
656 Likewise.
657 * sysdeps/unix/sysv/linux/arm/kernel-features.h
658 (__ASSUME_FUTEX_LOCK_PI): Undefine.
659 (__ASSUME_REQUEUE_PI): Likewise.
660 (__ASSUME_SET_ROBUST_LIST): Likewise.
661 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
662 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
663 Undefine.
664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
665 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
666 Likewise.
667 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
668 Likewise.
669 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
670 Likewise.
671 * sysdeps/unix/sysv/linux/mips/kernel-features.h
672 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
673 Undefine.
674 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
675 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
676 Likewise.
677
d7a68734
JM
678 [BZ #16648]
679 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
680 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
681 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
682
c760f5c2
WN
6832014-03-31 Will Newton <will.newton@linaro.org>
684
685 * benchtests/Makefile (bench): Add ffs and ffsll to list
686 of tests.
687 * benchtests/ffs-inputs: New file.
688 * benchtests/ffsll-inputs: Likewise.
689
ea6029b1
JM
6902014-03-29 Joseph Myers <joseph@codesourcery.com>
691
692 [BZ #16770]
693 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
694 too large before casting to int.
695 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
696 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
697 * math/libm-test.inc (scalb_test_data): Add more tests.
698
cf806aff
SP
6992014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
700
56737508
SP
701 * benchtests/Makefile (DETAILED_OPT): New make option.
702 (bench-func): Run benchmark program with -d if DETAILED_OPT is
703 set.
704 * benchtests/bench-skeleton.c: Include stdbool.h.
705 (main): Store and print timings per input.
706 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
707 member to each argument value.
708 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
709 (_print_arg_data): Initialize per-input timing to 0.
710
cb5e4aad
SP
711 * benchtests/Makefile (timing-type): New binary.
712 (bench-clean): Also remove bench-timing-type.
713 (bench): New target for timing-type.
714 (bench-func): Print output in JSON format.
715 * benchtests/bench-skeleton.c (main): Print output in JSON
716 format.
717 * benchtests/bench-timing-type.c: New file.
718 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
719 (TIMING_PRINT_STATS): Remove.
720 * benchtests/scripts/bench.py (_print_arg_data): Store variant
721 name separately.
722
cf806aff
SP
723 * benchtests/bench-modf.c: Remove.
724 * benchtests/modf-inputs: New inputs file.
725
289e0779
JM
7262014-03-28 Joseph Myers <joseph@codesourcery.com>
727
728 [BZ #16362]
729 * math/s_clog10.c (M_PI_LOG10E): New macro.
730 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
731 imaginary parts are 0.
732 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
733 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
734 imaginary parts are 0.
735 * math/s_clog10l.c (M_PI_LOG10El): New macro.
736 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
737 imaginary parts are 0.
738 * math/libm-test.inc (clog10_test_data): Update expected results
739 for when real and imaginary parts are 0.
740
277ae3f1
PP
7412014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
742
743 * elf/dl-load.c: Finish conversion of __builtin_expect into
744 __glibc_{un}likely.
745
03a7091f
JM
7462014-03-27 Joseph Myers <joseph@codesourcery.com>
747
748 [BZ #16348]
749 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
750 1+x for argument with exponent below -67.
751 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
752 Likewise.
753 * math/auto-libm-test-in: Add more tests of exp.
754 * math/auto-libm-test-out: Regenerated.
755
ea7d8b95
SP
7562014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
757
dd3022d7
SP
758 [BZ #16759]
759 * inet/getnetgrent_r.c (get_nonempty_val): New function.
760 (nscd_getnetgrent): Use it.
761
ea7d8b95
SP
762 [BZ #16760]
763 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
764 of stpcpy.
765
df5b85da
AK
7662014-03-27 Andi Kleen <ak@linux.intel.com>
767
768 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
769 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
770 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
771 Remove out of line section. Use cfi intrinsics.
772 (LLL_STUB_UNWIND_INFO*): Remove.
773 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
774 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
775 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
776 Remove out of line section. Use cfi intrinsics.
777 (LLL_STUB_UNWIND_INFO*): Remove.
778
fbd6b5a4
SP
7792014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
780
781 [BZ #16758]
782 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
783 blank values.
784
1b26b855
PP
7852014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
786
787 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
788
9be36fb8
JM
7892014-03-26 Joseph Myers <joseph@codesourcery.com>
790
791 [BZ #16198]
792 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
793 fnstenv.
794 * math/test-fenv-preserve.c: New file.
795 * math/Makefile (tests): Add test-fenv-preserve.
796
60a2f3c1
WN
7972014-03-26 Will Newton <will.newton@linaro.org>
798
799 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
800
a5e5f1e2
RM
8012014-03-25 Roland McGrath <roland@hack.frob.com>
802
803 * scripts/versionlist.awk: Partition the version sets and emit all
804 GLIBC_* (sorted) before all others (sorted).
805
00f4012a
JM
8062014-03-25 Joseph Myers <joseph@codesourcery.com>
807
808 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
809 GLIBC_2.2.5 version.
810
7bc5a741
AZ
8112014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
812
813 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
814 calls.
815
7578473b
AZ
8162014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817
818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
819 previous change.
820
f3f1dab3
AZ
8212014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
822
823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
824
6da36183
AS
8252014-03-25 Andreas Schwab <schwab@suse.de>
826
827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
828 label to be used after in6ailist is initialized.
829
f3f1dab3 8302014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 831
7578473b 832 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
833 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
834
046651c1
JM
8352014-03-25 Joseph Myers <joseph@codesourcery.com>
836
837 [BZ #16357]
838 [BZ #16599]
839 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
840 min_plus_half.
841 (fp_formats): Update initializers.
842 (init_fp_formats): Initialize new field.
843 (output_for_one_input_case): Allow underflow for results up to
844 min_plus_half.
845 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
846 * math/auto-libm-test-in: Don't mark some underflows from asin and
847 atanh as spurious.
848 * math/auto-libm-test-out: Regenerated.
849 * sysdeps/i386/fpu/libm-test-ulps: Update.
850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
851
003e49ed
AS
8522014-03-25 Andreas Schwab <schwab@suse.de>
853
854 * libio/Makefile (tst-ftell-partial-wide-ENV)
855 (tst-ftell-active-handler-ENV): Define.
856
de031874
SL
8572014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
858
859 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
860
55a81e3b
PP
8612014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
862
863 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
864
f3426898
JM
8652014-03-24 Joseph Myers <joseph@codesourcery.com>
866
867 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
868 * sysdeps/x86_64/fpu/multiarch/e_exp.c
869 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
870
a42faf59
PP
8712014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
872
873 [BZ #16634]
a42faf59 874 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
875 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
876 (open_path): Change from boolean 'secure' to complete flag 'mode'
877 (_dl_map_object): Adjust.
a42faf59
PP
878 * elf/Makefile (tests): Add tst-dlopen-aout.
879 * elf/tst-dlopen-aout.c: New test.
880
50936127
SL
8812014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
882
883 [BZ #16714]
884 * sysdeps/unix/sysv/linux/s390/bits/stat.h
885 (struct stat): Rename member pad0 to __glibc_reserved0.
886
26011b5c
SL
8872014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
888
889 [BZ #16712]
890 * sysdeps/s390/s390-32/bits/wordsize.h
891 (__WORDSIZE32_SIZE_ULONG): New define.
892 * sysdeps/s390/s390-64/bits/wordsize.h
893 (__WORDSIZE32_SIZE_ULONG): Likewise.
894 * sysdeps/generic/stdint.h (SIZE_MAX):
895 Define as UL if __WORDSIZE32_SIZE_ULONG.
896
a2d86bf1
SL
8972014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
898
899 [BZ #16713]
900 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
901 (__glibc_reserved0): New variable.
902 (sa_flags): Change type to int.
903
78b6eebc
SL
9042014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
905
906 * posix/Makefile (before-compile): Use += before-compile instead
907 of a :=.
908
f1399b5a
SL
9092014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
910
911 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
912 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
913
a071766e
AS
9142014-03-20 Andreas Schwab <schwab@suse.de>
915
916 [BZ #16743]
917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
918 non-matching result from nscd.
919
27c673b8
SP
9202014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
921
922 * scripts/bench.py: Moved to ...
923 * benchtests/scripts/bench.py: ... here.
924 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
925
44152e4b
AS
9262014-03-24 Andreas Schwab <schwab@suse.de>
927
928 [BZ #16002]
929 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
930 alloca_account and account alloca use for struct in6ailist.
931
b376a11a
JM
9322014-03-24 Joseph Myers <joseph@codesourcery.com>
933
934 [BZ #16284]
935 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
936 rounding mode to recompute results that overflow to infinity or
937 underflow to zero.
938 * math/auto-libm-test-in: Don't mark tests as expected to fail for
939 bug 16284.
940 * math/auto-libm-test-out: Regenerated.
941 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
942 (ccosh_test): Likewise.
943 (csin_test_data): Use plus_oflow.
944 (csin_test): Use ALL_RM_TEST.
945 (csinh_test_data): Use plus_oflow.
946 (csinh_test): Use ALL_RM_TEST.
947 * sysdeps/i386/fpu/libm-test-ulps: Update.
948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
949
f7be7376
JM
9502014-03-21 Joseph Myers <joseph@codesourcery.com>
951
1ca2d03e
JM
952 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
953 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
954 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
955
f7be7376
JM
956 [BZ #16731]
957 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
958 when x - 1 is zero.
959 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
960 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
961 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
962 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
963 argument is 1.
964 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
965 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
966 zero.
967 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
968 * sysdeps/i386/fpu/libm-test-ulps: Update.
969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
970
fdf4534d
SP
9712014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
972
df26ea53
SP
973 * scripts/bench.pl: Remove file.
974 * scripts/bench.py: New benchmark script.
975 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
976 * benchtests/README: Mention python dependency.
977 * scripts/pylintrc: New file.
978 * scripts/pylint: New file.
979
fdf4534d
SP
980 * bits/mathdef.h: Use #ifdef instead of #if.
981 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
982 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
983 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
984 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
985 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
986 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
987
6f23d093
AZ
9882014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
990
991 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
993 and strpbrk-ppc64 objects.
994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
995 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
996 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
997 multiarch strpbrk for POWER7.
998 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
999 multiarch strpbrk for PPC64.
1000 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1001 ifunc selector.
1002 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1003 strpbrk for POWER7.
1004
8c92dfff
JM
10052014-03-20 Joseph Myers <joseph@codesourcery.com>
1006
1007 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1008 (atan_test): Likewise.
1009 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1010 (atanh_test): Use ALL_RM_TEST.
1011 (atan2_test_data): Likewise.
1012 (cabs_test): Likewise.
1013 (cacosh_test): Likewise.
1014 (carg_test): Likewise.
1015 (casin_test): Likewise.
1016 (casinh_test): Likewise.
1017 (cbrt_test): Likewise.
1018 (csqrt_test): Likewise.
1019 (erf_test): Likewise.
1020 (erfc_test): Likewise.
1021 (pow10_test): Likewise.
1022 (exp2_test): Likewise.
1023 (hypot_test): Likewise.
1024 (j0_test): Likewise.
1025 (j1_test): Likewise.
1026 (lgamma_test): Likewise.
1027 (gamma_test): Likewise.
1028 (sincos_test): Likewise.
1029 (tanh_test): Likewise.
1030 (y0_test): Likewise.
1031 (y1_test): Likewise.
1032 * sysdeps/i386/fpu/libm-test-ulps: Update.
1033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1034
6eaf95cb
AZ
10352014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1036
a387428c
SP
1037 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1039 and strcspn-ppc64 objects.
1040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1041 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1042 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1043 multiarch strcspn for POWER7.
1044 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1045 multiarch strcspn for PPC64.
1046 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1047 ifunc selector.
1048 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1049 strcspn for POWER7.
1050
ae3a5dff
JM
10512014-03-20 Joseph Myers <joseph@codesourcery.com>
1052
1053 * math/gen-libm-test.pl (generate_testfile): Expect only function
1054 name as argument to AUTO_TESTS_* and pass results for all rounding
1055 modes to parse_args.
1056 (parse_auto_input): Separate inputs of automatic tests from
1057 outputs before storing in %auto_tests.
1058 * math/libm-test.inc (acos_test_data): Update call to
1059 AUTO_TESTS_f_f.
1060 (acos_test): Use ALL_RM_TEST.
1061 (acos_tonearest_test_data): Remove.
1062 (acos_test_tonearest): Likewise.
1063 (acos_towardzero_test_data): Likewise.
1064 (acos_test_towardzero): Likewise.
1065 (acos_downward_test_data): Likewise.
1066 (acos_test_downward): Likewise.
1067 (acos_upward_test_data): Likewise.
1068 (acos_test_upward): Likewise.
1069 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1070 (asin_test_data): Likewise.
1071 (asin_test): Use ALL_RM_TEST.
1072 (asin_tonearest_test_data): Remove.
1073 (asin_test_tonearest): Likewise.
1074 (asin_towardzero_test_data): Likewise.
1075 (asin_test_towardzero): Likewise.
1076 (asin_downward_test_data): Likewise.
1077 (asin_test_downward): Likewise.
1078 (asin_upward_test_data): Likewise.
1079 (asin_test_upward): Likewise.
1080 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1081 (atan_test_data): Likewise.
1082 (atanh_test_data): Likewise.
1083 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1084 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1085 (carg_test_data): Likewise.
1086 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1087 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1088 (ccosh_test_data): Likewise.
1089 (cexp_test_data): Likewise.
1090 (clog_test_data): Likewise.
1091 (clog10_test_data): Likewise.
1092 (cos_test_data): Update call to AUTO_TESTS_f_f.
1093 (cos_test): Use ALL_RM_TEST.
1094 (cos_tonearest_test_data): Remove.
1095 (cos_test_tonearest): Likewise.
1096 (cos_towardzero_test_data): Likewise.
1097 (cos_test_towardzero): Likewise.
1098 (cos_downward_test_data): Likewise.
1099 (cos_test_downward): Likewise.
1100 (cos_upward_test_data): Likewise.
1101 (cos_test_upward): Likewise.
1102 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1103 (cosh_test): Use ALL_RM_TEST.
1104 (cosh_tonearest_test_data): Remove.
1105 (cosh_test_tonearest): Likewise.
1106 (cosh_towardzero_test_data): Likewise.
1107 (cosh_test_towardzero): Likewise.
1108 (cosh_downward_test_data): Likewise.
1109 (cosh_test_downward): Likewise.
1110 (cosh_upward_test_data): Likewise.
1111 (cosh_test_upward): Likewise.
1112 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1113 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1114 (ctan_test_data): Likewise.
1115 (ctan_test): Use ALL_RM_TEST.
1116 (ctan_tonearest_test_data): Remove.
1117 (ctan_test_tonearest): Likewise.
1118 (ctan_towardzero_test_data): Likewise.
1119 (ctan_test_towardzero): Likewise.
1120 (ctan_downward_test_data): Likewise.
1121 (ctan_test_downward): Likewise.
1122 (ctan_upward_test_data): Likewise.
1123 (ctan_test_upward): Likewise.
1124 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1125 (ctanh_test): Use ALL_RM_TEST.
1126 (ctanh_tonearest_test_data): Remove.
1127 (ctanh_test_tonearest): Likewise.
1128 (ctanh_towardzero_test_data): Likewise.
1129 (ctanh_test_towardzero): Likewise.
1130 (ctanh_downward_test_data): Likewise.
1131 (ctanh_test_downward): Likewise.
1132 (ctanh_upward_test_data): Likewise.
1133 (ctanh_test_upward): Likewise.
1134 (erf_test_data): Update call to AUTO_TESTS_f_f.
1135 (erfc_test_data): Likewise.
1136 (exp_test_data): Likewise.
1137 (exp_test): Use ALL_RM_TEST.
1138 (exp_tonearest_test_data): Remove.
1139 (exp_test_tonearest): Likewise.
1140 (exp_towardzero_test_data): Likewise.
1141 (exp_test_towardzero): Likewise.
1142 (exp_downward_test_data): Likewise.
1143 (exp_test_downward): Likewise.
1144 (exp_upward_test_data): Likewise.
1145 (exp_test_upward): Likewise.
1146 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1147 (exp10_test): Use ALL_RM_TEST.
1148 (exp10_tonearest_test_data): Remove.
1149 (exp10_test_tonearest): Likewise.
1150 (exp10_towardzero_test_data): Likewise.
1151 (exp10_test_towardzero): Likewise.
1152 (exp10_downward_test_data): Likewise.
1153 (exp10_test_downward): Likewise.
1154 (exp10_upward_test_data): Likewise.
1155 (exp10_test_upward): Likewise.
1156 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1157 (expm1_test_data): Likewise.
1158 (expm1_test): Use ALL_RM_TEST.
1159 (expm1_tonearest_test_data): Remove.
1160 (expm1_test_tonearest): Likewise.
1161 (expm1_towardzero_test_data): Likewise.
1162 (expm1_test_towardzero): Likewise.
1163 (expm1_downward_test_data): Likewise.
1164 (expm1_test_downward): Likewise.
1165 (expm1_upward_test_data): Likewise.
1166 (expm1_test_upward): Likewise.
1167 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1168 (fma_test): Use ALL_RM_TEST.
1169 (fma_towardzero_test_data): Remove.
1170 (fma_test_towardzero): Likewise.
1171 (fma_downward_test_data): Likewise.
1172 (fma_test_downward): Likewise.
1173 (fma_upward_test_data): Likewise.
1174 (fma_test_upward): Likewise.
1175 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1176 (j0_test_data): Update call to AUTO_TESTS_f_f.
1177 (j1_test_data): Likewise.
1178 (jn_test_data): Update call to AUTO_TESTS_if_f.
1179 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1180 (log_test_data): Update call to AUTO_TESTS_f_f.
1181 (log10_test_data): Likewise.
1182 (log1p_test_data): Likewise.
1183 (log2_test_data): Likewise.
1184 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1185 (pow_tonearest_test_data): Likewise.
1186 (sin_test_data): Update call to AUTO_TESTS_f_f.
1187 (sin_test): Use ALL_RM_TEST.
1188 (sin_tonearest_test_data): Remove.
1189 (sin_test_tonearest): Likewise.
1190 (sin_towardzero_test_data): Likewise.
1191 (sin_test_towardzero): Likewise.
1192 (sin_downward_test_data): Likewise.
1193 (sin_test_downward): Likewise.
1194 (sin_upward_test_data): Likewise.
1195 (sin_test_upward): Likewise.
1196 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1197 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1198 (sinh_test): Use ALL_RM_TEST.
1199 (sinh_tonearest_test_data): Remove.
1200 (sinh_test_tonearest): Likewise.
1201 (sinh_towardzero_test_data): Likewise.
1202 (sinh_test_towardzero): Likewise.
1203 (sinh_downward_test_data): Likewise.
1204 (sinh_test_downward): Likewise.
1205 (sinh_upward_test_data): Likewise.
1206 (sinh_test_upward): Likewise.
1207 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1208 (sqrt_test): Use ALL_RM_TEST.
1209 (sqrt_tonearest_test_data): Remove.
1210 (sqrt_test_tonearest): Likewise.
1211 (sqrt_towardzero_test_data): Likewise.
1212 (sqrt_test_towardzero): Likewise.
1213 (sqrt_downward_test_data): Likewise.
1214 (sqrt_test_downward): Likewise.
1215 (sqrt_upward_test_data): Likewise.
1216 (sqrt_test_upward): Likewise.
1217 (tan_test_data): Update call to AUTO_TESTS_f_f.
1218 (tan_test): Use ALL_RM_TEST.
1219 (tan_tonearest_test_data): Remove.
1220 (tan_test_tonearest): Likewise.
1221 (tan_towardzero_test_data): Likewise.
1222 (tan_test_towardzero): Likewise.
1223 (tan_downward_test_data): Likewise.
1224 (tan_test_downward): Likewise.
1225 (tan_upward_test_data): Likewise.
1226 (tan_test_upward): Likewise.
1227 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1228 (tgamma_test_data): Likewise.
1229 (y0_test_data): Likewise.
1230 (y1_test_data): Likewise.
1231 (yn_test_data): Update call to AUTO_TESTS_if_f.
1232 (main): Do not call removed functions.
1233
d71aeee8
JM
12342014-03-19 Joseph Myers <joseph@codesourcery.com>
1235
1236 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1237 (ldexp_test_data): Remove.
1238 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1239 scalbn_test_data.
1240 (scalb_test): Use ALL_RM_TEST.
1241
baaf1ded
AS
12422014-03-19 Andreas Schwab <schwab@suse.de>
1243
1244 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1245
b1115e91
JM
12462014-03-19 Joseph Myers <joseph@codesourcery.com>
1247
1248 [BZ #16649]
1249 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1250 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1251 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1252 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1253 (__ASSUME_PREADV): Undefine.
1254 (__ASSUME_PWRITEV): Likewise.
1255
0283ecca
RM
12562014-03-18 Roland McGrath <roland@hack.frob.com>
1257
7d375303
RM
1258 * bits/mman-linux.h: Add comment about non-Linux use.
1259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1260 bits/mman-linux.h resting place.
1261
0283ecca
RM
1262 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1263 * bits/mman-linux.h: ... here.
1264
aebe1003
AZ
12652014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1266
1267 * conform/conformtest.pl: Add standard definition when calling C
1268 preprocessor on data files.
1269 (checknamespace): Remove unused variable.
1270
b29b6bb8
JM
12712014-03-18 Joseph Myers <joseph@codesourcery.com>
1272
1273 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1274 minus_oflow, plus_uflow and minus_uflow in expected results.
1275 * math/libm-test.inc (scalbn_test_data): Add more tests of
1276 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1277 minus_uflow.
1278 (scalbn_test): Use ALL_RM_TEST.
1279 (scalbln_test_data): Add more tests of negative arguments. Use
1280 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1281 (scalbln_test): Use ALL_RM_TEST.
1282
c8f8fa15
RM
12832014-03-18 Roland McGrath <roland@hack.frob.com>
1284
1285 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1286
fede7a5f
WN
12872014-03-18 Will Newton <will.newton@linaro.org>
1288
1289 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1290 inaccurate comment.
1291
80cf0a58
JM
12922014-03-18 Joseph Myers <joseph@codesourcery.com>
1293
1294 * Makerules [!subdir] (check-abi): Exit with error status if a
1295 test failed.
1296
b3620862
JM
12972014-03-17 Joseph Myers <joseph@codesourcery.com>
1298
1299 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1300 for rint. Include results for all rounding modes.
1301 (nearbyint_test): Use ALL_RM_TEST.
1302 (rint_test_data): Include all tests used for nearbyint.
1303
788bba36
WN
13042014-03-17 Will Newton <will.newton@linaro.org>
1305
04ec140a
WN
1306 * nptl/sysdeps/pthread/pthread.h: Revert previous
1307 change.
1308
7579d8d5
WN
1309 * sysdeps/generic/ldsodefs.h: Revert previous
1310 change.
1311
c15cf13a
WN
1312 * libio/genops.c: Revert previous change.
1313 * libio/libioP.h: Likewise.
1314 * stdio-common/vfprintf.c: Likewise.
1315
d0ac1324
WN
1316 * sysdeps/generic/math_private.h: Revert previous
1317 change.
1318
9290130a
WN
1319 * sysdeps/generic/math_private.h: Check whether
1320 HAVE_RM_CTX is defined with #ifdef rather
1321 than #if.
1322
afb466fc
WN
1323 * argp/argp-fmtstream.h: Check whether
1324 __STRICT_ANSI__ is defined with #ifdef rather
1325 than #if.
1326 * argp/argp.h: Likewise.
1327
f7efd7c3
WN
1328 * libio/genops.c: Check whether
1329 _IO_JUMPS_OFFSET is defined with #ifdef rather
1330 than #if.
1331 * libio/libioP.h: Likewise.
1332 * stdio-common/vfprintf.c: Likewise.
1333
53f1bed3
WN
1334 * sysdeps/generic/ldsodefs.h: Check whether
1335 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1336 than #if.
1337
788bba36
WN
1338 * nptl/sysdeps/pthread/pthread.h: Check
1339 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1340 its value.
1341
fcd89ebe
SP
13422014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1343
ae42bbc5
SP
1344 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1345 setting O_APPEND.
1346 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1347 test case.
1348
ea33158c
SP
1349 [BZ #16680]
1350 * libio/fileops.c (_IO_file_open): Seek to end of file but
1351 don't cache the offset.
1352 (get_file_offset): Remove function.
1353 (do_ftell): Use cached offset when available.
1354 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1355 don't cache the offset.
1356 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1357 case.
1358 (do_one_test): Call it.
1359 (do_ftell_test): Fix up expected old offset for a+ mode.
1360 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1361 available.
1362
b1dbb426
SP
1363 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1364 up test status with function return status.
1365 (do_write_test): Likewise.
1366 (do_append_test): Likewise.
1367
fcd89ebe
SP
1368 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1369 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1370 Remove.
1371
9962a2d3
JM
13722014-03-17 Joseph Myers <joseph@codesourcery.com>
1373
1374 * math/gen-libm-test.pl (parse_args): Handle results specified for
1375 each rounding mode separately.
1376 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1377 tests and results from lrint_tonearest_test_data,
1378 lrint_towardzero_test_data, lrint_downward_test_data and
1379 lrint_upward_test_data.
1380 (lrint_test): Use ALL_RM_TEST.
1381 (lrint_tonearest_test_data): Remove.
1382 (lrint_test_tonearest): Likewise.
1383 (lrint_towardzero_test_data): Likewise.
1384 (lrint_test_towardzero): Likewise.
1385 (lrint_downward_test_data): Likewise.
1386 (lrint_test_downward): Likewise.
1387 (lrint_upward_test_data): Likewise.
1388 (lrint_test_upward): Likewise.
1389 (llrint_test_data): Merge in per-rounding-mode tests and results
1390 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1391 llrint_downward_test_data and llrint_upward_test_data.
1392 (llrint_test): Use ALL_RM_TEST.
1393 (llrint_tonearest_test_data): Remove.
1394 (llrint_test_tonearest): Likewise.
1395 (llrint_towardzero_test_data): Likewise.
1396 (llrint_test_towardzero): Likewise.
1397 (llrint_downward_test_data): Likewise.
1398 (llrint_test_downward): Likewise.
1399 (llrint_upward_test_data): Likewise.
1400 (llrint_test_upward): Likewise.
1401 (rint_test_data): Merge in per-rounding-mode tests and results
1402 from rint_tonearest_test_data, rint_towardzero_test_data,
1403 rint_downward_test_data and rint_upward_test_data. Add
1404 per-rounding-mode results for tests not in those arrays.
1405 (rint_test): Use ALL_RM_TEST.
1406 (rint_tonearest_test_data): Remove.
1407 (rint_test_tonearest): Likewise.
1408 (rint_towardzero_test_data): Likewise.
1409 (rint_test_towardzero): Likewise.
1410 (rint_downward_test_data): Likewise.
1411 (rint_test_downward): Likewise.
1412 (rint_upward_test_data): Likewise.
1413 (rint_test_upward): Likewise.
1414 (main): Don't call removed functions.
1415
5006148e
RM
14162014-03-14 Roland McGrath <roland@hack.frob.com>
1417
1418 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1419 "Compiled on ..." crapola. It is anti-useful.
1420
d6fe5e58
JM
14212014-03-14 Joseph Myers <joseph@codesourcery.com>
1422
1423 * scripts/evaluate-test.sh: Handle fourth argument to determine
1424 whether test run should stop on failure.
1425 * Makeconfig (stop-on-test-failure): New variable.
1426 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1427 $(stop-on-test-failure).
1428 * Makefile (tests): Give a summary of results from testing and
1429 exit with failure status if they include an ERROR or FAIL.
1430 (xtests): Likewise.
1431 * manual/install.texi (Configuring and compiling): Mention
1432 stop-on-test-failure=y.
1433 * INSTALL: Regenerated.
1434
498a2233
RM
14352014-03-14 Roland McGrath <roland@hack.frob.com>
1436
22dbc19d
RM
1437 * scripts/versionlist.awk: New file.
1438 * Makerules [$(build-shared) = yes]
1439 (postclean-generated): Add Versions.def, not Versions.def.v and
1440 Versions.def.v.i.
1441 ($(common-objpfx)Versions.def.v.i): Target removed.
1442 ($(common-objpfx)Versions.def): New target.
1443 ($(common-objpfx)Versions.all): Depend on that rather that
1444 $(common-objpfx)Versions.def.v.
1445 * Versions.def: File removed.
1446
498a2233
RM
1447 * Makeconfig (+gccwarn): Add -Wundef.
1448 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1449 a dl-sysdep.h breaking its contract.
1450 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1451 * include/stackinfo.h: New file.
1452 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1453 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1454 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1455 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1456 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1457 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1458 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1459 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1460 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1461 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1462 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1463 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1464 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1465 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1466 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1467
c7de5025
AZ
14682014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1469
1470 [BZ #16707]
1471 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1472 implementation.
1473 * math/libm-test.inc (round_test_data): Add more tests.
1474
98fb27a3
AZ
14752014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476
1477 [BZ #16706]
1478 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1479 implementation.
1480 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1481
374f7f61
AZ
14822014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483
1484 [BZ #16701]
1485 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1486 implementation.
1487 * math/libm-test.inc (ceil_test_data): Add more tests.
1488
4655c291
AZ
14892014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1490
1491 * math/libm-test.inc (trunc_test_data): Add more tests related to
1492 BZ#16414.
1493
d7329d4b
RM
14942014-03-14 Roland McGrath <roland@hack.frob.com>
1495
1496 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1497 with #if rather than #ifdef.
1498 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1499
aa4de9ce
L
15002014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1501
1502 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1503 first. Disable AVX-512 GCC support if assembler doesn't support
1504 it.
1505 * sysdeps/x86_64/configure: Regenerated.
1506
2e03fae7
CD
15072014-03-13 Carlos O'Donell <carlos@redhat.com>
1508
1509 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1510 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1511 (__old_pthread_attr_setstack): Likewise.
1512 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1513 [!_STACK_GROWS_DOWN]: Likewise.
1514
43ca83ec
MF
15152014-03-13 Mike Frysinger <vapier@gentoo.org>
1516
1517 * config.make.in (have-bash2): Delete.
1518 * configure.ac (libc_cv_have_bash2): Delete.
1519 * configure: Regenerate.
1520 * elf/Makefile (common-ldd-rewrite): Rename to ...
1521 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1522 (sh-ldd-rewrite): Delete.
1523 (bash-ldd-rewrite): Delete.
1524 (have-bash2): Delete checks.
1525 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1526
c66e48b4
MF
15272014-03-13 Mike Frysinger <vapier@gentoo.org>
1528
1529 * config.make.in (have-ksh): Delete.
1530 (KSH): Delete.
1531 * configure.ac (libc_cv_have_ksh): Delete.
1532 * configure: Regenerate.
1533
b93834ef
MF
15342014-03-13 Mike Frysinger <vapier@gentoo.org>
1535
1536 * elf/Makefile: Delete $(have-ksh) check.
1537 ($(objpfx)sotruss): Change KSH to BASH.
1538 * elf/sotruss.ksh: Rename to ...
1539 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1540 function style to match POSIX. Drop ksh vim mode setting.
1541
f3a4632a
MF
15422014-03-13 Mike Frysinger <vapier@gentoo.org>
1543
1544 * manual/time.texi (Specifying the Time Zone with TZ): Change
1545 Tuesday to Thursday.
1546
5896c8bd
MF
15472014-03-13 Mike Frysinger <vapier@gentoo.org>
1548
1549 * debug/tst-longjmp_chk2.c: Update header comment.
1550 (stackoverflow_handler): Add comment. Call assert on pass value.
1551
2d63a517
IZ
15522014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1553
1554 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1555 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1556 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1557 (La_x86_64_vector): Add zmm.
1558 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1559 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1560 ($(objpfx)tst-audit10): New target.
1561 ($(objpfx)tst-audit10.out): Likewise.
1562 (tst-audit10-ENV): New.
1563 (AVX512-CFLAGS): Likewise.
1564 (CFLAGS-tst-audit10.c): Likewise.
1565 (CFLAGS-tst-auditmod10a.c): Likewise.
1566 (CFLAGS-tst-auditmod10b.c): Likewise.
1567 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1568 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1569 * sysdeps/x86_64/configure: Regenerated.
1570 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1571 AVX-512 zmm register support.
1572 (_dl_x86_64_save_sse): Likewise.
1573 (_dl_x86_64_restore_sse): Likewise.
1574 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1575 size vector registers.
1576 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1577 (ZMM_SIZE): Likewise.
1578 * sysdeps/x86_64/tst-audit10.c: New file.
1579 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1580 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1581
44c4e5d5
RM
15822014-03-13 Roland McGrath <roland@hack.frob.com>
1583
1584 * configure.ac (HAVE_EHDR_START): New check.
1585 * configure: Regenerated.
1586 * config.h.in (HAVE_EHDR_START): New #undef.
1587 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1588 assuming the lowest-addressed segment maps the start of the file.
1589
acd6e389
JM
15902014-03-13 Joseph Myers <joseph@codesourcery.com>
1591
1592 * INSTALL: Regenerated.
1593
6f918f36
WN
15942014-03-13 Will Newton <will.newton@linaro.org>
1595
1596 * manual/setjmp.texi (System V contexts): Improve
1597 clarity and grammar of documentation.
1598
798212a0
PP
15992014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1600
1601 [BZ #16381]
798212a0 1602 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1603 (tests-pie): Add tst-pie2.
798212a0
PP
1604 * elf/tst-pie2.c: New file.
1605 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1606 for ET_EXEC.
1607 * elf/rtld.c (map_doit): Load executable as lt_executable.
1608 (dl_main): Likewise.
1609
abe6d90c
JM
16102014-03-12 Joseph Myers <joseph@codesourcery.com>
1611
1612 [BZ #16642]
1613 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1614 (__ASSUME_PSELECT): Undefine.
1615
dd3946c6
AZ
16162014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1617
1618 [BZ #16689]
1619 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1620 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1621 static build.
1622 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1623 selector for static builds.
1624
c44496df
SP
16252014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
1627 [BZ #16695]
1628 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1629 key in the buffer.
1630
27c7220a
AZ
16312014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632
1633 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1634 selector for static builds.
1635
600fa361
JM
16362014-03-11 Joseph Myers <joseph@codesourcery.com>
1637
76c96cf7
JM
1638 * sysdeps/mips/math_private.h [__mips_hard_float]
1639 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1640 libc_feresetround_mips_ctx.
1641 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1642 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1643 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1644
600fa361
JM
1645 [BZ #16677]
1646 * math/s_nextafter.c (__nextafter): Do not return value from
1647 overflowing computation.
1648 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1649 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1650 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1651 Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1653 Likewise.
1654 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1655 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1656
d7706c32
RM
16572014-03-11 Roland McGrath <roland@hack.frob.com>
1658
1659 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1660 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1661 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1662 the new mov targetting sp.
1663
4facea47
AZ
16642014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665
1666 [BZ #16683]
1667 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1668 Define it for static builds as well.
1669 (NO_BZERO_IMPL): Likewise.
1670
e65caf1f
VR
16712014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1672
1673 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1674 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1675 multiarch strspn for PPC64.
1676 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1677 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1679 (__libc_ifunc_impl_list): Likewise.
1680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1681 multiarch optimizations
1682 * string/strspn.c (strspn): Using macro to redefine symbol name.
1683
ba9cc071
AZ
16842014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1685 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1686
1687 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1688 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1689 multiarch strncat for PPC64.
1690 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1691 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1693 (__libc_ifunc_impl_list): Likewise.
1694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1695 multiarch optimizations
1696
8b4ff974
SP
16972014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1698
1699 [BZ #16639]
1700 * nscd/nscd.service: Make service type forking.
1701
54b46a4b
AZ
17022014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1703
1704 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1705 sign in non default rounding modes.
1706 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1707
e9996ef7
JM
17082014-03-08 Joseph Myers <joseph@codesourcery.com>
1709
1710 * math/libm-test.inc (ALL_RM_TEST): New macro.
1711 (ceil_test): Use ALL_RM_TEST.
1712 (cimag_test): Likewise.
1713 (conj_test): Likewise.
1714 (copysign_test): Likewise.
1715 (cproj_test): Likewise.
1716 (creal_test): Likewise.
1717 (fabs_test): Likewise.
1718 (floor_test): Likewise.
1719 (fmax_test): Likewise.
1720 (fmin_test): Likewise.
1721 (fmod_test): Likewise.
1722 (fpclassify_test): Likewise.
1723 (frexp_test): Likewise.
1724 (ilogb_test): Likewise.
1725 (isfinite_test): Likewise.
1726 (finite_test): Likewise.
1727 (isgreater_test): Likewise.
1728 (isgreaterequal_test): Likewise.
1729 (isinf_test): Likewise.
1730 (isless_test): Likewise.
1731 (islessequal_test): Likewise.
1732 (islessgreater_test): Likewise.
1733 (isnan_test): Likewise.
1734 (isnormal_test): Likewise.
1735 (issignaling_test): Likewise.
1736 (isunordered_test): Likewise.
1737 (logb_test): Likewise.
1738 (logb_downward_test_data): Remove.
1739 (logb_test_downward): Likewise.
1740 (lround_test): Use ALL_RM_TEST.
1741 (llround_test): Likewise.
1742 (modf_test): Likewise.
1743 (nexttoward_test): Likewise.
1744 (remainder_test): Likewise.
1745 (drem_test): Likewise.
1746 (remainder_tonearest_test_data): Likewise.
1747 (remainder_test_tonearest): Likewise.
1748 (drem_test_tonearest): Likewise.
1749 (remainder_towardzero_test_data): Likewise.
1750 (remainder_test_towardzero): Likewise.
1751 (drem_test_towardzero): Likewise.
1752 (remainder_downward_test_data): Likewise.
1753 (remainder_test_downward): Likewise.
1754 (drem_test_downward): Likewise.
1755 (remainder_upward_test_data): Likewise.
1756 (remainder_test_upward): Likewise.
1757 (drem_test_upward): Likewise.
1758 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1759 (round_test): Use ALL_RM_TEST.
1760 (signbit_test): Likewise.
1761 (trunc_test): Likewise.
1762 (significand_test): Likewise.
1763 (main): Don't call removed functions.
1764
bc61d27c
JM
17652014-03-07 Joseph Myers <joseph@codesourcery.com>
1766
5c780849
JM
1767 [BZ #16674]
1768 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1769 || __USE_XOPEN2K8].
1770 (ILL_ILLOPN): Likewise.
1771 (ILL_ILLADR): Likewise.
1772 (ILL_ILLTRP): Likewise.
1773 (ILL_PRVOPC): Likewise.
1774 (ILL_PRVREG): Likewise.
1775 (ILL_COPROC): Likewise.
1776 (ILL_BADSTK): Likewise.
1777 (FPE_INTDIV): Likewise.
1778 (FPE_INTOVF): Likewise.
1779 (FPE_FLTDIV): Likewise.
1780 (FPE_FLTOVF): Likewise.
1781 (FPE_FLTUND): Likewise.
1782 (FPE_FLTRES): Likewise.
1783 (FPE_FLTINV): Likewise.
1784 (FPE_FLTSUB): Likewise.
1785 (SEGV_MAPERR): Likewise.
1786 (SEGV_ACCERR): Likewise.
1787 (BUS_ADRALN): Likewise.
1788 (BUS_ADRERR): Likewise.
1789 (BUS_OBJERR): Likewise.
1790 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1791 (TRAP_TRACE): Likewise.
1792 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1793 __USE_XOPEN2K8].
1794 (CLD_KILLED): Likewise.
1795 (CLD_DUMPED): Likewise.
1796 (CLD_TRAPPED): Likewise.
1797 (CLD_STOPPED): Likewise.
1798 (CLD_CONTINUED): Likewise.
1799 (POLL_IN): Likewise.
1800 (POLL_OUT): Likewise.
1801 (POLL_MSG): Likewise.
1802 (POLL_ERR): Likewise.
1803 (POLL_PRI): Likewise.
1804 (POLL_HUP): Likewise.
1805 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1806 Likewise.
1807 (ILL_ILLOPN): Likewise.
1808 (ILL_ILLADR): Likewise.
1809 (ILL_ILLTRP): Likewise.
1810 (ILL_PRVOPC): Likewise.
1811 (ILL_PRVREG): Likewise.
1812 (ILL_COPROC): Likewise.
1813 (ILL_BADSTK): Likewise.
1814 (FPE_INTDIV): Likewise.
1815 (FPE_INTOVF): Likewise.
1816 (FPE_FLTDIV): Likewise.
1817 (FPE_FLTOVF): Likewise.
1818 (FPE_FLTUND): Likewise.
1819 (FPE_FLTRES): Likewise.
1820 (FPE_FLTINV): Likewise.
1821 (FPE_FLTSUB): Likewise.
1822 (SEGV_MAPERR): Likewise.
1823 (SEGV_ACCERR): Likewise.
1824 (BUS_ADRALN): Likewise.
1825 (BUS_ADRERR): Likewise.
1826 (BUS_OBJERR): Likewise.
1827 (BUS_MCEERR_AR): Likewise.
1828 (BUS_MCEERR_AO): Likewise.
1829 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1830 (TRAP_TRACE): Likewise.
1831 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1832 __USE_XOPEN2K8].
1833 (CLD_KILLED): Likewise.
1834 (CLD_DUMPED): Likewise.
1835 (CLD_TRAPPED): Likewise.
1836 (CLD_STOPPED): Likewise.
1837 (CLD_CONTINUED): Likewise.
1838 (POLL_IN): Likewise.
1839 (POLL_OUT): Likewise.
1840 (POLL_MSG): Likewise.
1841 (POLL_ERR): Likewise.
1842 (POLL_PRI): Likewise.
1843 (POLL_HUP): Likewise.
1844 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1845 (ILL_ILLOPN): Likewise.
1846 (ILL_ILLADR): Likewise.
1847 (ILL_ILLTRP): Likewise.
1848 (ILL_PRVOPC): Likewise.
1849 (ILL_PRVREG): Likewise.
1850 (ILL_COPROC): Likewise.
1851 (ILL_BADSTK): Likewise.
1852 (FPE_INTDIV): Likewise.
1853 (FPE_INTOVF): Likewise.
1854 (FPE_FLTDIV): Likewise.
1855 (FPE_FLTOVF): Likewise.
1856 (FPE_FLTUND): Likewise.
1857 (FPE_FLTRES): Likewise.
1858 (FPE_FLTINV): Likewise.
1859 (FPE_FLTSUB): Likewise.
1860 (SEGV_MAPERR): Likewise.
1861 (SEGV_ACCERR): Likewise.
1862 (BUS_ADRALN): Likewise.
1863 (BUS_ADRERR): Likewise.
1864 (BUS_OBJERR): Likewise.
1865 (BUS_MCEERR_AR): Likewise.
1866 (BUS_MCEERR_AO): Likewise.
1867 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1868 (TRAP_TRACE): Likewise.
1869 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1870 __USE_XOPEN2K8].
1871 (CLD_KILLED): Likewise.
1872 (CLD_DUMPED): Likewise.
1873 (CLD_TRAPPED): Likewise.
1874 (CLD_STOPPED): Likewise.
1875 (CLD_CONTINUED): Likewise.
1876 (POLL_IN): Likewise.
1877 (POLL_OUT): Likewise.
1878 (POLL_MSG): Likewise.
1879 (POLL_ERR): Likewise.
1880 (POLL_PRI): Likewise.
1881 (POLL_HUP): Likewise.
1882 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1883 Likewise.
1884 (ILL_ILLOPN): Likewise.
1885 (ILL_ILLADR): Likewise.
1886 (ILL_ILLTRP): Likewise.
1887 (ILL_PRVOPC): Likewise.
1888 (ILL_PRVREG): Likewise.
1889 (ILL_COPROC): Likewise.
1890 (ILL_BADSTK): Likewise.
1891 (ILL_BADIADDR): Likewise.
1892 (ILL_BREAK): Likewise.
1893 (FPE_INTDIV): Likewise.
1894 (FPE_INTOVF): Likewise.
1895 (FPE_FLTDIV): Likewise.
1896 (FPE_FLTOVF): Likewise.
1897 (FPE_FLTUND): Likewise.
1898 (FPE_FLTRES): Likewise.
1899 (FPE_FLTINV): Likewise.
1900 (FPE_FLTSUB): Likewise.
1901 (FPE_DECOVF): Likewise.
1902 (FPE_DECDIV): Likewise.
1903 (FPE_DECERR): Likewise.
1904 (FPE_INVASC): Likewise.
1905 (FPE_INVDEC): Likewise.
1906 (SEGV_MAPERR): Likewise.
1907 (SEGV_ACCERR): Likewise.
1908 (SEGV_PSTKOVF): Likewise.
1909 (BUS_ADRALN): Likewise.
1910 (BUS_ADRERR): Likewise.
1911 (BUS_OBJERR): Likewise.
1912 (BUS_MCEERR_AR): Likewise.
1913 (BUS_MCEERR_AO): Likewise.
1914 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1915 (TRAP_TRACE): Likewise.
1916 (TRAP_BRANCH): Likewise.
1917 (TRAP_HWBKPT): Likewise.
1918 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1919 __USE_XOPEN2K8].
1920 (CLD_KILLED): Likewise.
1921 (CLD_DUMPED): Likewise.
1922 (CLD_TRAPPED): Likewise.
1923 (CLD_STOPPED): Likewise.
1924 (CLD_CONTINUED): Likewise.
1925 (POLL_IN): Likewise.
1926 (POLL_OUT): Likewise.
1927 (POLL_MSG): Likewise.
1928 (POLL_ERR): Likewise.
1929 (POLL_PRI): Likewise.
1930 (POLL_HUP): Likewise.
1931 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1932 (ILL_ILLOPN): Likewise.
1933 (ILL_ILLADR): Likewise.
1934 (ILL_ILLTRP): Likewise.
1935 (ILL_PRVOPC): Likewise.
1936 (ILL_PRVREG): Likewise.
1937 (ILL_COPROC): Likewise.
1938 (ILL_BADSTK): Likewise.
1939 (FPE_INTDIV): Likewise.
1940 (FPE_INTOVF): Likewise.
1941 (FPE_FLTDIV): Likewise.
1942 (FPE_FLTOVF): Likewise.
1943 (FPE_FLTUND): Likewise.
1944 (FPE_FLTRES): Likewise.
1945 (FPE_FLTINV): Likewise.
1946 (FPE_FLTSUB): Likewise.
1947 (SEGV_MAPERR): Likewise.
1948 (SEGV_ACCERR): Likewise.
1949 (BUS_ADRALN): Likewise.
1950 (BUS_ADRERR): Likewise.
1951 (BUS_OBJERR): Likewise.
1952 (BUS_MCEERR_AR): Likewise.
1953 (BUS_MCEERR_AO): Likewise.
1954 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1955 (TRAP_TRACE): Likewise.
1956 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1957 __USE_XOPEN2K8].
1958 (CLD_KILLED): Likewise.
1959 (CLD_DUMPED): Likewise.
1960 (CLD_TRAPPED): Likewise.
1961 (CLD_STOPPED): Likewise.
1962 (CLD_CONTINUED): Likewise.
1963 (POLL_IN): Likewise.
1964 (POLL_OUT): Likewise.
1965 (POLL_MSG): Likewise.
1966 (POLL_ERR): Likewise.
1967 (POLL_PRI): Likewise.
1968 (POLL_HUP): Likewise.
1969 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1970 (ILL_ILLOPN): Likewise.
1971 (ILL_ILLADR): Likewise.
1972 (ILL_ILLTRP): Likewise.
1973 (ILL_PRVOPC): Likewise.
1974 (ILL_PRVREG): Likewise.
1975 (ILL_COPROC): Likewise.
1976 (ILL_BADSTK): Likewise.
1977 (FPE_INTDIV): Likewise.
1978 (FPE_INTOVF): Likewise.
1979 (FPE_FLTDIV): Likewise.
1980 (FPE_FLTOVF): Likewise.
1981 (FPE_FLTUND): Likewise.
1982 (FPE_FLTRES): Likewise.
1983 (FPE_FLTINV): Likewise.
1984 (FPE_FLTSUB): Likewise.
1985 (SEGV_MAPERR): Likewise.
1986 (SEGV_ACCERR): Likewise.
1987 (BUS_ADRALN): Likewise.
1988 (BUS_ADRERR): Likewise.
1989 (BUS_OBJERR): Likewise.
1990 (BUS_MCEERR_AR): Likewise.
1991 (BUS_MCEERR_AO): Likewise.
1992 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1993 (TRAP_TRACE): Likewise.
1994 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1995 __USE_XOPEN2K8].
1996 (CLD_KILLED): Likewise.
1997 (CLD_DUMPED): Likewise.
1998 (CLD_TRAPPED): Likewise.
1999 (CLD_STOPPED): Likewise.
2000 (CLD_CONTINUED): Likewise.
2001 (POLL_IN): Likewise.
2002 (POLL_OUT): Likewise.
2003 (POLL_MSG): Likewise.
2004 (POLL_ERR): Likewise.
2005 (POLL_PRI): Likewise.
2006 (POLL_HUP): Likewise.
2007 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2008 (ILL_ILLOPN): Likewise.
2009 (ILL_ILLADR): Likewise.
2010 (ILL_ILLTRP): Likewise.
2011 (ILL_PRVOPC): Likewise.
2012 (ILL_PRVREG): Likewise.
2013 (ILL_COPROC): Likewise.
2014 (ILL_BADSTK): Likewise.
2015 (FPE_INTDIV): Likewise.
2016 (FPE_INTOVF): Likewise.
2017 (FPE_FLTDIV): Likewise.
2018 (FPE_FLTOVF): Likewise.
2019 (FPE_FLTUND): Likewise.
2020 (FPE_FLTRES): Likewise.
2021 (FPE_FLTINV): Likewise.
2022 (FPE_FLTSUB): Likewise.
2023 (SEGV_MAPERR): Likewise.
2024 (SEGV_ACCERR): Likewise.
2025 (BUS_ADRALN): Likewise.
2026 (BUS_ADRERR): Likewise.
2027 (BUS_OBJERR): Likewise.
2028 (BUS_MCEERR_AR): Likewise.
2029 (BUS_MCEERR_AO): Likewise.
2030 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2031 (TRAP_TRACE): Likewise.
2032 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2033 __USE_XOPEN2K8].
2034 (CLD_KILLED): Likewise.
2035 (CLD_DUMPED): Likewise.
2036 (CLD_TRAPPED): Likewise.
2037 (CLD_STOPPED): Likewise.
2038 (CLD_CONTINUED): Likewise.
2039 (POLL_IN): Likewise.
2040 (POLL_OUT): Likewise.
2041 (POLL_MSG): Likewise.
2042 (POLL_ERR): Likewise.
2043 (POLL_PRI): Likewise.
2044 (POLL_HUP): Likewise.
2045 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2046 (ILL_ILLOPN): Likewise.
2047 (ILL_ILLADR): Likewise.
2048 (ILL_ILLTRP): Likewise.
2049 (ILL_PRVOPC): Likewise.
2050 (ILL_PRVREG): Likewise.
2051 (ILL_COPROC): Likewise.
2052 (ILL_BADSTK): Likewise.
2053 (ILL_DBLFLT): Likewise.
2054 (ILL_HARDWALL): Likewise.
2055 (FPE_INTDIV): Likewise.
2056 (FPE_INTOVF): Likewise.
2057 (FPE_FLTDIV): Likewise.
2058 (FPE_FLTOVF): Likewise.
2059 (FPE_FLTUND): Likewise.
2060 (FPE_FLTRES): Likewise.
2061 (FPE_FLTINV): Likewise.
2062 (FPE_FLTSUB): Likewise.
2063 (SEGV_MAPERR): Likewise.
2064 (SEGV_ACCERR): Likewise.
2065 (BUS_ADRALN): Likewise.
2066 (BUS_ADRERR): Likewise.
2067 (BUS_OBJERR): Likewise.
2068 (BUS_MCEERR_AR): Likewise.
2069 (BUS_MCEERR_AO): Likewise.
2070 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2071 (TRAP_TRACE): Likewise.
2072 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2073 __USE_XOPEN2K8].
2074 (CLD_KILLED): Likewise.
2075 (CLD_DUMPED): Likewise.
2076 (CLD_TRAPPED): Likewise.
2077 (CLD_STOPPED): Likewise.
2078 (CLD_CONTINUED): Likewise.
2079 (POLL_IN): Likewise.
2080 (POLL_OUT): Likewise.
2081 (POLL_MSG): Likewise.
2082 (POLL_ERR): Likewise.
2083 (POLL_PRI): Likewise.
2084 (POLL_HUP): Likewise.
2085 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2086 (ILL_ILLOPN): Likewise.
2087 (ILL_ILLADR): Likewise.
2088 (ILL_ILLTRP): Likewise.
2089 (ILL_PRVOPC): Likewise.
2090 (ILL_PRVREG): Likewise.
2091 (ILL_COPROC): Likewise.
2092 (ILL_BADSTK): Likewise.
2093 (FPE_INTDIV): Likewise.
2094 (FPE_INTOVF): Likewise.
2095 (FPE_FLTDIV): Likewise.
2096 (FPE_FLTOVF): Likewise.
2097 (FPE_FLTUND): Likewise.
2098 (FPE_FLTRES): Likewise.
2099 (FPE_FLTINV): Likewise.
2100 (FPE_FLTSUB): Likewise.
2101 (SEGV_MAPERR): Likewise.
2102 (SEGV_ACCERR): Likewise.
2103 (BUS_ADRALN): Likewise.
2104 (BUS_ADRERR): Likewise.
2105 (BUS_OBJERR): Likewise.
2106 (BUS_MCEERR_AR): Likewise.
2107 (BUS_MCEERR_AO): Likewise.
2108 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2109 (TRAP_TRACE): Likewise.
2110 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2111 __USE_XOPEN2K8].
2112 (CLD_KILLED): Likewise.
2113 (CLD_DUMPED): Likewise.
2114 (CLD_TRAPPED): Likewise.
2115 (CLD_STOPPED): Likewise.
2116 (CLD_CONTINUED): Likewise.
2117 (POLL_IN): Likewise.
2118 (POLL_OUT): Likewise.
2119 (POLL_MSG): Likewise.
2120 (POLL_ERR): Likewise.
2121 (POLL_PRI): Likewise.
2122 (POLL_HUP): Likewise.
2123 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2124 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2125
bc61d27c
JM
2126 [BZ #16670]
2127 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2128 before #include of <time.h>.
2129 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2130 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2131 (test-xfail-UNIX98/sched.h/conform): Likewise.
2132
302949e2
MS
21332014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2134
2135 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2136 error absence of trapping exception support.
2137 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2138
a00f522a
JM
21392014-03-07 Joseph Myers <joseph@codesourcery.com>
2140
6f99f280
JM
2141 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2142 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2143 * timezone/Makefile (testdata): Move definition above include of
2144 Rules.
2145 (test-zones): New variable.
2146 (tests-special): Add zone files.
2147 (build-testdata): Use $(evaluate-test).
2148
0b20a9e8
JM
2149 * elf/Makefile (tests-special): Rename tests to end with .out.
2150 ($(objpfx)noload-mem): Likewise.
2151 ($(objpfx)tst-leaks1-mem): Likewise.
2152 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2153 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2154 $(objpfx)test-iconvconfig.out.
2155 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2156 set -e inside subshell and redirect output to file.
2157 * iconvdata/Makefile (generated): Rename tests to end with .out.
2158 Correct type.
2159 (tests-special): Rename tests to end with .out.
2160 ($(objpfx)mtrace-tst-loading): Likewise.
2161 * intl/Makefile (generated): Likewise.
2162 (tests-special): Likewise.
2163 ($(objpfx)mtrace-tst-gettext): Likewise.
2164 * misc/Makefile (generated): Likewise.
2165 (tests-special): Likewise.
2166 ($(objpfx)tst-error1-mem): Likewise.
2167 * nptl/Makefile (tests-special): Likewise.
2168 ($(objpfx)tst-stack3-mem): Likewise.
2169 (generated): Likewise.
2170 * posix/Makefile (generated): Likewise.
2171 (tests-special): Likewise.
2172 (xtests-special): Likewise.
2173 ($(objpfx)tst-fnmatch-mem): Likewise.
2174 ($(objpfx)bug-regex2-mem): Likewise.
2175 ($(objpfx)bug-regex14-mem): Likewise.
2176 ($(objpfx)bug-regex21-mem): Likewise.
2177 ($(objpfx)bug-regex31-mem): Likewise.
2178 ($(objpfx)tst-vfork3-mem): Likewise.
2179 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2180 ($(objpfx)tst-pcre-mem): Likewise.
2181 ($(objpfx)tst-boost-mem): Likewise.
2182 ($(objpfx)bug-ga2-mem): Likewise.
2183 ($(objpfx)bug-glob2-mem): Likewise.
2184 * resolv/Makefile (generate): Likewise.
2185 (tests-special): Likewise.
2186 (xtests-special): Likewise.
2187 (generated): Likewise.
2188 ($(objpfx)mtrace-tst-leaks): Likewise.
2189 ($(objpfx)mtrace-tst-leaks2): Likewise.
2190
265d52ab
JM
2191 * scripts/merge-test-results.sh: New file.
2192 * Makefile (tests-special-notdir): New variable.
2193 (tests): Run merge-test-results.sh.
2194 (xtests): Likewise.
2195 * Rules (tests-special-notdir): New variable.
2196 (xtests-special-notdir): Likewise.
2197 (tests): Run merge-test-results.sh
2198 (xtests): Likewise.
2199
54ee292d
JM
2200 * Makeconfig (test-xfail-name): New variable.
2201 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2202 compute variable name for expected failures.
2203 * conform/Makefile (conformtest-headers-data): New variable.
2204 (conformtest-standards): Likewise.
2205 (conformtest-headers-ISO): Likewise.
2206 (conformtest-headers-ISO99): Likewise.
2207 (conformtest-headers-ISO11): Likewise.
2208 (conformtest-headers-POSIX): Likewise.
2209 (conformtest-headers-XPG3): Likewise.
2210 (conformtest-headers-XPG4): Likewise.
2211 (conformtest-headers-UNIX98): Likewise.
2212 (conformtest-headers-XOPEN2K): Likewise.
2213 (conformtest-headers-POSIX2008): Likewise.
2214 (conformtest-headers-XOPEN2K8): Likewise.
2215 (conformtest-header-list-base): Likewise.
2216 (conformtest-header-list-tests): Likewise.
2217 (conformtest-header-base): Likewise.
2218 (conformtest-header-tests): Likewise.
2219 (tests-special): Add $(conformtest-header-list-tests). If
2220 [$(fast-check) && !$(cross-compiling)], add
2221 $(conformtest-header-tests) instead of
2222 $(objpfx)run-conformtest.out.
2223 (generated): Add $(conformtest-header-list-base). If
2224 [$(fast-check) && !$(cross-compiling)], add
2225 $(conformtest-header-base). Remove previous setting.
2226 ($(conformtest-header-list-tests)): New target.
2227 (test-xfail-run-conformtest): Remove variable.
2228 ($(objpfx)run-conformtest.out): Remove target.
2229 (test-xfail-ISO11/complex.h/conform): New variable.
2230 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2231 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2232 (test-xfail-XPG3/varargs.h/conform): Likewise.
2233 (test-xfail-XPG4/varargs.h/conform): Likewise.
2234 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2235 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2236 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2237 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2238 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2239 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2240 (test-xfail-XPG3/ftw.h/conform): Likewise.
2241 (test-xfail-XPG3/grp.h/conform): Likewise.
2242 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2243 (test-xfail-XPG3/limits.h/conform): Likewise.
2244 (test-xfail-XPG3/pwd.h/conform): Likewise.
2245 (test-xfail-XPG3/search.h/conform): Likewise.
2246 (test-xfail-XPG3/signal.h/conform): Likewise.
2247 (test-xfail-XPG3/stdio.h/conform): Likewise.
2248 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2249 (test-xfail-XPG3/string.h/conform): Likewise.
2250 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2251 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2252 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2253 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2254 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2255 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2256 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2257 (test-xfail-XPG3/termios.h/conform): Likewise.
2258 (test-xfail-XPG3/time.h/conform): Likewise.
2259 (test-xfail-XPG3/unistd.h/conform): Likewise.
2260 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2261 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2262 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2263 (test-xfail-XPG4/netdb.h/conform): Likewise.
2264 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2265 (test-xfail-XPG4/signal.h/conform): Likewise.
2266 (test-xfail-XPG4/stdio.h/conform): Likewise.
2267 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2268 (test-xfail-XPG4/stropts.h/conform): Likewise.
2269 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2270 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2271 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2272 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2273 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2274 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2275 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2276 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2277 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2278 (test-xfail-XPG4/termios.h/conform): Likewise.
2279 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2280 (test-xfail-XPG4/unistd.h/conform): Likewise.
2281 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2282 (test-xfail-POSIX/sched.h/conform): Likewise.
2283 (test-xfail-POSIX/signal.h/conform): Likewise.
2284 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2285 (test-xfail-POSIX/tar.h/conform): Likewise.
2286 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2287 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2288 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2289 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2290 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2291 (test-xfail-UNIX98/sched.h/conform): Likewise.
2292 (test-xfail-UNIX98/signal.h/conform): Likewise.
2293 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2294 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2295 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2296 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2297 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2298 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2299 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2300 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2301 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2302 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2303 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2304 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2305 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2306 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2307 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2308 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2309 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2310 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2311 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2312 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2313 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2314 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2315 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2316 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2317 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2318 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2319 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2320 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2321 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2322 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2323 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2324 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2325 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2326 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2327 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2328 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2329 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2330 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2331 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2332 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2333 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2334 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2335 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2336 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2337 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2338 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2339 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2340 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2341 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2342 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2343 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2344 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2345 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2346 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2347 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2348 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2349 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2350 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2351 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2352 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2353 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2354 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2355 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2356 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2357 (conformtest-cc-flags): Likewise.
2358 ($(conformtest-header-tests): New target.
2359 * conform/check-header-lists.sh: New file.
2360 * conform/run-conformtest.sh: Remove.
2361
a00f522a
JM
2362 * conform/conformtest.pl: Allow ' and \ in values given for
2363 constants.
2364 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2365 inclusion.
2366 [POSIX] (sys/types.h): Likewise.
2367 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2368 inclusion.
2369 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2370 inclusion.
2371 * conform/data/signal.h-data (SIGIO): Remove expectation.
2372 [XPG3] (SIGBUS): Do not expect.
2373 [POSIX || XPG3] (SIGPOLL): Likewise.
2374 [POSIX || XPG3] (SIGPROF): Likewise.
2375 [POSIX || XPG3] (SIGSYS): Likewise.
2376 [XPG3] (SIGTRAP): Likewise.
2377 [POSIX || XPG3] (SIGURG): Likewise.
2378 [POSIX || XPG3] (SIGVTALRM): Likewise.
2379 [POSIX || XPG3] (SIGXCPU): Likewise.
2380 [POSIX || XPG3] (SIGXFSZ): Likewise.
2381 [POSIX] (SA_SIGINFO): Expect.
2382 [XPG3] (siginfo_t): Do not expect type or contents.
2383 [POSIX] (si_pid): Do not expect element.
2384 [POSIX] (si_uid): Likewise.
2385 [POSIX] (si_addr): Likewise.
2386 [POSIX] (si_status): Likewise.
2387 [POSIX] (si_band): Likewise.
2388 [XPG4] (si_value): Likewise.
2389 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2390 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2391 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2392 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2393 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2394 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2395 [POSIX || XPG3] (ILL_COPROC): Likewise.
2396 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2397 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2398 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2399 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2400 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2401 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2402 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2403 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2404 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2405 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2406 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2407 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2408 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2409 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2410 [POSIX || XPG3] (CLD_EXITED): Likewise.
2411 [POSIX || XPG3] (CLD_KILLED): Likewise.
2412 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2413 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2414 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2415 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2416 [POSIX || XPG3] (POLL_IN): Likewise.
2417 [POSIX || XPG3] (POLL_OUT): Likewise.
2418 [POSIX || XPG3] (POLL_MSG): Likewise.
2419 [POSIX || XPG3] (POLL_ERR): Likewise.
2420 [POSIX || XPG3] (POLL_PRI): Likewise.
2421 [POSIX || XPG3] (POLL_HUP): Likewise.
2422 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2423 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2424 (SIG*): Do not allow.
2425 [XPG3] (si_*): Likewise.
2426 [XPG3] (SI_*): Likewise.
2427 [XPG3 || XPG4] (sigev_*): Likewise.
2428 [XPG3 || XPG4] (SIGEV_*): Likewise.
2429 [XPG3 || XPG4] (sival_*): Likewise.
2430 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2431 [POSIX || XPG3] (BUS_*): Likewise.
2432 [POSIX || XPG3] (CLD_*): Likewise.
2433 [POSIX || XPG3] (FPE_*): Likewise.
2434 [POSIX || XPG3] (ILL_*): Likewise.
2435 [POSIX || XPG3] (POLL_*): Likewise.
2436 [POSIX || XPG3] (SEGV_*): Likewise.
2437 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2438 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2439 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2440 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2441 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2442 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2443 Specify type and value.
2444 (TVERSLEN): Likewise.
2445 (REGTYPE): Likewise.
2446 (AREGTYPE): Likewise.
2447 (LNKTYPE): Likewise.
2448 (SYMTYPE): Likewise.
2449 (CHRTYPE): Likewise.
2450 (BLKTYPE): Likewise.
2451 (DIRTYPE): Likewise.
2452 (FIFOTYPE): Likewise.
2453 (CONTTYPE): Likewise.
2454 (TSUID): Likewise.
2455 (TSGID): Likewise.
2456 (TSVTX): Likewise.
2457 (TUREAD): Likewise.
2458 (TUWRITE): Likewise.
2459 (TUEXEC): Likewise.
2460 (TGREAD): Likewise.
2461 (TGWRITE): Likewise.
2462 (TGEXEC): Likewise.
2463 (TOREAD): Likewise.
2464 (TOWRITE): Likewise.
2465 (TOEXEC): Likewise.
2466 [POSIX] (TSVTX): Expect constant.
2467
aa97dee1
JM
24682014-03-06 Joseph Myers <joseph@codesourcery.com>
2469
f214606a
JM
2470 * Makefile (tests): Change dependencies to ....
2471 (tests-special): ... additions to this variable.
2472 (tests): Depend on $(tests-special).
2473 * Makerules (check-abi-list): New variable.
2474 (check-abi): Depend on $(check-abi-list).
2475 [$(subdir) = elf] (tests-special): Add
2476 $(objpfx)check-abi-libc.out.
2477 [$(build-shared) = yes && subdir] (tests-special): Add
2478 $(check-abi-list).
2479 [$(build-shared) = yes && subdir] (tests): Do not depend on
2480 check-abi.
2481 * Rules (tests): Depend on $(tests-special).
2482 (xtests): Depend on $(xtests-special).
2483 * catgets/Makefile (tests): Change dependencies to ....
2484 (tests-special): ... additions to this variable.
2485 * conform/Makefile (tests): Change dependencies to ....
2486 (tests-special): ... additions to this variable.
2487 * elf/Makefile (tests): Change dependencies to ....
2488 (tests-special): ... additions to this variable.
2489 * grp/Makefile (tests): Change dependencies to ....
2490 (tests-special): ... additions to this variable.
2491 * iconv/Makefile (xtests): Change dependencies to ....
2492 (xtests-special): ... additions to this variable.
2493 * iconvdata/Makefile (tests): Change dependencies to ....
2494 (tests-special): ... additions to this variable.
2495 * intl/Makefile (tests): Change dependencies to ....
2496 (tests-special): ... additions to this variable. Also add
2497 $(objpfx)tst-gettext.out.
2498 * io/Makefile (tests): Change dependencies to ....
2499 (tests-special): ... additions to this variable.
2500 * libio/Makefile (tests): Change dependencies to ....
2501 (tests-special): ... additions to this variable.
2502 * malloc/Makefile (tests): Change dependencies to ....
2503 (tests-special): ... additions to this variable.
2504 * misc/Makefile (tests): Change dependencies to ....
2505 (tests-special): ... additions to this variable.
2506 * nptl/Makefile (tests): Change dependencies to ....
2507 (tests-special): ... additions to this variable.
2508 * nptl_db/Makefile (tests): Change dependencies to ....
2509 (tests-special): ... additions to this variable.
2510 * posix/Makefile (tests): Change dependencies to ....
2511 (tests-special): ... additions to this variable.
2512 (xtests): Change dependencies to ....
2513 (xtests-special): ... additions to this variable.
2514 * resolv/Makefile (tests): Change dependencies to ....
2515 (tests-special): ... additions to this variable.
2516 (xtests): Change dependencies to ....
2517 (xtests-special): ... additions to this variable.
2518 * stdio-common/Makefile (tests): Change dependencies to ....
2519 (tests-special): ... additions to this variable.
2520 (do-tst-unbputc): Remove target.
2521 (do-tst-printf): Likewise.
2522 * stdlib/Makefile (tests): Change dependencies to ....
2523 (tests-special): ... additions to this variable.
2524 * string/Makefile (tests): Change dependencies to ....
2525 (tests-special): ... additions to this variable.
2526 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2527 (tests-special): ... additions to this variable.
2528
81700b53
JM
2529 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2530 whole file.
2531 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2532 whole file.
2533 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2534 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2535
2ea18461
JM
2536 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2537 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2538 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2539 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2540 * conform/data/libgen.h-data [XPG3]: Likewise.
2541 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2542 * conform/data/ndbm.h-data [XPG3]: Likewise.
2543 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2544 * conform/data/netdb.h-data [XPG3]: Likewise.
2545 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2546 * conform/data/poll.h-data [XPG3]: Likewise.
2547 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2548 * conform/data/strings.h-data [XPG3]: Likewise.
2549 * conform/data/stropts.h-data [XPG3]: Likewise.
2550 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2551 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2552 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2553 Likewise.
2554 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2555 * conform/data/sys/time.h-data [XPG3]: Likewise.
2556 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2557 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2558 * conform/data/sys/un.h-data [XPG3]: Likewise.
2559 * conform/data/syslog.h-data [XPG3]: Likewise.
2560 * conform/data/ucontext.h-data [XPG3]: Likewise.
2561 * conform/data/utmpx.h-data [XPG3]: Likewise.
2562 * conform/data/varargs.h-data [UNIX98]: Enable file.
2563
355bc986
JM
2564 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2565
215db402
JM
2566 * math/libm-test.inc (struct test_f_f_data): Move expected results
2567 into structure for each rounding mode.
2568 (struct test_ff_f_data): Likewise.
2569 (struct test_ff_f_data_nexttoward): Likewise.
2570 (struct test_fi_f_data): Likewise.
2571 (struct test_fl_f_data): Likewise.
2572 (struct test_if_f_data): Likewise.
2573 (struct test_fff_f_data): Likewise.
2574 (struct test_c_f_data): Likewise.
2575 (struct test_f_f1_data): Likewise.
2576 (struct test_fF_f1_data): Likewise.
2577 (struct test_ffI_f1_data): Likewise.
2578 (struct test_c_c_data): Likewise.
2579 (struct test_cc_c_data): Likewise.
2580 (struct test_f_i_data): Likewise.
2581 (struct test_ff_i_data): Likewise.
2582 (struct test_f_l_data): Likewise.
2583 (struct test_f_L_data): Likewise.
2584 (struct test_fFF_11_data): Likewise.
2585 (RM_): New macro.
2586 (RM_FE_DOWNWARD): Likewise.
2587 (RM_FE_TONEAREST): Likewise.
2588 (RM_FE_TOWARDZERO): Likewise.
2589 (RM_FE_UPWARD): Likewise.
2590 (RUN_TEST_LOOP_f_f): Update references to expected results.
2591 (RUN_TEST_LOOP_2_f): Likewise.
2592 (RUN_TEST_LOOP_fff_f): Likewise.
2593 (RUN_TEST_LOOP_c_f): Likewise.
2594 (RUN_TEST_LOOP_f_f1): Likewise.
2595 (RUN_TEST_LOOP_fF_f1): Likewise.
2596 (RUN_TEST_LOOP_fI_f1): Likewise.
2597 (RUN_TEST_LOOP_ffI_f1): Likewise.
2598 (RUN_TEST_LOOP_c_c): Likewise.
2599 (RUN_TEST_LOOP_cc_c): Likewise.
2600 (RUN_TEST_LOOP_f_i): Likewise.
2601 (RUN_TEST_LOOP_f_i_tg): Likewise.
2602 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2603 (RUN_TEST_LOOP_f_b): Likewise.
2604 (RUN_TEST_LOOP_f_b_tg): Likewise.
2605 (RUN_TEST_LOOP_f_l): Likewise.
2606 (RUN_TEST_LOOP_f_L): Likewise.
2607 (RUN_TEST_LOOP_fFF_11): Likewise.
2608 * math/gen-libm-test.pl (parse_args): Output four copies of
2609 expected results for each test.
2610
67737b8f
JM
2611 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2612 (__ASSUME_UTIMES): Remove.
2613 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2614 (__ASSUME_UTIMES): Likewise.
2615
aa97dee1
JM
2616 * math/gen-auto-libm-tests.c: Update comment on output format.
2617 (output_for_one_input_case): Generate before-rounding and
2618 after-rounding information as conditions on output flags not
2619 floating-point format.
2620 * math/auto-libm-test-out: Regenerated.
2621 * math/gen-libm-test.pl (cond_value): New function.
2622 (or_cond_value): Use cond_value.
2623 (generate_testfile): Handle conditional exceptions.
2624
e6b6a857
JM
26252014-03-05 Joseph Myers <joseph@codesourcery.com>
2626
2f0a0f44
JM
2627 * math/libm-test.inc (max_valid_error): New variable.
2628 (init_max_error): Take new argument specifying whether function
2629 results are exactly determined. Set max_valid_error and bound
2630 other variables for errors based on this argument.
2631 (set_max_error): Do not record results above max_valid_error.
2632 (check_float_internal): Only accept errors of up to 0.5ulps if
2633 also at most max_valid_error.
2634 (START): Take new argument EXACT and pass it to init_max_error.
2635 (acos_test): Update call to START.
2636 (acos_test_tonearest): Likewise.
2637 (acos_test_towardzero): Likewise.
2638 (acos_test_downward): Likewise.
2639 (acos_test_upward): Likewise.
2640 (acosh_test): Likewise.
2641 (asin_test): Likewise.
2642 (asin_test_tonearest): Likewise.
2643 (asin_test_towardzero): Likewise.
2644 (asin_test_downward): Likewise.
2645 (asin_test_upward): Likewise.
2646 (asinh_test): Likewise.
2647 (atan_test): Likewise.
2648 (atanh_test): Likewise.
2649 (atan2_test): Likewise.
2650 (cabs_test): Likewise.
2651 (cacos_test): Likewise.
2652 (cacosh_test): Likewise.
2653 (carg_test): Likewise.
2654 (casin_test): Likewise.
2655 (casinh_test): Likewise.
2656 (catan_test): Likewise.
2657 (catanh_test): Likewise.
2658 (cbrt_test): Likewise.
2659 (ccos_test): Likewise.
2660 (ccosh_test): Likewise.
2661 (ceil_test): Likewise.
2662 (cexp_test): Likewise.
2663 (cimag_test): Likewise.
2664 (clog_test): Likewise.
2665 (clog10_test): Likewise.
2666 (conj_test): Likewise.
2667 (copysign_test): Likewise.
2668 (cos_test): Likewise.
2669 (cos_test_tonearest): Likewise.
2670 (cos_test_towardzero): Likewise.
2671 (cos_test_downward): Likewise.
2672 (cos_test_upward): Likewise.
2673 (cosh_test): Likewise.
2674 (cosh_test_tonearest): Likewise.
2675 (cosh_test_towardzero): Likewise.
2676 (cosh_test_downward): Likewise.
2677 (cosh_test_upward): Likewise.
2678 (cpow_test): Likewise.
2679 (cproj_test): Likewise.
2680 (creal_test): Likewise.
2681 (csin_test): Likewise.
2682 (csinh_test): Likewise.
2683 (csqrt_test): Likewise.
2684 (ctan_test): Likewise.
2685 (ctan_test_tonearest): Likewise.
2686 (ctan_test_towardzero): Likewise.
2687 (ctan_test_downward): Likewise.
2688 (ctan_test_upward): Likewise.
2689 (ctanh_test): Likewise.
2690 (ctanh_test_tonearest): Likewise.
2691 (ctanh_test_towardzero): Likewise.
2692 (ctanh_test_downward): Likewise.
2693 (ctanh_test_upward): Likewise.
2694 (erf_test): Likewise.
2695 (erfc_test): Likewise.
2696 (exp_test): Likewise.
2697 (exp_test_tonearest): Likewise.
2698 (exp_test_towardzero): Likewise.
2699 (exp_test_downward): Likewise.
2700 (exp_test_upward): Likewise.
2701 (exp10_test): Likewise.
2702 (exp10_test_tonearest): Likewise.
2703 (exp10_test_towardzero): Likewise.
2704 (exp10_test_downward): Likewise.
2705 (exp10_test_upward): Likewise.
2706 (pow10_test): Likewise.
2707 (exp2_test): Likewise.
2708 (expm1_test): Likewise.
2709 (expm1_test_tonearest): Likewise.
2710 (expm1_test_towardzero): Likewise.
2711 (expm1_test_downward): Likewise.
2712 (expm1_test_upward): Likewise.
2713 (fabs_test): Likewise.
2714 (fdim_test): Likewise.
2715 (floor_test): Likewise.
2716 (fma_test): Likewise.
2717 (fma_test_towardzero): Likewise.
2718 (fma_test_downward): Likewise.
2719 (fma_test_upward): Likewise.
2720 (fmax_test): Likewise.
2721 (fmin_test): Likewise.
2722 (fmod_test): Likewise.
2723 (fpclassify_test): Likewise.
2724 (frexp_test): Likewise.
2725 (hypot_test): Likewise.
2726 (ilogb_test): Likewise.
2727 (isfinite_test): Likewise.
2728 (finite_test): Likewise.
2729 (isgreater_test): Likewise.
2730 (isgreaterequal_test): Likewise.
2731 (isinf_test): Likewise.
2732 (isless_test): Likewise.
2733 (islessequal_test): Likewise.
2734 (islessgreater_test): Likewise.
2735 (isnan_test): Likewise.
2736 (isnormal_test): Likewise.
2737 (issignaling_test): Likewise.
2738 (isunordered_test): Likewise.
2739 (j0_test): Likewise.
2740 (j1_test): Likewise.
2741 (jn_test): Likewise.
2742 (ldexp_test): Likewise.
2743 (lgamma_test): Likewise.
2744 (gamma_test): Likewise.
2745 (lrint_test): Likewise.
2746 (lrint_test_tonearest): Likewise.
2747 (lrint_test_towardzero): Likewise.
2748 (lrint_test_downward): Likewise.
2749 (lrint_test_upward): Likewise.
2750 (llrint_test): Likewise.
2751 (llrint_test_tonearest): Likewise.
2752 (llrint_test_towardzero): Likewise.
2753 (llrint_test_downward): Likewise.
2754 (llrint_test_upward): Likewise.
2755 (log_test): Likewise.
2756 (log10_test): Likewise.
2757 (log1p_test): Likewise.
2758 (log2_test): Likewise.
2759 (logb_test): Likewise.
2760 (logb_test_downward): Likewise.
2761 (lround_test): Likewise.
2762 (llround_test): Likewise.
2763 (modf_test): Likewise.
2764 (nearbyint_test): Likewise.
2765 (nextafter_test): Likewise.
2766 (nexttoward_test): Likewise.
2767 (pow_test): Likewise.
2768 (pow_test_tonearest): Likewise.
2769 (pow_test_towardzero): Likewise.
2770 (pow_test_downward): Likewise.
2771 (pow_test_upward): Likewise.
2772 (remainder_test): Likewise.
2773 (drem_test): Likewise.
2774 (remainder_test_tonearest): Likewise.
2775 (drem_test_tonearest): Likewise.
2776 (remainder_test_towardzero): Likewise.
2777 (drem_test_towardzero): Likewise.
2778 (remainder_test_downward): Likewise.
2779 (drem_test_downward): Likewise.
2780 (remainder_test_upward): Likewise.
2781 (drem_test_upward): Likewise.
2782 (remquo_test): Likewise.
2783 (rint_test): Likewise.
2784 (rint_test_tonearest): Likewise.
2785 (rint_test_towardzero): Likewise.
2786 (rint_test_downward): Likewise.
2787 (rint_test_upward): Likewise.
2788 (round_test): Likewise.
2789 (scalb_test): Likewise.
2790 (scalbn_test): Likewise.
2791 (scalbln_test): Likewise.
2792 (signbit_test): Likewise.
2793 (sin_test): Likewise.
2794 (sin_test_tonearest): Likewise.
2795 (sin_test_towardzero): Likewise.
2796 (sin_test_downward): Likewise.
2797 (sin_test_upward): Likewise.
2798 (sincos_test): Likewise.
2799 (sinh_test): Likewise.
2800 (sinh_test_tonearest): Likewise.
2801 (sinh_test_towardzero): Likewise.
2802 (sinh_test_downward): Likewise.
2803 (sinh_test_upward): Likewise.
2804 (sqrt_test): Likewise.
2805 (sqrt_test_tonearest): Likewise.
2806 (sqrt_test_towardzero): Likewise.
2807 (sqrt_test_downward): Likewise.
2808 (sqrt_test_upward): Likewise.
2809 (tan_test): Likewise.
2810 (tan_test_tonearest): Likewise.
2811 (tan_test_towardzero): Likewise.
2812 (tan_test_downward): Likewise.
2813 (tan_test_upward): Likewise.
2814 (tanh_test): Likewise.
2815 (tgamma_test): Likewise.
2816 (trunc_test): Likewise.
2817 (y0_test): Likewise.
2818 (y1_test): Likewise.
2819 (yn_test): Likewise.
2820 (significand_test): Likewise.
2821
e6b6a857
JM
2822 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2823 individual tests in comment.
2824 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2825 (prev_max_error): New variable.
2826 (prev_real_max_error): Likewise.
2827 (prev_imag_max_error): Likewise.
2828 (compare_ulp_data): Don't refer to test names in comment.
2829 (find_test_ulps): Remove function.
2830 (find_function_ulps): Likewise.
2831 (find_complex_function_ulps): Likewise.
2832 (init_max_error): Take function name as argument. Look up ulps
2833 for that function.
2834 (print_ulps): Remove function.
2835 (print_max_error): Use prev_max_error instead of calling
2836 find_function_ulps.
2837 (print_complex_max_error): Use prev_real_max_error and
2838 prev_imag_max_error instead of calling find_complex_function_ulps.
2839 (check_float_internal): Take max_ulp parameter instead of calling
2840 find_test_ulps. Don't call print_ulps.
2841 (check_float): Update call to check_float_internal.
2842 (check_complex): Update calls to check_float_internal.
2843 (START): Pass argument to init_max_error.
2844 * math/gen-libm-test.pl (%results): Don't include "kind"
2845 information.
2846 (parse_ulps): Don't handle ulps of individual tests.
2847 (print_ulps_file): Likewise.
2848 (output_ulps): Likewise.
2849 * math/README.libm-test: Update.
2850 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2851 individual tests.
2852 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2853 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2854 * sysdeps/arm/libm-test-ulps: Likewise.
2855 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2856 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2857 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2858 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2859 * sysdeps/microblaze/libm-test-ulps: Likewise.
2860 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2861 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2863 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2864 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2865 * sysdeps/sh/libm-test-ulps: Likewise.
2866 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2867 * sysdeps/tile/libm-test-ulps: Likewise.
2868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2869
45adef3c
JM
28702014-03-04 Joseph Myers <joseph@codesourcery.com>
2871
2872 * math/libm-test.inc (print_complex_max_error): Check separately
2873 whether real and imaginary errors are within allowed range and
2874 pass 0 to print_complex_function_ulps instead of value within
2875 allowed range.
2876
000232b9
SP
28772014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2878
d4b17258
SP
2879 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2880 formatting.
2881 (get_handles_fopen): Likewise.
2882 (do_write_test): Likewise.
2883
091eff71
SP
2884 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2885
fa3cd248
SP
2886 * libio/fileops.c (do_ftell): Use cached offset when
2887 available.
2888 * libio/iofwide.c (do_ftell_wide): Likewise.
2889 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2890 _IO_file_attach.
2891 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2892
000232b9
SP
2893 [BZ #16532]
2894 * libio/libioP.h (get_file_offset): New function.
2895 * libio/fileops.c (get_file_offset): Likewise.
2896 (do_ftell): Likewise.
2897 (_IO_new_file_seekoff): Split out ftell logic.
2898 * libio/wfileops.c (do_ftell_wide): Likewise.
2899 (_IO_wfile_seekoff): Split out ftell logic.
2900 * libio/tst-ftell-active-handler.c: New test case.
2901 * libio/Makefile (tests): Add it.
2902
116f4d1a
RM
29032014-03-03 Roland McGrath <roland@hack.frob.com>
2904
2905 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2906 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2907
532a6035
SP
29082014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2909
2910 [BZ #16639]
2911 * nscd/connections.c (nscd_init): Call do_exit.
2912 (start_threads): Call do_exit and notify_parent.
2913 (begin_drop_privileges): Call do_exit.
2914 (finish_drop_privileges): Likewise.
2915 * nscd/selinux.c (preserve_capabilities): Likewise.
2916 (install_real_capabilities): Likewise.
2917 (nscd_selinux_enabled): Likewise.
2918 (avc_create_thread): Likewise.
2919 (avc_alloc_lock): Likewise.
2920 (nscd_avc_init): Likewise.
2921 * nscd/nscd.c (parent_fd): New static variable.
2922 (main): Create a pipe between parent and child processes.
2923 Skip closing parent_fd.
2924 (monitor_child): New function.
2925 (do_exit): Likewise.
2926 (notify_parent): Likewise.
2927 * nscd/nscd.h (notify_parent): Likewise.
2928 (do_exit): Likewise.
2929
d6285c9f
CD
29302014-03-03 Carlos O'Donell <carlos@redhat.com>
2931
2932 * malloc/malloc.c (__libc_calloc): Revert last change.
2933
2b85d2a0
AZ
29342014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2935
2936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2937
c7debbdf
RS
29382014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2939
2940 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2942 implementation.
2943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2944 (__libc_ifunc_impl_list): Likewise.
2945 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2946 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2947 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2948 * string/strrchr.c: Define STRRCHR.
2949
235eed86
OB
29502014-02-28 Ondřej Bílka <neleai@seznam.cz>
2951
2952 * benchtest/bench-strtok.c (simple_strtok): Delete.
2953 (strtok_string): Use as benchmark.
2954 * string/strtok (STRTOK): New macro.
2955
8e25d1e7
CD
29562014-02-28 Carlos O'Donell <carlos@redhat.com>
2957
ef563f92
CD
2958 * manual/threads.texi: Add header and standard comments to all
2959 functions.
2960
8e25d1e7
CD
2961 * elf/dl-lookup.c (check_match): New function.
2962 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2963 (do_lookup_x): Remove nested function check_match. Use non-nested
2964 function check_match.
2965
ff71cc37
RM
29662014-02-28 Roland McGrath <roland@hack.frob.com>
2967
f08e9a26
RM
2968 * csu/Makefile (generated, before-compile): Use += rather than =.
2969 * catgets/Makefile (generated, generated-dirs): Likewise.
2970 * debug/Makefile (generated): Likewise.
2971 * dlfcn/Makefile (generated): Likewise.
2972 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2973 * iconvdata/Makefile (before-compile, generated): Likewise.
2974 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2975 * libio/Makefile (generated): Likewise.
2976 * malloc/Makefile (generated): Likewise.
2977 * manual/Makefile (generated, generated-dirs): Likewise.
2978 * misc/Makefile (generated): Likewise.
2979 * posix/Makefile (generated): Likewise.
2980 * resolv/Makefile (generated): Likewise.
2981 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2982 * timezone/Makefile (generated, generated-dirs): Likewise.
2983
ff71cc37
RM
2984 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2985
fe13a20c
AZ
29862014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2987
2988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2989 implementation.
2990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2991 POWER8 llround ifunc implementation.
2992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2993 POWER8 implementation.
2994 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2995 POWER8 llround implementation.
2996
1ad8950a
AZ
29972014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998
2999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
3000 implementation.
3001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
3002 POWER8 llrint ifunc implementation.
3003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
3004 POWER8 implementation.
3005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3006 POWER8 llrint implementation.
3007
cac626d6
AZ
30082014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3009
3010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
3011 implementation.
3012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
3013 POWER8 finite ifunc implementation.
3014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
3015 POWER8 implementation.
3016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3017 Likewise.
3018 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3019 POWER8 finite implementation.
3020 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3021
4393fc11
AZ
30222014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023
3024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
3025 implementation.
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
3027 POWER8 isinf ifunc implementation.
3028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3029 POWER8 implementation.
3030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3031 Likewise.
3032 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
3033 POWER8 isinf implementation.
3034 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3035
487972ae
AZ
30362014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3037
3038 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
3039 Add hwcap2 initialization.
3040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
3041 implementation.
3042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
3043 POWER8 isnan ifunc implementation.
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.
3048 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
3049 POWER8 isnan implementation.
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
40192014-02-11 Will Newton <will.newton@linaro.org>
4020
4021 * manual/probes.texi (Internal Probes): Add documentation
4022 of setjmp, longjmp and longjmp_target probes.
4023
b4f12ca3
WN
40242014-02-11 Will Newton <will.newton@linaro.org>
4025
4026 * include/stap-probe.h: Add comment about probe argument
4027 format.
4028
c13a72b7
WN
40292014-02-11 Will Newton <will.newton@linaro.org>
4030
4031 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4032 definition. (tr_where, tr_freehook, tr_mallochook,
4033 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4034
195b8165
DM
40352014-02-11 David S. Miller <davem@davemloft.net>
4036
4037 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4038 processing int_tests.
4039
2ad7600b
JM
40402014-02-10 Joseph Myers <joseph@codesourcery.com>
4041
4042 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4043 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4044 * sysdeps/unix/sysv/linux/mips: Move directory from
4045 ports/sysdeps/unix/sysv/linux/mips.
4046 * README: Update listing for mips-*-linux-gnu and
4047 mips64-*-linux-gnu.
4048
73588a72
AS
40492014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4050
4051 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4052 * sysdeps/unix/sysv/linux/m68k: Move directory from
4053 ports/sysdeps/unix/sysv/linux/m68k.
4054 * README: Update listing for m68k-*-linux-gnu.
4055
4372980f
CM
40562014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4057
4058 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4059 * sysdeps/unix/sysv/linux/generic: Move directory from
4060 ports/sysdeps/unix/sysv/linux/generic.
4061 * sysdeps/unix/sysv/linux/tile: Move directory from
4062 ports/sysdeps/unix/sysv/linux/tile.
4063 * README: Update listing for tile*-*-linux-gnu.
4064
a1ffb40e
OB
40652014-02-10 Ondřej Bílka <neleai@seznam.cz>
4066
4067 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
4068 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4069 * catgets/open_catalog.c (__open_catalog): Likewise.
4070 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4071 * debug/confstr_chk.c: Likewise.
4072 * debug/fread_chk.c (__fread_chk): Likewise.
4073 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4074 * debug/getgroups_chk.c: Likewise.
4075 * debug/mbsnrtowcs_chk.c: Likewise.
4076 * debug/mbsrtowcs_chk.c: Likewise.
4077 * debug/mbstowcs_chk.c: Likewise.
4078 * debug/memcpy_chk.c: Likewise.
4079 * debug/memmove_chk.c: Likewise.
4080 * debug/mempcpy_chk.c: Likewise.
4081 * debug/memset_chk.c: Likewise.
4082 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4083 * debug/strcat_chk.c (__strcat_chk): Likewise.
4084 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4085 * debug/strncat_chk.c (__strncat_chk): Likewise.
4086 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4087 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4088 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4089 * debug/wcpncpy_chk.c: Likewise.
4090 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4091 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4092 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4093 * debug/wcsncpy_chk.c: Likewise.
4094 * debug/wcsnrtombs_chk.c: Likewise.
4095 * debug/wcsrtombs_chk.c: Likewise.
4096 * debug/wcstombs_chk.c: Likewise.
4097 * debug/wmemcpy_chk.c: Likewise.
4098 * debug/wmemmove_chk.c: Likewise.
4099 * debug/wmempcpy_chk.c: Likewise.
4100 * debug/wmemset_chk.c: Likewise.
4101 * dirent/scandirat.c (SCANDIRAT): Likewise.
4102 * dlfcn/dladdr1.c (dladdr1): Likewise.
4103 * dlfcn/dladdr.c (dladdr): Likewise.
4104 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4105 * dlfcn/dlerror.c (__dlerror): Likewise.
4106 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4107 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4108 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4109 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4110 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4111 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4112 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4113 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4114 Likewise.
4115 * elf/dl-conflict.c: Likewise.
4116 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4117 * elf/dl-dst.h: Likewise.
4118 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4119 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4120 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4121 * elf/dl-init.c (call_init, _dl_init): Likewise.
4122 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4123 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
4124 _dl_map_object_from_fd, open_verify, open_path,
4125 _dl_map_object): Likewise.
4126 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4127 Likewise.
4128 * elf/dl-minimal.c (__libc_memalign): Likewise.
4129 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4130 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4131 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4132 * elf/dl-sym.c (do_sym): Likewise.
4133 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4134 _dl_tls_get_addr_soft): Likewise.
4135 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4136 * elf/dl-writev.h (_dl_writev): Likewise.
4137 * elf/ldconfig.c (search_dir): Likewise.
4138 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4139 dl_main): Likewise.
4140 * elf/setup-vdso.h (setup_vdso): Likewise.
4141 * grp/compat-initgroups.c (compat_call): Likewise.
4142 * grp/fgetgrent.c (fgetgrent): Likewise.
4143 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4144 * grp/putgrent.c (putgrent): Likewise.
4145 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4146 Likewise.
4147 * hurd/hurdinit.c: Likewise.
4148 * iconvdata/8bit-gap.c (struct): Likewise.
4149 * iconvdata/ansi_x3.110.c : Likewise.
4150 * iconvdata/big5.c : Likewise.
4151 * iconvdata/big5hkscs.c : Likewise.
4152 * iconvdata/cp1255.c: Likewise.
4153 * iconvdata/cp1258.c : Likewise.
4154 * iconvdata/cp932.c : Likewise.
4155 * iconvdata/euc-cn.c: Likewise.
4156 * iconvdata/euc-jisx0213.c : Likewise.
4157 * iconvdata/euc-jp.c: Likewise.
4158 * iconvdata/euc-jp-ms.c : Likewise.
4159 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4160 * iconvdata/gb18030.c : Likewise.
4161 * iconvdata/gbbig5.c (const): Likewise.
4162 * iconvdata/gbgbk.c: Likewise.
4163 * iconvdata/gbk.c : Likewise.
4164 * iconvdata/ibm1364.c : Likewise.
4165 * iconvdata/ibm930.c : Likewise.
4166 * iconvdata/ibm932.c: Likewise.
4167 * iconvdata/ibm933.c : Likewise.
4168 * iconvdata/ibm935.c : Likewise.
4169 * iconvdata/ibm937.c : Likewise.
4170 * iconvdata/ibm939.c : Likewise.
4171 * iconvdata/ibm943.c: Likewise.
4172 * iconvdata/iso_11548-1.c: Likewise.
4173 * iconvdata/iso-2022-cn.c : Likewise.
4174 * iconvdata/iso-2022-cn-ext.c : Likewise.
4175 * iconvdata/iso-2022-jp-3.c: Likewise.
4176 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4177 * iconvdata/iso-2022-kr.c : Likewise.
4178 * iconvdata/iso646.c (gconv_end): Likewise.
4179 * iconvdata/iso_6937-2.c : Likewise.
4180 * iconvdata/iso_6937.c : Likewise.
4181 * iconvdata/iso8859-1.c: Likewise.
4182 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4183 * iconvdata/shift_jisx0213.c : Likewise.
4184 * iconvdata/sjis.c : Likewise.
4185 * iconvdata/t.61.c : Likewise.
4186 * iconvdata/tcvn5712-1.c : Likewise.
4187 * iconvdata/tscii.c: Likewise.
4188 * iconvdata/uhc.c : Likewise.
4189 * iconvdata/unicode.c (gconv_end): Likewise.
4190 * iconvdata/utf-16.c (gconv_end): Likewise.
4191 * iconvdata/utf-32.c (gconv_end): Likewise.
4192 * iconvdata/utf-7.c (base64): Likewise.
4193 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4194 * iconv/gconv_close.c (__gconv_close): Likewise.
4195 * iconv/gconv_open.c (__gconv_open): Likewise.
4196 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4197 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4198 internal_ucs4le_loop_single, ucs4le_internal_loop,
4199 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4200 * iconv/iconv.c (iconv): Likewise.
4201 * iconv/iconv_close.c: Likewise.
4202 * iconv/loop.c (SINGLE): Likewise.
4203 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4204 * include/atomic.h: Likewise.
4205 * inet/inet6_option.c (option_alloc): Likewise.
4206 * intl/bindtextdom.c (set_binding_values): Likewise.
4207 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4208 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4209 * intl/localealias.c (read_alias_file): Likewise.
4210 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4211 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4212 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4213 * libio/fmemopen.c (fmemopen): Likewise.
4214 * libio/iofgets.c (_IO_fgets): Likewise.
4215 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4216 * libio/iofgetws.c (fgetws): Likewise.
4217 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4218 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4219 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4220 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4221 * locale/findlocale.c (_nl_find_locale): Likewise.
4222 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4223 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4224 Likewise.
4225 * locale/setlocale.c (setlocale): Likewise.
4226 * login/programs/pt_chown.c (main): Likewise.
4227 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4228 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4229 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4230 mmap, mmap64, mremap, munmap): Likewise.
4231 * math/e_exp2l.c: Likewise.
4232 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4233 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4234 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4235 * math/s_catan.c (__catan): Likewise.
4236 * math/s_catanf.c (__catanf): Likewise.
4237 * math/s_catanh.c (__catanh): Likewise.
4238 * math/s_catanhf.c (__catanhf): Likewise.
4239 * math/s_catanhl.c (__catanhl): Likewise.
4240 * math/s_catanl.c (__catanl): Likewise.
4241 * math/s_ccosh.c (__ccosh): Likewise.
4242 * math/s_ccoshf.c (__ccoshf): Likewise.
4243 * math/s_ccoshl.c (__ccoshl): Likewise.
4244 * math/s_cexp.c (__cexp): Likewise.
4245 * math/s_cexpf.c (__cexpf): Likewise.
4246 * math/s_cexpl.c (__cexpl): Likewise.
4247 * math/s_clog10.c (__clog10): Likewise.
4248 * math/s_clog10f.c (__clog10f): Likewise.
4249 * math/s_clog10l.c (__clog10l): Likewise.
4250 * math/s_clog.c (__clog): Likewise.
4251 * math/s_clogf.c (__clogf): Likewise.
4252 * math/s_clogl.c (__clogl): Likewise.
4253 * math/s_csin.c (__csin): Likewise.
4254 * math/s_csinf.c (__csinf): Likewise.
4255 * math/s_csinh.c (__csinh): Likewise.
4256 * math/s_csinhf.c (__csinhf): Likewise.
4257 * math/s_csinhl.c (__csinhl): Likewise.
4258 * math/s_csinl.c (__csinl): Likewise.
4259 * math/s_csqrt.c (__csqrt): Likewise.
4260 * math/s_csqrtf.c (__csqrtf): Likewise.
4261 * math/s_csqrtl.c (__csqrtl): Likewise.
4262 * math/s_ctan.c (__ctan): Likewise.
4263 * math/s_ctanf.c (__ctanf): Likewise.
4264 * math/s_ctanh.c (__ctanh): Likewise.
4265 * math/s_ctanhf.c (__ctanhf): Likewise.
4266 * math/s_ctanhl.c (__ctanhl): Likewise.
4267 * math/s_ctanl.c (__ctanl): Likewise.
4268 * math/w_pow.c: Likewise.
4269 * math/w_powf.c: Likewise.
4270 * math/w_powl.c: Likewise.
4271 * math/w_scalb.c (sysv_scalb): Likewise.
4272 * math/w_scalbf.c (sysv_scalbf): Likewise.
4273 * math/w_scalbl.c (sysv_scalbl): Likewise.
4274 * misc/error.c (error_tail): Likewise.
4275 * misc/pselect.c (__pselect): Likewise.
4276 * nis/nis_callback.c (__nis_create_callback): Likewise.
4277 * nis/nis_call.c (__nisfind_server): Likewise.
4278 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4279 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4281 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4282 * nis/nis_lookup.c (nis_lookup): Likewise.
4283 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4284 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4285 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4286 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4287 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4288 internal_getgrgid_r): Likewise.
4289 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4290 Likewise.
4291 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4292 internal_getpwuid_r): Likewise.
4293 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4294 internal_getspnam_r): Likewise.
4295 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4296 _nss_nis_getaliasbyname_r): Likewise.
4297 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4298 _nss_nis_getntohost_r): Likewise.
4299 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4300 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4301 Likewise.
4302 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4303 internal_nis_gethostent_r, internal_gethostbyname2_r,
4304 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4305 _nss_nis_gethostbyname4_r): Likewise.
4306 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4307 initgroups_netid): Likewise.
4308 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4309 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4310 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4311 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4312 _nss_nis_getprotobynumber_r): Likewise.
4313 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4314 _nss_nis_getsecretkey): Likewise.
4315 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4316 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4317 Likewise.
4318 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4319 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4320 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4321 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4322 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4323 _nss_nis_getspnam_r): Likewise.
4324 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4325 Likewise.
4326 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4327 _nss_nisplus_getntohost_r): Likewise.
4328 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4329 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4330 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4331 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4332 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4333 Likewise.
4334 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4335 _nss_nisplus_getnetbyaddr_r): Likewise.
4336 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4337 _nss_nisplus_getprotobynumber_r): Likewise.
4338 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4339 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4340 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4341 Likewise.
4342 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4343 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4344 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4345 _nss_nisplus_getspnam_r): Likewise.
4346 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4347 * nscd/aicache.c (addhstaiX): Likewise.
4348 * nscd/cache.c (cache_search, prune_cache): Likewise.
4349 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4350 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
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.
4355 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4356 Likewise.
4357 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4358 Likewise.
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.
4365 * nscd/nscd_helper.c (__readvall, open_socket,
4366 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4367 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4368 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4369 * nscd/pwdcache.c (addpwbyX): Likewise.
4370 * nscd/selinux.c (preserve_capabilities): Likewise.
4371 * nscd/servicescache.c (addservbyX): Likewise.
4372 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4373 * posix/fnmatch.c (fnmatch): Likewise.
4374 * posix/getopt.c (_getopt_internal_r): Likewise.
4375 * posix/glob.c (glob, glob_in_dir): Likewise.
4376 * posix/wordexp.c (exec_comm_child): Likewise.
4377 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4378 gaih_getanswer_slice): Likewise.
4379 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4380 * resolv/res_init.c: Likewise.
4381 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4382 * resolv/res_query.c (__libc_res_nquery): Likewise.
4383 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4384 Likewise.
4385 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4386 * stdio-common/perror.c (perror): Likewise.
4387 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4388 * stdio-common/tmpnam.c (tmpnam): Likewise.
4389 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4390 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4391 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4392 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4393 * stdlib/putenv.c (putenv): Likewise.
4394 * stdlib/setenv.c (__add_to_environ): Likewise.
4395 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4396 * stdlib/strtol_l.c (INTERNAL): Likewise.
4397 * string/memmem.c (memmem): Likewise.
4398 * string/strerror.c (strerror): Likewise.
4399 * string/strnlen.c (__strnlen): Likewise.
4400 * string/test-memmem.c (simple_memmem): Likewise.
4401 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4402 * sunrpc/pm_getport.c (__get_socket): Likewise.
4403 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4404 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4405 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4406 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4407 Likewise.
4408 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4409 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4410 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4411 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4412 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4413 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4414 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4415 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4416 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4417 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4418 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4419 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4421 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4422 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4423 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4424 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4425 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4426 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4427 Likewise.
4428 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4429 Likewise.
4430 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4431 Likewise.
4432 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4434 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4435 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4436 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4437 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4438 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4447 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4448 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4449 Likewise.
4450 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4451 Likewise.
4452 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4453 Likewise.
4454 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4456 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4457 Likewise.
4458 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4459 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4460 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4461 * sysdeps/posix/sleep.c: Likewise.
4462 * sysdeps/posix/tempname.c: Likewise.
4463 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4464 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4465 Likewise.
4466 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4467 elf_machine_rela): Likewise.
4468 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4469 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4470 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4471 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4472 Likewise.
4473 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4474 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4475 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4476 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4477 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4478 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4479 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4480 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4482 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4484 elf_machine_lazy_rel): Likewise.
4485 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4487 elf_machine_lazy_rel): Likewise.
4488 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4489 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4490 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4491 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4492 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4493 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4494 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4496 Likewise.
4497 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4498 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4499 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4500 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4501 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4502 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4503 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4504 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4505 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4506 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4507 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4508 Likewise.
4509 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4510 (__posix_fallocate64_l64): Likewise.
4511 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4512 (posix_fallocate): Likewise.
4513 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4514 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4515 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4516 getifaddrs_internal): Likewise.
4517 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4518 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4519 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4520 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4521 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4522 (__posix_fallocate64_l64): Likewise.
4523 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4524 Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4526 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4527 Likewise.
4528 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4529 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4530 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4533 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4534 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4535 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4536 Likewise.
4537 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4538 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4539 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4541 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4542 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4543 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4544 Likewise.
4545 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4546 (posix_fallocate): Likewise.
4547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4548 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4549 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4550 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4551 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4552 Likewise.
4553 * time/asctime.c (asctime_internal): Likewise.
4554 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4555 * time/tzset.c (__tzset_parse_tz): Likewise.
4556 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4557 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4558 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4559 * wcsmbs/wcsmbsload.h: Likewise.
4560
f3d338c9
OB
45612014-02-10 Ondřej Bílka <neleai@seznam.cz>
4562
4563 [BZ #15894]
4564 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4565
bdfe308a
OB
45662014-02-10 Ondřej Bílka <neleai@seznam.cz>
4567
4568 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4569 arena_get2): Remove THREAD_STATS conditionals.
4570 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4571 __malloc_stats, int): Likewise.
4572
d674667c
MF
45732014-02-08 Mike Frysinger <vapier@gentoo.org>
4574
4575 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4576 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4577
6349768c
MF
45782014-02-08 Mike Frysinger <vapier@gentoo.org>
4579
4580 * manual/setjmp.texi: Fix typos/grammar errors.
4581
0b7c7473
MF
45822014-02-08 Mike Frysinger <vapier@gentoo.org>
4583
4584 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4585 Only return early when n is <= 0. Delete unused return statement.
4586
ac8cc9e3
MF
45872014-02-08 Mike Frysinger <vapier@gentoo.org>
4588
4589 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4590 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4591 * debug/tst-longjmp_chk3.c: New file.
4592
c5bb8e23
MF
45932014-02-08 Mike Frysinger <vapier@gentoo.org>
4594
4595 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4596 (test_main): Replace code with set_fortify_handler call.
4597 * debug/test-strcpy_chk.c: Likewise.
4598 * debug/tst-chk1.c: Likewise.
4599 * debug/tst-longjmp_chk.c: Likewise.
4600 * test-skeleton.c: Include fcntl.h & paths.h
4601 (set_fortify_handler): Define.
4602
10444e42
MF
46032014-02-08 Mike Frysinger <vapier@gentoo.org>
4604
4605 * debug/tst-longjmp_chk.c: Add header comment and include
4606 ../test-skeleton.c.
4607 (do_test): Mark static.
4608 (TEST_FUNCTION): Define.
4609
1e805e8d
MF
46102014-02-08 Mike Frysinger <vapier@gentoo.org>
4611
4612 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4613 (IP_PMTUDISC_INTERFACE): Likewise.
4614 (IP_MULTICAST_IF): Likewise.
4615 (IP_MULTICAST_TTL): Likewise.
4616 (IP_MULTICAST_LOOP): Likewise.
4617 (IP_ADD_MEMBERSHIP): Likewise.
4618 (IP_DROP_MEMBERSHIP): Likewise.
4619 (IP_UNBLOCK_SOURCE): Likewise.
4620 (IP_BLOCK_SOURCE): Likewise.
4621 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4622 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4623 (IP_MSFILTER): Likewise.
4624 (MCAST_JOIN_GROUP): Likewise.
4625 (MCAST_BLOCK_SOURCE): Likewise.
4626 (MCAST_UNBLOCK_SOURCE): Likewise.
4627 (MCAST_LEAVE_GROUP): Likewise.
4628 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4629 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4630 (MCAST_MSFILTER): Likewise.
4631 (IP_MULTICAST_ALL): Likewise.
4632 (IP_UNICAST_IF): Likewise.
4633
73f79bb7
MF
46342014-02-08 Mike Frysinger <vapier@gentoo.org>
4635
4636 * timezone/Makefile: Delete $(have-ksh) check.
4637 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4638 * timezone/tzselect.ksh: Add +x mode bits.
4639
8da79b60
MF
46402014-02-08 Mike Frysinger <vapier@gentoo.org>
4641
4642 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4643 (ANON_INODE_FS_MAGIC): Likewise.
4644 (BDEVFS_MAGIC): Likewise.
4645 (BINFMTFS_MAGIC): Likewise.
4646 (BTRFS_TEST_MAGIC): Likewise.
4647 (CRAMFS_MAGIC_WEND): Likewise.
4648 (DEBUGFS_MAGIC): Likewise.
4649 (ECRYPTFS_SUPER_MAGIC): Likewise.
4650 (EXT3_SUPER_MAGIC): Likewise.
4651 (EXT4_SUPER_MAGIC): Likewise.
4652 (FUTEXFS_SUPER_MAGIC): Likewise.
4653 (HOSTFS_SUPER_MAGIC): Likewise.
4654 (HUGETLBFS_MAGIC): Likewise.
4655 (MINIX3_SUPER_MAGIC): Likewise.
4656 (MTD_INODE_FS_MAGIC): Likewise.
4657 (NILFS_SUPER_MAGIC): Likewise.
4658 (OPENPROM_SUPER_MAGIC): Likewise.
4659 (PIPEFS_MAGIC): Likewise.
4660 (PSTOREFS_MAGIC): Likewise.
4661 (QNX6_SUPER_MAGIC): Likewise.
4662 (RAMFS_MAGIC): Likewise.
4663 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4664 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4665 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4666 (SECURITYFS_MAGIC): Likewise.
4667 (SELINUX_MAGIC): Likewise.
4668 (SMACK_MAGIC): Likewise.
4669 (SOCKFS_MAGIC): Likewise.
4670 (SQUASHFS_MAGIC): Likewise.
4671 (STACK_END_MAGIC): Likewise.
4672 (TMPFS_MAGIC): Likewise.
4673 (USBDEVICE_SUPER_MAGIC): Likewise.
4674 (V9FS_MAGIC): Likewise.
4675 (XENFS_SUPER_MAGIC): Likewise.
4676 (CRAMFS_MAGIC): Fix typo in comment.
4677 (EXT2_SUPER_MAGIC): Update comment.
4678 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4679
464263cc
JM
46802014-02-08 Joseph Myers <joseph@codesourcery.com>
4681
c6bfe5c4
JM
4682 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4683 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4684 * sysdeps/unix/sysv/linux/arm: Move directory from
4685 ports/sysdeps/unix/sysv/linux/arm.
4686 * README: Update listing for arm-*-linux-gnueabi.
4687
464263cc
JM
4688 * README: Remove mention of am33.
4689
32749f6c
RM
46902014-02-07 Roland McGrath <roland@hack.frob.com>
4691
4692 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4693 than the comma operator, to avoid "rhs of comma has no effect"
4694 compiler warnings.
4695 (__sigfillset, __sigandset, __sigorset): Likewise.
4696 * include/signal.h (__sigemptyset): Likewise.
4697 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4698
d5b396c1
AM
46992014-02-07 Allan McRae <allan@archlinux.org>
4700
4701 * version.h (RELEASE): Set to "development".
4702 (VERSION): Set to "2.19.90"
4703 * NEWS: Add 2.20 section.
4704
3bfff2ed
CD
47052014-02-06 Carlos O'Donell <carlos@redhat.com>
4706
4707 [BZ #16529]
4708 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4709
ee7cc385
SP
47102014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4711
4712 * manual/contrib.texi: Update entry for Carlos O'Donell,
4713 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4714
f877c4f2
CD
47152014-02-05 Carlos O'Donell <carlos@rehdat.com>
4716
27e839f6
CD
4717 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4718
f877c4f2
CD
4719 * sysdeps/unix/sysv/linux/kernel-features.h
4720 [__LINUX_KERNEL_VERSION >= 0x020621]
4721 (__ASSUME_PROC_PID_TASK_COMM): Define.
4722
68159946
SP
47232014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4724
ba17cdbd
SP
4725 [BZ #16398]
4726 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4727 conversion when destination buffer does not have enough space.
4728 * libio/tst-ftell-partial-wide.c: New test case.
4729 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4730
68159946
SP
4731 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4732 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4733 Leonard and Allan McRae.
4734
2b528732
DM
47352014-02-04 David S. Miller <davem@davemloft.net>
4736
4737 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4738 32-bit.
4739
0ff82463
AZ
47402014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4741
c01603f7
AZ
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4743 file
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4745 New file
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4747 file.
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4749 file.
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4751 New file.
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4753 file.
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4755 file.
4756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4757 New file.
4758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4759 New file.
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4761 New file.
4762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4763 New file.
4764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4765 New file.
4766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4767 New file.
4768
47692014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4770
0ff82463
AZ
4771 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4772 * shlib-versions: Likewise.
4773
1695c773
AZ
47742014-02-04 Roland McGrath <roland@hack.frob.com>
4775 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4776
4777 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4778 (abilist-pattern): New variable, set to %-le.abilist.
4779
4780 * Makerules (abilist-pattern): New variable.
4781 (vpath): Use $(abilist-pattern) in place of %.abilist.
4782 (check-abi-% pattern rule): Likewise.
4783 (check-abi, update-abi): Likewise.
4784
6c0ce4b4
EW
47852014-02-04 Eric Wong <normalperson@yhbt.net>
4786
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4788
dc98b8f5
EW
47892014-02-04 Eric Wong <normalperson@yhbt.net>
4790
4791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4792
481e3524
CD
47932014-02-03 Carlos O'Donell <carlos@redhat.com>
4794
4795 * manual/startup.texi: Add next, previous, and top entries for
4796 the `Program Arguments' and `Environment Variables' nodes.
4797
375592d3
AO
47982014-02-03 Alexandre Oliva <aoliva@redhat.com>
4799
4800 * manual/macros.texi: Add comments before MTASC-safety macros.
4801
f54838ba
AO
4802 * manual/users.texi: Document MTASC-safety properties.
4803
909e12ad
AO
4804 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4805 pthread_getspecific, pthread_setspecific): Format with
4806 @deftypefun, and add @safety note.
4807 * manual/signal.texi: Move comments that analyze the above
4808 functions to their home place.
4809
fd3daba4
AM
48102014-02-03 Allan McRae <allan@archlinux.org>
4811
4812 * po/sl.po: Update Slovenian translation from translation project.
4813
597636d7
AO
48142014-02-02 Alexandre Oliva <aoliva@redhat.com>
4815
4816 * manual/time.texi (timegm): Add missing blank after @c.
4817 Reported by Joseph Myers <joseph@codesourcery.com>.
4818
ee196e3c
AO
48192014-02-01 Alexandre Oliva <aoliva@redhat.com>
4820
4821 * manual/check-safety.sh: New.
4822 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4823
f8d529d5
AO
4824 * manual/terminal.texi: Document MTASC-safety properties.
4825
de55fdf4
AO
4826 * manual/filesys.texi: Document MTASC-safety properties.
4827
c3299c08
AO
4828 * manual/errno.texi: Document MTASC-safety properties.
4829
06e90b14
AO
4830 * manual/intro.texi: Document safety identifiers and
4831 conditionals.
4832
1acd4371
AO
4833 * manual/string.texi (wcstok): Fix prototype.
4834 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4835
23e5b8cb
AO
4836 * manual/time.texi: Document MTASC-safety properties.
4837
11087373
AO
4838 * manual/string.texi: Document MTASC-safety properties.
4839
5da2c93d
AO
4840 * manual/threads.texi: Document MTASC-safety properties.
4841
171e9210
AO
4842 * manual/stdio.texi: Document MTASC-safety properties.
4843
d9e02532
AO
4844 * manual/syslog.texi: Document MTASC-safety properties.
4845
6af8bab7
AO
4846 * manual/sysinfo.texi: Document MTASC-safety properties.
4847
663b02d7
AO
4848 * manual/startup.texi: Document MTASC-safety properties.
4849
973f180b
AO
4850 * manual/socket.texi: Document MTASC-safety properties.
4851
8f3c25c8
AO
4852 * manual/signal.texi: Document MTASC-safety properties.
4853
542210fb
AO
48542014-01-31 Alexandre Oliva <aoliva@redhat.com>
4855
4856 * manual/setjmp.texi: Document MTASC-safety properties.
4857
433c45a2
AO
4858 * manual/search.texi: Document MTASC-safety properties.
4859
c8ce789c
AO
4860 * manual/resource.texi: Document MTASC-safety properties.
4861
19f5d29c
AO
4862 * manual/process.texi: Document MTASC-safety properties.
4863
e2dfb7f4
AO
4864 * manual/platform.texi: Document MTASC-safety properties.
4865
8c1413f5
AO
4866 * manual/pipe.texi: Document MTASC-safety properties.
4867
03483ada
AO
4868 * manual/pattern.texi: Document MTASC-safety properties.
4869
29e7e2df
AO
4870 * manual/message.texi: Document MTASC-safety properties.
4871
9f529d7c
AO
4872 [BZ #12751]
4873 * manual/memory.texi: Document MTASC-safety properties.
4874
27aaa791
AO
4875 * manual/math.texi: Document MTASC-safety properties.
4876
f2d58726
AO
4877 * manual/locale.texi: Document MTASC-safety properties.
4878
2cc3615c
AO
4879 * manual/llio.texi: Document MTASC-safety properties.
4880
d9f0ec97
AO
4881 * manual/libdl.texi: New.
4882
e7c4409a
AO
4883 * manual/lang.texi: Document MTASC-safety properties.
4884
27bdc63c
AO
4885 * manual/job.texi: Document MTASC-safety properties.
4886
a7b90ea9
AO
4887 * manual/getopt.texi: Document MTASC-safety properties.
4888
c49130e3
AO
4889 * manual/ctype.texi: Document MTASC-safety properties.
4890
0d23a5c1
MR
48912014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4892
4893 [BZ #16046]
4894 * csu/libc-tls.c (static_map): Remove variable.
4895 (__libc_setup_tls): Use main executable's link map for TLS data.
4896 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4897 casing for LM_ID_BASE and GL(dl_nns).
4898 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4899 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4900 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4901 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4902 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4903 member.
4904 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4905 l_phnum members.
4906
0037bb60
AO
49072014-01-30 Alexandre Oliva <aoliva@redhat.com>
4908
4909 * manual/debug.texi: Document MTASC-safety properties.
4910
409e00bd
L
49112014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4912
4913 [BZ #16510]
4914 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4915 of __x86_64__ when disabling x87 inline functions.
4916
86e60666
AO
49172014-01-29 Alexandre Oliva <aoliva@redhat.com>
4918
4919 * manual/charset.texi: Document MTASC-safety properties.
4920
76167637
AO
4921 * manual/crypt.texi: Document MTASC-safety properties.
4922
e567f2a0
AO
4923 * manual/conf.texi: Document MTASC-safety properties.
4924
b719dafd
AO
4925 * manual/arith.texi: Document MTASC-safety properties.
4926
4a16c662
AO
4927 * manual/argp.texi: Document MTASC-safety properties.
4928
0a57b83e
AO
4929 * manual/macros.texi: Introduce macros to document multi
4930 thread, asynchronous signal and asynchronous cancellation
4931 safety properties.
4932 * manual/intro.texi: Introduce the properties themselves.
4933
feab2397
KK
49342014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4935
4936 * sysdeps/sh/sh4/Makefile: New file.
4937
1c0d11bc
AS
49382014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4939
4940 * math/gen-libm-test.pl ($srcdir): New variable.
4941 ($auto_input): Use it.
4942
af37a8a3
SP
49432014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4944
d7b00f98
SP
4945 [BZ #16506]
4946 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4947 access beyond array bounds when parsing netgroups file.
4948
af37a8a3
SP
4949 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4950 the old buffer before realloc.
4951
0c00f062
AM
49522014-01-27 Allan McRae <allan@archlinux.org>
4953
4954 * po/fr.po: Update French translation from translation project.
4955
7d69a1b0
KK
49562014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4957
4958 * sysdeps/sh/libm-test-ulps: Regenerate.
4959
6e697ff7
DM
49602014-01-24 David S. Miller <davem@davemloft.net>
4961
4962 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4963
9cadb35c
KK
49642014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4965
4966 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4967 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4968
5d41dadf
SP
49692013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4970
4971 [BZ #16474]
4972 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4973 string pointers after reallocation.
4974
0bad441c
KK
49752014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4976
4977 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4978 __SH4A__ instead of __SH_FPU_ANY__.
4979
7007c661
KK
49802014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4981
4982 * sysdeps/sh/fpu_control.h: New file.
4983 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4984 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4985 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4986 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4987 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4988 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4989 * sysdeps/sh/sys/ucontext.h: Remove.
4990 * sysdeps/sh/sys: Remove directory.
4991
0f0c35e4
AK
49922014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4993
4994 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4995 s390/sys/ucontext.h.
4996 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4997 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4998
4959e284
L
49992014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5000
5001 [BZ #15605]
5002 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5003
d98720e0
AZ
50042014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5005
5006 [BZ#16431]
5007 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5008 Adjust the vDSO correctly for internal calls.
5009 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5010
91cbd0bc
AM
50112014-01-20 Allan McRae <allan@archlinux.org>
5012
5013 * po/ca.po: Update Catalan translation from translation project.
5014
7a02cfad
MF
50152014-01-16 Mike Frysinger <vapier@gentoo.org>
5016
5017 * sysdeps/s390/sotruss-lib.c: New file.
5018
736c304a
AZ
50192014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5020
5021 [BZ#16430]
6e077ee5 5022 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5023 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5024 local calls issues by not having a PLT stub required for IFUNC calls.
5025 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5026
94d0cea0
JM
50272014-01-16 Joseph Myers <joseph@codesourcery.com>
5028
5029 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5030 * math/test-fpucw-static.c: Likewise.
5031
980cb518
SP
50322013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5033
5034 [BZ #16453]
5035 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5036
2393fc01
AZ
50372014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038
5039 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5040 implementation for powerpc.
5041
d359bcc2
OB
50422014-01-15 Ondřej Bílka <neleai@seznam.cz>
5043
5044 [BZ #14782]
5045 * sysdeps/posix/system.c (__libc_system): Do not enable
5046 asynchronous cancellation.
5047
7beb48cb
AK
50482014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5049
5050 [BZ #16427]
5051 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5052 handling only for numbers special also in the IEEE case.
5053
c20d5bf5
AK
50542014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5055
5056 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5057
e83bd4ee
AM
50582014-01-11 Allan McRae <allan@archlinux.org>
5059
76d0ea69
AM
5060 * po/bg.po: Update Bulgarian translation from translation project.
5061
e83bd4ee
AM
5062 * po/de.po: Update German translation from translation project.
5063
bc2ba20a
RM
50642014-01-10 Roland McGrath <roland@hack.frob.com>
5065
5066 * sysdeps/generic/gcc-compat.h: New file.
5067
649ecea2
SP
50682014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5069
5070 * benchtests/asin-inputs: Correct slow inputs.
5071 * benchtests/acos-inputs: Likewise.
5072
1b19c006
AM
50732014-01-10 Allan McRae <allan@archlinux.org>
5074
a46dab08
AM
5075 * po:sv.po: Update Swedish translation from translation project.
5076
421df74a
AM
5077 * po/vi.po: Update Vietnamese translation from translation project.
5078
d61c51a7
AM
5079 * po/eo.po: Update Esperanto translation from translation project.
5080
0339a319
AM
5081 * po/cs.po: Update Czech translation from translation project.
5082
94ad3e99
AM
5083 * po/nl.po: Update Dutch translation from translation project.
5084
e349ca71
AM
5085 * po/pl.po: Update Polish translation from translation project.
5086
ddf930c1
AM
5087 * po/ru.po: Update Russian translation from translation project.
5088
1b19c006
AM
5089 * po/uk.po: Update Ukrainian translation from translation project.
5090
9f236c49
BM
50912014-01-08 Brooks Moses <bmoses@google.com>
5092
5093 * elf/dl-load.c: Fix comment typo.
5094
cd6701cf
CD
50952014-01-08 Carlos O'Donell <carlos@redhat.com>
5096
5097 * po/header.pot: Rename to...
5098 * po/pot.header: ... this.
5099 * po/Makefile: Use pot.header.
5100
66671c84
YK
51012014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5102 Maxim Kuvyrkov <maxim@kugelworks.com>
5103
5104 [BZ #16394]
cd6701cf
CD
5105 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5106 SRC and DEST against LEN.
66671c84 5107
38f34581
AZ
51082014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5109
5110 [BZ #16414]
5111 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5112 implementation.
5113 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5114
51152014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5116
5117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5118
4c327f2a
JM
51192014-01-08 Joseph Myers <joseph@codesourcery.com>
5120
5121 [BZ #16408]
5122 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5123 for large positive arguments.
5124
b821f414
JM
51252014-01-07 Joseph Myers <joseph@codesourcery.com>
5126
1f0f2067
JM
5127 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5128
a5a326f6
JM
5129 * math/auto-libm-test-in: Mark various tests with
5130 xfail-rounding:ldbl-128ibm.
5131 * math/auto-libm-test-out: Regenerated.
5132
b821f414
JM
5133 [BZ #16407]
5134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5135 Increase overflow threshold.
5136
94c8a4bc
OB
51372014-01-07 Ondřej Bílka <neleai@seznam.cz>
5138
5139 [BZ #14286]
5140 * stdio-common/vfprintf.c: Check for integer overflow.
5141
87ded0c3
AK
51422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5143
5144 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5145 the first argument and return value of __tls_get_addr_internal.
5146
c5eebdd0
AK
51472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5148
5149 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5150 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5151
05d138ef
AK
51522014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5153
5154 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5155 * sysdeps/s390/rtld-global-offsets.sym: New file.
5156 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5157 GLIBC_2.19 symbol.
5158 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5159 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5160 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5161 ... this.
5162 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5163 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5164 ... this.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5166 Regenerate.
5167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5168 Regenerate.
5169 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5170 halfs of GPRs for high_gprs contexts.
5171 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5172 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5173 field.
5174 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5175 uc_flags field.
5176 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5177 64 bit versions:
5178 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5179 for high GPRs (uc_high_gprs) and for future extensions
5180 (__reserved).
5181 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5182 for future extensions (__reserved).
5183 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5184 64 bit versions:
5185 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5186 SC_HIGHGPRS offset definition.
5187 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5188 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5189
93a45ff1
AK
51902014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5191
5192 * Versions.def: Add GLIBC_2.19 for libpthread.
5193 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5194 siglongjmp for libpthread with GLIBC_2.19 symver.
5195 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5196 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5197 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5198 * sysdeps/s390/__longjmp.c: New file.
5199 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5200 * sysdeps/s390/longjmp.c: New file.
5201 * sysdeps/s390/setjmp.S: New file.
5202 * sysdeps/s390/sigjmp.S: New file.
5203 * sysdeps/s390/v1-longjmp.c: New file.
5204 * sysdeps/s390/v1-setjmp.h: New file.
5205 * sysdeps/s390/v1-sigjmp.c: New file.
5206 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5207 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5208 GLIBC_2.19 version.
5209 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5210 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5211 versioned symbols for ____longjmp_chk.
5212 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5213 Likewise.
5214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5215 Regenerate.
5216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5217 Regenerate.
5218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5219 Regenerate.
5220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5221 Regenerate.
5222 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5223 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5224 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5225 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5226 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5227 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5228 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5229 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5230 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5231 * sysdeps/s390/rtld-__longjmp.c: New file.
5232 * sysdeps/s390/rtld-setjmp.S: New file.
5233
eb3fc44b
JM
52342014-01-06 Joseph Myers <joseph@codesourcery.com>
5235
5236 [BZ #16400]
5237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5238 Return -__logl (x) for small positive arguments without evaluating
5239 a polynomial.
5240
9341dde4
MF
52412014-01-06 Mike Frysinger <vapier@gentoo.org>
5242
5243 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5244 Rename to ...
5245 (__ptrace_peeksiginfo_args): ... this.
5246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5248 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5249
4cff0293
AM
52502014-01-06 Allan McRae <allan@archlinux.org>
5251
5252 * inet/netinet/in.h: Fix typo in comment.
5253
75595dcf
AJ
52542014-01-05 Andreas Jaeger <aj@suse.de>
5255
5256 * sysdeps/i386/fpu/libm-test-ulps: Update.
5257
79c1e109
AM
52582014-01-05 Allan McRae <allan@archlinux.org>
5259
dd804818
AM
5260 * po/libc.pot: Regenerated.
5261
79c1e109
AM
5262 * malloc/memusagestat.c: Fix gettext call formatting.
5263
0c813d1f
SK
52642014-01-04 Sami Kerola <kerolasa@iki.fi>
5265
5266 * nscd/nscd.c: Improve usage() output.
5267
20f4a8d9
MF
52682014-01-04 Mike Frysinger <vapier@gentoo.org>
5269
5270 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5271 * sysdeps/unix/sysv/linux/configure: Regenerated.
5272 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5273 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5274
22562bb2
JM
52752014-01-03 Joseph Myers <joseph@codesourcery.com>
5276
5277 [BZ #16390]
5278 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5279 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5280
d7ad2d9b
AZ
52812014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5282
5283 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5284 extra tokens at end of #undef directive.
5285 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5286 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5287 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5288
7dd009d8
JM
52892014-01-03 Joseph Myers <joseph@codesourcery.com>
5290
24db925a
JM
5291 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5292
7dd009d8
JM
5293 * math/auto-libm-test-in: Mark various tests with
5294 xfail-rounding:ldbl-128ibm.
5295 * math/auto-libm-test-out: Regenerated.
5296
396e3ecf
JM
52972014-01-02 Joseph Myers <joseph@codesourcery.com>
5298
819e5d50
JM
5299 [BZ #16386]
5300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5301 numbers with subnormal high part when calculating exponent.
5302
90b6a1e5
JM
5303 [BZ #16385]
5304 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5305 fabs.
5306
396e3ecf
JM
5307 [BZ #16384]
5308 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5309 M_LN2l.
5310 (__ieee754_acoshl): Use __log1pl not __log1p.
5311
6c8dbf00
OB
53122013-01-02 Ondřej Bílka <neleai@seznam.cz>
5313
5314 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5315 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5316 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5317 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5318 Convert to GNU style.
5319 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5320 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5321 memalign_check, __malloc_set_state): Likewise.
5322 * malloc/mallocbug.c (main): Likewise.
5323 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5324 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5325 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5326 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5327 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5328 * malloc/malloc.h: Likewise.
5329 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5330 memalignhook, reallochook, mabort): Likewise.
5331 * malloc/mcheck.h: Likewise.
5332 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5333 mmap64, mremap, munmap, dest): Likewise.
5334 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5335 * malloc/morecore.c (__default_morecore): Likewise.
5336 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5337 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5338 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5339 print_and_abort): Likewise.
5340 * malloc/obstack.h: Likewise.
5341 * malloc/set-freeres.c (__libc_freeres): Likewise.
5342 * malloc/tst-mallocstate.c (main): Likewise.
5343 * malloc/tst-mtrace.c (main): Likewise.
5344 * malloc/tst-realloc.c (do_test): Likewise.
5345
d4124212
SP
53462013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5347
9a3c6a6f
SP
5348 [BZ #16366]
5349 * nscd/netgroupcache.c (do_notfound): New function.
5350 (addgetnetgrentX): Use it.
5351
d4124212
SP
5352 [BZ # 16365]
5353 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5354 NSS_STATUS_NOTFOUND.
5355
97b9a009
JM
53562014-01-01 Joseph Myers <joseph@codesourcery.com>
5357
5358 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5360
d4697bc9
AM
53612014-01-01 Allan McRae <allan@archlinux.org>
5362
ddb3687f
AM
5363 * scripts/update-copyrights: Update configure input file suffix.
5364
88726d48
AM
5365 * NEWS: Update copyright year.
5366 * catgets/gencat.c: Likewise.
5367 * csu/version.c: Likewise.
5368 * debug/catchsegv.sh: Likewise.
5369 * debug/pcprofiledump.c: Likewise.
5370 * debug/xtrace.sh: Likewise.
5371 * elf/ldconfig.c: Likewise.
5372 * elf/ldd.bash.in: Likewise.
5373 * elf/pldd.c: Likewise.
5374 * elf/sotruss.ksh: Likewise.
5375 * elf/sprof.c: Likewise.
5376 * iconv/iconv_prog.c: Likewise.
5377 * iconv/iconvconfig.c: Likewise.
5378 * locale/programs/locale.c: Likewise.
5379 * locale/programs/localedef.c: Likewise.
5380 * login/programs/pt_chown.c: Likewise.
5381 * malloc/memusage.sh: Likewise.
5382 * malloc/memusagestat.c: Likewise.
5383 * malloc/mtrace.pl: Likewise.
5384 * manual/libc.texinfo: Likewise.
5385 * nscd/nscd.c: Likewise.
5386 * nss/getent.c: Likewise.
5387 * nss/makedb.c: Likewise.
5388 * posix/getconf.c: Likewise.
5389 * scripts/test-installation.pl: Likewise.
5390
d4697bc9
AM
5391 * All files with FSF copyright notices: Update copyright dates
5392 using scripts/update-copyrights.
5393 * intl/plural.c: Regenerated.
5394 * locale/programs/charmap-kw.h: Likewise.
5395 * locale/programs/locfile-kw.h: Likewise.
5396
c8590f9d
MF
53972013-12-31 Mike Frysinger <vapier@gentoo.org>
5398
5399 * sysdeps/unix/sysv/linux/configure: Regenerated.
5400 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5401 the linux/fanotify.h header.
5402 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5403 HAVE_LINUX_FANOTIFY_H is defined.
5404
b19221b9
SP
54052013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5406
dd1d85e5
SP
5407 * benchtests/cos-inputs: New inputs.
5408 * benchtests/sin-inputs: Likewise.
5409
1acbb90f
SP
5410 * benchtests/atan-inputs: New inputs. Fix name of multiple
5411 precision fallback inputs.
5412
4c012ed3
SP
5413 * benchtests/atanh-inputs: New inputs.
5414 * benchtests/tanh-inputs: Likewise.
5415
eff98324
SP
5416 * benchtests/acosh-inputs: New inputs.
5417 * benchtests/asinh-inputs: Likewise.
5418
ce641152
SP
5419 * benchtests/cosh-inputs: New inputs.
5420 * benchtests/sinh-inputs: Likewise.
5421
b19221b9
SP
5422 * benchtests/acos-inputs: Add more inputs.
5423 * benchtests/asin-inputs: Likewise.
5424
030a4976 54252013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5426
030a4976 5427 [BZ #16375]
9dcc8f11
VS
5428 * manual/arith.texi: Fix spelling.
5429 * manual/charset.texi: Likewise.
5430 * manual/errno.texi: Likewise.
5431 * manual/filesys.texi: Likewise.
5432 * manual/lang.texi: Likewise.
5433 * manual/llio.texi: Likewise.
5434 * manual/locale.texi: Likewise.
5435 * manual/message.texi: Likewise.
5436 * manual/resource.texi: Likewise.
5437 * manual/search.texi: Likewise.
5438 * manual/setjmp.texi: Likewise.
5439 * manual/stdio.texi: Likewise.
5440 * manual/string.texi: Likewise.
5441 * manual/sysinfo.texi: Likewise.
5442 * manual/time.texi: Likewise.
5443
11520a57
CD
54442013-12-27 Carlos O'Donell <carlos@redhat.com>
5445
5446 * po/sl.po: New file.
5447
471103ae
MF
54482013-12-27 Mike Frysinger <vapier@gentoo.org>
5449
5450 * .gitignore: Add core/.gdbinit/.gdb_history.
5451
6c9642ed
AM
54522013-12-27 Allan McRae <allan@archlinux.org>
5453
5454 [BZ #16369]
5455 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5456 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5457
3f637079
BM
54582013-12-24 Brooks Moses <bmoses@google.com>
5459
5460 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5461 all compilers that claim C++98 compliance, not just GCC.
5462 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5463 Likewise.
5464
abc26e99
MK
54652013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5466
5467 * NEWS: Restore accidentally deleted bug-fix entries.
5468
362b47fe
MK
54692013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5470 Ondřej Bílka <neleai@seznam.cz>
5471
5472 [BZ #15073]
5473 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5474 have_lock.
362b47fe 5475
b9bcbbcb
OB
54762013-12-23 Ondřej Bílka <neleai@seznam.cz>
5477
5478 [BZ #12986]
5479 * manual/stdio.texi (String Input Conversions): Clarify that character
5480 classes are not supported.
5481
fb55fcd2
AZ
54822013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5483
5484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5485
ef7344f0
JM
54862013-12-22 Joseph Myers <joseph@codesourcery.com>
5487
4f40e4b3
JM
5488 [BZ #16337]
5489 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5490 Calculate results for small negative arguments directly rather
5491 than using reflection formula with special underflow handling.
5492
ef7344f0
JM
5493 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5494 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5495 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5496 (fchflags): Likewise.
5497 (revoke): Likewise.
5498 (setlogin): Likewise.
5499 (sigaltstack): Likewise.
5500 (wait4): Likewise.
5501 (sigblock): Remove.
5502 (sigsetmask): Likewise.
5503 (wait3): Likewise.
5504 (waitpid): Likewise.
5505 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5506 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5507 file.
5508 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5509 * sysdeps/unix/bsd/Makefile: ... here.
5510 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5511 * sysdeps/unix/bsd/Versions: ... here.
5512 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5513 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5514 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5515 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5516 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5517 * sysdeps/unix/bsd/sigblock.c: ... here.
5518 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5519 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5520 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5521 * sysdeps/unix/bsd/sigvec.c: ... here.
5522 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5523 * sysdeps/unix/bsd/tcdrain.c: ... here.
5524 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5525 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5526 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5527 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5528 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5529 * sysdeps/unix/bsd/wait.c: ... here.
5530 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5531 * sysdeps/unix/bsd/wait3.c: ... here.
5532 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5533 * sysdeps/unix/bsd/waitpid.c: ... here.
5534
5b0626b9
JM
55352013-12-21 Joseph Myers <joseph@codesourcery.com>
5536
5537 [BZ #16356]
5538 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5539 round-to-nearest for [!USE_AS_EXPM1L].
5540 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5541 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5542 more tests of exp and exp10. Expect some exp10 tests to miss
5543 exceptions or fail in directed rounding modes.
5544 * math/auto-libm-test-out: Regenerated.
5545 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5546 (exp10_test_tonearest): New function.
5547 (exp10_towardzero_test_data): New array.
5548 (exp10_test_towardzero): New function.
5549 (exp10_downward_test_data): New array.
5550 (exp10_test_downward): New function.
5551 (exp10_upward_test_data): New array.
5552 (exp10_test_upward): New function.
5553 (main): Call the new functions.
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5556
7fda5682
JM
55572013-12-20 Joseph Myers <joseph@codesourcery.com>
5558
31e3a405
JM
5559 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5560 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5561 * math/auto-libm-test-out: Regenerated.
5562 * math/libm-test.inc (acosh_test_data): Add more tests.
5563 (atanh_test_data): Likewise.
5564 (ceil_test_data): Likewise.
5565 (copysign_test_data): Likewise.
5566 * sysdeps/i386/fpu/libm-test-ulps: Update.
5567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5568
85bff96a
JM
5569 * timezone/checktab.awk: Update from tzcode 2013i.
5570 * timezone/private.h: Likewise.
5571 * timezone/scheck.c: Likewise.
5572 * timezone/tzfile.h: Likewise.
5573 * timezone/tzselect.ksh: Likewise.
5574 * timezone/zdump.c: Likewise.
5575 * timezone/zic.c: Likewise.
5576
b7867a3b
JM
5577 * math/auto-libm-test-in: Add tests of cpow.
5578 * math/auto-libm-test-out: Regenerated.
5579 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5580 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5581 mpc_cc_c.
5582 (func_calc_desc): Add mpc_cc_c union field.
5583 (test_functions): Add cpow.
5584 (special_fill_2pi): New function.
5585 (special_real_inputs): Add 2pi.
5586 (calc_generic_results): Handle mpc_cc_c.
5587 * sysdeps/i386/fpu/libm-test-ulps: Update.
5588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5589
7fda5682
JM
5590 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5591 csqrt, ctan and ctanh.
5592 * math/auto-libm-test-out: Regenerated.
5593 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5594 (TEST_COND_x86): Likewise.
5595 (ccos_test_data): Use AUTO_TESTS_c_c.
5596 (ccosh_test_data): Likewise.
5597 (cexp_test_data): Likewise.
5598 (clog_test_data): Likewise.
5599 (csqrt_test_data): Likewise.
5600 (ctan_test_data): Likewise.
5601 (ctan_tonearest_test_data): Likewise.
5602 (ctan_towardzero_test_data): Likewise.
5603 (ctan_downward_test_data): Likewise.
5604 (ctan_upward_test_data): Likewise.
5605 (ctanh_test_data): Likewise.
5606 (ctanh_tonearest_test_data): Likewise.
5607 (ctanh_towardzero_test_data): Likewise.
5608 (ctanh_downward_test_data): Likewise.
5609 (ctanh_upward_test_data): Likewise.
5610 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5611 mpc_c_c.
5612 (func_calc_desc): Add mpc_c_c union field.
5613 (FUNC_mpc_c_c): New macro.
5614 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5615 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5616 ctanh.
5617 (special_fill_min_subnorm_p120): New function.
5618 (special_real_inputs): Add min_subnorm_p120.
5619 (calc_generic_results): Handle mpc_c_c.
5620 * sysdeps/i386/fpu/libm-test-ulps: Update.
5621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5622
5ff8d60e
SP
56232013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5624
392dd2de
SP
5625 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5626 do_sin_slow): New functions.
5627 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5628 cslow2, csloww1, csloww2): Use the new functions.
5629
84ba214c
SP
5630 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5631 Use M to change sign of result instead of X. Assume X is
5632 positive.
5633 (csloww1): Likewise.
5634 (__sin): Adjust.
5635 (__cos): Adjust.
5636
975195e4
SP
5637 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5638 arguments A and DA.
5639 (__sin): Adjust.
5640 (__cos): Likewise.
5641
5ff8d60e
SP
5642 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5643 (__cos): Likewise.
5644 (sloww1): Don't adjust sign of DX.
5645 (csloww1): Likewise.
5646 (sloww2): Use X directly and don't adjust sign of DX.
5647 (csloww2): Likewise.
5648
eb983568
JM
56492013-12-19 Joseph Myers <joseph@codesourcery.com>
5650
64a17f1a
JM
5651 * math/auto-libm-test-in: Add tests of cabs and carg.
5652 * math/auto-libm-test-out: Regenerated.
5653 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5654 (carg_test_data): Likewise.
5655 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5656 mpc_c_f.
5657 (func_calc_desc): Add mpc_c_f union field.
5658 (test_functions): Add cabs and carg.
5659 (calc_generic_results): Handle mpc_c_f.
5660
eb983568
JM
5661 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5662 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5663 as a macro and a compat symbol.
5664 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5665 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5666 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5667 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5668 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5669 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5670 not use .hidden.
5671 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5672 Likewise.
5673 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5674 Likewise.
5675 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5676 Likewise.
5677 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5678 Likewise.
5679 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5680 Likewise.
5681 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5682 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5683 from GLIBC_2.3.2.
5684
6eeb678a
AZ
56852013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686
5687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5688
6f6fc482
JM
56892013-12-19 Joseph Myers <joseph@codesourcery.com>
5690
21fea2e2
JM
5691 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5692 trailing whitespace removed.
5693 * scripts/config.guess: Update to version 2013-11-29.
5694 * scripts/config.sub: Update to version 2013-10-01.
5695
6f6fc482
JM
5696 * math/auto-libm-test-in: Add tests of sincos.
5697 * math/auto-libm-test-out: Regenerated.
5698 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5699 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5700 mpfr_f_11.
5701 (func_calc_desc): Add mpfr_f_11 union field.
5702 (test_functions): Add sincos.
5703 (calc_generic_results): Handle mpfr_f_11.
5704 * sysdeps/i386/fpu/libm-test-ulps: Update.
5705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5706
83f5c32d
AS
57072013-12-19 Andreas Schwab <schwab@suse.de>
5708
5709 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5710 CALL_MCOUNT.
5711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5712 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5713 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5714
c688b419
JM
57152013-12-19 Joseph Myers <joseph@codesourcery.com>
5716
335ee092
JM
5717 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5718 * sysdeps/i386/fpu/libm-test-ulps: Update.
5719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5720
f88acd39
JM
5721 [BZ #16293]
5722 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5723 round-to-nearest mode when using frndint.
5724 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5725 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5727 Likewise.
5728 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5729 sinh test to fail.
5730 * math/auto-libm-test-out: Regenerated.
5731 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5732 (TEST_COND_x86): Likewise.
5733 (expm1_tonearest_test_data): New array.
5734 (expm1_test_tonearest): New function.
5735 (expm1_towardzero_test_data): New array.
5736 (expm1_test_towardzero): New function.
5737 (expm1_downward_test_data): New array.
5738 (expm1_test_downward): New function.
5739 (expm1_upward_test_data): New array.
5740 (expm1_test_upward): New function.
5741 (main): Run the new test functions.
5742 * sysdeps/i386/fpu/libm-test-ulps: Update.
5743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5744
c688b419
JM
5745 * include/features.h: Update comment documenting feature test
5746 macros. Mention _DEFAULT_SOURCE in comment.
5747 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5748 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5749 _BSD_SOURCE and _SVID_SOURCE.
5750 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5751 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5752 !_SVID_SOURCE]: Likewise.
5753 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5754 (__USE_POSIX_IMPLICITLY): Define.
5755 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5756 (_POSIX_SOURCE): Undefine and redefine.
5757 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5758 (_POSIX_C_SOURCE): Likewise.
5759 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5760 (Feature Test Macros): Update documentation of default features.
5761
9f6e964c
RS
57622013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5763
5764 * benchtests/Makefile: Add bench-strtok.
5765 * benchtests/bench-strtok.c: New file: strtok benchtest.
5766
ee0a148a
AM
57672013-12-19 Allan McRae <allan@archlinux.org>
5768
5769 * manual/install.texi: Suppress menu for plain text output.
5770 * INSTALL: Regenerated.
5771
b9ab448f
BM
57722013-12-18 Brooks Moses <bmoses@google.com>
5773
5774 [BZ #15846]
5775 * misc/getauxval.c: Include errno.h.
5776 (__getauxval): Set errno to ENOENT if the requested type is not
5777 found.
5778 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5779 don't declare with __attribute_const__.
5780 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5781 * manual/startup.texi: Document that getauxval sets errno.
5782
23776487
JM
57832013-12-18 Joseph Myers <joseph@codesourcery.com>
5784
f889953b
JM
5785 * math/auto-libm-test-in: Add tests of jn and yn.
5786 * math/auto-libm-test-out: Regenerated.
5787 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5788 (yn_test_data): Likewise.
5789 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5790 mpfr_if_f.
5791 (func_calc_desc): Add mpfr_if_f union field.
5792 (FUNC_mpfr_if_f): New macro.
5793 (test_functions): Add jn and yn.
5794 (calc_generic_results): Assert type of second input for
5795 mpfr_ff_f. Handle mpfr_if_f.
5796 (output_for_one_input_case): Disable all checking for arguments
5797 fitting floating-point types in case of an integer argument.
5798 * sysdeps/i386/fpu/libm-test-ulps: Update.
5799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5800
23776487
JM
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5802 Don't expect fegetround reference in libm.so.
5803
cb756c6d
MS
58042013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5805
5806 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5807 $(config-cflags-nofma).
5808
2dec468f
JM
58092013-12-18 Joseph Myers <joseph@codesourcery.com>
5810
5953eb3a
JM
5811 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5812 * math/auto-libm-test-out: Regenerated.
5813
2dec468f
JM
5814 [BZ #16338]
5815 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5816 to determine exponent and adjust argument to have exponent of -1.
5817 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5818 log2.
5819 * math/auto-libm-test-out: Regenerated.
5820 * sysdeps/i386/fpu/libm-test-ulps: Update.
5821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5822
4d84e6ad
OB
58232013-12-18 Ondřej Bílka <neleai@seznam.cz>
5824
5825 * manual/probes.texi: Remove cases when per-thread arenas are
5826 disabled.
5827
1818483b
AS
58282013-12-18 Andreas Schwab <schwab@suse.de>
5829
5830 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5831 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5832 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5833 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5834 * sysdeps/i386/i686/multiarch/Makefile: Update.
5835 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5836
25de95bf
JM
58372013-12-17 Joseph Myers <joseph@codesourcery.com>
5838
5839 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5840 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5841
674762d9
PE
58422013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5843
ed27ed83 5844 [BZ #15968]
0748546f
PE
5845 Support TZ transition times < 00:00:00.
5846 This is needed for version-3 tz-format files; it supports time
5847 stamps past 2037 for America/Godthab (the only entry in the tz
5848 database for which this change is relevant).
5849 * manual/time.texi (TZ Variable): Document transition times
5850 from -167:59:59 through -00:00:01.
5851 * time/tzset.c (tz_rule): Time of day is now signed.
5852 (__tzset_parse_tz): Parse negative time of day.
5853
4480e934
PE
5854 Document TZ transition times >= 25:00:00.
5855 * manual/time.texi (TZ Variable): Document transition times from
5856 25:00:00 through 167:59:59. These are already supported, and this
5857 support will help with version-3 tz-format files.
5858
69947401
PE
5859 * manual/time.texi (TZ Variable): Modernize North America example
5860 to reflect current (i.e., 2007-and-later) daylight saving rules.
5861
674762d9
PE
5862 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5863
7011c262
JM
58642013-12-17 Joseph Myers <joseph@codesourcery.com>
5865
2fc6557e
JM
5866 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5867 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5870 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5871 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5872 * sysdeps/unix/bsd/clock.c: Likewise.
5873 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5874 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5875 * sysdeps/unix/bsd/init-posix.c: Likewise.
5876 * sysdeps/unix/bsd/poll.c: Likewise.
5877 * sysdeps/unix/bsd/ptsname.c: Likewise.
5878 * sysdeps/unix/bsd/seekdir.c: Likewise.
5879 * sysdeps/unix/bsd/setegid.c: Likewise.
5880 * sysdeps/unix/bsd/seteuid.c: Likewise.
5881 * sysdeps/unix/bsd/setgid.c: Likewise.
5882 * sysdeps/unix/bsd/setrgid.c: Likewise.
5883 * sysdeps/unix/bsd/setruid.c: Likewise.
5884 * sysdeps/unix/bsd/setsid.c: Likewise.
5885 * sysdeps/unix/bsd/setuid.c: Likewise.
5886 * sysdeps/unix/bsd/sigaction.c: Likewise.
5887 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5888 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5889 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5890 * sysdeps/unix/bsd/telldir.c: Likewise.
5891 * sysdeps/unix/bsd/times.c: Likewise.
5892 * sysdeps/unix/bsd/usleep.c: Likewise.
5893
029c7b25
JM
5894 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5895 ($(objpfx)libbsd-compat.a): Remove rule.
5896
7011c262
JM
5897 * include/features.h (__FAVOR_BSD): Do not define.
5898 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5899 features conflicting with POSIX.
5900 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5901 (_BSD_SOURCE): Remove description of not being a subset of other
5902 feature test macros.
5903 * manual/job.texi (getpgrp): Do not document BSD version.
5904 (getpgid): Do not document by reference to BSD getpgrp.
5905 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5906 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5907 * signal/signal.h [__FAVOR_BSD]: Likewise.
5908 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5909 instead of making contents conditional on [__FAVOR_BSD].
5910 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5911
affb6f78
AZ
59122013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5913
5914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5915
c88769dd
JM
59162013-12-17 Joseph Myers <joseph@codesourcery.com>
5917
6432a540
JM
5918 [BZ #16314]
5919 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5920 values below 2**-450, not 2**-500.
5921 * math/auto-libm-test-in: Don't allow spurious underflow from
5922 hypot.
5923 * math/auto-libm-test-out: Regenerated.
5924
c88769dd
JM
5925 [BZ #16316]
5926 [BZ #16330]
5927 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5928 values of ha and hb and sort them after adjusting subnormal
5929 arguments.
5930 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5931 Likewise.
5932 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5933 values of ea and eb and sort them after adjusting subnormal
5934 arguments.
5935 * math/auto-libm-test-in: Do not expect some hypot tests of
5936 subnormals to fail. Add more hypot tests.
5937 * math/auto-libm-test-out: Regenerated.
5938
29618f6b
KK
59392013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5940
5941 [BZ #13304]
5942 * sysdeps/sh/s_fma.c: New file.
5943 * sysdeps/sh/s_fmaf.c: New file.
5944 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5945 version.
5946 * sysdeps/sh/Implies: Add sh/soft-fp.
5947
eacfdfbf
RM
59482013-12-16 Roland McGrath <roland@hack.frob.com>
5949
5950 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5951 level of indirection to members `objname', `errstring', `malloced'.
5952 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5953 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5954 it as the __longjmp argument (just pass 1 instead).
5955 (_dl_catch_error): Initialize C with argument pointers and address of
5956 volatile local ERRCODE rather than copying values out of C at return.
5957
ff362e5b
JM
59582013-12-16 Joseph Myers <joseph@codesourcery.com>
5959
5960 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5961 * math/auto-libm-test-out: Regenerated.
5962 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5963 (hypot_test_data): Likewise.
5964 (pow_test_data): Likewise.
5965 (pow_tonearest_test_data): Likewise.
5966 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5967 mpfr_ff_f.
5968 (func_calc_desc): Add mpfr_ff_f union field.
5969 (FUNC_mpfr_ff_f): New macro.
5970 (test_functions): Add atan2, hypot and pow.
5971 (special_fill_min): New function.
5972 (special_fill_minus_min): Likewise.
5973 (special_fill_min_subnorm): Likewise.
5974 (special_fill_minus_min_subnorm): Likewise.
5975 (special_real_inputs): Add min, -min, min_subnorm and
5976 -min_subnorm.
5977 (calc_generic_results): Handle mpfr_ff_f.
5978 * sysdeps/i386/fpu/libm-test-ulps: Update.
5979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980
5764c27f
WN
59812013-12-16 Will Newton <will.newton@linaro.org>
5982
5983 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5984 (Aligned Memory Blocks): Add documentation for aligned_alloc
5985 and suggest it as an alternative to posix_memalign.
5986 (Hooks for Malloc): Document __memalign_hook is also called
5987 for aligned_alloc. (Summary of Malloc): Add summary for
5988 aligned alloc. Document __memalign_hook is also called
5989 for aligned_alloc.
5990
0a096e44
WN
59912013-12-16 Will Newton <will.newton@linaro.org>
5992
5993 * manual/memory.texi (Malloc Examples): Clarify default
5994 alignment documentation. Suggest posix_memalign rather
5995 than memalign or valloc.
5996 (Aligned Memory Blocks): Remove suggestion to use memalign
5997 or valloc. Remove obsolete comment about BSD.
5998 Document memalign errno values and mark the function obsolete.
5999 Document posix_memalign returned error codes. Mark valloc
6000 as obsolete. (Hooks for Malloc): __memalign_hook is also
6001 called for posix_memalign and valloc.
6002 (Summary of Malloc): Add posix_memalign to function summary.
6003 __memalign_hook is also called for posix_memalign and valloc.
6004
8d561986
SP
60052013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6006
6007 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6008 TAYLOR_SIN.
6009 (__sin): Adjust.
6010 (__cos): Likewise.
6011 (sloww): Use mynumber union. Expand ternary operator into
6012 if-else statements.
6013 (cslow): use mynumber union.
6014
73616a74
AM
60152013-12-16 Allan McRae <allan@archlinux.org>
6016
9e8ac24b
AM
6017 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6018 * configure: Regenerated.
6019
6f8e37eb
AM
6020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6021
8894bad3
AM
6022 [BZ #14120]
6023 * configure.ac: Added --enable-maintainer-mode. Check for
6024 autoconf when enabled.
6025 * configure: Regenerated.
6026
73616a74
AM
6027 * nscd/nscd.service: New file.
6028 * nscd/nscd.tmpfiles: New file.
6029
584b18eb
OB
60302013-12-14 Ondřej Bílka <neleai@seznam.cz>
6031
6032 [BZ #12100]
6033 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6034 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6035 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6036 (strstr): Add __strstr_sse2_unaligned ifunc.
6037 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6038 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6039 (strcasestr): Remove __strcasestr_sse42 ifunc.
6040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6041 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6043
8a5c7897
KK
60442013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6045
6046 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6047 * sysdeps/sh/bits/fenv.h: ... here.
6048 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6049
fd712ef3
AZ
60502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051
6052 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6053
42fcb46c
AZ
60542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6055
6056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6057 hypotf multiarch implementations.
6058 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6059 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6061 multiarch hypot for PPC64.
6062 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6063 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6065 multiarch hypotf for PPC64.
6066
83efded4
AZ
60672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6068
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6070 modff multiarch implementations.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6074 multiarch modf for PPC64.
6075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6078 multiarch modff for PPC64.
6079
43e246d2
AZ
60802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6081
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6083 and logl multiarch implementations.
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6087 multiarch logb for PPC64.
6088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6091 multiarch logb for PPC64.
6092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6095 multiarch logb for PPC64.
6096
8fdad123
AZ
60972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6098
6099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6100 isinff multiarch implementation.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6102 file.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6105 multiarch isinf for PPC64.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6107 file.
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6109 multiarch isinff for PPC64.
6110
1481d706
AZ
61112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6112
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6114 finitef multiarch implementation.
6115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6116 file.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6119 multiarch finite for PPC64.
6120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6121 file.
6122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6123 multiarch finitef for PPC64.
6124
5ccd5fc8
AZ
61252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6126
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6128 lrint multiarch implementation.
6129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6130 file.
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6133 multiarch llrint for PPC64.
6134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6135 multiarch lrint for PPC64.
6136
2568f3fa
AZ
61372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6138
6139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6140 copysignf multiarch implementation.
6141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6142 file.
6143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6144 file.
6145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6146 multiarch copysign for PPC64.
6147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6148 multiarch copysignf for PPC64.
6149
1cb341fd
AZ
61502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6153 multiarch implementation.
6154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6155 file.
6156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6157 file.
6158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6159 file.
6160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6161 file.
6162 multiarch llround for PPC64.
6163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6164 multiarch trunc for PPC64.
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6166 multiarch truncf for PPC64.
6167
59a3e194
AZ
61682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6171 multiarch implementation.
6172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6173 file.
6174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6175 file.
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6177 file.
6178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6179 file.
6180 multiarch llround for PPC64.
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6182 multiarch round for PPC64.
6183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6184 multiarch roundf for PPC64.
6185
357fd3b4
AZ
61862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6187
6188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6189 multiarch implementation.
6190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6191 file.
6192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6193 file.
6194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6195 file.
6196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6197 file.
6198 multiarch llround for PPC64.
6199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6200 multiarch floor for PPC64.
6201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6202 multiarch floorf for PPC64.
6203
96770f12
AZ
62042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6205
6206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6207 multiarch implementation.
6208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6209 file.
6210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6211 file.
6212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6213 file.
6214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6215 file.
6216 multiarch llround for PPC64.
6217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6218 multiarch ceil for PPC64.
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6220 multiarch ceilf for PPC64.
6221
c3627f6e
AZ
62222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6223
6224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6225 multiarch implementation.
6226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6227 file.
6228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6229 file.
6230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6231 file.
6232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6233 multiarch llround for PPC64.
6234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6235 multiarch lround for PPC64.
6236
b2284ad7
AZ
62372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6238
6239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6240 multiarch implementation.
6241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6244 file.
6245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6248 multiarch isnan for PPC64.
6249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6250 multiarch isnanf for PPC64.
6251
69bbc63d
AZ
62522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6253
6254 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6255 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6256 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6257 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6258 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6260
c24517c9
AZ
62612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262
6263 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6264 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6267
a52374e8
AZ
62682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6269
6270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6271 multiarch implementations.
6272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6273 (__libc_ifunc_impl_list): Likewise.
6274 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6275 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6277 multiarch stpcpy for PPC64.
6278
7f5ec113
AZ
62792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280
6281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6282 multiarch implementations.
6283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6284 (__libc_ifunc_impl_list): Likewise.
6285 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6286 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6287 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6288 multiarch strcpy for PPC64.
6289
e28bcd42
AZ
62902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291
6292 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6293 redefine function name.
6294 (_wordcopy_fwd_dest_aligned): Likewise.
6295 (_wordcopy_bwd_aligned): Likewise.
6296 (_wordcopy_bwd_dest_aligned): Likewise.
6297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6298 multiarch implementations.
6299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6300 (__libc_ifunc_impl_list): Likewise.
6301 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6302 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6303 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6304 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6305 multiarch wcscpy for PPC64.
6306
92cacfce
AZ
63072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6308
6309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6310 multiarch implementations.
6311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6312 (__libc_ifunc_impl_list): Likewise.
6313 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6314 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6315 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6316 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6317 multiarch wcscpy for PPC64.
6318
7b714620
AZ
63192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320
6321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6322 multiarch implementations.
6323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6324 (__libc_ifunc_impl_list): Likewise.
6325 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6326 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6327 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6328 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6329 multiarch wcsrchr for PPC64.
6330
16fd2ae3
AZ
63312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6332
6333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6334 multiarch implementations.
6335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6336 (__libc_ifunc_impl_list): Likewise.
6337 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6338 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6339 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6340 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6341 multiarch wcschr for PPC64.
6342
9ee2969b
AZ
63432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344
6345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6346 multiarch implementations.
6347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6348 (__libc_ifunc_impl_list): Likewise.
6349 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6350 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6351 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6352 multiarch strchrnul for PPC64.
6353
372dc060
AZ
63542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6355
6356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6357 implementations.
6358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6359 (__libc_ifunc_impl_list): Likewise.
6360 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6361 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6362 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6363 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6364 strchr for PPC64.
6365
24c2c3b9
AZ
63662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6367
6368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6369 implementations.
6370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6371 (__libc_ifunc_impl_list): Likewise.
6372 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6374 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6375 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6376 strncmp for PPC64.
6377
1c92d9a0
AZ
63782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6379
6380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6381 multiarch implementations.
6382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6383 (__libc_ifunc_impl_list): Likewise.
6384 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6385 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6386 strncasecmp for PPC64.
6387 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6388 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6389 multiarch strncasecmp_l for PPC64.
6390
17de3ee3
AZ
63912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6392
6393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6394 multiarch implementations.
6395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6396 (__libc_ifunc_impl_list): Likewise.
6397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6398 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6399 multiarch strcasecmp for PPC64.
6400 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6401 file.
6402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6403 multiarch strcasecmp_l for PPC64.
6404
62982bf9
AZ
64052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6406
6407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6408 implementations.
6409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6410 (__libc_ifunc_impl_list): Likewise.
6411 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6413 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6414 strnlen for PPC64.
6415
a65f4904
AZ
64162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417
6418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6419 implementations.
6420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6421 (__libc_ifunc_impl_list): Likewise.
6422 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6423 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6424 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6425 strlen for PPC64.
6426
1fd005ad
AZ
64272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6428
6429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6430 implementations.
6431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6432 (__libc_ifunc_impl_list): Likewise.
6433 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6434 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6436 rawmemrchr for PPC64.
6437
cd05ba91
AZ
64382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6439
6440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6441 implementation.
6442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6443 (__libc_ifunc_impl_list): Likewise.
6444 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6445 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6446 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6447 memrchr for PPC64.
6448
870f8676
AZ
64492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450
6451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6452 implementation.
6453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6454 (__libc_ifunc_impl_list): Likewise.
6455 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6456 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6457 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6458 memchr for PPC64.
6459
f00be62b
AZ
64602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6461
6462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6463 implementation.
6464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6465 (__libc_ifunc_impl_list): Likewise.
6466 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6467 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6468 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6469 mempcpy for PPC64.
6470
8a29a3d0
AZ
64712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472
6473 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6474 avoid cretion of __bzero symbol.
6475 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6476 Likewise.
6477 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6478 Likewise.
6479 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6480 Likewise.
6481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6482 multiarch implementations.
6483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6484 (__libc_ifunc_impl_list): Likewise.
6485 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6487 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6488 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6489 bzero for PPC32.
6490 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6491 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6492 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6493 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6494 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6495 memset for PPC64.
6496 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6497
07253fcf
AZ
64982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6499
6500 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6502 implementations.
6503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6504 (__libc_ifunc_impl_list): Likewise.
6505 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6506 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6507 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6508 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6509 memcmp for PPC64.
6510
b5beafbc
AZ
65112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6512
6513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6514 multiarch for POWER/PPC64.
6515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6516 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6517 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6518 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6519 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6520 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6521 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6522 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6523 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6524 memcpy for PPC64.
6525
5e6a4d4b
AZ
65262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6527
6528 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6529 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6530 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6531 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6532 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6533 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6534 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6535 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6536 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6537 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6538 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6539 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6540 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6541 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6542 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6550
ddfab6dc
KK
65512013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6552
6553 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6554
19b5525e
SP
65552013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6556
6557 * benchtests/Makefile (bench): Add exp2 and log2.
6558 (LDLIBS-bench-exp2): Add -lm.
6559 (LDLIBS-bench-log2): Likewise.
6560 * benchtests/exp2-inputs: New inputs file.
6561 * benchtests/log2-inputs: New inputs file.
6562 * benchtests/log-inputs: Add new inputs.
6563 * benchtests/tan-inputs: Likewise.
6564
196f7f5d
SP
65652013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6566
7a74607f
SP
6567 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6568 definition...
6569 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6570 csloww1, csloww2): ... from here.
6571
196f7f5d
SP
6572 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6573 instead of structures.
6574 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6575 (POLYNOMIAL): Likewise.
6576 (TAYLOR_SLOW): Likewise.
6577 (__sin): Likewise.
6578 (__cos): Likewise.
6579 (slow1): Likewise.
6580 (slow2): Likewise.
6581 (sloww): Likewise.
6582 (sloww1); Likewise.
6583 (sloww2): Likewise.
6584 (bsloww1): Likewise.
6585 (bsloww2): Likewise.
6586 (cslow2): Likewise.
6587 (csloww): Likewise.
6588 (csloww1): Likewise.
6589 (csloww2): Likewise.
6590
0dfa665c
OB
65912013-12-10 Ondřej Bílka <neleai@seznam.cz>
6592
6593 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6594 (__malloc_assert, __libc_realloc, __libc_calloc,
6595 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6596 memcpy and memset.
6597 * malloc/hooks.c (realloc_check): Likewise.
6598
5782a80f
OB
65992013-12-10 Ondřej Bílka <neleai@seznam.cz>
6600
6601 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6602 * malloc/arena.c: Remove PER_THREAD conditional.
6603 [!PER_THREAD]: Remove code.
6604 (ptmalloc_unlock_all2): Likewise.
6605 (ptmalloc_init): Likewise.
6606 (_int_new_arena): Likewise.
6607 (arena_get2): Likewise.
6608 * malloc/hooks.c (__malloc_get_state): Likewise.
6609 (__malloc_set_state): Likewise.
6610 * malloc/malloc.c: Likewise.
6611 (struct malloc_state): Likewise.
6612 (struct malloc_par): Likewise.
6613 (__libc_realloc): Likewise.
6614 (__libc_mallopt): Likewise.
6615
aeb95445
AZ
66162013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617
6618 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6619
e8349efd
OB
66202013-12-09 Ondřej Bílka <neleai@seznam.cz>
6621
6622 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6623 macro to a function. Check for zero perturb_byte.
6624 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6625
f3eeb3fc
OB
66262013-12-09 Ondřej Bílka <neleai@seznam.cz>
6627
6628 * malloc/malloc.c: (force_reg): Remove.
6629 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6630 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6631 force_reg by atomic_forced_read.
6632 * malloc/arena.c (ptmalloc_init): Likewise.
6633 * malloc/hooks.c (top_check): Likewise.
6634
be2f9009
AZ
66352013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6636
6637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6638
e7b914bd
MT
66392013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6640
6641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6642
9f0be4f8
JM
66432013-12-08 Joseph Myers <joseph@codesourcery.com>
6644
6645 * math/auto-libm-test-in: Add tests of lgamma.
6646 * math/auto-libm-test-out: Regenerated.
6647 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6648 (M_LOG_2_SQRT_PIl): Likewise.
6649 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6650 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6651 mpfr_f_f1.
6652 (func_calc_desc): Add mpfr_f_f1 union field.
6653 (ARGS1): New macro.
6654 (ARGS2): Likewise.
6655 (ARGS3): Likewise.
6656 (ARGS4): Likewise.
6657 (RET1): Likewise.
6658 (RET2): Likewise.
6659 (CALC): Likewise.
6660 (FUNC): Likewise.
6661 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6662 (test_functions): Add lgamma.
6663 (calc_generic_results): Handle mpfr_f_f1.
6664 * sysdeps/i386/fpu/libm-test-ulps: Update.
6665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6666
24eeafdb
AZ
66672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6668
6669 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6670 __mpn_add_n for PowerPC64/POWER7.
6671 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6672 __mpn_sub_n for PowerPC64/POWER7.
6673
4a2c0fd4
AZ
66742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6675
6676 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6677 __mpn_addmul_1 for PowerPC64.
6678 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6679 __mpn_submul_1 for PowerPC64.
6680 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6681 for PowerPC64.
6682 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6683 for PowerPC64.
6684
4b5b548c
FS
66852013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6686
6687 [BZ #15089]
6688 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6689
0a3ac0aa
AZ
66902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691
6692 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6693
ccdc8438
AZ
66942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6695
6696 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6697 add multiarch folders.
6698 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6699 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6700 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6701 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6702 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6703 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6704 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6705 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6706 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6707 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6708 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6715
2e973d99
AZ
67162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6717
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6719 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6721 New file.
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6723 New file.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6725 multiarch __ieee754_hypot for PowerPC32.
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6727 New file.
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6729 New file.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6731 multiarch __ieee754_hypotf for PowerPC32.
6732
2d9470b2
AZ
67332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6734
6735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6736 long_double_symbol only if __logbl is defined.
6737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6738 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6739 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6740 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6742 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6743 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6744 path for implementation.
6745 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6746 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6748 logb, and logbl multiarch implementations for PowerPC32.
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6750 file.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6752 file.
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6754 multiarch logb for PowerPC32.
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6756 file.
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6758 file.
6759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6760 multiarch logbf for PowerPC32.
6761 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6763 file.
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6765 multiarch logbl implementation for PowerPC32.
6766
5212ffce
AZ
67672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6768
6769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6770 and modff multiarch implementations.
6771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6772 New file.
6773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6774 New file.
6775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6776 multiarch modf for PowerPC32.
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6778 New file.
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6780 New file.
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6782 multiarch modff for PowerPC32.
6783
79dccf31
AZ
67842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6787 and lrintf multiarch implementations.
6788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6789 New file.
6790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6791 New file.
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6793 multiarch lrint for PowerPC32.
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6795 file: multiarch lrintf for PowerPC32.
6796
deb66480
AZ
67972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6798
6799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6800 and lroundf multiarch implementations.
6801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6802 New file.
6803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6804 New file.
6805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6806 New file.
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6808 multiarch lround for PowerPC32.
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6810 file: multiarch lroundf for PowerPC32.
6811
264b036b
AZ
68122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6813
6814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6815 copysign and copysignf multiarch implementations.
6816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6817 New file.
6818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6819 New file.
6820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6821 file: multiarch copysign for PowerPC32.
6822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6823 file: multiarch copysignf for PowerPC32.
6824
d47db6c9
AZ
68252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6826
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6828 and truncf multiarch implementations.
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6830 New file.
6831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6832 file.
6833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6834 multiarch trunc for PowerPC32.
6835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6836 New file.
6837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6838 New file.
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6840 multiarch truncf for PowerPC32.
6841
ddb60b5a
AZ
68422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6843
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6845 and roundf multiarch implementations.
6846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6847 New file.
6848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6849 file.
6850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6851 multiarch round for PowerPC32.
6852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6853 New file.
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6855 New file.
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6857 multiarch roundf for PowerPC32.
6858
bedcf49b
AZ
68592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6860
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6862 and floorf multiarch implementations.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6864 New file.
6865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6866 file.
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6868 multiarch floor for PowerPC32.
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6870 New file.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6872 New file.
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6874 multiarch floorf for PowerPC32.
6875
35ae5b40
AZ
68762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877
6878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6879 and ceilf multiarch implementations.
6880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6881 New file.
6882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6883 file.
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6885 multiarch ceil for PowerPC32.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6887 New file.
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6889 file.
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6891 multiarch ceilf for PowerPC32.
6892
ae1a4cd9
AZ
68932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6894
6895 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6896 is defined.
6897 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6898 FINITEF is defined.
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6900 and finitef multiarch implementations.
6901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6902 New file.
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6904 file.
6905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6906 multiarch finite for PowerPC32.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6908 New file.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6910 file: multiarch finitef for PowerPC32.
6911
64fffd65
AZ
69122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6913
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6915 and isinff multiarch implementations.
6916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6917 file.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6919 file.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6921 multiarch isinf for PowerPC32.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6923 New file.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6925 multiarch isinff for PowerPC32.
6926
8e4e7ba2
AZ
69272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6928
6929 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6930 alias when __isnan is defined.
6931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6932 and isnanf multiarch implementations.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6934 file.
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6936 file.
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6938 file.
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6940 file.
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6942 multiarch isnan for PowerPC32.
6943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6944 New file.
6945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6946 New file.
6947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6948 multiarch isnanf for PowerPC32.
6949
ddba588e
AZ
69502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6951
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6953 and sqrtf multiarch implementations.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6955 file.
6956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6957 file.
6958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6959 multiarch sqrt for PowerPC32.
6960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6961 file.
6962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6963 file.
6964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6965 multiarch sqrtf for PowerPC32.
6966
0f96a2f0
AZ
69672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6968
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6970 and llroundf multiarch implementations.
6971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6972 New file.
6973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6974 New file.
6975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6976 New file.
6977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6978 file: multiarch llround for PowerPC32.
6979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6980 file: multiarch llroundf for PowerPC32.
6981
c9b5d79e
AZ
69822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6983
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6985 multiarch PowerPC32 fpu implementations.
6986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6987 New file.
6988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6989 New file.
6990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6991 multiarch llrint for PowerPC32.
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6993 New file.
6994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6995 New file.
6996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6997 file.
6998
9cbb3aab
AZ
69992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7000
7001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7002
ea5a72f8
AZ
70032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7004
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7006 file.
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7008 file.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7010 file.
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7012 multiarch wordcopy for PPC32.
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7014 wordcopy objects.
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7016 (__libc_ifunc_impl_list): Likewise.
7017 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7018 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7019 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7020 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7021 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7022 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7023
93be09e7
AZ
70242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7025
7026 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7028 file.
7029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7030 file.
7031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7032 file.
7033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7034 multiarch wcscpy for PPC32.
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7036 multiarch objects.
7037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7038 (__libc_ifunc_impl_list): Likewise.
7039 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7040 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7041 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7042 sysdeps/powerpc/power6/wcscpy.c.
7043
bb04e529
AZ
70442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7045
7046 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7048 file.
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7050 file.
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7052 file.
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7054 multiarch wcsrchr for PPC32.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7056 multiarch objects.
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7058 (__libc_ifunc_impl_list): Likewise.
7059 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7060 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7061 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7062 sysdeps/powerpc/power6/wcsrchr.c.
7063
05b5cd1c
AZ
70642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7065
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7067 file.
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7069 file.
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7072 multiarch wcschr for PPc32.
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7074 multiarch objects.
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7076 (__libc_ifunc_impl_list): Likewise.
7077 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7078 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7079 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7080 sysdeps/powerpc/power6/wcschr.c.
7081
ba964147
AZ
70822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7083
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7086 file.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7088 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7089 file: multiarch strchr for PPC32.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7091 multiarch objects.
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7093 (__libc_ifunc_impl_list): Likewise.
7094
31c81aaa
AZ
70952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7096
7097 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7098 name.
7099 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7100 file.
7101 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7102 file.
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7104 multiarch strchrnul for PPC32.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7106 multiarch objects.
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7108 (__libc_ifunc_impl_list): Likewise.
7109
0d0607d9
AZ
71102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7111
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7113 file.
7114 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7115 multiarch strncasecmp for PPC32.
7116 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7117 file.
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7119 multiarch strncasecmp_l for PPC32.
7120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7121 strncasecmp multiarch objects.
7122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7123 (__libc_ifunc_impl_list): Likewise.
7124
4dfd5c86
AZ
71252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7126
7127 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7128 file.
7129 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7130 multiarch strncasecmp for PPC32.
7131 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7132 New file.
7133 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7134 multiarch strcasecmp_l for PPC32.
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7136 multiarch objects.
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7138 (__libc_ifunc_impl_list): Likewise.
7139
a19e01a3
AZ
71402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7141
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7143 file.
7144 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7145 file.
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7147 multiarch strncmp for PPC32.
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7149 multiarch objects.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7151 (__libc_ifunc_impl_list): Likewise.
7152
ae9cf7a2
AZ
71532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7154
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7156 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7157 file.
7158 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7161 multiarch objects.
7162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7163 (__libc_ifunc_impl_list): Likewise.
7164
3148bb7d
AZ
71652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7166
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7168 file.
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7170 file.
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7173 multiarch objects.
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7175 (__libc_ifunc_impl_list): Likewise.
7176
7af8b946
AZ
71772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7178
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7180 file.
7181 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7182 file.
7183 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7184 multiarch rawmemchr for PPC32.
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7186 multiarch objects.
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7188 (__libc_ifunc_impl_list): Likewise.
7189
03a6aa6a
AZ
71902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7191
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7193 file.
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7195 file.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7197 file: memrchr multiarch for PPC32.
7198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7199 multiarch objects.
7200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7201 (__libc_ifunc_impl_list): Likewise.
7202
1c62e6d9
AZ
72032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7204
7205 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7206 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7207 file.
7208 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7210 multiarch memchr for PPC32.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7212 multiarch objects.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7214 (__libc_ifunc_impl_list): Likewise.
7215
87da8bdb
AZ
72162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7217
7218 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7219 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7220 file.
7221 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7222 file.
7223 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7224 file: multiarch mempcpy for PPC32.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7226 multiarch objects.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7228 (__libc_ifunc_impl_list): Likewise.
7229
20ed4714
AZ
72302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7231
7232 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7236 multiarch bzero for PPC32.
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7238 file.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7240 file.
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7242 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7243 file: multiarch memset for PPC32.
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7246 memset multiarch objects.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7248 (__libc_ifunc_impl_list): Likewise.
7249
ab3e3a46
AZ
72502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7251
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7253 file.
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7256 memcmp for PPC32.
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7259 multiarch objects.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7261 (__libc_ifunc_impl_list): Likewise.
7262
930de6f0
AZ
72632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7264
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7268 file.
7269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7270 file.
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7272 file.
7273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7274 multiarch memcpy for PPC32.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7276 multiarch objects.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7278 (__libc_ifunc_impl_list): Likewise.
7279
4c628e00
AZ
72802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7281
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7283 support multiarch for POWER/PPC32.
7284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7285 Likewise.
7286 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7288 Implies file to make multiarch folder appers before the fpu and
7289 default folder for power4 configuration.
7290
f4479220
SP
72912013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7292
7293 * scripts/bench.pl: Append volatile keyword to type.
7294
8517800f
KK
72952013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7296
7297 * sysdeps/sh/sotruss-lib.c: New file.
7298 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7299
180138f1
AZ
73002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7301
7302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7303
bbf37bdc
JM
73042013-12-05 Joseph Myers <joseph@codesourcery.com>
7305
e47cc4e0
JM
7306 [BZ #6810]
7307 * math/w_tgamma.c: Include <errno.h>.
7308 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7309 * math/w_tgammaf.c: Include <errno.h>.
7310 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7311 * math/w_tgammal.c: Include <errno.h>.
7312 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7313 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7314 underflow. Add more tgamma tests.
7315 * math/auto-libm-test-out: Regenerated.
7316 * sysdeps/i386/fpu/libm-test-ulps: Update.
7317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7318
bbf37bdc
JM
7319 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7320 sin, sinh, tan, tanh, tgamma, y0 and y1.
7321 * math/auto-libm-test-out: Regenerated.
7322 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7323 (TEST_COND_x86): Likewise.
7324 (M_E2l): Remove macro.
7325 (M_E3l): Likewise.
7326 (M_2_SQRT_PIl): Likewise.
7327 (M_SQRT_PIl): Likewise.
7328 (M_1_DIV_El): Likewise.
7329 (log_test_data): Use AUTO_TESTS_f_f.
7330 (log10_test_data): Likewise.
7331 (log1p_test_data): Likewise.
7332 (log2_test_data): Likewise.
7333 (sin_test_data): Likewise.
7334 (sin_tonearest_test_data): Likewise.
7335 (sin_towardzero_test_data): Likewise.
7336 (sin_downward_test_data): Likewise.
7337 (sin_upward_test_data): Likewise.
7338 (sinh_test_data): Likewise.
7339 (sinh_tonearest_test_data): Likewise.
7340 (sinh_towardzero_test_data): Likewise.
7341 (sinh_downward_test_data): Likewise.
7342 (sinh_upward_test_data): Likewise.
7343 (tan_test_data): Likewise.
7344 (tan_tonearest_test_data): Likewise.
7345 (tan_towardzero_test_data): Likewise.
7346 (tan_downward_test_data): Likewise.
7347 (tan_upward_test_data): Likewise.
7348 (tanh_test_data): Likewise.
7349 (tgamma_test_data): Likewise.
7350 (y0_test_data): Likewise.
7351 (y1_test_data): Likewise.
7352 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7353 (special_real_inputs): Add pi/4.
7354 * sysdeps/i386/fpu/libm-test-ulps: Update.
7355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7356
eb5ad6b9
AZ
73572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7358
7359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7360 "longjmp_target" static probes.
7361 (__longjmp): Rename to __longjmp_symbol.
7362 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7363 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7364 on which longjmp to generate.
7365 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7366 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7367 probe.
7368 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7369 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7370 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7371 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7372 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7373 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7375 __longjmp_symbol based on which __longjmp to generate.
7376 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7377 probe.
7378 (setjmp): Rename to setjmp_symbol.
7379 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7380 (_setjmp): Rename to _setjmp_symbol.
7381 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7382 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7383 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7384 which setjmp to generate.
7385 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7386 "longjmp_target" static probes.
7387
d136c6dc
SP
73882013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7389
9298ecba
SP
7390 * benchtests/README: Add note about output arguments.
7391 * benchtests/bench-sincos.c: Remove file.
7392 * benchtests/sincos-inputs: New file.
7393 * scripts/bench.pl: Identify output arguments and define
7394 static variables for them.
7395
232983e9
SP
7396 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7397
d136c6dc
SP
7398 [BZ #15941]
7399 * Makefile (INSTALL): Add install-plain.texi as the primary
7400 dependency.
7401 * manual/install-plain.texi: New file.
7402 * manual/install.texi: Include node directive only for
7403 non-plaintext output.
7404
699ff837
JM
74052013-12-04 Joseph Myers <joseph@codesourcery.com>
7406
ab07cea8
JM
7407 * stdlib/longlong.h: Update from GCC.
7408
699ff837
JM
7409 [BZ #6807]
7410 [BZ #15901]
7411 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7412 * math/w_j0f.c (y0f): Likewise.
7413 * math/w_j0l.c (__y0l): Likewise.
7414 * math/w_j1.c (y1): Likewise.
7415 * math/w_j1f.c (y1f): Likewise.
7416 * math/w_j1l.c (__y1l): Likewise
7417 * math/w_jn.c (yn): Likewise.
7418 * math/w_jnf.c (ynf): Likewise.
7419 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7420 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7421 value for Bessel function domain errors outside _SVID_ mode.
7422 Adjust sign of return value for yn (negative integer, 0).
7423 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7424 by zero in return for negative x and set sign appropriately for
7425 negative n.
7426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7427 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7428 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7429 expectations in error cases.
7430 (y1_test_data): Likewise.
7431 (yn_test_data): Likewise.
7432 * sysdeps/i386/fpu/libm-test-ulps: Update.
7433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7434
5b118558
UW
74352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7436
7437 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7438 "64" to "64-v1". Add "64-v2".
7439 (abi-64-options): Rename to ...
7440 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7441 (abi-64-condition): Rename to ...
7442 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7443 (abi-64-ld-soname): Rename to ...
7444 (abi-64-v1-ld-soname): ... this.
7445 (abi-64-v2-options): Define.
7446 (abi-64-v2-condition): Likewise.
7447 (abi-64-v2-ld-soname): Likewise.
7448 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7449 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7453
61cd8fe4
UW
74542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7455 Alan Modra <amodra@gmail.com>
7456
7457 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7458 New versions for use with the ELFv2 ABI.
7459 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7460 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7461 declaration.
7462 (struct La_ppc64v2_retval): Likewise.
7463 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7464 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7465 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7466 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7467 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7468 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7469 Do not save or restore CR.
7470 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7471 (_dl_profile_resolve): Do no save or restore CR. Support extended
7472 return values for ELFv2 ABI. Fix location of FPR return registers.
7473 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7474 updated values for _CALL_ELF == 2.
7475 (La_regs, La_retval, int_retval): Likewise.
7476
8b8a692c
UW
74772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7478
7479 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7480 (FRAME_MIN_SIZE_PARM): Likewise.
7481 (FRAME_BACKCHAIN): Likewise.
7482 (FRAME_CR_SAVE): Likewise.
7483 (FRAME_LR_SAVE): Likewise.
7484 (FRAME_TOC_SAVE): Likewise.
7485 (FRAME_PARM_SAVE): Likewise.
7486 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7487 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7488 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7489 (call_mcount_parm_offset): New macro.
7490 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7491 (PROF): Use symbolic stack frame offsets.
7492 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7493 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7494 Redefine in terms of FRAME_MIN_SIZE.
7495 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7496 (_dl_profile_resolve): Likewise. Update comment.
7497 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7498 symbols stack frame offsets.
7499 (__sigsetjmp): Likewise.
7500 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7501 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7502 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7503 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7504
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7506 (FRAME_BACKCHAIN): Remove.
7507 (FRAME_CR_SAVE): Likewise.
7508 (FRAME_LR_SAVE): Likewise.
7509 (FRAME_COMPILER_DW): Likewise.
7510 (FRAME_LINKER_DW): Likewise.
7511 (FRAME_TOC_SAVE): Likewise.
7512 (FRAME_PARM_SAVE): Likewise.
7513 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7514 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7515 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7517 (CHECK_SP): Use symbolic stack frame offsets.
7518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7519 zone" instead of caller's parameter save area for temp storage.
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7521 Likewise. Also, use symbolic stack frame offsets.
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7523 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7524 our own stack frame instead of the caller's.
7525 (__socket): Use symbolic stack frame offsets.
7526
122b66de
UW
75272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7528 Alan Modra <amodra@gmail.com>
7529
7530 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7531 Define.
7532 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7533 PPC64_LOCAL_ENTRY_OFFSET): Define.
7534 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7535 New function.
7536 (elf_machine_fixup_plt): Call it.
7537 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7538 reloc arguments.
7539 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7540 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7541 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7542 r2 before calling target.
7543
696caf1d
UW
75442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7545 Alan Modra <amodra@gmail.com>
7546
7547 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7548 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7549 versions of macros to support ELFv2 ABI.
7550 (LOCALENTRY): New macro.
7551 (ENTRY, EALIGN): Use it.
7552 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7553 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7554 fall through into ENTRY entry point.
7555 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7556 Only define if _CALL_ELF != 2.
7557
7558 (elf_machine_matches_host): Verify ABI version matches.
7559 (RTLD_START): Use LOCALENTRY.
7560 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7561 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7562 (PLT_ENTRY_WORDS): New macro.
7563 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7564 (elf_machine_runtime_setup): Support ELFv2 ABI.
7565 (elf_machine_fixup_plt): Likewise.
7566 (elf_machine_plt_conflict): Likewise.
7567 (resolve_ifunc): Likewise.
7568 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7569 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7570 Likewise.
7571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7572 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7574 (makecontext): Support ELFv2 ABI.
7575 * elf/elf.h (EF_PPC64_ABI): Define.
7576
d31beafa
UW
75772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7578
7579 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7580 New assembler macro.
7581 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7582 [ASSEMBLER] (ENTRY): ... but instead here ...
7583 [ASSEMBLER] (EALIGN): ... and here.
7584 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7585 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7586 [!ASSEMBLER] (ENTRY_2): Use it.
7587 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7588 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7589 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7590 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7591 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7593 Use PPC64_LOAD_FUNCPTR.
7594
b525166b
UW
75952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7596
7597 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7598
7ec07d9a
AM
75992013-12-04 Alan Modra <amodra@gmail.com>
7600
7601 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7602 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7603 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7604 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7605
7606 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7607 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7608 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7609 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7610 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7611 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7612
5162e7dd
UW
76132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7614
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7616 (__makecontext): Fix incorrect CFI when backtracing out of
7617 context created via makecontext.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7619 (__setcontext): Fix incorrect CFI during switch to new context.
7620 (__novec_setcontext): Likewise.
7621
19e3372b
OB
76222013-12-04 Ondřej Bílka <neleai@seznam.cz>
7623
7624 [BZ #4772]
7625 * time/strptime_l.c (__strptime_internal): Allow modifiers
7626 in strptime.
7627 * time/tst-strptime.c (day_tests): Add testcase.
7628
7629
ecaf142d
SP
76302013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7631
7632 * scripts/bench.pl: Skip over blank lines.
7633
fbf964ae
PE
76342013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7635
7636 [BZ #926]
7637 * manual/time.texi (Calendar Time): Clarify what timezone functions
7638 use.
7639
fa60a674
AZ
76402013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7641
7642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7643
d674f0ef
OB
76442013-12-04 Ondřej Bílka <neleai@seznam.cz>
7645
7646 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7647 implementation.
7648 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7649 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7650 * debug/memset_chk.c (__memset_chk): Likewise.
7651 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7652 * debug/strncpy_chk.c: Likewise.
7653
17dea188
JM
76542013-12-03 Joseph Myers <joseph@codesourcery.com>
7655
749008ff
JM
7656 [BZ #15268]
7657 [BZ #15425]
7658 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7659 (__ieee754_exp): For possibly underflowing results, check size of
7660 result and force underflow exception if required.
7661 * math/auto-libm-test-in: Add more tests of exp.
7662 * math/auto-libm-test-out: Regenerated.
7663 * sysdeps/i386/fpu/libm-test-ulps: Update.
7664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7665
17dea188
JM
7666 [BZ #16283]
7667 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7668 * math/w_exp2f.c (__exp2f): Likewise.
7669 * math/w_exp2l.c (__exp2l): Likewise.
7670 * math/auto-libm-test-in: Do not allow missing errno on exp2
7671 underflow.
7672 * math/auto-libm-test-out: Regenerated.
7673
b20de2c3
OB
76742013-12-03 Ondřej Bílka <neleai@seznam.cz>
7675
7676 [BZ #16274]
7677 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7678 handle filename validation.
7679 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7680 (do_open): Delete.
7681
d8e2dbe3
JM
76822013-12-03 Joseph Myers <joseph@codesourcery.com>
7683
34e16df5
JM
7684 [BZ #6786]
7685 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7686 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7687 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7688 <float.h>.
7689 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7690 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7691 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7693 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7694 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7695 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7696 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7697 Add more erfc tests.
7698 * math/auto-libm-test-out: Regenerated.
7699 * sysdeps/i386/fpu/libm-test-ulps: Update.
7700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7701
d8e2dbe3
JM
7702 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7703 exp2, expm1, j0 and j1.
7704 * math/auto-libm-test-out: Regenerated.
7705 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7706 (erfc_test_data): Likewise.
7707 (exp_test_data): Likewise.
7708 (exp_tonearest_test_data): Likewise.
7709 (exp_towardzero_test_data): Likewise.
7710 (exp_downward_test_data): Likewise.
7711 (exp_upward_test_data): Likewise.
7712 (exp10_test_data): Likewise.
7713 (exp2_test_data): Likewise.
7714 (expm1_test_data): Likewise.
7715 (j0_test_data): Likewise.
7716 (j1_test_data): Likewise.
7717 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7718 (input_flag_type): Add flag_xfail_rounding.
7719 (input_flags): Add xfail-rounding.
7720 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7721 (output_for_one_input_case): Handle flag_xfail_rounding.
7722 * sysdeps/i386/fpu/libm-test-ulps: Update.
7723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7724
18d14251
AJ
77252013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7726
3d2e6075 7727 [BZ #16289]
18d14251
AJ
7728 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7729 division by 0.
7730
520d437b
SP
77312013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7732
7733 [BZ #16195]
7734 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7735 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7736 (STAP_PROBE0): New macro.
7737 (STAP_PROBE1): Likewise.
7738 (STAP_PROBE2): Likewise.
7739 (STAP_PROBE3): Likewise.
7740 (STAP_PROBE4): Likewise.
7741
416e0145
OB
77422013-12-02 Ondřej Bílka <neleai@seznam.cz>
7743
7744 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7745
9d17796a
SE
77462013-12-02 Steve Ellcey <sellcey@mips.com>
7747
7748 * benchtests/Makefile (bench): Add sqrt.
7749 (LDLIBS-bench-sqrt): New.
7750 * benchtests/sqrt-input: New.
7751
f524d6a8
PS
77522013-12-02 Pavel Simerda <psimerda@redhat.com>
7753
639a0ef8
PS
7754 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7755 (GAIH_EAI): Likewise.
7756 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7757 (gaih_inet): Likewise.
7758 (getaddrinfo): Don't use GAIH_EAI.
7759
f524d6a8
PS
7760 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7761 (struct gaih): Remove definition.
7762
df3aedaf
SP
77632013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7764
7765 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7766 Use HERRNOP directly.
7767
1ab19dec
AZ
77682013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7769
b42ad38d 7770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7771
176b0c79
JM
77722013-11-30 Joseph Myers <joseph@codesourcery.com>
7773
7774 * math/gen-auto-libm-tests.c (test_functions): Add more
7775 single-argument functions.
7776 (special_fill_pi_2): New function.
7777 (special_fill_minus_pi_2): Likewise.
7778 (special_fill_pi_6): Likewise.
7779 (special_fill_minus_pi_6): Likewise.
7780 (special_fill_pi_3): Likewise.
7781 (special_fill_2pi_3): Likewise.
7782 (special_fill_e): Likewise.
7783 (special_fill_1_e): Likewise.
7784 (special_fill_e_minus_1): Likewise.
7785 (special_real_inputs): Add more special inputs.
7786 (output_for_one_input_case): Do not require ERANGE on underflow to
7787 zero if round-to-nearest result does not underflow to zero, unless
7788 exact results required.
7789 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7790 atan, atanh, cbrt, cos and cosh.
7791 * math/auto-libm-test-out: Regenerated.
7792 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7793 (acos_tonearest_test_data): Likewise.
7794 (acos_towardzero_test_data): Likewise.
7795 (acos_downward_test_data): Likewise.
7796 (acos_upward_test_data): Likewise.
7797 (acosh_test_data): Likewise.
7798 (asin_test_data): Likewise.
7799 (asin_tonearest_test_data): Likewise.
7800 (asin_towardzero_test_data): Likewise.
7801 (asin_upward_test_data): Likewise.
7802 (asinh_test_data): Likewise.
7803 (atan_test_data): Likewise.
7804 (atanh_test_data): Likewise.
7805 (cbrt_test_data): Likewise.
7806 (cos_test_data): Likewise.
7807 (cos_tonearest_test_data): Likewise.
7808 (cos_towardzero_test_data): Likewise.
7809 (cos_downward_test_data): Likewise.
7810 (cos_upward_test_data): Likewise.
7811 (cosh_test_data): Likewise.
7812 (cosh_tonearest_test_data): Likewise.
7813 (cosh_towardzero_test_data): Likewise.
7814 (cosh_downward_test_data): Likewise.
7815 (cosh_upward_test_data): Likewise.
7816 * sysdeps/i386/fpu/libm-test-ulps: Update.
7817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7818
ffb536d0
JM
78192013-11-29 Joseph Myers <joseph@codesourcery.com>
7820
2a77a467
JM
7821 [BZ #6787]
7822 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7823 * math/w_exp10f.c (__exp10f): Likewise.
7824 * math/w_exp10l.c (__exp10l): Likewise.
7825 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7826 errno settings in existing tests.
7827
ea3bc4e8
JM
7828 [BZ #14032]
7829 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7830 precision control set to double precision.
7831 * sysdeps/i386/fpu/w_sqrt.c: New file.
7832 * math/auto-libm-test-in: Add more tests.
7833 * math/auto-libm-test-out: Update.
7834
0712c9d8
JM
7835 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7836 (sqrt_test_tonearest): New function.
7837 (sqrt_towardzero_test_data): New variable.
7838 (sqrt_test_towardzero): New function.
7839 (sqrt_downward_test_data): New variable.
7840 (sqrt_test_downward): New function.
7841 (sqrt_upward_test_data): New variable.
7842 (sqrt_test_upward): New function.
7843 (main): Call the new functions.
7844
ffb536d0
JM
7845 * math/gen-auto-libm-tests.c: New file.
7846 * math/auto-libm-test-in: Likewise.
7847 * math/auto-libm-test-out: New generated file.
7848 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7849 variables.
7850 (%beautify): Add generated representations of zero.
7851 (top level): Set $auto_input and call parse_auto_input.
7852 (beautify): Remove trailing "f" from hex float constants.
7853 (parse_args): Handle XFAIL_TEST.
7854 (convert_condition): New function.
7855 (or_value): Likewise.
7856 (or_cond_value): Likewise.
7857 (generate_testfile): Handle AUTO_TESTS_* lines.
7858 (parse_auto_input): New function.
7859 * math/libm-test.inc (XFAIL_TEST): New macro.
7860 (ERRNO_UNCHANGED): Update value.
7861 (ERRNO_EDOM): Likewise.
7862 (ERRNO_ERANGE): Likewise.
7863 (IGNORE_RESULT): Likewise.
7864 (TEST_COND_flt_32): New macro.
7865 (TEST_COND_dbl_64): Likewise.
7866 (TEST_COND_ldbl_96_intel): Likewise.
7867 (TEST_COND_ldbl_96_m68k): Likewise.
7868 (TEST_COND_ldbl_128): Likewise.
7869 (TEST_COND_ldbl_128ibm): Likewise.
7870 (TEST_COND_long32): Likewise.
7871 (TEST_COND_long64): Likewise.
7872 (TEST_COND_before_rounding): Likewise.
7873 (TEST_COND_after_rounding): Likewise.
7874 (enable_test): Handle XFAIL_TEST flag.
7875 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7876 with finite results.
7877 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7878 auto-libm-test-out.
7879
acd98a8e
AK
78802013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7881 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7882
7883 [BZ #16214]
7884 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7885 __tls_get_addr_internal instead of __tls_get_offset in order to
7886 avoid GOT pointer dependency. Make rtld export
7887 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7888 __tls_get_addr since we are a __tls_get_offset platform.
7889 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7890 GOT pointer being set up before.
7891 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7892
3c1c46a6
JM
78932013-11-28 Joseph Myers <joseph@codesourcery.com>
7894
7475aef5
JM
7895 * manual/math.texi (Errors in Math Functions): Document accuracy
7896 goals.
7897
8bca7cd8
JM
7898 [BZ #15004]
7899 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7900 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7903 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7905 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7915
91a1f3fe
JM
7916 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7917 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7918 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7919 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7920 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7921 Likewise.
7922 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7923 Likewise.
7924 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7925 Likewise.
7926 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7927 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7928 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7929 atomic-feupdateenv and flt-rounds.
7930 * sysdeps/powerpc/nofpu/Versions (libc): Add
7931 __atomic_feholdexcept, __atomic_feclearexcept,
7932 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7933 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7934 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7935 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7936 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7937 here.
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7939 Update.
7940
c5df7609
JM
7941 * manual/arith.texi (FP Exceptions): Document that exceptions may
7942 not be raised when matherr is used.
7943 (Math Error Reporting): Document overflow in directed rounding
7944 modes. Document that errno may not be set when finite values are
7945 returned on overflow. Document intent to set errno on underflow
7946 only for underflow to zero.
7947
3c1c46a6
JM
7948 [BZ #16271]
7949 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7950 round-to-nearest then adjust result for other rounding modes.
7951 * include/fenv.h (fegetround): Use libm_hidden_proto.
7952 * math/fegetround.c (fegetround): Use libm_hidden_def.
7953 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7954 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7955 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7956 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7957 Likewise.
7958 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7959 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7960 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7961 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7962
5a4c6d53
SP
79632013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7964
7965 [BZ #16077]
7966 * nss/Versions (libnss_files): Add
7967 _nss_files_gethostbyname3_r.
7968 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7969 New function.
7970 (HOST_DB_LOOKUP): Remove macro.
7971 (_nss_files_gethostbyname_r): Implement function without the
7972 HOST_DB_LOOKUP macro.
7973 (_nss_files_gethostbyname2_r): Likewise.
7974
897b98ba
OB
79752013-11-28 Ondřej Bílka <neleai@seznam.cz>
7976
7977 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7978
6f476861
UB
79792013-11-26 Uros Bizjak <ubizjak@gmail.com>
7980
7981 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7982 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7983 warning.
7984
bd12ab55
AZ
79852013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7986
7987 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7988 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7989 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7990 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7991 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7992 __fe_nomask_env_priv and attribute_hidden.
7993 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7994 (libc_feupdateenv_test_ppc): Likewise.
7995 (libc_feresetround_ppc): Likewise.
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7997 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7998 compat_symbol macro.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8000 (__fe_nomask_env): Likewise.
8001 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8002
52bb6543
OB
80032013-11-26 Ondřej Bílka <neleai@seznam.cz>
8004
8005 * string/Makefile: Remove ifunc tests.
8006 * string/test-string.h: Define TEST_IFUNC.
8007 * string/test-bcopy-ifunc.c: Remove.
8008 * string/test-bzero-ifunc.c: Likewise.
8009 * string/test-memccpy-ifunc.c: Likewise.
8010 * string/test-memchr-ifunc.c: Likewise.
8011 * string/test-memcmp-ifunc.c: Likewise.
8012 * string/test-memcpy-ifunc.c: Likewise.
8013 * string/test-memmem-ifunc.c: Likewise.
8014 * string/test-memmove-ifunc.c: Likewise.
8015 * string/test-mempcpy-ifunc.c: Likewise.
8016 * string/test-memrchr-ifunc.c: Likewise.
8017 * string/test-memset-ifunc.c: Likewise.
8018 * string/test-rawmemchr-ifunc.c: Likewise.
8019 * string/test-stpcpy-ifunc.c: Likewise.
8020 * string/test-stpncpy-ifunc.c: Likewise.
8021 * string/test-strcasecmp-ifunc.c: Likewise.
8022 * string/test-strcasestr-ifunc.c: Likewise.
8023 * string/test-strcat-ifunc.c: Likewise.
8024 * string/test-strchr-ifunc.c: Likewise.
8025 * string/test-strchrnul-ifunc.c: Likewise.
8026 * string/test-strcmp-ifunc.c: Likewise.
8027 * string/test-strcpy-ifunc.c: Likewise.
8028 * string/test-strcspn-ifunc.c: Likewise.
8029 * string/test-strlen-ifunc.c: Likewise.
8030 * string/test-strncasecmp-ifunc.c: Likewise.
8031 * string/test-strncat-ifunc.c: Likewise.
8032 * string/test-strncmp-ifunc.c: Likewise.
8033 * string/test-strncpy-ifunc.c: Likewise.
8034 * string/test-strnlen-ifunc.c: Likewise.
8035 * string/test-strpbrk-ifunc.c: Likewise.
8036 * string/test-strrchr-ifunc.c: Likewise.
8037 * string/test-strspn-ifunc.c: Likewise.
8038 * string/test-strstr-ifunc.c: Likewise.
8039
ab260039 80402013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8041
8042 * benchtests/Makefile: Remove ifunc tests.
8043 * benchtests/bench-string.h: Define TEST_IFUNC.
8044 * benchtests/bench-bcopy-ifunc.c: Remove.
8045 * benchtests/bench-bzero-ifunc.c: Likewise.
8046 * benchtests/bench-memccpy-ifunc.c: Likewise.
8047 * benchtests/bench-memchr-ifunc.c: Likewise.
8048 * benchtests/bench-memcmp-ifunc.c: Likewise.
8049 * benchtests/bench-memcpy-ifunc.c: Likewise.
8050 * benchtests/bench-memmem-ifunc.c: Likewise.
8051 * benchtests/bench-memmove-ifunc.c: Likewise.
8052 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8053 * benchtests/bench-memrchr-ifunc.c: Likewise.
8054 * benchtests/bench-memset-ifunc.c: Likewise.
8055 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8056 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8057 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8058 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8059 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8060 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8061 * benchtests/bench-strcat-ifunc.c: Likewise.
8062 * benchtests/bench-strchr-ifunc.c: Likewise.
8063 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8064 * benchtests/bench-strcmp-ifunc.c: Likewise.
8065 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8066 * benchtests/bench-strcpy-ifunc.c: Likewise.
8067 * benchtests/bench-strcspn-ifunc.c: Likewise.
8068 * benchtests/bench-strlen-ifunc.c: Likewise.
8069 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8070 * benchtests/bench-strncat-ifunc.c: Likewise.
8071 * benchtests/bench-strncmp-ifunc.c: Likewise.
8072 * benchtests/bench-strncpy-ifunc.c: Likewise.
8073 * benchtests/bench-strnlen-ifunc.c: Likewise.
8074 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8075 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8076 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8077 * benchtests/bench-strspn-ifunc.c: Likewise.
8078 * benchtests/bench-strstr-ifunc.c: Likewise.
8079
80802013-11-26 Ondřej Bílka <neleai@seznam.cz>
8081
ab260039
OB
8082 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8083
d1d9eaf4 80842013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8085
d1d9eaf4
OB
8086 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8087 * rt/aio.h: Likewise.
8088 * sysdeps/gnu/bits/utmp.h: Likewise.
8089 * sysdeps/gnu/bits/utmpx.h: Likewise.
8090 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8091 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8092 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8093 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8094 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8095 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8096 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8097 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8098 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8099 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8100 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8101 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8102 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8104 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8105 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8106 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8107 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8108 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8109 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8110 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8111 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8112 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8113 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8114 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8117 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8118 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8119 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8121 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8122 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8123 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8124 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8125 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8126 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8127 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8128 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8129 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8130 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8131 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8132
a7624ed9
CD
81332013-11-25 Carlos O'Donell <carlos@redhat.com>
8134
8135 [BZ #16245]
8136 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8137 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8138
63cfe52b
JM
81392013-11-25 Joseph Myers <joseph@codesourcery.com>
8140
8141 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8142 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8143 Likewise.
8144
41e8926a
AZ
81452013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8146
8147 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8148 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8149 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8150 (__fesetround): Remove define.
8151 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8152 rounding and exceptions handling.
8153 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8154 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8155 (__fe_nomask_env): Likewise.
8156 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8157 __fegetround instead of fegetround.
8158 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8159 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8160
6851bd4d
RM
81612013-11-21 Roland McGrath <roland@hack.frob.com>
8162
070906ff
RM
8163 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8164 it's there.
8165
6851bd4d
RM
8166 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8167
84ae135d
MI
81682013-11-21 Meador Inge <meadori@codesourcery.com>
8169
8170 [BZ #11157]
8171 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8172 (encrypt_r): Likewise.
8173 * malloc/obstack.h (obstack_free): Likewise.
8174 * posix/unistd.h (encrypt): Likewise.
8175
daf75146
GM
81762013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8177
8178 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8179 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8180 DL_CALL_DT_FINI() that call the functions directly.
8181 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8182 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8183 * elf/dl-fini.c: Likewise.
8184
10ad46bc
OB
81852013-11-20 Ondřej Bílka <neleai@seznam.cz>
8186
8187 * malloc/hooks.c (memalign_check): Add alignment rounding.
8188 * malloc/malloc.c (_mid_memalign): New function.
8189 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8190 Implement by calling _mid_memalign.
8191 * manual/probes.texi (Memory Allocation Probes): Remove
8192 memory_valloc_retry and memory_pvalloc_retry.
8193
f3fd2628
SP
81942013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8195
4712799f
SP
8196 * locale/programs/locarchive.c (open_archive): Add const
8197 qualifier to ARCHIVEFNAME and copy default fname to
8198 DEFAULT_FNAME.
8199
0417b20f
SP
8200 [BZ #15601]
8201 * libio/tst-widetext.input: Rename Oriya to Odia.
8202 * locale/iso-639.def: Likewise.
8203
f3fd2628
SP
8204 * manual/probes.texi (Mathematical Function Probes): Add
8205 documentation for sin, cos, asin and acos probes.
8206 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8207 (__sin32): Add slowasin probe.
8208 (__cos32): Add slowacos probe.
8209 (__mpsin): Add slowsin probe.
8210 (__mpcos): Add slowcos probe.
8211
73c1ce4f
JM
82122013-11-19 Joseph Myers <joseph@codesourcery.com>
8213
8214 [BZ #15483]
8215 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8216 thread-local __sim_exceptions_thread and global
8217 __sim_exceptions_global.
8218 (__sim_disabled_exceptions): Change to thread-local
8219 __sim_disabled_exceptions_thread and global
8220 __sim_disabled_exceptions_global.
8221 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8222 and global __sim_round_mode_global.
8223 (__simulate_exceptions): Use thread-local floating-point state and
8224 set global state from it as needed.
8225 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8226 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8227 __sim_round_mode_thread.
8228 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8229 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8230 and global __sim_exceptions_global.
8231 (__sim_disabled_exceptions): Change to thread-local
8232 __sim_disabled_exceptions_thread and global
8233 __sim_disabled_exceptions_global.
8234 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8235 and global __sim_round_mode_global.
8236 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8237 (SIM_SET_GLOBAL): Likewise.
8238 * sysdeps/powerpc/soft-fp/sfp-machine.h
8239 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8240 __sim_round_mode_thread.
8241 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8242 __sim_disabled_exceptions_thread.
8243 (__sim_exceptions): Change to __sim_exceptions_thread.
8244 (__sim_disabled_exceptions): Change to
8245 __sim_disabled_exceptions_thread.
8246 (__sim_round_mode): Change to __sim_round_mode_thread.
8247 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8248 thread-local floating-point state and set global state from it as
8249 needed.
8250 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8251 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8252 (__sim_disabled_exceptions): Remove extern declaration.
8253 (feenableexcept): Use thread-local floating-point state and set
8254 global state from it as needed.
8255 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8256 extern declaration.
8257 (__sim_disabled_exceptions): Likewise.
8258 (__sim_round_mode): Likewise.
8259 (__fegetenv): Use thread-local floating-point state.
8260 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8261 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8262 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8263 floating-point state and set global state from it as needed.
8264 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8265 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8266 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8267 Likewise.
8268 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8269 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8270 Likewise.
8271 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8272 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8273 Use __sim_round_mode_thread.
8274 * math/test-fenv-tls.c: New file.
8275 * math/Makefile (tests): Add test-fenv-tls.
8276 ($(objpfx)test-fenv-tls): Depend on
8277 $(common-objpfx)nptl/libpthread.so.
8278
b5449b12
AS
82792013-11-19 Andreas Schwab <schwab@suse.de>
8280
8281 * locale/programs/locale.c (show_info): Decode wordarray elements.
8282 * locale/categories.def (LC_MONETARY): Add element for
8283 _NL_MONETARY_CRNCYSTR.
8284 * locale/C-monetary.c (conversion_rate): New variable.
8285 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8286 element.
8287
e186536b
CM
82882013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8289
8290 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8291 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8292
5c349950
PP
82932013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8294
8295 * elf/Makefile (tst-auxv): New test.
8296 * elf/tst-auxv.c: New
8297 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8298
699df45b
JM
82992013-11-18 Joseph Myers <joseph@codesourcery.com>
8300
8301 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8302 (hidden_proto): Caller changed.
8303 (hidden_tls_proto): New macro.
8304 (libc_hidden_tls_proto): Likewise.
8305 (rtld_hidden_tls_proto): Likewise.
8306 (libm_hidden_tls_proto): Likewise.
8307 (libresolv_hidden_tls_proto): Likewise.
8308 (librt_hidden_tls_proto): Likewise.
8309 (libdl_hidden_tls_proto): Likewise.
8310 (libnss_files_hidden_tls_proto): Likewise.
8311 (libnsl_hidden_tls_proto): Likewise.
8312 (libnss_nisplus_hidden_tls_proto): Likewise.
8313 (libutil_hidden_tls_proto): Likewise.
8314
b7589107
OB
83152013-11-18 Ondřej Bílka <neleai@seznam.cz>
8316
8317 [BZ #10253]
8318 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8319 (decompose_rpath): Defer expansion to fillin_rpath.
8320 (_dl_init_paths): Pass linkmap to fillin_rpath.
8321
250c23bd
RS
83222013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8323
8324 * benchtests/Makefile: Add strsep.
8325 * benchtests/bench-strsep.c: New file: strsep benchtest.
8326 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8327
a7931fcf
AS
83282013-11-18 Andreas Schwab <schwab@suse.de>
8329
8330 * locale/programs/locale.c (show_info) [case byte]: Check for
8331 '\377' instead of '\177'.
8332 * locale/C-monetary.c (not_available): Always use "\377".
8333 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8334 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8335 detect unavailable sign_posn locale elements.
8336 * locale/localeconv.c (__localeconv): For grouping and
8337 mon_grouping handle "\177" and "\377" like no grouping.
8338 (INT_ELEM): New macro. Use it to set all numeric members.
8339 * locale/programs/ld-monetary.c (monetary_read)
8340 <tok_mon_grouping>: Normalize single -1 to the empty string.
8341 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8342 Likewise.
8343
728dab0e
OB
83442013-11-07 Ondřej Bílka <neleai@seznam.cz>
8345
8346 [BZ #16055]
8347 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8348 when we match (nil).
8349 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8350
66294491
JM
83512013-11-16 Joseph Myers <joseph@codesourcery.com>
8352
ce665817
JM
8353 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8354 (NO_TEST_INLINE): Update value.
8355 (ERRNO_UNCHANGED): Likewise.
8356 (ERRNO_EDOM): Likewise.
8357 (ERRNO_ERANGE): Likewise.
8358 (IGNORE_RESULT): Likewise.
8359 (check_float_internal): Check signs of NaN results if
8360 TEST_NAN_SIGN used.
8361 (check_complex): Pass TEST_NAN_SIGN flag through to second
8362 check_float_internal call.
8363 (copysign_test_data): Add tests with quiet NaNs as second
8364 argument. Use TEST_NAN_SIGN.
8365 (fabs_test_data): Add test of negative quiet NaN argument. Use
8366 TEST_NAN_SIGN.
8367 (signbit_test_data): Add tests of quiet NaN argument.
8368 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8369
ee1466a9
JM
8370 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8371 $ignore_result.
8372 (parse_args): Handle function results specified as IGNORE.
8373 * math/libm-test.inc (IGNORE_RESULT): New macro.
8374 (check_float_internal): Do not check numerical result if flag
8375 IGNORE_RESULT set.
8376 (check_complex): Pass through IGNORE_RESULT to second
8377 check_float_internal call.
8378 (check_int): Do not check numerical result if flag IGNORE_RESULT
8379 set.
8380 (check_long): Likewise.
8381 (check_bool): Likewise.
8382 (check_longlong): Likewise.
8383 (lrint_test_data): Add tests of infinite and NaN arguments.
8384 (lrint_tonearest_test_data): Likewise.
8385 (lrint_towardzero_test_data): Likewise.
8386 (lrint_downward_test_data): Likewise.
8387 (lrint_upward_test_data): Likewise.
8388 (llrint_test_data): Likewise.
8389 (llrint_tonearest_test_data): Likewise.
8390 (llrint_towardzero_test_data): Likewise.
8391 (llrint_downward_test_data): Likewise.
8392 (llrint_upward_test_data): Likewise.
8393 (lround_test_data): Likewise.
8394 (llround_test_data): Likewise.
8395
14407b7e
JM
8396 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8397 (ERRNO_UNCHANGED): Update value.
8398 (ERRNO_EDOM): Likewise.
8399 (ERRNO_ERANGE): Likewise.
8400 (NO_TEST_INLINE_FLOAT): New macro.
8401 (NO_TEST_INLINE_DOUBLE): Likewise.
8402 (enable_test): New function.
8403 (RUN_TEST_f_f): Check enable_test before running test.
8404 (RUN_TEST_2_f): Likewise.
8405 (RUN_TEST_fff_f): Likewise.
8406 (RUN_TEST_c_f): Likewise.
8407 (RUN_TEST_f_f1): Likewise.
8408 (RUN_TEST_fF_f1): Likewise.
8409 (RUN_TEST_fI_f1): Likewise.
8410 (RUN_TEST_ffI_f1): Likewise.
8411 (RUN_TEST_c_c): Likewise.
8412 (RUN_TEST_cc_c): Likewise.
8413 (RUN_TEST_f_i): Likewise.
8414 (RUN_TEST_f_i_tg): Likewise.
8415 (RUN_TEST_ff_i_tg): Likewise.
8416 (RUN_TEST_f_b): Likewise.
8417 (RUN_TEST_f_b_tg): Likewise.
8418 (RUN_TEST_f_l): Likewise.
8419 (RUN_TEST_f_L): Likewise.
8420 (RUN_TEST_fFF_11): Likewise.
8421 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8422 conditionals.
8423 (cosh_test_data): Likewise.
8424 (exp_test_data): Likewise.
8425 (expm1_test_data): Likewise.
8426 (hypot_test_data): Likewise.
8427 (pow_test_data): Likewise.
8428 (sinh_test_data): Likewise.
8429 (tanh_test_data): Likewise.
8430 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8431 flags argument.
8432
ca07f197
JM
8433 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8434 tests with quiet NaN input and output.
8435 (acosh_test_data): Likewise.
8436 (asin_test_data): Likewise.
8437 (asinh_test_data): Likewise.
8438 (atan_test_data): Likewise.
8439 (atanh_test_data): Likewise.
8440 (atan2_test_data): Likewise.
8441 (cbrt_test_data): Likewise.
8442 (cos_test_data): Likewise.
8443 (cosh_test_data): Likewise.
8444 (erf_test_data): Likewise.
8445 (erfc_test_data): Likewise.
8446 (exp_test_data): Likewise.
8447 (exp10_test_data): Likewise.
8448 (exp2_test_data): Likewise.
8449 (expm1_test_data): Likewise.
8450 (hypot_test_data): Likewise.
8451 (j0_test_data): Likewise.
8452 (j1_test_data): Likewise.
8453 (jn_test_data): Likewise.
8454 (lgamma_test_data): Likewise.
8455 (log_test_data): Likewise.
8456 (log10_test_data): Likewise.
8457 (log1p_test_data): Likewise.
8458 (log2_test_data): Likewise.
8459 (pow_test_data): Likewise.
8460 (scalb_test_data): Likewise.
8461 (sin_test_data): Likewise.
8462 (sincos_test_data): Likewise.
8463 (sinh_test_data): Likewise.
8464 (tan_test_data): Likewise.
8465 (tanh_test_data): Likewise.
8466 (tgamma_test_data): Likewise.
8467 (y0_test_data): Likewise.
8468 (y1_test_data): Likewise.
8469 (yn_test_data): Likewise.
8470
66294491
JM
8471 [BZ #16167]
8472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8473 argument being NaN and avoid computations with second argument in
8474 that case.
8475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8476 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8477 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8478
1820b143
CL
84792013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8480
8481 * locale/iso-639.def: Add Chitwani Tharu (the).
8482
714bd261
AS
84832013-11-14 Andreas Schwab <schwab@suse.de>
8484
8485 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8486 word instead of empty string.
8487
7ab44563
AZ
84882013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8489
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8491 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8493 (__fe_nomask_env): Likewise.
8494
e8470ea2
SE
84952013-11-13 Steve Ellcey <sellcey@mips.com>
8496
8497 * benchtests/bench-timing.h: Include time.h.
8498
17c1d9f0
L
84992013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 [BZ #15997]
8502 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8503 to 3.4.0 for x32.
8504 * sysdeps/unix/sysv/linux/configure: Regenerated.
8505
9310c284
JM
85062013-11-13 Joseph Myers <joseph@codesourcery.com>
8507
8508 [BZ #16151]
8509 * stdlib/strtod_l.c (round_and_return): Do not consider
8510 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8511 exponent one less than half the least subnormal exponent.
8512 * stdlib/test-strtod-round-data: Add more tests.
8513 * stdlib/tst-strtod-round.c (tests): Regenerated.
8514
7a2ad8cf
AZ
85152013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8516
8517 [BZ #14143]
8518 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8519 (__fe_mask_env): Likewise.
8520 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8521 libm_hidden_proto and add function prototype.
8522 (__fe_mask_env): Add function prototype.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8524 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8526 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8528 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8529
50727aa7
MS
85302013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8531
b2f386c1 8532 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8533 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8534
a615be46
MS
85352013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8536
8537 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8538 of htab_find_slot().
8539
7ddace62
DM
85402013-11-11 David S. Miller <davem@davemloft.net>
8541
8542 [BZ #16150]
8543 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8544 symbol in the non-vis3 case in static builds.
8545 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8546 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8547 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8548 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8549
9182aa67
JK
85502013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8551
8552 [BZ #387]
8553 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8554 it is empty.
8555
450a2e2d
AZ
85562013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8557
b2f386c1
SP
8558 * benchtests/Makefile: Add bench-strtod.
8559 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8560
8ec3f656
AS
85612013-11-11 Andreas Schwab <schwab@suse.de>
8562
8563 [BZ #16153]
8564 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8565 terminating NUL in key length.
8566
76a9b998
AZ
85672013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8568
8569 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8570 Add artificial ODP entry for vDSO symbol for PPC64.
8571 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8572 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8573
e4368156
OB
85742013-11-07 Ondřej Bílka <neleai@seznam.cz>
8575
8576 [BZ #15374]
8577 * nss/getent.c (services_keys): Recognize services starting with digit.
8578
8d6bb57c
DM
85792013-11-06 David S. Miller <davem@davemloft.net>
8580
8581 [BZ #15985]
8582 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8583 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8584
e256c421
WN
85852013-11-06 Will Newton <will.newton@linaro.org>
8586
8587 * manual/memory.texi (Malloc Examples): Remove register
8588 keyword from examples.
8589
f6e12daa 85902013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8591
f6e12daa 8592 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8593
9d880655
AS
85942013-11-04 Joseph Myers <joseph@codesourcery.com>
8595
fd2f9486 8596 [BZ #6981]
9d880655
AS
8597 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8598 depending on [__GCC_IEC_559 > 0].
8599 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8600 depending on [__GCC_IEC_559_COMPLEX > 0].
8601
ae129d3c
CL
86022013-11-03 Chris Leonard <cjl@sugarlabs.org>
8603
8604 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8605 to iso-639.def.
8606
4a15c2a4 86072013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8608
8609 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8610
8b35e35d
OB
86112013-11-01 Ondřej Bílka <neleai@seznam.cz>
8612
8613 [BZ #16112]
8614 * malloc/malloc (malloc_info): Do not handle first bin as
8615 special case.
8616
1d70fd6c
CL
86172013-11-01 Chris Leonard <cjl@sugarlabs.org>
8618
8619 * locale/iso-639.def: Add Central Nahuatl (nhn).
8620
8c5c2600
BH
86212013-11-01 Bruno Haible <bruno@clisp.org>
8622
8623 [BZ #7003]
8624 * manual/math.texi (BSD Random): Specify range upper bound as
8625 in POSIX.
8626
da5579c2
CL
86272013-10-31 Chris Leonard <cjl@sugarlabs.org>
8628
8629 * locale/iso-639.def: Add Meadow Mari (mhr).
8630
5d30d853
OB
86312013-10-31 Ondřej Bílka <neleai@seznam.cz>
8632
8633 [BZ #14752], [BZ #15763]
8634 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8635 Validate name.
8636 * rt/tst_shm.c: Add test for escaping directory.
8637
a4966c61
AS
86382013-10-31 Andreas Schwab <schwab@suse.de>
8639
8a43e768 8640 [BZ #15917]
a4966c61
AS
8641 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8642 followed by 'x' as part of digit sequence.
8643 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8644
28d708c4
MAP
86452013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8646
8647 [BZ #16037]
8648 * configure.ac: allow GNU Make 4.0 and greater.
8649 * configure: Regenerated.
8650
a56ee40b
WN
86512013-10-30 Will Newton <will.newton@linaro.org>
8652
8653 [BZ #16038]
8654 * malloc/hooks.c (memalign_check): Limit alignment to the
8655 maximum representable power of two.
8656 * malloc/malloc.c (__libc_memalign): Likewise.
8657 * malloc/tst-memalign.c (do_test): Add test for very
8658 large alignment values.
8659 * malloc/tst-posix_memalign.c (do_test): Likewise.
8660
c6e4925d
OB
86612013-10-30 Ondřej Bílka <neleai@seznam.cz>
8662
8663 [BZ #11087]
8664 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8665 (munmap_chunk): Likewise.
8666 (mremap_chunk): Likewise.
8667
86682013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8669
8a43e768 8670 [BZ #15799]
bbea82f7
OB
8671 * stdlib/div.c (div): Remove obsolete code.
8672 * stdlib/ldiv.c (ldiv): Likewise.
8673 * stdlib/lldiv.c (lldiv): Likewise.
8674
977f4b31
SP
86752013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8676
8677 [BZ #16071]
8678 * nss/nss_files/files-XXX.c (get_contents_ret): New
8679 enumerator.
8680 (get_contents): New function.
8681 (internal_getent): Use it. Expand size of LINEBUFLEN.
8682
cb8a6dbd
MF
86832013-10-30 Mike Frysinger <vapier@gentoo.org>
8684
8685 * configure.in: Moved to ...
8686 * configure.ac: ... here. Change reference to configure.in
8687 to configure.ac.
8688 * sysdeps/arm/preconfigure.ac: ... here.
8689 configure.in to configure.ac.
8690 * sysdeps/gnu/configure.in: Moved to ...
8691 * sysdeps/gnu/configure.ac: ... here.
8692 * sysdeps/i386/configure.in: Moved to ...
8693 * sysdeps/i386/configure.ac: ... here.
8694 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8695 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8696 * sysdeps/mach/configure.in: Moved to ...
8697 * sysdeps/mach/configure.ac: ... here.
8698 * sysdeps/mach/hurd/configure.in: Moved to ...
8699 * sysdeps/mach/hurd/configure.ac: ... here.
8700 * sysdeps/powerpc/configure.in: Moved to ...
8701 * sysdeps/powerpc/configure.ac: ... here.
8702 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8703 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8704 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8705 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8706 * sysdeps/s390/s390-32/configure.in: Moved to ...
8707 * sysdeps/s390/s390-32/configure.ac: ... here.
8708 * sysdeps/s390/s390-64/configure.in: Moved to ...
8709 * sysdeps/s390/s390-64/configure.ac: ... here.
8710 * sysdeps/sh/configure.in: Moved to ...
8711 * sysdeps/sh/configure.ac: ... here.
8712 * sysdeps/sparc/configure.in: Moved to ...
8713 * sysdeps/sparc/configure.ac: ... here.
8714 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8715 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8716 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8717 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8718 * sysdeps/x86_64/configure.in: Moved to ...
8719 * sysdeps/x86_64/configure.ac: ... here.
8720 * sysdeps/x86_64/preconfigure.in: Moved to ...
8721 * sysdeps/x86_64/preconfigure.ac: ... here.
8722 * aclocal.m4: Change reference to configure.in to configure.ac.
8723 * config.h.in: Likewise.
8724 * manual/install.texi: Likewise.
8725 * manual/maint.texi: Likewise.
8726 * Makefile: Likewise.
8727 * malloc/Makefile: Likewise.
8728 * nscd/Makefile: Likewise.
8729 * Makeconfig: Change reference to configure.in and
8730 preconfigure.in to configure.ac and preconfigure.ac
8731 respectively.
8732 * INSTALL: Regenerated.
8733 * configure: Likewise.
8734 * sysdeps/gnu/configure: Likewise.
8735 * sysdeps/i386/configure: Likewise.
8736 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8737 * sysdeps/mach/configure: Likewise.
8738 * sysdeps/mach/hurd/configure: Likewise.
8739 * sysdeps/powerpc/configure: Likewise.
8740 * sysdeps/powerpc/powerpc32/configure: Likewise.
8741 * sysdeps/powerpc/powerpc64/configure: Likewise.
8742 * sysdeps/s390/s390-32/configure: Likewise.
8743 * sysdeps/s390/s390-64/configure: Likewise.
8744 * sysdeps/sh/configure: Likewise.
8745 * sysdeps/sparc/configure: Likewise.
8746 * sysdeps/unix/sysv/linux/configure: Likewise.
8747 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8748 * sysdeps/x86_64/configure: Likewise.
8749 * sysdeps/x86_64/preconfigure: Likewise.
8750
36a4953a
AS
87512013-10-29 Andreas Schwab <schwab@suse.de>
8752
8753 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8754
c79a1204
SP
87552013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8756
dfa1b402
SP
8757 * benchtests/pow-inputs: Add new inputs.
8758
54f73d9c
SP
8759 * benchtests/exp-inputs: Add new inputs.
8760
c79a1204
SP
8761 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8762 conditional check for return value.
8763 (__cos32): Likewise.
8764
67beb545 87652013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8766
8767 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8768 to provide a boost for large inputs with word alignment.
8769 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8770 implementation based on optimized PPC64 strcpy.
8771 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8772 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8773 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8774 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8775
151659f6
OB
87762013-10-25 Ondřej Bílka <neleai@seznam.cz>
8777
482a077e 8778 [BZ #2801]
151659f6
OB
8779 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8780
10b0f26b
OB
87812013-10-25 Ondřej Bílka <neleai@seznam.cz>
8782
8783 [BZ #14876]
8784 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8785 * time/tst-strptime.c (day_tests): Add testcase.
8786
ca42d35e
OB
87872013-10-25 Ondřej Bílka <neleai@seznam.cz>
8788
482a077e 8789 [BZ #14029]
ca42d35e
OB
8790 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8791
52e6d801
FB
87922013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8793
8794 [BZ #16074]
8795 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8796 MAP_FAILED on error.
8797
7cbcdb36
SP
87982013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8799
8800 [BZ #16072]
8801 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8802 heap for large requests.
8803
894f3f10
AM
88042013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8805
8806 [BZ #9954]
8807 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8808 result if the result has no associated interface.
8809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8810 interface for all 127.X.Y.Z addresses.
8811
b85545a6
CL
88122013-10-24 Chris Leonard <cjl@sugarlabs.org>
8813
8814 * locale/iso-639.def: Add Ligurian (lij)
8815
d1f23d46
OB
88162013-10-21 Ondřej Bílka <neleai@seznam.cz>
8817
8818 [BZ #15825]
8819 * sunrpc/rpc_main.c: Document rpcgen -5.
8820
4db5b08f
MS
88212013-10-19 Michael Stahl <mstahl@redhat.com>
8822
8823 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8824
a471e96a
OB
88252013-10-19 Ondřej Bílka <neleai@seznam.cz>
8826
d1f23d46 8827 [BZ #10278]
a471e96a
OB
8828 * posix/glob.c: Match only directories when trailing slash is present.
8829 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8830 (main): Add testcase.
8831
45c30c61
OB
88322013-10-19 Ondřej Bílka <neleai@seznam.cz>
8833
8834 [BZ #15670]
8835 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8836
484c12fb
CD
88372013-10-18 Carlos O'Donell <carlos@redhat.com>
8838
3d7dc513
CD
8839 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8840 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8841 AUTH_DES and cindex for FIPS 140-2.
8842 (DES Encryption): Add cindex FIPS 46-3.
8843
484c12fb
CD
8844 * locale/locarchive.h (struct locarhandle): Add fname.
8845 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8846 if an optional argument was specified to --list-archive,
8847 otherwise NULL.
8848 * locale/programs/locarchive.c (show_archive_content): Take new
8849 argument fname and pass it via ah.fname to open_archive.
8850 * locale/programs/localedef.h: Update decl.
8851 (open_archive): If AH->fname is non-null, open that file
8852 rather than the default file name, and don't ignore ENOENT.
8853 (create_archive): Set AH.fname to NULL.
8854 (delete_locales_from_archive): Likewise.
8855 (add_locales_to_archive): Likewise.
8856 * locale/programs/locfile.c (write_all_categories): Likewise.
8857
3c8325fb
JM
88582013-10-18 Joseph Myers <joseph@codesourcery.com>
8859 Aldy Hernandez <aldyh@redhat.com>
8860
8861 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8862 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8863 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8864 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8865 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8866 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8867 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8868 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8869 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8870 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8871 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8872 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8873 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8874 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8875 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8876 Likewise.
8877 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8878 Likewise.
8879 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8880 Likewise.
8881 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8882 Likewise.
8883 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8884 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8885 Likewise.
8886 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8887 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8888 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8889 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8890 Likewise.
8891 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8892 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8893 * sysdeps/powerpc/preconfigure: Likewise.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8895 Likewise.
8896 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8897 Replace contents of file by #include of <fenv_libc.h>.
8898 * sysdeps/powerpc/soft-fp/sfp-machine.h
8899 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8900 and <sys/prctl.h>.
8901 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8903 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8906 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8908 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8909 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8910 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8912 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8914 Allow copysignl PLT reference to be missing.
8915
5abe0682
RS
89162013-10-18 Richard Sandiford <richard@codesourcery.com>
8917 Joseph Myers <joseph@codesourcery.com
8918
8919 [BZ #15948]
8920 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8921 single character.
8922 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8923
c7738d08
SP
89242013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
8926 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8927 * elf/tst-tls1.c: Likewise.
8928 * elf/tst-tls10.h: Likewise.
8929 * elf/tst-tls14.c: Likewise.
8930 * elf/tst-tls2.c: Likewise.
8931 * elf/tst-tls3.c: Likewise.
8932 * elf/tst-tls4.c: Likewise.
8933 * elf/tst-tls5.c: Likewise.
8934 * elf/tst-tls6.c: Likewise.
8935 * elf/tst-tls7.c: Likewise.
8936 * elf/tst-tls8.c: Likewise.
8937 * elf/tst-tls9.c: Likewise.
8938 * elf/tst-tlsmod1.c: Likewise.
8939 * elf/tst-tlsmod13.c: Likewise.
8940 * elf/tst-tlsmod13a.c: Likewise.
8941 * elf/tst-tlsmod14a.c: Likewise.
8942 * elf/tst-tlsmod16a.c: Likewise.
8943 * elf/tst-tlsmod16b.c: Likewise.
8944 * elf/tst-tlsmod2.c: Likewise.
8945 * elf/tst-tlsmod3.c: Likewise.
8946 * elf/tst-tlsmod4.c: Likewise.
8947 * elf/tst-tlsmod5.c: Likewise.
8948 * elf/tst-tlsmod6.c: Likewise.
8949
0bfcf2c7
OB
89502013-10-18 Ondřej Bílka <neleai@seznam.cz>
8951
8952 [BZ #12486]
8953 * malloc/malloc.c: remove checks for statistics.
8954
264aad1e
OB
89552013-10-17 Ondřej Bílka <neleai@seznam.cz>
8956
8957 [BZ #15277]
8958 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8959 * inet/tst-network.c: Add testcase.
8960
b957ced8
AS
89612013-10-17 Andreas Schwab <schwab@suse.de>
8962
8963 [BZ #15218]
8964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8965 to determine canonical name.
8966
c5d5d574
OB
89672013-10-17 Ondřej Bílka <neleai@seznam.cz>
8968
8969 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8970 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8971 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8993 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8994 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8999 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9027
e5c2c2d0
JM
90282013-10-17 Joseph Myers <joseph@codesourcery.com>
9029
9030 [BZ #16041]
9031 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9032 make result into a quiet NaN.
9033
51ca9e29
JM
90342013-10-16 Joseph Myers <joseph@codesourcery.com>
9035
9036 * soft-fp/adddf3.c: Fix horizontal whitespace.
9037 * soft-fp/addsf3.c: Likewise.
9038 * soft-fp/addtf3.c: Likewise.
9039 * soft-fp/divdf3.c: Likewise.
9040 * soft-fp/divsf3.c: Likewise.
9041 * soft-fp/divtf3.c: Likewise.
9042 * soft-fp/double.h: Likewise.
9043 * soft-fp/eqdf2.c: Likewise.
9044 * soft-fp/eqsf2.c: Likewise.
9045 * soft-fp/eqtf2.c: Likewise.
9046 * soft-fp/extenddftf2.c: Likewise.
9047 * soft-fp/extended.h: Likewise.
9048 * soft-fp/extendsfdf2.c: Likewise.
9049 * soft-fp/extendsftf2.c: Likewise.
9050 * soft-fp/extendxftf2.c: Likewise.
9051 * soft-fp/fixdfdi.c: Likewise.
9052 * soft-fp/fixdfsi.c: Likewise.
9053 * soft-fp/fixdfti.c: Likewise.
9054 * soft-fp/fixsfdi.c: Likewise.
9055 * soft-fp/fixsfsi.c: Likewise.
9056 * soft-fp/fixsfti.c: Likewise.
9057 * soft-fp/fixtfdi.c: Likewise.
9058 * soft-fp/fixtfsi.c: Likewise.
9059 * soft-fp/fixtfti.c: Likewise.
9060 * soft-fp/fixunsdfdi.c: Likewise.
9061 * soft-fp/fixunsdfsi.c: Likewise.
9062 * soft-fp/fixunsdfti.c: Likewise.
9063 * soft-fp/fixunssfdi.c: Likewise.
9064 * soft-fp/fixunssfsi.c: Likewise.
9065 * soft-fp/fixunssfti.c: Likewise.
9066 * soft-fp/fixunstfdi.c: Likewise.
9067 * soft-fp/fixunstfsi.c: Likewise.
9068 * soft-fp/fixunstfti.c: Likewise.
9069 * soft-fp/floatdidf.c: Likewise.
9070 * soft-fp/floatdisf.c: Likewise.
9071 * soft-fp/floatditf.c: Likewise.
9072 * soft-fp/floatsidf.c: Likewise.
9073 * soft-fp/floatsisf.c: Likewise.
9074 * soft-fp/floatsitf.c: Likewise.
9075 * soft-fp/floattidf.c: Likewise.
9076 * soft-fp/floattisf.c: Likewise.
9077 * soft-fp/floattitf.c: Likewise.
9078 * soft-fp/floatundidf.c: Likewise.
9079 * soft-fp/floatundisf.c: Likewise.
9080 * soft-fp/floatunditf.c: Likewise.
9081 * soft-fp/floatunsidf.c: Likewise.
9082 * soft-fp/floatunsisf.c: Likewise.
9083 * soft-fp/floatunsitf.c: Likewise.
9084 * soft-fp/floatuntidf.c: Likewise.
9085 * soft-fp/floatuntisf.c: Likewise.
9086 * soft-fp/floatuntitf.c: Likewise.
9087 * soft-fp/fmadf4.c: Likewise.
9088 * soft-fp/fmasf4.c: Likewise.
9089 * soft-fp/fmatf4.c: Likewise.
9090 * soft-fp/gedf2.c: Likewise.
9091 * soft-fp/gesf2.c: Likewise.
9092 * soft-fp/getf2.c: Likewise.
9093 * soft-fp/ledf2.c: Likewise.
9094 * soft-fp/lesf2.c: Likewise.
9095 * soft-fp/letf2.c: Likewise.
9096 * soft-fp/muldf3.c: Likewise.
9097 * soft-fp/mulsf3.c: Likewise.
9098 * soft-fp/multf3.c: Likewise.
9099 * soft-fp/negdf2.c: Likewise.
9100 * soft-fp/negsf2.c: Likewise.
9101 * soft-fp/negtf2.c: Likewise.
9102 * soft-fp/op-1.h: Likewise.
9103 * soft-fp/op-2.h: Likewise.
9104 * soft-fp/op-4.h: Likewise.
9105 * soft-fp/op-8.h: Likewise.
9106 * soft-fp/op-common.h: Likewise.
9107 * soft-fp/quad.h: Likewise.
9108 * soft-fp/single.h: Likewise.
9109 * soft-fp/soft-fp.h: Likewise.
9110 * soft-fp/sqrtdf2.c: Likewise.
9111 * soft-fp/sqrtsf2.c: Likewise.
9112 * soft-fp/sqrttf2.c: Likewise.
9113 * soft-fp/subdf3.c: Likewise.
9114 * soft-fp/subsf3.c: Likewise.
9115 * soft-fp/subtf3.c: Likewise.
9116 * soft-fp/truncdfsf2.c: Likewise.
9117 * soft-fp/trunctfdf2.c: Likewise.
9118 * soft-fp/trunctfsf2.c: Likewise.
9119 * soft-fp/trunctfxf2.c: Likewise.
9120 * soft-fp/unorddf2.c: Likewise.
9121 * soft-fp/unordsf2.c: Likewise.
9122 * soft-fp/unordtf2.c: Likewise.
9123
9ebb0332
JM
91242013-10-15 Joseph Myers <joseph@codesourcery.com>
9125
9126 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9127 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9128
4b1a6d8b
OB
91292013-10-15 Ondřej Bílka <neleai@seznam.cz>
9130
9131 * elf/dl-libc.c: Clear initfini list after freeing.
9132
1e145589
JM
91332013-10-14 Joseph Myers <joseph@codesourcery.com>
9134
9135 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9136 * soft-fp/addsf3.c: Likewise.
9137 * soft-fp/addtf3.c: Likewise.
9138 * soft-fp/divdf3.c: Likewise.
9139 * soft-fp/divsf3.c: Likewise.
9140 * soft-fp/divtf3.c: Likewise.
9141 * soft-fp/double.h: Likewise.
9142 * soft-fp/eqdf2.c: Likewise.
9143 * soft-fp/eqsf2.c: Likewise.
9144 * soft-fp/eqtf2.c: Likewise.
9145 * soft-fp/extenddftf2.c: Likewise.
9146 * soft-fp/extended.h: Likewise.
9147 * soft-fp/extendsfdf2.c: Likewise.
9148 * soft-fp/extendsftf2.c: Likewise.
9149 * soft-fp/extendxftf2.c: Likewise.
9150 * soft-fp/fixdfdi.c: Likewise.
9151 * soft-fp/fixdfsi.c: Likewise.
9152 * soft-fp/fixdfti.c: Likewise.
9153 * soft-fp/fixsfdi.c: Likewise.
9154 * soft-fp/fixsfsi.c: Likewise.
9155 * soft-fp/fixsfti.c: Likewise.
9156 * soft-fp/fixtfdi.c: Likewise.
9157 * soft-fp/fixtfsi.c: Likewise.
9158 * soft-fp/fixtfti.c: Likewise.
9159 * soft-fp/fixunsdfdi.c: Likewise.
9160 * soft-fp/fixunsdfsi.c: Likewise.
9161 * soft-fp/fixunsdfti.c: Likewise.
9162 * soft-fp/fixunssfdi.c: Likewise.
9163 * soft-fp/fixunssfsi.c: Likewise.
9164 * soft-fp/fixunssfti.c: Likewise.
9165 * soft-fp/fixunstfdi.c: Likewise.
9166 * soft-fp/fixunstfsi.c: Likewise.
9167 * soft-fp/fixunstfti.c: Likewise.
9168 * soft-fp/floatdidf.c: Likewise.
9169 * soft-fp/floatdisf.c: Likewise.
9170 * soft-fp/floatditf.c: Likewise.
9171 * soft-fp/floatsidf.c: Likewise.
9172 * soft-fp/floatsisf.c: Likewise.
9173 * soft-fp/floatsitf.c: Likewise.
9174 * soft-fp/floattidf.c: Likewise.
9175 * soft-fp/floattisf.c: Likewise.
9176 * soft-fp/floattitf.c: Likewise.
9177 * soft-fp/floatundidf.c: Likewise.
9178 * soft-fp/floatundisf.c: Likewise.
9179 * soft-fp/floatunsidf.c: Likewise.
9180 * soft-fp/floatunsisf.c: Likewise.
9181 * soft-fp/floatuntidf.c: Likewise.
9182 * soft-fp/floatuntisf.c: Likewise.
9183 * soft-fp/floatuntitf.c: Likewise.
9184 * soft-fp/fmadf4.c: Likewise.
9185 * soft-fp/fmasf4.c: Likewise.
9186 * soft-fp/fmatf4.c: Likewise.
9187 * soft-fp/gedf2.c: Likewise.
9188 * soft-fp/gesf2.c: Likewise.
9189 * soft-fp/getf2.c: Likewise.
9190 * soft-fp/ledf2.c: Likewise.
9191 * soft-fp/lesf2.c: Likewise.
9192 * soft-fp/letf2.c: Likewise.
9193 * soft-fp/muldf3.c: Likewise.
9194 * soft-fp/mulsf3.c: Likewise.
9195 * soft-fp/multf3.c: Likewise.
9196 * soft-fp/negdf2.c: Likewise.
9197 * soft-fp/negsf2.c: Likewise.
9198 * soft-fp/negtf2.c: Likewise.
9199 * soft-fp/op-1.h: Likewise.
9200 * soft-fp/op-2.h: Likewise.
9201 * soft-fp/op-4.h: Likewise.
9202 * soft-fp/op-8.h: Likewise.
9203 * soft-fp/op-common.h: Likewise.
9204 * soft-fp/quad.h: Likewise.
9205 * soft-fp/single.h: Likewise.
9206 * soft-fp/soft-fp.h: Likewise.
9207 * soft-fp/sqrtdf2.c: Likewise.
9208 * soft-fp/sqrtsf2.c: Likewise.
9209 * soft-fp/sqrttf2.c: Likewise.
9210 * soft-fp/subdf3.c: Likewise.
9211 * soft-fp/subsf3.c: Likewise.
9212 * soft-fp/subtf3.c: Likewise.
9213 * soft-fp/truncdfsf2.c: Likewise.
9214 * soft-fp/trunctfdf2.c: Likewise.
9215 * soft-fp/trunctfsf2.c: Likewise.
9216 * soft-fp/trunctfxf2.c: Likewise.
9217 * soft-fp/unorddf2.c: Likewise.
9218 * soft-fp/unordsf2.c: Likewise.
9219 * soft-fp/unordtf2.c: Likewise.
9220
17c48a60
OB
92212013-10-14 Ondřej Bílka <neleai@seznam.cz>
9222
9223 [BZ #15672]
9224 * misc/error.c (error_tail): Fix possible buffer overflow.
9225
cabba934
OB
92262013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9227
9228 [BZ #13028]
9229 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9230 address.
9231
94bf958a
PM
92322013-10-14 P. J. McDermott <pj@pehjota.net>
9233
9234 [BZ #832]
9235 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9236 testing pipefail option.
9237
71b4dea7
JM
92382013-10-12 Joseph Myers <joseph@codesourcery.com>
9239
9240 * soft-fp/double.h: Indent preprocessor directives inside #if.
9241 * soft-fp/extended.h: Likewise.
9242 * soft-fp/op-2.h: Likewise.
9243 * soft-fp/op-4.h: Likewise.
9244 * soft-fp/op-common.h: Likewise.
9245 * soft-fp/quad.h: Likewise.
9246 * soft-fp/single.h: Likewise.
9247 * soft-fp/soft-fp.h: Likewise.
9248
55602758
YC
92492013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9250
9251 * iconv/iconv_prog.c: Fix typos.
9252 * stdio-common/psiginfo-data.h: Likewise.
9253
9cd83302
RT
92542013-10-12 Reuben Thomas <rrt@sc3d.org>
9255
9256 [BZ #15764]
9257 * locale/setlocale.c: Fix typo.
9258
99fd9f47
JM
92592013-10-12 Joseph Myers <joseph@codesourcery.com>
9260
b7ea74f0
JM
9261 [BZ #16036]
9262 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9263 signaling NaN arguments.
9264 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9265 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9266
8a509447
JM
9267 [BZ #14910]
9268 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9269 unordered operands.
9270 * soft-fp/gesf2.c (__gesf2): Likewise.
9271 * soft-fp/getf2.c (__getf2): Likewise.
9272 * soft-fp/ledf2.c (__ledf2): Likewise.
9273 * soft-fp/lesf2.c (__lesf2): Likewise.
9274 * soft-fp/letf2.c (__letf2): Likewise.
9275
98998e9f
JM
9276 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9277 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9278 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9279 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9280 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9281 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9282 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9283 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9284 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9285 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9286 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9287 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9288 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9289 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9290 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9291 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9292 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9293 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9294 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9295 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9296 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9297 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9298 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9299 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9300 * soft-fp/floattidf.c (__floattidf): Likewise.
9301 * soft-fp/floattisf.c (__floattisf): Likewise.
9302 * soft-fp/floattitf.c (__floattitf): Likewise.
9303 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9304 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9305 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9306 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9307 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9308 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9309 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9310 * soft-fp/gesf2.c (__gesf2): Likewise.
9311 * soft-fp/getf2.c (__getf2): Likewise.
9312 * soft-fp/ledf2.c (__ledf2): Likewise.
9313 * soft-fp/lesf2.c (__lesf2): Likewise.
9314 * soft-fp/letf2.c (__letf2): Likewise.
9315
8edc4a11
JM
9316 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9317 Undefine and redefine.
9318 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9319 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9320 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9321 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9322 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9323 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9324 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9325 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9326 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9327 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9328 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9329 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9330 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9331 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9332 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9333
8399acaf
JM
9334 [BZ #16032]
9335 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9336 without decrementing exponent if mantissa >= that for the
9337 denominator, not >.
9338 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9339 denominator, not >. Decrement exponent in < case instead of
9340 incrementing in >= case.
9341 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9342 without decrementing exponent if mantissa >= that for the
9343 denominator, not >.
9344
99fd9f47
JM
9345 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9346 computing saturated result for unsigned overflow.
9347
10e1cf6b
SP
93482013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9349 Jeff Law <law@redhat.com>
9350
9351 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9352 (atan2Mp): Add systemtap probe marker.
9353 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9354 (__ieee754_log): Add systemtap probe marker.
9355 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9356 (atanMp): Add systemtap probe marker.
9357 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9358 (tanMp): Add systemtap probe marker.
9359 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9360 (__slowexp): Add systemtap probe marker.
9361 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9362 (__slowpow): Add systemtap probe marker.
9363 * manual/probes.texi: Document probes.
9364
3d110c7c
EB
93652013-10-11 Eric Biggers <ebiggers3@gmail.com>
9366
9367 [BZ #15362]
9368 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9369 written.
9370 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9371 written.
9372 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9373 written to buffer but not flushed.
9374 * libio/iofwrite_u.c: Likewise.
9375 * libio/iopadn.c: Return bytes returned even if EOF was
9376 encountered.
9377 * libio/iowpadn.c: Likewise.
9378 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9379 if _IO_padn does not write the whole buffer.
9380 [!COMPILE_WPRINTF] (PAD): Likewise.
9381
75b4202a
DM
93822013-10-10 David S. Miller <davem@davemloft.net>
9383
9384 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9385 directory block.
9386
6c6352e6
JM
93872013-10-10 Joseph Myers <joseph@codesourcery.com>
9388
33b853c3
JM
9389 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9390 instead of FSF address.
9391 * soft-fp/fixdfti.c: Likewise.
9392 * soft-fp/fixsfti.c: Likewise.
9393 * soft-fp/fixtfti.c: Likewise.
9394 * soft-fp/fixunsdfti.c: Likewise.
9395 * soft-fp/fixunssfti.c: Likewise.
9396 * soft-fp/fixunstfti.c: Likewise.
9397 * soft-fp/floattidf.c: Likewise.
9398 * soft-fp/floattisf.c: Likewise.
9399 * soft-fp/floattitf.c: Likewise.
9400 * soft-fp/floatuntidf.c: Likewise.
9401 * soft-fp/floatuntisf.c: Likewise.
9402 * soft-fp/floatuntitf.c: Likewise.
9403 * soft-fp/trunctfxf2.c: Likewise.
9404
6c6352e6
JM
9405 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9406 * soft-fp/fixdfti.c: Likewise.
9407 * soft-fp/fixsfti.c: Likewise.
9408 * soft-fp/fixtfti.c: Likewise.
9409 * soft-fp/fixunsdfti.c: Likewise.
9410 * soft-fp/fixunssfti.c: Likewise.
9411 * soft-fp/fixunstfti.c: Likewise.
9412 * soft-fp/floattidf.c: Likewise.
9413 * soft-fp/floattisf.c: Likewise.
9414 * soft-fp/floattitf.c: Likewise.
9415 * soft-fp/floatuntidf.c: Likewise.
9416 * soft-fp/floatuntisf.c: Likewise.
9417 * soft-fp/floatuntitf.c: Likewise.
9418 * soft-fp/trunctfxf2.c: Likewise.
9419
3bf78b71
DM
94202013-10-10 David S. Miller <davem@davemloft.net>
9421
9422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9423
6f10289e
JM
94242013-10-10 Joseph Myers <joseph@codsourcery.com>
9425
bd878fc0
JM
9426 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9427 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9428 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9429 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9430 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9431 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9432 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9433
6f10289e
JM
9434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9435 for NaNs before doing comparisons on argument.
9436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9437 Likewise.
9438
321e2684
WN
94392013-10-10 Will Newton <will.newton@linaro.org>
9440
9441 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9442 passed to _int_memalign does not overflow.
9443
40fefba1
TR
94442013-10-10 Torvald Riegel <triegel@redhat.com>
9445
9446 * scripts/bench.pl: Add include-sources directive.
9447 * benchtests/README: Update documentation.
9448
2ae21ed2
JM
94492013-10-10 Joseph Myers <joseph@codesourcery.com>
9450
dcc2dd3f
JM
9451 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9452 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9453 instead of FP_INIT_ROUNDMODE.
9454 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9455 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9456
2ae21ed2
JM
9457 [BZ #16034]
9458 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9459 copy class of input value.
9460 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9461 not handle exceptions.
9462 * soft-fp/negsf2.c (__negsf2): Likewise.
9463 * soft-fp/negtf2.c (__negtf2): Likewise.
9464 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9465
cb8f9562
JM
94662013-10-09 Joseph Myers <joseph@codesourcery.com>
9467
9468 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9469 semicolon. From Linux kernel.
9470
5b60c59d
AB
94712013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9472
9473 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9474
b86835ca
YC
94752013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9476
9477 [BZ #156]
9478 * manual/socket.texi: Added statement about buffer
9479 for gethostbyname2_r.
9480
e7044ea7
OB
94812013-10-08 Ondřej Bílka <neleai@seznam.cz>
9482
9483 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9484 Use .p2align directive instead, throughout.
9485 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9486 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9487 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9488 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9489 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9490 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9491 * sysdeps/x86_64/strchr.S: Likewise.
9492 * sysdeps/x86_64/strrchr.S: Likewise.
9493
09544cbc
SP
94942013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9495
88576635
SP
9496 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9497
e7b2d1dd
SP
9498 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9499
09544cbc
SP
9500 * sysdeps/generic/math_private.h (__mpsin1): Remove
9501 declaration.
9502 (__mpcos1): Likewise.
9503 (__mpsin): New argument __range_reduce.
9504 (__mpcos): Likewise.
9505 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9506 (slow): Use __mpsin and __mpcos.
9507 (slow1): Likewise.
9508 (slow2): Likewise.
9509 (sloww): Likewise.
9510 (sloww1): Likewise.
9511 (sloww2): Likewise.
9512 (bsloww): Likewise.
9513 (bsloww1): Likewise.
9514 (bsloww2): Likewise.
9515 (cslow2): Likewise.
9516 (csloww): Likewise.
9517 (csloww1): Likewise.
9518 (csloww2): Likewise.
9519 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9520 range_reduce. Merge in __mpsin1.
9521 (__mpcos): Likewise.
9522 (__mpsin1): Remove.
9523 (__mpcos1): Likewise.
9524
7602d070
JM
95252013-10-07 Joseph Myers <joseph@codesourcery.com>
9526
9527 * locale/loadlocale.c (_nl_intern_locale_data): Use
9528 LOCFILE_ALIGNED_P.
9529 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9530 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9531 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9532 obstack data is appropriately aligned.
9533 (obstack_int32_grow_fast): Likewise.
9534 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9535 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9536 (add_locale_uint32_array): Likewise.
9537
a357259b
SP
95382013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9539
9540 * benchtests/Makefile: Remove ARGLIST and RET variables.
9541 ($(objpfx)bench-%.c): Pass only function name to the script.
9542 * benchtests/README: Update documentation.
9543 * benchtests/acos-inputs: Add new directives.
9544 * benchtests/acosh-inputs: Likewise.
9545 * benchtests/asin-inputs: Likewise.
9546 * benchtests/asinh-inputs: Likewise.
9547 * benchtests/atan-inputs: Likewise.
9548 * benchtests/atanh-inputs: Likewise.
9549 * benchtests/cos-inputs: Likewise.
9550 * benchtests/cosh-inputs: Likewise.
9551 * benchtests/exp-inputs: Likewise.
9552 * benchtests/log-inputs: Likewise.
9553 * benchtests/pow-inputs: Likewise.
9554 * benchtests/rint-inputs: Likewise.
9555 * benchtests/sin-inputs: Likewise.
9556 * benchtests/sinh-inputs: Likewise.
9557 * benchtests/tan-inputs: Likewise.
9558 * benchtests/tanh-inputs: Likewise.
9559 * scripts/bench.pl: Add support for new directives.
9560
9ec1b13d
AM
95612013-10-07 Alan Modra <amodra@gmail.com>
9562
9563 * README: Fix careless merge.
9564
8b7d57cd
AM
95652013-10-05 Alan Modra <amodra@gmail.com>
9566
9567 * NEWS: Mention powerpc64le support and bugs fixed.
9568 * README: Both big-endian and little-endian powerpc64 supported.
9569
7b7bab13
ST
95702013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9571
9572 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9573 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9574 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9575 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9576
d39baad1
RA
95772013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9578
9579 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9580 match prototype.
9581
cd78f7e7
JM
95822013-10-04 Joseph Myers <joseph@codesourcery.com>
9583
29d73d86
JM
9584 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9585 Move -mhard-float appending from
9586 ports/sysdeps/powerpc/powerpc32/Makefile.
9587 [$(with-fp) = yes] (ASFLAGS): Likewise.
9588 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9589 * sysdeps/powerpc/nofpu: Move directory from
9590 ports/sysdeps/powerpc/nofpu.
9591 * sysdeps/powerpc/soft-fp: Move directory from
9592 ports/sysdeps/powerpc/soft-fp.
9593 * sysdeps/powerpc/powerpc32/405: Move directory from
9594 ports/sysdeps/powerpc/powerpc32/405.
9595 * sysdeps/powerpc/powerpc32/440: Move directory from
9596 ports/sysdeps/powerpc/powerpc32/440.
9597 * sysdeps/powerpc/powerpc32/464: Move directory from
9598 ports/sysdeps/powerpc/powerpc32/464.
9599 * sysdeps/powerpc/powerpc32/476: Move directory from
9600 ports/sysdeps/powerpc/powerpc32/476.
9601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9602 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9604 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9606 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9608 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9610 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9611 * README: Update for powerpc-*-linux-gnu software floating point
9612 support in libc.
9613
e246b347
JM
9614 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9615 case to powerpc/powerpc32*.
9616 * sysdeps/unix/sysv/linux/configure: Regenerated.
9617
89c2003e
JM
9618 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9619 (_FPU_MASK_OM): Define as 0x04.
9620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9622 0x00c10080.
9623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9624 0x0000003c.
9625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9626
cd78f7e7
JM
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9628 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9629 getcontext_e500.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9631 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9632 setcontext_e500.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9634 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9635 and setcontext_e500.
9636
c755294d
CL
96372013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9638
9639 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9640
e16d221c
SP
96412013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9642
9643 * manual/threads.texi (Default Thread Attributes): Fix typo.
9644
215c7d43
WN
96452013-10-04 Will Newton <will.newton@linaro.org>
9646
9647 * malloc/Makefile: Add tst-memalign.
9648 * malloc/tst-memalign.c: New file.
9649
27d0461b
WN
9650 * malloc/tst-posix_memalign.c: Add comments.
9651 (do_test): Add comments and call free on all potentially
9652 allocated pointers. Add space after cast.
9653
1bc92709
WN
9654 * malloc/tst-pvalloc.c: Add comments.
9655 (do_test): Add comments and call free on all potentially
9656 allocated pointers. Remove duplicate check for NULL pointer.
9657 Add space after cast.
9658
66a9be9d
WN
9659 * malloc/tst-valloc.c: Add comments.
9660 (do_test): Add comments and call free on all potentially
9661 allocated pointers. Remove duplicate check for NULL pointer.
9662 Add space after cast.
9663
4cb81307
AM
96642013-10-04 Alan Modra <amodra@gmail.com>
9665
9666 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9667 Use stdint types in rather than __attribute__((mode())).
9668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9669
f8e3e9f3
AM
96702013-10-04 Alan Modra <amodra@gmail.com>
9671
9672 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9673 Correct handling of unaligned relocs for little-endian.
9674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9675
8f9ebb08
AM
96762013-10-04 Alan Modra <amodra@gmail.com>
9677
9678 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9679 * configure: Regenerate.
9680 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9681 * shlib-versions: Likewise.
9682
0edf96c2
AM
96832013-10-04 Alan Modra <amodra@gmail.com>
9684
9685 * string/tester.c (test_memrchr): Increment reported test cycle.
9686
e0f7a380
AM
96872013-10-04 Alan Modra <amodra@gmail.com>
9688
9689 * string/test-memcpy.c (do_one_test): When reporting errors, print
9690 string address and don't overrun end of string.
9691
466b0393
AM
96922013-10-04 Alan Modra <amodra@gmail.com>
9693
9694 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9695 insrdi. Make better use of reg selection to speed exit slightly.
9696 Schedule entry path a little better. Remove useless "are we done"
9697 checks on entry to main loop. Handle wrapping around zero address.
9698 Correct main loop count. Handle single left-over word from main
9699 loop inline rather than by using loop_small. Remove extra word
9700 case in loop_small caused by wrong loop count. Add little-endian
9701 support.
9702 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9703 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9704 cache hint.
9705 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9706 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9707 support. Avoid rlwimi.
9708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9709
3be87c77
AM
97102013-10-04 Alan Modra <amodra@gmail.com>
9711
9712 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9713 insrdi. Formatting.
3be87c77
AM
9714 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9715 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9716 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9717 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9718 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9719 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9720
759cfef3
AM
97212013-10-04 Alan Modra <amodra@gmail.com>
9722
9723 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9724 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9725 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9726 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9727 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9728 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9729 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9730 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9731 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9732 use of regs. Use power7 mtocrf. Tidy function tails.
9733
fe6e95d7
AM
97342013-10-04 Alan Modra <amodra@gmail.com>
9735
9736 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9737 Formatting. Consistently use rXXX register defines or rN defines.
9738 Use early exit labels that avoid restoring unused non-volatile regs.
9739 Make cr field use more consistent with rWORDn compares. Rename
9740 regs used as shift registers for unaligned loop, using rN defines
9741 for short lifetime/multiple use regs.
9742 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9743 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9744 addi 1,1,64 to pop stack frame. Simplify return value code.
9745 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9746
664318c3
AM
97472013-10-04 Alan Modra <amodra@gmail.com>
9748
9749 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9750 support. Correct typos, formatting. Optimize tail. Use insrdi
9751 rather than rlwimi.
9752 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9753 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9754 little-endian support. Correct typos.
9755 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9756 rather than rlwimi.
9757 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9758 in loop and entry code to keep "and." results.
9759 (strchr): Add little-endian support. Comment. Move cntlzd
9760 earlier in tail.
9761 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9762
43b84013
AM
97632013-10-04 Alan Modra <amodra@gmail.com>
9764
9765 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9766 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9767 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9768 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9769
8a7413f9
AM
97702013-10-04 Alan Modra <amodra@gmail.com>
9771
9772 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9773 (rTMP): Define as r11.
9774 (strcmp): Add little-endian support. Optimise tail.
9775 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9776 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9779 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9780 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9782
33ee81de
AM
97832013-10-04 Alan Modra <amodra@gmail.com>
9784
9785 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9786 little-endian support. Remove unnecessary "are we done" tests.
9787 Handle "s" wrapping around zero and extremely large "size".
9788 Correct main loop count. Handle single left-over word from main
9789 loop inline rather than by using small_loop. Correct comments.
9790 Delete "zero" tail, use "end_max" instead.
9791 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9792
db9b4570
AM
97932013-10-04 Alan Modra <amodra@gmail.com>
9794
9795 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9796 support. Don't branch over align.
9797 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9798 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9799 support. Rearrange tmp reg use to suit. Comment.
9800 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9801
f7c399cf
AM
98022013-10-04 Alan Modra <amodra@gmail.com>
9803
9804 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9805
0b2c2ace
AM
98062013-10-04 Alan Modra <amodra@gmail.com>
9807
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9809 conditional form of branch and link when obtaining pc.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9811
02f04a6c
AM
98122013-10-04 Alan Modra <amodra@gmail.com>
9813
9814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9815 HIWORD/LOWORD.
9816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9818
9b874b2f
AM
98192013-10-04 Alan Modra <amodra@gmail.com>
9820
9821 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9822 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9823 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9824 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9825 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9826 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9827 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9828 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9829 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9830 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9831
be1e5d31
AB
98322013-10-04 Anton Blanchard <anton@au1.ibm.com>
9833 Alistair Popple <alistair@ozlabs.au.ibm.com>
9834 Alan Modra <amodra@gmail.com>
9835
9836 [BZ #15723]
9837 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9838 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9839 _dl_hwcap access for little-endian.
9840 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9841 destroy vmx regs when saving unaligned.
9842 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9843 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9844 destroy vmx regs when saving unaligned.
9845
fef13a78
AM
98462013-10-04 Alan Modra <amodra@gmail.com>
9847
9848 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9849 Don't use a union to pack hi/low value.
9850
76a66d51
AB
98512013-10-04 Anton Blanchard <anton@au1.ibm.com>
9852
9853 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9854 for little-endian.
9855 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9857 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9858 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9859 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9860
6a31fe7f
AM
98612013-10-04 Alan Modra <amodra@gmail.com>
9862
9863 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9864 constants to usual value for .cst8 section, and remove redundant
9865 high address load.
9866 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9867 constant for 0x1p52. Load little-endian words of double from
9868 correct stack offsets.
9869
7b88401f
AM
98702013-10-04 Alan Modra <amodra@gmail.com>
9871
9872 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9873 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9874 words of double from correct stack offsets.
9875 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9876 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9877 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9878 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9879 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9881 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9882 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9883 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9884 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9885 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9886 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9887 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9888 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9889 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9890 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9891 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9892
9c008155
AM
98932013-10-04 Alan Modra <amodra@gmail.com>
9894
9895 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9896 64-bit int/double union.
9897 (_FPU_SETCW): Likewise.
9898 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9899 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9900
da13146d
AM
99012013-10-04 Alan Modra <amodra@gmail.com>
9902
9903 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9904 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9905
603e8410
AM
99062013-10-04 Alan Modra <amodra@gmail.com>
9907
9908 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9909 use vector int constants.
9910 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9911
4a28b3ca
AB
99122013-10-04 Anton Blanchard <anton@au1.ibm.com>
9913
9914 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9915 array with long long.
9916 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9917 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9918 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9919 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9920 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9921 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9922 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9923 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9924 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9925 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9926 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9927 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9928 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9929
2ca85d2b
AB
99302013-10-04 Anton Blanchard <anton@au1.ibm.com>
9931
9932 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9933 (__signbit): Likewise. Correct for little-endian.
9934 (__signbitl): Call __signbit.
9935 (lrint): Correct for little-endian.
9936 (lrintf): Call lrint.
9937
62a728ae
AM
99382013-10-04 Alan Modra <amodra@gmail.com>
9939
9940 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9941 union 32-bit int array member with 64-bit int array.
9942 (t515, tm256): Double rather than long double.
9943 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9944
32c301df
AM
99452013-10-04 Alan Modra <amodra@gmail.com>
9946
9947 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9948 Delete.
9949 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9951 version of math_ldbl.h.
9952
650ef4bd
AM
99532013-10-04 Alan Modra <amodra@gmail.com>
9954
9955 [BZ #15734], [BZ #15735]
9956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9957 all uses of ieee875 long double macros and unions. Simplify test
9958 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9959 ldbl_extract_mantissa value for ix,iy exponents. Properly
9960 normalize after ldbl_extract_mantissa, and don't add hidden bit
9961 already handled. Don't treat low word of ieee854 mantissa like
9962 low word of IBM long double and mask off bit when testing for
9963 zero.
9964 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9965 all uses of ieee875 long double macros and unions. Simplify tests
9966 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9967 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9968 two1022, instead use their values. Recognise that tests for large
9969 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9970 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9971 Rewrite all uses of ieee875 long double macros and unions. Simplify
9972 test for 0.0L and nan. Correct negation.
9973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9974 ieee875 long double macros and unions. Correct output for large
9975 magnitude x. Correct absolute value calculation.
9976 (__erfcl): Likewise.
9977 * math/libm-test.inc: Add tests for errors discovered in IBM long
9978 double versions of fmodl, remainderl, erfl and erfcl.
9979
765714ca
AM
99802013-10-04 Alan Modra <amodra@gmail.com>
9981
9982 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9983 all uses of ieee854 long double macros and unions. Simplify tests
9984 for long doubles that are fully specified by the high double.
9985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9986 Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9988 Remove dead code too.
9989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9990 (__ieee754_ynl): Likewise.
9991 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9992 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9994 Remove dead code too.
9995 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9997 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9998 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9999 Simplify.
10000 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10001 Simplify.
10002 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10003 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10005 Comment on variable precision.
10006 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10008 Likewise.
10009 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10012 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10014
4ebd120c
AM
100152013-10-04 Alan Modra <amodra@gmail.com>
10016
10017 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10019 all uses of ieee854 long double macros and unions.
10020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10022 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10023 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10026 Likewise.
10027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10033 Simplify sign and nan test too.
10034 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10037 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10038 Likewise.
10039 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10040 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10041 Likewise.
10042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10043 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10044 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10045 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10048
1b6adf88
AM
100492013-10-04 Alan Modra <amodra@gmail.com>
10050
10051 * stdio-common/printf_size.c (__printf_size): Don't use
10052 union ieee854_long_double in fpnum union.
10053 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10054 signbit macro to retrieve sign from long double.
10055 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10056 retrieve sign from long double.
10057 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10058 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10059 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10060 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10061 * math/test-misc.c (main): Don't use union ieee854_long_double.
10062
4cf69995
AM
100632013-10-04 Alan Modra <amodra@gmail.com>
10064
10065 [BZ #15680]
10066 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10067 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10068 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10069 calculation. Remove unnecessary test for denormal exponent.
10070 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10071 Correct handling of denormals. Avoid undefined shift behaviour.
10072 Correct normalisation of low mantissa when low double is denormal.
10073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10074 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10075 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10076 Correct normalisation of low mantissa. Test for overflow of high
10077 mantissa and normalise.
10078 (ldbl_nearbyint): Use more readable constant for two52.
10079 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10080 (__mpn_construct_long_double): Fix test for overflow of high
10081 mantissa and correct normalisation. Avoid undefined shift.
10082
9605ca6c
AM
100832013-10-04 Alan Modra <amodra@gmail.com>
10084
10085 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10086 (union ibm_extended_long_double): Define as an array of ieee754_double.
10087 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10088 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10089 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10090 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10091 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10095 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10096 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10097 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10098
975569d0
JM
100992013-10-03 Joseph Myers <joseph@codesourcery.com>
10100
d3d23756
JM
10101 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10102 page size instead of calling getpagesize.
10103
975569d0
JM
10104 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10105 (LOCFILE_ALIGN_MASK): Likewise.
10106 (LOCFILE_ALIGN_UP): Likewise.
10107 (LOCFILE_ALIGNED_P): Likewise.
10108 * locale/programs/ld-collate.c (collate_output): Use the new
10109 macros instead of __alignof__ (int32_t).
10110 * locale/weight.h (findidx): Likewise.
10111
b1fe1f2b
OB
101122013-10-03 Ondřej Bílka <neleai@seznam.cz>
10113
10114 [BZ #431]
10115 * manual/string.texi: Fix strncat and wcsncat.
10116
5f855e35
BM
101172013-10-03 Brooks Moses <bmoses@google.com>
10118
10119 [BZ #15915]
10120 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10121 * Makerules: ...here, and adjust associated comments.
10122
3cef6009
WN
101232013-10-02 Will Newton <will.newton@linaro.org>
10124
10125 * malloc/Makefile: Add tst-pvalloc.
10126 * malloc/tst-pvalloc.c: New file.
10127
7815420b
WN
101282013-10-02 Will Newton <will.newton@linaro.org>
10129
10130 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10131 improve test coverage.
10132
4868b204
WN
101332013-10-02 Will Newton <will.newton@linaro.org>
10134
10135 * malloc/Makefile: Add tst-posix_memalign.
10136 * malloc/tst-posix_memalign.c: New file.
10137
29c793b3
EB
101382013-10-01 Eric Blake <eblake@redhat.com>
10139
10140 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10141 Use __THROWNL rather than __THROW on static functions.
10142
fd967522
PM
101432013-09-30 Petr Machata <pmachata@redhat.com>
10144
10145 * elf/elf.h (R_AARCH64_ABS16): New macro.
10146 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10147 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10148 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10149 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10150 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10151 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10152 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10153 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10154 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10155 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10156 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10157 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10158 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10159 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10160 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10161 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10162 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10163 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10164 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10165 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10166 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10167 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10168 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10169 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10170 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10171 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10172 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10173 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10174 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10175 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10176 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10177 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10178 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10179 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10180 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10181 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10182 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10183 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10184 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10185 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10186 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10187 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10188 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10189 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10190 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10191 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10192 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10193 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10194 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10195 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10196 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10197 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10198 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10199 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10200 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10201 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10202 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10203 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10204 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10205 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10206 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10207 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10208 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10209 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10210 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10211 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10212 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10213 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10214 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10215 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10216 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10217 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10218 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10219 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10220 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10221 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10222 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10223 (R_AARCH64_TLSDESC_LDR): Likewise.
10224 (R_AARCH64_TLSDESC_ADD): Likewise.
10225 (R_AARCH64_TLSDESC_CALL): Likewise.
10226
b2179107
AS
102272013-09-30 Andreas Schwab <schwab@suse.de>
10228
10229 [BZ #15048]
10230 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10231 the nss database lookup.
10232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10234
47f28d0a
MF
102352013-09-28 Mike Frysinger <vapier@gentoo.org>
10236
10237 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10238
102392013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10240
10241 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10242 ${Bash-specific parameter/pattern/string} parameter expansion.
10243 * sysdeps/unix/make-syscalls.sh: Likewise.
10244
f4518a17
KK
102452013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10246
10247 * sysdeps/sh/stackguard-macros.h: New file.
10248
dc1a95c7
OB
102492013-09-26 Ondřej Bílka <neleai@seznam.cz>
10250
10251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10253 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10254 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10255 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10256 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10257
5ebbff8f
AZ
102582013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10259
10260 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10261 Fix thread ID register.
10262
4fd2cf9f
JM
102632013-09-25 Joseph Myers <joseph@codesourcery.com>
10264
10265 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10266 [POSIX || UNIX98]: Require rather than permitting all symbols from
10267 <time.h>.
10268 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10269 element of struct sched_param.
10270 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10271 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10272 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10273 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10274 constant.
10275
12c22bc4
OL
102762013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10277
10278 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10279 argument calculation.
10280
a03d8ea7
JM
102812013-09-24 Joseph Myers <joseph@codesourcery.com>
10282
10283 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10284 Expect macro.
10285 [POSIX] (pthread_attr_t): Do not require type.
10286 [POSIX] (pthread_cond_t): Likewise.
10287 [POSIX] (pthread_condattr_t): Likewise.
10288 [POSIX] (pthread_key_t): Likewise.
10289 [POSIX] (pthread_mutex_t): Likewise.
10290 [POSIX] (pthread_mutexattr_t): Likewise.
10291 [POSIX] (pthread_once_t): Likewise.
10292 [POSIX] (pthread_t): Likewise.
10293 [POSIX-based standards] (pthread_atfork): Expect function.
10294
6055173a
JM
102952013-09-24 Joseph Myers <joseph@codesourcery.com>
10296 Richard Sandiford <richard@codesourcery.com>
10297
10298 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10299 (swap_endianness_p): New extern variable.
10300 (set_big_endian): New inline function.
10301 (maybe_swap_uint32): Likewise.
10302 (maybe_swap_uint32_array): Likewise.
10303 (maybe_swap_uint32_obstack): Likewise.
10304 * locale/programs/locfile.c: Include <stdbool.h>.
10305 (swap_endianness_p): New variable.
10306 (add_locale_uint32): Call maybe_swap_uint32.
10307 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10308 (write_locale_data): Call maybe_swap_uint32_array.
10309 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10310 maybe_swap_uint32.
10311 (obstack_int32_grow_fast): Likewise.
10312 (output_weightwc): Call maybe_swap_uint32_obstack.
10313 (collate_output): Likewise.
10314 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10315 (OPT_LITTLE_ENDIAN): Likewise.
10316 (options): Add --little-endian and --big-endian options.
10317 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10318 * locale/programs/locarchive.c: Include "locfile.h".
10319 (GET): New macro.
10320 (SET): Likewise.
10321 (INC): Likewise.
10322 (create_archive): Use the new macros to access fields of
10323 structures directly mapped from or written to locale archives.
10324 (oldlocrecentcmp): Likewise.
10325 (enlarge_archive): Likewise.
10326 (insert_name): Likewise.
10327 (add_alias): Likewise.
10328 (add_locale): Likewise.
10329 (delete_locales_from_archive): Likewise.
10330 (show_archive_content): Likewise.
10331 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10332 locale data.
10333
39bf0bb4
RM
103342013-09-24 Roland McGrath <roland@hack.frob.com>
10335
10336 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10337 http://www.gnu.org/doc/freemanuals.texi.
10338 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10339
f02eed10
WN
103402013-09-24 Will Newton <will.newton@linaro.org>
10341
10342 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10343 macro.
10344
a3a6c312
JM
103452013-09-23 Joseph Myers <joseph@codesourcery.com>
10346
10347 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10348 unsigned char.
10349
107375ac
MR
103502013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10351
10352 * manual/threads.texi (POSIX Threads): Fix a typo.
10353
141f3a77
SP
103542013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10355
303e567a
SP
10356 [BZ #14547]
10357 * string/tst-strcoll-overflow.c: New test case.
10358 * string/Makefile (xtests): Add tst-strcoll-overflow.
10359 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10360 cache if string sizes may cause integer overflow.
10361
141f3a77
SP
10362 [BZ #14547]
10363 * string/strcoll_l.c (coll_seq): New members rule, idx,
10364 save_idx and back_us.
10365 (get_next_seq_nocache): New function.
10366 (do_compare_nocache): New function.
10367 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10368 when malloc fails.
10369
c61b4d41
CD
103702013-09-23 Carlos O'Donell <carlos@redhat.com>
10371
0b1f8e35
CD
10372 [BZ #15754]
10373 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10374 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10375 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10376
c61b4d41
CD
10377 [BZ #15754]
10378 * elf/Makefile (tests): Add tst-ptrguard1.
10379 (tests-static): Add tst-ptrguard1-static.
10380 (tst-ptrguard1-ARGS): Define.
10381 (tst-ptrguard1-static-ARGS): Define.
10382 * elf/tst-ptrguard1.c: New file.
10383 * elf/tst-ptrguard1-static.c: New file.
10384 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10385 * sysdeps/i386/stackguard-macros.h: Likewise.
10386 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10387 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10388 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10389 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10390 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10391 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10392
103932013-09-23 Hector Marco <hecmargi@upv.es>
10394 Ismael Ripoll <iripoll@disca.upv.es>
10395 Carlos O'Donell <carlos@redhat.com>
10396
10397 [BZ #15754]
10398 * sysdeps/generic/stackguard-macros.h: Define
10399 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10400 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10401 Define __pointer_chk_guard_local.
10402 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10403 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10404
f5f4e7b4
VV
104052013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10406
10407 [BZ #15859]
10408 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10409
5bb43a43
AS
104102013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10411
10412 * include/string.h (__ffs): Declare as hidden.
10413 * string/ffs.c (__ffs): Define as hidden.
10414 * sysdeps/i386/ffs.c (__ffs): Likewise.
10415 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10416 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10417 * sysdeps/s390/ffs.c (__ffs): Likewise.
10418 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10419
3ea5be54
AO
104202013-09-20 Alexandre Oliva <aoliva@redhat.com>
10421
ffb89e53
AO
10422 * NEWS: Mention malloc probes.
10423
322dea08
AO
10424 * malloc/arena.c (new_heap): New memory_heap_new probe.
10425 (grow_heap): New memory_heap_more probe.
10426 (shrink_heap): New memory_heap_less probe.
10427 (heap_trim): New memory_heap_free probe.
10428 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10429 (systrim): New memory_sbrk_less probe.
10430 * manual/probes.texi: Document them.
10431
655673f3
AO
10432 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10433 * manual/probes.texi: Document it.
10434
35fed6f1
AO
10435 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10436 (__libc_realloc): Add memory_realloc_retry probe.
10437 (__libc_memalign): Add memory_memalign_retry probe.
10438 (__libc_valloc): Add memory_valloc_retry probe.
10439 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10440 (__libc_calloc): Add memory_calloc_retry probe.
10441 * manual/probes.texi: Document them.
10442
6999d38c
AO
10443 * malloc/arena.c (get_free_list): Add probe
10444 memory_arena_reuse_free_list.
10445 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10446 and memory_arena_reuse.
10447 (arena_get2) [!PER_THREAD]: Likewise.
10448 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10449 memory_arena_reuse_realloc.
10450 * manual/probes.texi: Document them.
10451
0653427f
AO
10452 * malloc/malloc.c (__libc_free): Add
10453 memory_mallopt_free_dyn_thresholds probe.
10454 (__libc_mallopt): Add multiple memory_mallopt probes.
10455 * manual/probes.texi: Document them.
10456
3ea5be54
AO
10457 * malloc/malloc.c: Include stap-probe.h.
10458 (__libc_mallopt): Add memory_mallopt probe.
10459 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10460 * manual/probes.texi: New.
10461 * manual/Makefile (chapters): Add probes.
10462 * manual/threads.texi: Set next node.
10463
e35696c3 104642013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10465
e35696c3
CL
10466 [BZ #15963, #13985]
10467 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10468 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10469 Add `Chinese' to `nan' entry name.
10470
4aafb73c
SP
104712013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10472
10473 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10474 (POLYNOMIAL): Likewise.
10475 (TAYLOR_SINCOS): Likewise.
10476 (TAYLOR_SLOW): Likewise.
10477 (__sin): Use TAYLOR_SINCOS.
10478 (__cos): Likewise.
10479 (slow): Use TAYLOR_SLOW.
10480 (sloww): Likewise.
10481 (bsloww): Likewise.
10482 (csloww): Likewise.
10483
d84f25c7
LD
104842013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10485
10486 * stdlib/strtod_l.c: Fix buffer overrun.
10487
5eea0404
SP
104882013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10489
7849ff93
SP
10490 * benchtests/Makefile (bench): Add sincos.
10491 * benchtests/bench-sincos.c: New file.
10492
cfa3c886
SP
10493 * math/libm-test.inc (cos_test_data): New test inputs.
10494 (sin_test_data): Likewise.
10495
b348e1e3
SP
10496 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10497 macro.
10498 (__sin): Use it.
10499 (__cos): Likewise.
10500 (slow1): Likewise.
10501 (slow2): Likewise.
10502 (sloww1): Likewise.
10503 (sloww2): Likewise.
10504 (bsloww1): Likewise.
10505 (bsloww2): Likewise.
10506 (cslow2): Likewise.
10507 (csloww1): Likewise.
10508 (csloww2): Likewise.
10509
6cce25f8
SP
10510 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10511 function.
10512 (__sin): Use it.
10513 (__cos): Likewise.
10514
5eea0404
SP
10515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10516 gotos.
10517 (__cos): Likewise.
10518
9c21573c
MR
105192013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10520
10521 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10522 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10523 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10524 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10525 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10526 * elf/cache.c (print_entry): Handle the new cache flags.
10527
24d22e65
JM
105282013-09-18 Joseph Myers <joseph@codesourcery.com>
10529 Aldy Hernandez <aldyh@redhat.com>
10530
10531 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10532 Change condition to [_SOFT_FLOAT].
10533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10545 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10548 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10549 declaration.
10550
d13ef066
JM
105512013-09-18 Joseph Myers <joseph@codesourcery.com>
10552
2e071de0
JM
10553 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10554 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10555 (__longjmp): Use LOAD_GP to load saved GPRs.
10556 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10557 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10558 (__sigsetjmp): Use SAVE_GP to save GPRs.
10559
d13ef066
JM
10560 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10561 Do not append -msoft-float.
10562 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10563
97a0650b
SP
105642013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10565
10566 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10567
11ca09e9
JM
105682013-09-17 Joseph Myers <joseph@codesourcery.com>
10569
10570 [BZ #15966]
10571 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10572 (_FPU_GETCW): Use initial "__" on variable and field names but not
10573 on macro parameter name.
10574 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10575 parentheses around reference to macro parameter.
10576
08ffcf34
RS
105772013-09-13 Richard Sandiford <richard@codesourcery.com>
10578
10579 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10580 prototype.
10581 (ctype_startup): Use uint32_t in cast and sizeof for
10582 ctype->charnames.
10583
ae7080d3
JL
105842013-09-11 Jia Liu <proljc@gmail.com>
10585
10586 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10587 __daddr_t_defined.
10588 [__FreeBSD__]: Likewise.
10589
5905e7b3
OB
105902013-09-11 Ondřej Bílka <neleai@seznam.cz>
10591
10592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10593 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10594 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10595 (strchr): Remove __strchr_sse42 ifunc selection.
10596 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10597 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10598
b987c776
WN
105992013-09-11 Will Newton <will.newton@linaro.org>
10600
10601 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10602 parameter to RES. Remove hardcoded 1000 value.
10603 * benchtests/bench-skeleton.c (main): Pass RES parameter
10604 to TIMING_INIT and multiply result by 1000.
10605
ddf985af
AZ
106062013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10607
10608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10609
ffdd3181
AS
106102013-09-11 Andreas Schwab <schwab@suse.de>
10611
10612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10613 if not defined.
10614 (O_TMPFILE) [__USE_GNU]: Define.
10615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10616 Define.
10617
b73ed247
WN
106182013-09-11 Will Newton <will.newton@linaro.org>
10619
10620 [BZ #15857]
10621 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10622 does not overflow.
10623
55e17aad
WN
106242013-09-11 Will Newton <will.newton@linaro.org>
10625
10626 [BZ #15856]
10627 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10628 does not overflow.
10629
1159a193
WN
106302013-09-11 Will Newton <will.newton@linaro.org>
10631
10632 [BZ #15855]
10633 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10634 does not overflow.
10635
5905e7b3 106362013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10637
10638 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10639 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10640 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10641 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10643
cdfc721b
AM
106442013-09-10 Allan McRae <allan@archlinux.org>
10645
aa04af00
AM
10646 [BZ #15748]
10647 * manual/arith.texi (Parsing of Floats): Clarify
10648 cross-reference.
10649
cdfc721b
AM
10650 [BZ #15849]
10651 * manual/install.texi (Running make install): Mention
10652 --enable-pt-chown.
10653 * INSTALL: Regenerated.
10654
95e7cf29
MR
106552013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10656
10657 * csu/init-first.c (_init): Remove the !SHARED condition around
10658 FPU control word initialization.
10659 * elf/dl-support.c (_dl_fpu_control): New variable.
10660 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10661 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10662 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10663 * math/test-fpucw-static.c: New file.
10664 * math/test-fpucw-ieee.c: New file.
10665 * math/test-fpucw-ieee-static.c: New file.
10666 * math/Makefile (tests): Add `test-fpucw-ieee' and
10667 `$(tests-static)'.
10668 (tests-static): New variable.
10669 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10670 dependency to...
10671 [($(build-shared),yes)]
10672 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10673 ... this.
10674 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10675 New dependency.
10676
83e43bf0
AM
106772013-09-09 Allan McRae <allan@archlinux.org>
10678
a9f5ce09
AM
10679 [BZ #15939]
10680 * manual/string.texi (Collation Functions): Fix typo in
10681 strcoll example.
10682 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10683
34829bc2
AM
10684 [BZ #15893]
10685 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10686
3932737d
AM
10687 [BZ #15892]
10688 * libio/memstream.c (open_memstream): Fix memory leak.
10689 * libio/wmemstream.c (open_wmemstream): Likewise.
10690
83e43bf0
AM
10691 [BZ #15895]
10692 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10693
0c66b8e9
WN
106942013-09-09 Will Newton <will.newton@linaro.org>
10695
10696 * malloc/Makefile: Add tst-realloc to tests.
10697 * malloc/tst-realloc.c: New file.
10698
f6b00fd1
AM
106992013-09-09 Allan McRae <allan@archlinux.org>
10700
10701 [BZ #15844]
10702 * COPYING: Update from GNU website to fix FSF address.
10703 * COPYING.LIB: Likewise.
10704
eec55e16
DM
107052013-09-06 David S. Miller <davem@davemloft.net>
10706
10707 * po/zh_TW.po: Update Chinese (traditional) translation from
10708 translation project.
10709
1ecbb381
RS
107102013-09-06 Richard Sandiford <richard@codesourcery.com>
10711 Joseph Myers <joseph@codesourcery.com>
10712
10713 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10714 "localeinfo.h".
10715 (obstack_chunk_alloc): New macro.
10716 (obstack_chunk_free): Likewise.
10717 (record_offset): New function.
10718 (init_locale_data): Likewise.
10719 (align_locale_data): Likewise.
10720 (add_locale_empty): Likewise.
10721 (add_locale_raw_data): Likewise.
10722 (add_locale_raw_obstack): Likewise.
10723 (add_locale_string): Likewise.
10724 (add_locale_wstring): Likewise.
10725 (add_locale_uint32): Likewise.
10726 (add_locale_uint32_array): Likewise.
10727 (add_locale_char): Likewise.
10728 (start_locale_structure): Likewise.
10729 (end_locale_structure): Likewise.
10730 (start_locale_prelude): Likewise.
10731 (end_locale_prelude): Likewise.
10732 (write_locale_data): Take locale_file structure rather than an
10733 iovec.
10734 * locale/programs/locfile.h: Include "obstack.h".
10735 (struct locale_file): Change to store locale file contents instead
10736 of header.
10737 (init_locale_data): New prototype.
10738 (align_locale_data): Likewise.
10739 (add_locale_empty): Likewise.
10740 (add_locale_raw_data): Likewise.
10741 (add_locale_raw_obstack): Likewise.
10742 (add_locale_string): Likewise.
10743 (add_locale_wstring): Likewise.
10744 (add_locale_uint32): Likewise.
10745 (add_locale_uint32_array): Likewise.
10746 (add_locale_char): Likewise.
10747 (start_locale_structure): Likewise.
10748 (end_locale_structure): Likewise.
10749 (start_locale_prelude): Likewise.
10750 (end_locale_prelude): Likewise.
10751 (write_locale_data): Update prototype.
10752 * locale/programs/3level.h (struct TABLE): Remove result field.
10753 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10754 Use new locale_file interface.
10755 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10756 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10757 * locale/programs/ld-address.c (address_output): Use new
10758 locale_file interface.
10759 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10760 NO_ADD_LOCALE.
10761 (collate_finish): Don't call collseq_table_finalize.
10762 (collate_output): Use new locale_file interface.
10763 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10764 in file.
10765 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10766 (TABLE): Move defines earlier in file.
10767 (ELEMENT): Likewise.
10768 (DEFAULT): Likewise.
10769 (wctrans_table_add): Move macro and inline function earlier in
10770 file.
10771 (struct wctype_table): Move type earlier in file.
10772 (add_locale_wctype_table): New static prototype.
10773 (struct locale_ctype_t): Use logical types instead of struct iovec
10774 pointers for members.
10775 (ctype_output): Use new locale_file interface.
10776 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10777 new locale_file interface.
10778 (allocate_arrays): Update for use of new locale_file interface.
10779 * locale/programs/ld-identification.c (identification_output): Use
10780 new locale_file interface.
10781 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10782 * locale/programs/ld-messages.c (messages_output): Likewise.
10783 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10784 * locale/programs/ld-name.c (name_output): Likewise.
10785 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10786 * locale/programs/ld-paper.c (paper_output): Likewise.
10787 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10788 * locale/programs/ld-time.c (time_output): Likewise.
10789
e029e2e5
AZ
107902013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10791
10792 * benchtests/Makefile: Add memrchr benchmark.
10793 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10794 benchmark as memrchr.
10795 * benchtests/bench-memrchr-ifunc.c: New file.
10796 * benchtests/bench-memrchr.c: New file.
10797
bbf6e8e4
WN
107982013-09-06 Will Newton <will.newton@linaro.org>
10799
10800 * benchtests/Makefile (string-bench): Add memcpy.
10801
6c82a2f8
CD
108022013-09-05 Carlos O'Donell <carlos@redhat.com>
10803 Cong Wang <amwang@redhat.com>
10804
e732c5f0 10805 [BZ #15850]
6c82a2f8
CD
10806 * sysdeps/unix/sysv/linux/bits/in.h
10807 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10808 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10809 before __USE_KERNEL_IPV6_DEFS uses.
10810 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10811 IPPROTO_BEETPH.
10812 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10813 sockaddr_in6, or ipv6_mreq.
10814
5430fc65
AZ
108152013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10816
10817 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10818 memory access for final bytes in some large inputs.
10819 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10820
4660856c
AZ
108212013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10822
10823 * string/test-memrchr.c: New file.
10824 * string/test-memrchr-ifunc.c: New file.
10825 * string/Makefile: Add new memrchr testcase.
10826
bb8ea713
MF
108272013-09-05 Mike Frysinger <vapier@gentoo.org>
10828
10829 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10830 fanotify_init returns EPERM.
10831
b92a20b5
JM
108322013-09-04 Joseph Myers <joseph@codesourcery.com>
10833
10834 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10835 errors.
10836 (top level): Treat second token from macro or constant entries for
10837 allowed headers as allowed.
10838 * include/complex.h: Condition internal declarations on
10839 [!_ISOMAC].
10840 * include/fenv.h: Condition include of <stdbool.h> and internal
10841 declarations on [!_ISOMAC].
7447ccd9
CL
10842
108432013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10844
3e181dda 10845 [BZ #15923]
7447ccd9
CL
10846 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10847
3f2e46a4
JM
108482013-09-04 Joseph Myers <joseph@codesourcery.com>
10849
10850 * configure.in (--enable-versioning): Remove configure option.
10851 (libc_cv_asm_symver_directive): Remove configure test.
10852 (libc_cv_ld_version_script_option): Likewise.
10853 (VERSIONING): Remove variable and AC_SUBST.
10854 (DO_VERSIONING): Remove AC_DEFINE.
10855 * configure: Regenerated.
10856 * config.h.in (DO_VERSIONING): Remove macro.
10857 * Makerules [$(versioning) = yes]: Change conditionals to
10858 [$(build-shared) = yes].
10859 * config.make.in (versioning): Remove variable.
10860 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10861 [$(build-shared) = yes].
10862 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10863 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10864 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10865 [$(build-shared) = yes].
10866 * extra-lib.mk [$(versioning) = yes]: Likewise.
10867 * hurd/Makefile [$(versioning) = yes]: Likewise.
10868 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10869 [SHARED].
10870 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10871 [SHARED].
10872 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10873 [SHARED && !NO_HIDDEN].
10874 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10875 [SHARED].
10876 [SHARED && DO_VERSIONING]: Likewise..
10877 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10878 [$(build-shared) = yes].
10879 * manual/install.texi (--disable-versioning): Remove
10880 documentation.
10881 * INSTALL: Regenerated.
10882 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10883 to [SHARED].
10884 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10885 [$(build-shared) = yes].
10886 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10887 * sysdeps/i386/i686/multiarch/strstr-c.c
10888 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10889 [SHARED && !NO_HIDDEN].
10890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10891 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10892 * sysdeps/powerpc/powerpc32/dl-machine.c
10893 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10894 * sysdeps/powerpc/powerpc32/sysdep.h
10895 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10896 to [SHARED && PIC && !NO_HIDDEN].
10897 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10898 conditional to [SHARED].
10899
44558701
WN
109002013-09-04 Will Newton <will.newton@linaro.org>
10901
10902 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10903 * benchtests/bench-string.h: Include bench-timing.h instead
10904 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10905 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10906 call to HP_TIMING_DIFF_INIT.
10907 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10908 instead of hp-timing.h macros.
10909 * benchtests/bench-memchr.c: Likewise.
10910 * benchtests/bench-memcmp.c: Likewise.
10911 * benchtests/bench-memcpy.c: Likewise.
10912 * benchtests/bench-memmem.c: Likewise.
10913 * benchtests/bench-memmove.c: Likewise.
10914 * benchtests/bench-memset.c: Likewise.
10915 * benchtests/bench-rawmemchr.c: Likewise.
10916 * benchtests/bench-strcasecmp.c: Likewise.
10917 * benchtests/bench-strcasestr.c: Likewise.
10918 * benchtests/bench-strcat.c: Likewise.
10919 * benchtests/bench-strchr.c: Likewise.
10920 * benchtests/bench-strcmp.c: Likewise.
10921 * benchtests/bench-strcpy.c: Likewise.
10922 * benchtests/bench-strcpy_chk.c: Likewise.
10923 * benchtests/bench-strlen.c: Likewise.
10924 * benchtests/bench-strncasecmp.c: Likewise.
10925 * benchtests/bench-strncat.c: Likewise.
10926 * benchtests/bench-strncmp.c: Likewise.
10927 * benchtests/bench-strncpy.c: Likewise.
10928 * benchtests/bench-strnlen.c: Likewise.
10929 * benchtests/bench-strpbrk.c: Likewise.
10930 * benchtests/bench-strrchr.c: Likewise.
10931 * benchtests/bench-strspn.c: Likewise.
10932 * benchtests/bench-strstr.c: Likewise.
10933
cae16d66
WN
109342013-09-04 Will Newton <will.newton@linaro.org>
10935
10936 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10937
ffa3cd7f
JM
109382013-09-03 Joseph Myers <joseph@codesourcery.com>
10939
10940 [BZ #15427]
10941 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10942 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10943 * math/libm-test.inc (lgamma_test_data): Add more tests.
10944 * sysdeps/i386/fpu/libm-test-ulps: Update.
10945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10946
8f02859f
OB
109472013-09-03 Ondřej Bílka <neleai@seznam.cz>
10948
10949 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10951 Add ifunc.
10952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10953 Add strcmp-sse2-unaligned
10954 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10955
18d43716
MF
109562013-09-02 Mike Frysinger <vapier@gentoo.org>
10957
10958 * Versions.def (libc): Add GLIBC_2.19.
10959
ac444012
MF
109602013-09-02 Mike Frysinger <vapier@gentoo.org>
10961
10962 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10963 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10964
b7835e32
JM
109652013-09-02 Joseph Myers <joseph@codesourcery.com>
10966
10967 [BZ #14155]
10968 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10969 intermediate calculations in recurrence.
10970 (__ieee754_ynf): Likewise.
10971 * math/libm-test.inc (jn_test_data): Do not allow spurious
10972 underflow exception. Add more tests.
10973 (yn_test_data): Add more tests.
10974 * sysdeps/i386/fpu/libm-test-ulps: Update.
10975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10976
8220f4f0
OB
109772013-09-02 Ondřej Bílka <neleai@seznam.cz>
10978
10979 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10980
f24a6d08
OB
109812013-08-30 Ondřej Bílka <neleai@seznam.cz>
10982
10983 * csu/init-first.c: Fix then/than typos.
10984 * locale/programs/ld-collate.c: Likewise.
10985 * locale/programs/linereader.h: Likewise.
10986 * manual/charset.texi: Likewise.
10987 * manual/filesys.texi: Likewise.
10988 * manual/stdio.texi: Likewise.
10989 * manual/string.texi: Likewise.
10990 * stdlib/fmtmsg.c: Likewise.
10991 * sysdeps/i386/stpncpy.S: Likewise.
10992 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10993 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10994 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10995 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10996
382466e0
OB
109972013-08-30 Ondřej Bílka <neleai@seznam.cz>
10998
10999 * elf/dl-open.c: Fix typos.
11000 * iconvdata/gbbig5.c: Likewise.
11001 * iconvdata/iso-2022-jp.c: Likewise.
11002 * iconv/gconv_int.h: Likewise.
11003 * iconv/loop.c: Likewise.
11004 * nis/rpcsvc/nis.h: Likewise.
11005 * resolv/ns_name.c: Likewise.
11006 * stdio-common/vfscanf.c: Likewise.
11007 * streams/stropts.h: Likewise.
11008 * sunrpc/rpc_thread.c: Likewise.
11009 * sysdeps/i386/strpbrk.S: Likewise.
11010 * sysdeps/ieee754/k_standard.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11013 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11014 * sysdeps/mach/hurd/profil.c: Likewise.
11015 * sysdeps/s390/dl-procinfo.h: Likewise.
11016 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11017 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11018 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11019 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11020 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11021
0186c6e9
OB
110222013-08-30 Ondřej Bílka <neleai@seznam.cz>
11023
11024 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11026
d4e16af1
OB
110272013-08-29 Ondřej Bílka <neleai@seznam.cz>
11028
11029 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11030 aix specific files.
11031 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11032 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11033 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11034 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11036 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11037 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11038 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11039
88335980
TS
110402013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11041 Roland McGrath <roland@hack.frob.com>
11042
11043 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11044 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11045
ed479b02
ST
110462013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11047
11048 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11049 __executable_start symbol instead of _start.
11050
f1cc4c86
TS
110512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11052
d821f07c
TS
11053 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11054 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11055 Move macros to...
11056 * sysdeps/gnu/ldsodefs.h: ... this new file.
11057
c54290cf
TS
11058 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11059 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11060 instead of ELFOSABI_LINUX.
11061
0007fc9b 11062 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11063 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11064 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11065 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11066 Likewise.
11067 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11068 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11069 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11070 Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11072 (ibm_extended_long_double): Add ieee_nan member.
11073 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11074 (do_test): New function.
11075
f1cc4c86
TS
11076 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11077 TEST_TRUNC.
11078 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11079 functions, renamed from truncdfsf_test, trunctfsf_test,
11080 trunctfdf_test.
11081 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11082 functions.
11083 (do_test): Run all these.
11084
6f65e668
OB
110852013-08-29 Ondřej Bílka <neleai@seznam.cz>
11086
11087 * argp/argp-help.c: Fix typos.
11088 * argp/argp-parse.c: Likewise.
11089 * debug/backtracesyms.c: Likewise.
11090 * elf/elf.h: Likewise.
11091 * malloc/malloc.c: Likewise.
11092 * nis/nis_print.c: Likewise.
11093 * resolv/res_comp.c: Likewise.
11094 * stdlib/stdlib.h: Likewise.
11095 * sunrpc/clnt_tcp.c: Likewise.
11096 * sunrpc/clnt_udp.c: Likewise.
11097 * sunrpc/clnt_unix.c: Likewise.
11098 * sysdeps/unix/bsd/ptsname.c: Likewise.
11099 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11102 Likewise.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11104 Likewise.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11106 Likewise.
6f65e668
OB
11107 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11108
3a309239
SP
111092013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11110
11111 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11113
3b813b29
MF
111142013-08-27 Mike Frysinger <vapier@gentoo.org>
11115
11116 [BZ #15897]
11117 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11118 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11119 ($(objpfx)bug-dl-leaf): New rule.
11120 ($(objpfx)bug-dl-leaf.so): Likewise.
11121 ($(objpfx)bug-dl-leaf.out): Likewise.
11122 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11123 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11124 * dlfcn/bug-dl-leaf.c: New test.
11125 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11126 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11127 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11128 (dlclose): Likewise.
11129 (dlmopen): Likewise.
11130
8cc3269f
RM
111312013-08-27 Roland McGrath <roland@hack.frob.com>
11132
7f9d0034
RM
11133 * include/netdb.h [!_ISOMAC]:
11134 Don't include <tls.h>.
11135 (h_errno, __libc_h_errno): Move declaration and macros out of
11136 [_LIBC_REENTRANT].
11137
fb431262
RM
11138 * include/resolv.h [_RESOLV_H_]:
11139 Don't include <tls.h>.
11140 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11141 * resolv/res_libc.c: Don't include <tls.h>.
11142 (_res): Use __attribute__ ((nocommon)) in place of
11143 __attribute__ ((section (".bss"))).
11144
bd81123a
RM
11145 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11146 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11147
c4e42566
RM
11148 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11149
f890a59b
RM
11150 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11151 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11152
11153 * resolv/res_mkquery.c: Include <sys/time.h>.
11154
5d1f0a09
RM
11155 * inet/ifreq.c: Moved to ...
11156 * sysdeps/unix/ifreq.c: ... here.
11157 * inet/ifreq.c: New file, true stub version.
11158
6fcf28b3
RM
11159 * socket/sa_len.c: New file.
11160 * socket/Makefile (aux): Add it.
11161 * sysdeps/unix/sysv/linux/Makefile
11162 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11163 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11164 and #include <socket/sa_len.c>.
11165 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11166 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11167
e041fb8b
RM
11168 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11169 * bits/socket.h: ... here.
11170
8cc3269f
RM
11171 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11172 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11173 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11174
5d228a43
AS
111752013-08-27 Andreas Schwab <schwab@suse.de>
11176
45b8accc
AS
11177 [BZ #15736]
11178 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11179 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11180 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11181 * string/test-strcasecmp.c (test_main): Run tests in several
11182 locales.
11183 * string/test-strncasecmp.c (test_main): Likewise.
11184
5d228a43
AS
11185 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11186 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11187 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11189 (__strncasecmp_ssse3) [PIC]: Likewise.
11190
59d112a4
RM
111912013-08-26 Roland McGrath <roland@hack.frob.com>
11192
53234cc3
RM
11193 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11194
59d112a4
RM
11195 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11196 instead of explicitly declaring xdecrypt.
11197 * nis/nss_nis/nis-publickey.c: Likewise.
11198
595aba70
SP
111992013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11200
11201 [BZ #15890]
11202 * nscd/aicache.c: Include res_hconf.h.
11203 (addhstaiX): Initialize res_hconf.
11204
ffabd393
AS
112052013-08-26 Andreas Schwab <schwab@suse.de>
11206
11207 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11208 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11209
e0a69f5c
SP
112102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11211
11212 * nscd/aicache.c (addhstaiX): Fix indentation.
11213
8c12f01d
MF
112142013-08-25 Mike Frysinger <vapier@gentoo.org>
11215
11216 * configure.ac: Quote $build_pt_chown test.
11217 * configure: Regenerated.
11218
8fe89494
JM
112192013-08-23 Joseph Myers <joseph@codesourcery.com>
11220
11221 [BZ #15532]
11222 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11223 * math/s_cexpf.c (__cexpf): Likewise.
11224 * math/s_cexpl.c (__cexpl): Likewise.
11225 * math/libm-test.inc (cexp_test_data): Correct expected return
11226 value for NaN + i0. Add another test.
11227
75b181d6
DM
112282013-08-22 David S. Miller <davem@davemloft.net>
11229
11230 * po/ca.po: Update Catalan translation from translation project.
936241e4 11231 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11232
acd06bb1
JM
112332013-08-21 Joseph Myers <joseph@codesourcery.com>
11234
11235 [BZ #15797]
11236 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11237 is infinite, not alongside NaN test.
11238 * math/s_fdimf.c (__fdimf): Likewise.
11239 * math/s_fdiml.c (__fdiml): Likewise.
11240 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11241 errno is unchanged.
11242
c0c3f78a
OB
112432013-08-21 Ondřej Bílka <neleai@seznam.cz>
11244
11245 * argp/argp-help.c: Fix typos.
11246 * crypt/speeds.c: Likewise.
11247 * csu/check_fds.c: Likewise.
11248 * elf/dl-load.c: Likewise.
11249 * elf/dl-open.c: Likewise.
11250 * elf/reldep3.c: Likewise.
11251 * elf/reldep.c: Likewise.
11252 * elf/sprof.c: Likewise.
11253 * iconv/iconv_charmap.c: Likewise.
11254 * iconv/skeleton.c: Likewise.
11255 * iconv/strtab.c: Likewise.
11256 * io/lockf64.c: Likewise.
11257 * libio/libioP.h: Likewise.
11258 * resolv/gai_notify.c: Likewise.
11259 * resolv/ns_name.c: Likewise.
11260 * resolv/ns_samedomain.c: Likewise.
11261 * resolv/res_send.c: Likewise.
11262 * stdlib/random.c: Likewise.
11263 * sunrpc/rpc/xdr.h: Likewise.
11264 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11265 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11266 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11267 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11268 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11272 * sysdeps/mach/hurd/check_fds.c: Likewise.
11273 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11274 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11276 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11277 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11278 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11279 * sysdeps/pthread/aio_notify.c: Likewise.
11280 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11281 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11282 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11284 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11285
46ed1038
LD
112862013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11287
11288 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11289 version if bit_Slow_SSE4_2 is set.
11290 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11291 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11292
d400dcac
AZ
112932013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11294
11295 [BZ #15867]
11296 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11297 trampoline stack frame information.
11298 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11299 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11300 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11301 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11302 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11303 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11304 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11305 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11306 sa_flags value.
11307 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11308 interrupting a syscall and set with option SA_SIGINFO.
11309
42c8fdd8
JM
113102013-08-20 Joseph Myers <joseph@codesourcery.com>
11311
c980f2f4
JM
11312 [BZ #15531]
11313 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11314 argument is infinite.
11315 * math/s_cprojf.c (__cprojf): Likewise.
11316 * math/s_cprojl.c (__cprojl): Likewise.
11317 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11318 * math/libm-test.inc (cproj_test_data): Add more tests.
11319
0716c4fc
JM
11320 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11321
42c8fdd8
JM
11322 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11323 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11324 size. Use __ffs to determine corresponding shift.
11325
b31469d0
JM
113262013-08-20 Joseph Myers <joseph@codesourcery.com>
11327 Roland McGrath <roland@hack.frob.com>
11328
11329 * Makefile (INSTALL): Remove trailing blank lines from output of
11330 makeinfo.
11331
4e39af6e
AK
113322013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11333
11334 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11335 Align 32 bit compat elf_greg to 8 bytes.
11336
f315524e
AA
113372013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11338
11339 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11340
1326ba1a
SP
113412013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11342
11343 * string/strcoll_l.c (coll_seq): New structure.
11344 (get_next_seq_cached): New function.
11345 (get_next_seq): New function.
11346 (do_compare): New function.
11347 (STRCOLL): Use GNU style definition. Simplify implementation
11348 by using get_next_seq, get_next_seq_cached and do_compare.
11349
91ce4085
FW
113502013-08-16 Florian Weimer <fweimer@redhat.com>
11351
11352 [BZ #14699]
11353 CVE-2013-4237
11354 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11355 member.
11356 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11357 member.
11358 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11359 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11360 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11361 conditional.
11362 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11363 GETDENTS_64BIT_ALIGNED.
11364 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11365 * manual/filesys.texi (Reading/Closing Directory): Document
11366 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11367 strongly.
11368 * manual/conf.texi (Limits for Files): Add portability note to
11369 NAME_MAX, PATH_MAX.
11370 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11371
ca0a6bc4
AS
113722013-08-13 Andreas Schwab <schwab@suse.de>
11373
11374 [BZ #15749]
11375 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11376 of fabs.
11377 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11378 LDBL_MAX_EXP >= 16384]: Add tests for it.
11379
6c1fd795
DM
113802013-08-12 David S. Miller <davem@davemloft.net>
11381
11382 * version.h (RELEASE): Set to "development".
11383 (VERSION): Set to "2.18.90".
11384 * NEWS: Add 2.19 section.
11385
31ad488d
DM
113862013-08-03 David S. Miller <davem@davemloft.net>
11387
11388 * po/ko.po: Update Korean translation from translation project.
11389
db24e684
DM
113902013-08-01 David S. Miller <davem@davemloft.net>
11391
11392 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11393 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11394 Bilka.
11395
f723285b
DM
113962013-07-30 David S. Miller <davem@davemloft.net>
11397
11398 * po/fr.po: Update French translation from translation project.
11399
3cbc52db
DM
114002013-07-28 David S. Miller <davem@davemloft.net>
11401
30bbc0cc
DM
11402 * po/cs.po: Update Czech translation from translation project.
11403
3cbc52db
DM
11404 * po/sv.po: Update Swedish translation from translation project.
11405
d492e6d0
DM
114062013-07-27 David S. Miller <davem@davemloft.net>
11407
f1a7f492
DM
11408 * po/eo.po: Update Esperanto translation from translation project.
11409
90e62a4a
DM
11410 * po/vi.po: Update Vietnamese translation from translation project.
11411
d492e6d0
DM
11412 * po/de.po: Update German translation from translation project.
11413
d4baa62d
DM
114142013-07-26 David S. Miller <davem@davemloft.net>
11415
641aa7b4
DM
11416 * po/bg.po: Update Bulgarian translation from translation project.
11417
d4baa62d
DM
11418 * po/nl.po: Update Dutch translation from translation project.
11419 * po/pl.po: Update Polish translation from translation project.
11420 * po/ru.po: Update Russian translation from translation project.
11421
61a9dcb9
DM
114222013-07-24 David S. Miller <davem@davemloft.net>
11423
11424 * po/libc.pot: Update.
11425
7b1f8b58
AZ
114262013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11427
11428 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11429 variable page size.
11430 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11431 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11432 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11433
a8fc7a03
AK
114342013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11435
11436 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11437
e4608715
CD
114382013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11439 Andreas Schwab <schwab@suse.de>
11440 Roland McGrath <roland@hack.frob.com>
11441 Joseph Myers <joseph@codesourcery.com>
11442 Carlos O'Donell <carlos@redhat.com>
11443
11444 [BZ #15755]
11445 * config.h.in: Define HAVE_PT_CHOWN.
11446 * config.make.in (build-pt-chown): New variable.
11447 * configure.in (--enable-pt_chown): New configure option.
11448 * configure: Regenerate.
11449 * login/Makefile: Include Makeconfig. Build pt_chown only if
11450 build-pt-chown is enabled.
11451 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11452 pt_chown to fix pty ownership.
11453 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11454 CLOSE_ALL_FDS.
11455 * manual/install.texi (Configuring and compiling): Mention
11456 --enable-pt_chown. Add @findex for grantpt.
11457 * INSTALL: Regenerate.
11458
da2d62df
DM
114592013-07-20 David S. Miller <davem@davemloft.net>
11460
11461 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11462 difference between 32-bit and 64-bit.
11463
d7e06450
CD
114642013-07-15 Carlos O'Donell <carlos@redhat.com>
11465
11466 [BZ #15711]
11467 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11468 Avoid system header dependency with -ffreestanding.
11469 ($(objpfx)bits/syscall%d): Likewise.
11470
f959cfd7
DM
114712013-07-13 David S. Miller <davem@davemloft.net>
11472
11473 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11474 underflows from atanl/atan2l due to bug 15319.
11475 (casinh_test_data): Likewise.
11476
c61f8513
DM
114772013-07-07 David S. Miller <davem@davemloft.net>
11478
11479 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11480
72c90ed0
JA
114812013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11482
11483 * sysdeps/i386/fpu/libm-test-ulps: Update.
11484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11485
52dfbe13
SP
114862013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11487
11488 * configure.in (--enable-lock-elision): Fix message text.
11489 * INSTALL: Regenerate.
11490 * configure: Regenerate.
11491
3f169543
AZ
114922013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11493
11494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11495
521c6785
AJ
114962013-07-03 Andreas Jaeger <aj@suse.de>
11497
11498 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11499 define.
11500 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11501 (ptrace_peeksiginfo_args): Add.
11502 (__ptrace_peeksiginfo_flags): Add.
11503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11504 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11506
d2cc15cb
AM
115072013-07-03 Allan McRae <allan@archlinux.org>
11508
11509 * sysdeps/i386/fpu/libm-test-ulps: Update.
11510
3aaeeca7
DM
115112013-07-02 David S. Miller <davem@davemloft.net>
11512
11513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11514
5314ed1a
MT
115152013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11516
11517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11518
67338156
JM
115192013-07-02 Joseph Myers <joseph@codesourcery.com>
11520
11521 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11523
1717da59
AK
115242013-07-02 Andi Kleen <ak@linux.intel.com>
11525
11526 * config.h.in (ENABLE_LOCK_ELISION): Add.
11527 * configure.in (--enable-lock-elision): Add option.
11528 * manual/install.texi: Document --enable lock elision.
11529 * configure: Regenerate
11530 * INSTALL: Regenerate.
11531
1c81621c
L
115322013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11533
11534 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11535 SSE4.2 strcasecmp for libc.a.
11536 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11537
77f01ab5
JM
115382013-07-02 Joseph Myers <joseph@codesourcery.com>
11539
11540 [BZ #13304]
11541 * soft-fp/op-common.h (_FP_FMA): New macro.
11542 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11543 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11544 (_FP_MUL_MEAT_1_imm): ... here.
11545 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11546 (_FP_MUL_MEAT_1_wide): ... here.
11547 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11548 (_FP_MUL_MEAT_1_hard): ... here.
11549 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11550 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11551 (_FP_MUL_MEAT_2_wide): ... here.
11552 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11553 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11554 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11555 (_FP_MUL_MEAT_2_gmp): ... here.
11556 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11557 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11558 (_FP_MUL_MEAT_4_wide): ... here.
11559 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11560 (_FP_MUL_MEAT_4_gmp): ... here.
11561 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11562 (_FP_WFRACBITS_DW_S): Likewise.
11563 (_FP_WFRACXBITS_DW_S): Likewise.
11564 (_FP_HIGHBIT_DW_S): Likewise.
11565 (FP_FMA_S): Likewise.
11566 (_FP_FRAC_HIGH_DW_S): Likewise.
11567 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11568 (_FP_WFRACBITS_DW_D): Likewise.
11569 (_FP_WFRACXBITS_DW_D): Likewise.
11570 (_FP_HIGHBIT_DW_D): Likewise.
11571 (FP_FMA_D): Likewise.
11572 (_FP_FRAC_HIGH_DW_D): Likewise.
11573 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11574 (_FP_WFRACBITS_DW_E): Likewise.
11575 (_FP_WFRACXBITS_DW_E): Likewise.
11576 (_FP_HIGHBIT_DW_E): Likewise.
11577 (FP_FMA_E): Likewise.
11578 (_FP_FRAC_HIGH_DW_E): Likewise.
11579 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11580 (_FP_WFRACBITS_DW_Q): Likewise.
11581 (_FP_WFRACXBITS_DW_Q): Likewise.
11582 (_FP_HIGHBIT_DW_Q): Likewise.
11583 (FP_FMA_Q): Likewise.
11584 (_FP_FRAC_HIGH_DW_Q): Likewise.
11585 * soft-fp/fmasf4.c: New file.
11586 * soft-fp/fmadf4.c: Likewise.
11587 * soft-fp/fmatf4.c: Likewise.
11588
6308fd9a
LD
115892013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11590
11591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11592 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11593 Silvermont.
11594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11595 macro.
11596 (index_Slow_SSE4_2): Likewise.
11597 (index_Prefer_PMINUB_for_stringop): Likewise.
11598 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11599 bit_Slow_SSE4_2 is set.
11600 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11602
89cd9569
RA
116032013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11604
11605 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11606 rtld_global._dl_hwcap2.
11607 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11608 POWER8.
11609 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11610 POWER8 feature descriptions defined in _dl_hwcap2.
11611 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11612 string handling for POWER8 feature bits.
11613 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11614 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11615 _dl_powerpc_cap_flags.
11616 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11617 * sysdeps/powerpc/rtld-global-offsets.sym
11618 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11619 _dl_hwcap2 in the rtld_global_ro structure.
11620
1ae8bfe0
RA
116212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11622
11623 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11624 hardware capabilities in support of AT_HWCAP2.
11625 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11626 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11627 GLRO(dl_hwcap2).
11628 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11629 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11630 explicitly the unknown a_type display mechanism is used.
11631 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11632 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11633 struct member.
11634 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11635 to macro prototype for AT_HWCAP2 support.
11636 * sysdeps/i386/dl-procinfo.h: Likewise.
11637 * sysdeps/s390/dl-procinfo.h: Likewise.
11638 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11639 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11640 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11641 return -1 for unknown a_type display fallback.
11642 * sysdeps/sparc/dl-procinfo.h: Likewise.
11643 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11644 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11645
8fbec010
JM
116462013-06-28 Joseph Myers <joseph@codesourcery.com>
11647
11648 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11649 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11650
0432680e
PY
116512013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11652
11653 [BZ #12492]
11654 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11655 mprotect making __stack_prot writable.
11656
ce61a2ad
NF
116572013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11658 Joseph Myers <joseph@codesourcery.com>
11659
11660 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11661 as being properly aligned.
11662
f91f1c0f
MR
116632013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11664
3d0f5d0c
MR
11665 * dlfcn/modstatic5.c: New file.
11666 * dlfcn/tststatic5.c: New file.
11667 * dlfcn/Makefile (tests): Add tststatic5.
11668 (tests-static): Likewise.
11669 (modules-names): Add modstatic5.
11670 (tststatic5-ENV): New variable.
11671 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11672
f91f1c0f
MR
11673 [BZ #15022]
11674 * elf/dl-support.c (_dl_main_map): New variable.
11675 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11676 (_dl_nns, _dl_load_adds): Set to 1.
11677 (_dl_initial_searchlist): Refer to _dl_main_map.
11678 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11679 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11680 call to _dl_get_origin.
11681 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11682 around call_map.
11683 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11684 * dlfcn/modstatic3.c: New file.
11685 * dlfcn/tststatic3.c: New file.
11686 * dlfcn/tststatic4.c: New file.
11687 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11688 (tests-static): Likewise.
11689 (modules-names): Add modstatic3.
11690 (tststatic3-ENV, tststatic4-ENV): New variables.
11691 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11692 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11693
cbe7d24b
JM
116942013-06-26 Joseph Myers <joseph@codesourcery.com>
11695
11696 * configure.in (CC): Require GCC version 4.4 or later.
11697 * configure: Regenerated.
11698 * manual/install.texi (Tools for Compilation): Update GCC version
11699 requirement.
11700 * INSTALL: Regenerated.
11701
11b8a0e1
LD
117022013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11703
11704 [BZ #15674]
bb5bb87c
L
11705 * string/test-memcmp.c (check2): New.
11706 (main): Call check2.
11707
11b8a0e1
LD
11708 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11709
b0037103
MR
117102013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11711
11712 [BZ #15022]
11713 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11714 over to...
11715 (dl_open_worker) [!SHARED]: ... here.
11716
c18c701d
RA
117172013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11718
11719 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11720
1d17fa5f
RH
117212013-06-25 Richard Henderson <rth@redhat.com>
11722
11723 * locale/programs/locarchive.c: Include <libc-internal.h>
11724
8fcb833a
JM
117252013-06-25 Joseph Myers <joseph@codesourcery.com>
11726
11727 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11728 trailing whitespace removed.
11729
17db6e8d
MF
117302013-06-24 Mike Frysinger <vapier@gentoo.org>
11731
11732 [BZ #10283]
17db6e8d
MF
11733 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11734 * locale/programs/locarchive.c: Include libc-mmap.h.
11735 (prepare_address_space): Take two new outputs (the mmap base and len).
11736 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11737 values.
11738 (create_archive): Declare new mmap base and len values for
11739 prepare_address_space, and store the result in ah.
11740 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11741 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11742 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11743 Declare new mmap base and len values for
11744 prepare_address_space, and store the result in new_ah.
11745 (open_archive): Declare new mmap base and len values for
11746 prepare_address_space, and store the result in ah.
11747 (close_archive): If ah->mmap_base is not NULL, use that and
11748 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11749 * sysdeps/generic/libc-mmap.h: New file.
11750
d605071e
MF
117512013-06-24 Mike Frysinger <vapier@gentoo.org>
11752
11753 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11754 (ALIGN_UP): Likewise.
11755 (PTR_ALIGN_DOWN): Likewise.
11756 (PTR_ALIGN_UP): Likewise.
11757
2f063a6e
RA
117582013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11759
11760 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11761 entry mapped to PPC_PLATFORM_POWER8.
11762 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11763 POWER8.
11764 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11765 (_dl_string_platform): Add case for exporting platform position for
11766 POWER8.
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11768 search path to sysdeps/powerpc/powerpc32/power8 directory.
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11770 search path to sysdeps/powerpc/powerpc64/power8 directory.
11771 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11772 power7 directories.
11773 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11774 power7 directories.
11775
a31ee4b3
SP
117762013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11777
a74ca98f
SP
11778 * INSTALL: Regenerate.
11779
a31ee4b3
SP
11780 * nscd/connections.c (nscd_init): Fix comment.
11781
695c378f
JM
117822013-06-22 Joseph Myers <joseph@codesourcery.com>
11783
d8412221
JM
11784 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11785
695c378f
JM
11786 [BZ #15667]
11787 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11788 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11789
d1d54715
MR
117902013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11791
11792 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11793 DL_DST_REQ_STATIC.
11794 (DL_DST_REQ_STATIC): Remove macro.
11795
8fdda7af
JM
117962013-06-21 Joseph Myers <joseph@codesourcery.com>
11797
11798 [BZ #7006]
11799 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11800 with a shift of 0 bits.
11801
f3bc5e5a
MR
118022013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11803
11804 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11805 $(tststatic-ENV).
11806
be09e8c9
KK
118072013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11808
11809 [BZ #15655]
11810 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11811
85c2e611
AZ
118122013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11813
11814 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11815 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11816 accepts -fno-tree-loop-distribute-patterns.
11817 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11818 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11819 recursive call.
11820 * string/memset.c (memset): Likewise.
11821 * string/test-memmove.c (simple_memmove): Disable loop transformation
11822 to library calls.
11823 * string/test-memset.c (simple_memset): Likewise.
11824 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11825 * benchtests/bench-memset.c (simple_memset): Likewise.
11826 * configure: Regenerated.
11827
c91e0825
JM
118282013-06-20 Joseph Myers <joseph@codesourcery.com>
11829
b8c792af
JM
11830 * math/test-misc.c (main): Ignore fesetround failure when failures
11831 of subsequent rounding tests would be ignored.
11832
c91e0825
JM
11833 [BZ #15654]
11834 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11835 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11836 * math/fegetenv.c (__fegetenv): Return 0.
11837 * math/fegetexcept.c (fegetexcept): Return 0.
11838 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11839 FE_TONEAREST.
11840 * math/feholdexcpt.c (feholdexcept): Return 0.
11841 * math/fesetenv.c (__fesetenv): Return 0.
11842 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11843 argument FE_TONEAREST.
11844 * math/feupdateenv.c (__feupdateenv): Return 0.
11845 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11846
bfcacbde
RM
118472013-06-18 Roland McGrath <roland@hack.frob.com>
11848
11849 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11850 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11851 ($(objpfx)rtld-%.os rules): Use them.
11852
e55a9b25
AZ
118532013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11854
11855 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11856 fields.
11857
346d65b3
RM
118582013-06-17 Roland McGrath <roland@hack.frob.com>
11859
12086fb4
RM
11860 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11861 length of target pattern, then descending length of dependency pattern.
11862 * configure.in (AWK): Require gawk 3.1.2 or newer.
11863 * manual/install.texi (Tools for Compilation): Say that we do.
11864 * configure: Regenerated.
11865
346d65b3
RM
11866 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11867 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11868 * scripts/sysd-rules.awk: ... this new script.
11869 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11870 than a glob-style pattern.
11871
1a846317
JM
118722013-06-17 Joseph Myers <joseph@codesourcery.com>
11873
11874 * math/test-misc.c (main): Do not treat incorrectly rounded
11875 conversions as failure unless ROUNDING_TESTS passes.
11876
8fc75e6f
JM
118772013-06-15 Joseph Myers <joseph@codesourcery.com>
11878
3711a167
JM
11879 [BZ #15631]
11880 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11881 restore exception state around main square root computation, then
11882 check for inexactness explicitly.
11883
8fc75e6f
JM
11884 * math/libm-test.inc (fma_test_data): Add another test.
11885
61dd6208
SP
118862013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11887
adf23d2c
SP
11888 * manual/threads.texi (Non-POSIX Extensions): New document
11889 node. Document pthread_getattr_default_np and
11890 pthread_setattr_default_np.
11891
61dd6208
SP
11892 * Versions.def (libpthread): Add GLIBC_2.18.
11893 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11895 Likewise.
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11897 Likewise.
11898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11899 Likewise.
11900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11901 Likewise.
11902 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11903 Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11905 Likewise.
11906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11907 Likewise.
11908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11909 Likewise.
11910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11911 Likewise.
11912
d086fc7b
LD
119132013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11914
11915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11916 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11917
747ef469
SP
119182013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11919 H.J. Lu <hjl.tools@gmail.com>
11920
11921 [BZ #15627]
11922 * sysdeps/x86_64/rtld-memset.c: Remove file.
11923 * sysdeps/x86_64/rtld-memset.S: New file.
11924
1b2feed2
JM
119252013-06-14 Joseph Myers <joseph@codesourcery.com>
11926
11927 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11928 (test_in_one_mode): Take arguments for whether the rounding mode
11929 is supported for each floating-point type.
11930 (do_test): Pass new arguments to test_in_one_mode using
11931 ROUNDING_TESTS.
11932
a58ad3f8
RM
119332013-06-13 Roland McGrath <roland@hack.frob.com>
11934
11935 * posix/tst-waitid.c (do_test): Distinguish different instances of
11936 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11937 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11938 before entering the kernel for waitpid.
11939
c204ab28
SP
119402013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11941
11942 * NEWS: Fix note on clock function precision. Text by Roland
11943 McGrath.
11944
f4a29fba
RM
119452013-06-13 Roland McGrath <roland@hack.frob.com>
11946
11947 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11948 it into place only when and if the sanity check passes.
11949
1f24b9ad
JM
119502013-06-13 Joseph Myers <joseph@codesourcery.com>
11951
11952 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11953 output for whether conversion result is exact. Take argument
11954 indicating whether type is IBM long double.
11955 (round_for_all): Change need_exact field to ibm_ld.
11956 * stdlib/tst-strtod-round.c (struct exactness): New type.
11957 (struct test): Change bool ld_ok field to struct exactness exact.
11958 (TEST): Update all definitions for change to field.
11959 (tests): Regenerate array contents.
11960 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11961 field value. Check for IBM long double here.
11962 (do_test): Update calls to test_in_one_mode.
11963
58206c68
SP
119642013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11965
11966 [BZ #12515]
11967 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11968 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11969
2d6f4c5b 119702013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11971
11972 [BZ #15605]
11973 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11974 generated by the compiler on loop optimizations.
11975 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11976 general definitions.
11977
94f2c076
JM
119782013-06-12 Joseph Myers <joseph@codesourcery.com>
11979
11980 * math/bug-nextafter.c: Include <math-tests.h>.
11981 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11982 the relevant type.
11983 * math/bug-nexttoward.c: Include <math-tests.h>.
11984 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11985 the relevant type.
11986 * math/test-misc.c: Include <math-tests.h>.
11987 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11988 the relevant type.
11989
e0e50a0a
AJ
119902013-06-12 Andreas Jaeger <aj@suse.de>
11991
11992 * po/ia.po: Update Interlingua translation from translation
11993 project.
11994
25061094
SP
119952013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11996
11997 * include/fenv.h: Include stdbool.h.
11998 (struct rm_ctx): New structure.
11999 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12000 Define macro.
12001 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12002 (SET_RESTORE_ROUNDF): Likewise.
12003 (SET_RESTORE_ROUNDL): Likewise.
12004 (SET_RESTORE_ROUND_NOEX): Likewise.
12005 (SET_RESTORE_ROUND_NOEXF): Likewise.
12006 (SET_RESTORE_ROUND_NOEXL): Likewise.
12007 (SET_RESTORE_ROUND_53BIT): Likewise.
12008 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12009 (libc_feresetround_noexf_ctx): Likewise.
12010 (libc_feresetround_noexl_ctx): Likewise.
12011 (libc_feholdsetround_53bit_ctx): Likewise.
12012 (libc_feresetround_53bit_ctx): Likewise.
12013 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12014 (libc_feholdexcept_setround_sse_ctx): New function.
12015 (libc_fesetenv_sse_ctx): Likewise.
12016 (libc_feupdateenv_sse_ctx): Likewise.
12017 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12018 (libc_feholdexcept_setround_387_ctx): Likewise.
12019 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12020 (libc_feholdsetround_387_prec_ctx): Likewise.
12021 (libc_feholdsetround_387_ctx): Likewise.
12022 (libc_feholdsetround_387_53bit_ctx): Likewise.
12023 (libc_feholdsetround_sse_ctx): Likewise.
12024 (libc_feresetround_sse_ctx): Likewise.
12025 (libc_feresetround_387_ctx): Likewise.
12026 (libc_feupdateenv_387_ctx): Likewise.
12027 (libc_feholdexcept_setroundf_ctx): Define macro.
12028 (libc_fesetenvf_ctx): Likewise.
12029 (libc_feupdateenvf_ctx): Likewise.
12030 (libc_feholdsetroundf_ctx): Likewise.
12031 (libc_feresetroundf_ctx): Likewise.
12032 (libc_feholdexcept_setround_ctx): Likewise.
12033 (libc_fesetenv_ctx): Likewise.
12034 (libc_feupdateenv_ctx): Likewise.
12035 (libc_feholdsetround_ctx): Likewise.
12036 (libc_feresetround_ctx): Likewise.
12037 (libc_feholdexcept_setroundl_ctx): Likewise.
12038 (libc_feupdateenvl_ctx): Likewise.
12039 (libc_feholdsetroundl_ctx): Likewise.
12040 (libc_feresetroundl_ctx): Likewise.
12041 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12042 (libc_feresetround_53bit_ctx): Likewise.
12043
59b30555
SP
120442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12045
12046 * locale/iso-639.def: Convert to UTF-8.
12047
f1d73d30
JM
120482013-06-11 Joseph Myers <joseph@codesourcery.com>
12049
12050 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12051 (EXCEPTION_TESTS_double): Likewise.
12052 (EXCEPTION_TESTS_long_double): Likewise.
12053 (EXCEPTION_TESTS): Likewise.
12054 * math/libm-test.inc (test_exceptions): Only test exceptions if
12055 EXCEPTION_TESTS (FLOAT).
12056
94aca5e7
SP
120572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12058
12059 * benchtests/Makefile (string-bench): Add strcpy_chk and
12060 stpcpy_chk.
12061 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12062 * benchtests/bench-stpcpy_chk.c: New file.
12063 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12064 * benchtests/bench-strcpy_chk.c: New file.
12065 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12066 code.
12067 (do_test): Likewise.
12068
fac0c5f2
RA
120692013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12070
12071 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12072 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12073 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12074 with tabs where appropriate.
12075 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12076 dl-procinfo.h.
12077 [PPC_PLATFORM_PPC440]: Likewise.
12078 [PPC_PLATFORM_PPC464]: Likewise.
12079 [PPC_PLATFORM_PPC476]: Likewise.
12080 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12081 ppc464, and ppc476 platform strings merging from ports/
12082 dl-procinfo.h.
12083
f22bc486
AS
120842013-06-11 Andreas Schwab <schwab@suse.de>
12085
12086 [BZ #14991]
12087 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12088 (from_ucs4_idx): Regenerate.
12089 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12090 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12091 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12092 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12093 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12094 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12095 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12096 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12097 from FROM_LOOP and TO_LOOP specific macros.
12098 (BODY): Handle combining characters.
12099 * iconvdata/BIG5HKSCS.irreversible: Update.
12100 * iconvdata/BIG5HKSCS.precomposed: New file.
12101 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12102 characters.
12103 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12104
c1f75dc3
SP
121052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12106
4eacded2
SP
12107 * include/sys/time.h: Fix indentation and add copyright header.
12108
fec799f8
SP
12109 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12110 (do_test): Likewise.
12111 * string/test-memchr.c (do_one_test): Likewise.
12112 (do_test): Likewise.
12113 * string/test-memcmp.c (do_one_test): Likewise.
12114 (do_test): Likewise.
12115 * string/test-memcpy.c (do_one_test): Likewise.
12116 (do_test): Likewise.
12117 * string/test-memmem.c (do_one_test): Likewise.
12118 (do_test): Likewise.
12119 (do_random_tests): Likewise.
12120 * string/test-memmove.c (do_one_test): Likewise.
12121 (do_test): Likewise.
12122 * string/test-memset.c (do_one_test): Likewise.
12123 (do_test): Likewise.
12124 * string/test-rawmemchr.c (do_one_test): Likewise.
12125 (do_test): Likewise.
12126 * string/test-strcasecmp.c (do_one_test): Likewise.
12127 (do_test): Likewise.
12128 * string/test-strcasestr.c (do_one_test): Likewise.
12129 (do_test): Likewise.
12130 * string/test-strcat.c (do_one_test): Likewise.
12131 (do_test): Likewise.
12132 * string/test-strchr.c (do_one_test): Likewise.
12133 (do_test): Likewise.
12134 * string/test-strcmp.c (do_one_test): Likewise.
12135 (do_test): Likewise.
12136 * string/test-strcpy.c (do_one_test): Likewise.
12137 (do_test): Likewise.
12138 * string/test-string.h: Likewise.
12139 (test_init): Likewise.
12140 * string/test-strlen.c (do_one_test): Likewise.
12141 (do_test): Likewise.
12142 * string/test-strncasecmp.c (do_one_test): Likewise.
12143 (do_test): Likewise.
12144 * string/test-strncat.c (do_one_test): Likewise.
12145 (do_test): Likewise.
12146 * string/test-strncmp.c (do_one_test): Likewise.
12147 (do_test_limit): Likewise.
12148 (do_test): Likewise.
12149 * string/test-strncpy.c (do_one_test): Likewise.
12150 (do_test): Likewise.
12151 * string/test-strnlen.c (do_one_test): Likewise.
12152 (do_test): Likewise.
12153 * string/test-strpbrk.c (do_one_test): Likewise.
12154 (do_test): Likewise.
12155 * string/test-strrchr.c (do_one_test): Likewise.
12156 (do_test): Likewise.
12157 * string/test-strspn.c (do_one_test): Likewise.
12158 (do_test): Likewise.
12159 * string/test-strstr.c (do_one_test): Likewise.
12160 (do_test): Likewise.
12161
97020474
SP
12162 * benchtests/Makefile (string-bench): Add string benchmarks.
12163 * benchtests/bench-bcopy-ifunc.c: New file.
12164 * benchtests/bench-bcopy.c: New file.
12165 * benchtests/bench-bzero-ifunc.c: New file.
12166 * benchtests/bench-bzero.c: New file.
12167 * benchtests/bench-memccpy-ifunc.c: New file.
12168 * benchtests/bench-memccpy.c: New file.
12169 * benchtests/bench-memchr-ifunc.c: New file.
12170 * benchtests/bench-memchr.c: New file.
12171 * benchtests/bench-memcmp-ifunc.c: New file.
12172 * benchtests/bench-memcmp.c: New file.
12173 * benchtests/bench-memmem-ifunc.c: New file.
12174 * benchtests/bench-memmem.c: New file.
12175 * benchtests/bench-memmove-ifunc.c: New file.
12176 * benchtests/bench-memmove.c: New file.
12177 * benchtests/bench-mempcpy-ifunc.c: New file.
12178 * benchtests/bench-mempcpy.c: New file.
12179 * benchtests/bench-memset-ifunc.c: New file.
12180 * benchtests/bench-memset.c: New file.
12181 * benchtests/bench-rawmemchr-ifunc.c: New file.
12182 * benchtests/bench-rawmemchr.c: New file.
12183 * benchtests/bench-stpcpy-ifunc.c: New file.
12184 * benchtests/bench-stpcpy.c: New file.
12185 * benchtests/bench-stpncpy-ifunc.c: New file.
12186 * benchtests/bench-stpncpy.c: New file.
12187 * benchtests/bench-strcasecmp-ifunc.c: New file.
12188 * benchtests/bench-strcasecmp.c: New file.
12189 * benchtests/bench-strcasestr-ifunc.c: New file.
12190 * benchtests/bench-strcasestr.c: New file.
12191 * benchtests/bench-strcat-ifunc.c: New file.
12192 * benchtests/bench-strcat.c: New file.
12193 * benchtests/bench-strchr-ifunc.c: New file.
12194 * benchtests/bench-strchr.c: New file.
12195 * benchtests/bench-strchrnul-ifunc.c: New file.
12196 * benchtests/bench-strchrnul.c: New file.
12197 * benchtests/bench-strcmp-ifunc.c: New file.
12198 * benchtests/bench-strcmp.c: New file.
12199 * benchtests/bench-strcpy-ifunc.c: New file.
12200 * benchtests/bench-strcpy.c: New file.
12201 * benchtests/bench-strcspn-ifunc.c: New file.
12202 * benchtests/bench-strcspn.c: New file.
12203 * benchtests/bench-strlen-ifunc.c: New file.
12204 * benchtests/bench-strlen.c: New file.
12205 * benchtests/bench-strncasecmp-ifunc.c: New file.
12206 * benchtests/bench-strncasecmp.c: New file.
12207 * benchtests/bench-strncat-ifunc.c: New file.
12208 * benchtests/bench-strncat.c: New file.
12209 * benchtests/bench-strncmp-ifunc.c: New file.
12210 * benchtests/bench-strncmp.c: New file.
12211 * benchtests/bench-strncpy-ifunc.c: New file.
12212 * benchtests/bench-strncpy.c: New file.
12213 * benchtests/bench-strnlen-ifunc.c: New file.
12214 * benchtests/bench-strnlen.c: New file.
12215 * benchtests/bench-strpbrk-ifunc.c: New file.
12216 * benchtests/bench-strpbrk.c: New file.
12217 * benchtests/bench-strrchr-ifunc.c: New file.
12218 * benchtests/bench-strrchr.c: New file.
12219 * benchtests/bench-strspn-ifunc.c: New file.
12220 * benchtests/bench-strspn.c: New file.
12221 * benchtests/bench-strstr-ifunc.c: New file.
12222 * benchtests/bench-strstr.c: New file.
12223
c1f75dc3
SP
12224 * benchtests/Makefile: Disable parallel execution of targets.
12225 (string-bench): Add memcpy.
12226 (benchset): New variable to store a list of benchmark sets.
12227 (bench-func): Renamed from bench.
12228 (bench-set): New target.
12229 (bench): Depend on bench-func and bench-set.
12230 * benchtests/README: Add section on benchmark sets.
12231 * benchtests/bench-memcpy-ifunc.c: New file.
12232 * benchtests/bench-memcpy.c: New file.
12233 * benchtests/bench-string.h: New file.
12234
50fd745b
AS
122352013-06-11 Andreas Schwab <schwab@suse.de>
12236
12237 [BZ #15577]
12238 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12239 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12240 values in the triple.
12241 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12242 terminator in the group key.
12243
3ee7e9fe
AJ
122442013-06-11 Andreas Jaeger <aj@suse.de>
12245
12246 * po/zh_TW.po: Update Chinese (traditional) translation from
12247 translation project.
12248
89fb6835
SP
122492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12250
12251 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12252 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12253 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12255 (clock_getcpuclockid): Likewise.
12256 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12257 Add weak_alias and libc_hidden_def.
12258 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12259 * rt/clock_gettime.c (clock_gettime): Rename to
12260 __clock_gettime. Add weak_alias and libc_hidden_def.
12261 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12262 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12263 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12264 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12265 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12266 Likewise.
12267 * rt/clock_settime.c (clock_settime): Rename to
12268 __clock_settime. Add weak_alias and libc_hidden_def.
12269 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12270
0efa6f8b
JM
122712013-06-10 Joseph Myers <joseph@codesourcery.com>
12272
b8c61b4b
JM
12273 * mach/err_boot.sub: Remove trailing whitespace.
12274 * mach/err_ipc.sub: Likewise.
12275 * mach/err_mach.sub: Likewise.
12276
0efa6f8b
JM
12277 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12278 (ROUNDING_TESTS_double): Likewise.
12279 (ROUNDING_TESTS_long_double): Likewise.
12280 (ROUNDING_TESTS): Likewise.
12281 * math/libm-test.inc: Include <math-tests.h>.
12282 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12283 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12284 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12285 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12286
50b818bf
SP
122872013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12288
12289 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12290 of assigning.
12291
60d2f8f3
JM
122922013-06-08 Joseph Myers <joseph@codesourcery.com>
12293
4902d2c3
JM
12294 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12295 otherwise empty TRANS lines.
12296 * sysdeps/gnu/errlist.c: Regenerated.
12297
60d2f8f3
JM
12298 * catgets/gencat.c (error_print): Use (void) in function
12299 definition.
12300 * crypt/crypt_util.c (__init_des): Likewise.
12301 * crypt/speeds.c (Stop): Likewise.
12302 (main): Likewise.
12303 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12304 * inet/ruserpass.c (token): Likewise.
12305 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12306 * intl/localealias.c (extend_alias_table): Likewise.
12307 * intl/plural-exp.c (init_germanic_plural): Likewise.
12308 * libio/fcloseall.c (__fcloseall): Likewise.
12309 * libio/genops.c (_IO_flush_all): Likewise.
12310 (_IO_flush_all_linebuffered): Likewise.
12311 (_IO_cleanup): Likewise.
12312 (_IO_iter_begin): Likewise.
12313 (_IO_iter_end): Likewise.
12314 (_IO_list_lock): Likewise.
12315 (_IO_list_unlock): Likewise.
12316 (_IO_list_resetlock): Likewise.
12317 * libio/getchar.c (getchar): Likewise.
12318 * libio/getchar_u.c (getchar_unlocked): Likewise.
12319 * libio/getwchar.c (getwchar): Likewise.
12320 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12321 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12322 * login/getpt.c (__getpt): Likewise.
12323 * login/tst-utmp.c (main): Likewise.
12324 * malloc/hooks.c (__malloc_check_init): Likewise.
12325 * malloc/malloc.c (__malloc_stats): Likewise.
12326 * malloc/mtrace.c (tr_break): Likewise.
12327 (mtrace): Likewise.
12328 (muntrace): Likewise.
12329 * misc/fstab.c (endfsent): Likewise.
12330 * misc/getclktck.c (__getclktck): Likewise.
12331 * misc/getdtsz.c (__getdtablesize): Likewise.
12332 * misc/gethostid.c (gethostid): Likewise.
12333 * misc/getpagesize.c (__getpagesize): Likewise.
12334 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12335 (__get_nprocs): Likewise.
12336 (__get_phys_pages): Likewise.
12337 (__get_avphys_pages): Likewise.
12338 * misc/getttyent.c (getttyent): Likewise.
12339 (setttyent): Likewise.
12340 (endttyent): Likewise.
12341 * misc/getusershell.c (getusershell): Likewise.
12342 (endusershell): Likewise.
12343 (setusershell): Likewise.
12344 (initshells): Likewise.
12345 * misc/hsearch.c (__hdestroy): Likewise.
12346 * misc/sync.c (sync): Likewise.
12347 * misc/syslog.c (closelog_internal): Likewise.
12348 (closelog): Likewise.
12349 * misc/ttyslot.c (ttyslot): Likewise.
12350 * misc/vhangup.c (vhangup): Likewise.
12351 * posix/fork.c (__fork): Likewise.
12352 * posix/getegid.c (__getegid): Likewise.
12353 * posix/geteuid.c (__geteuid): Likewise.
12354 * posix/getgid.c (__getgid): Likewise.
12355 * posix/getpid.c (__getpid): Likewise.
12356 * posix/getppid.c (__getppid): Likewise.
12357 * posix/getuid.c (__getuid): Likewise.
12358 * posix/pause.c (pause): Likewise.
12359 * posix/setpgrp.c (setpgrp): Likewise.
12360 * posix/setsid.c (__setsid): Likewise.
12361 * posix/test-vfork.c (noop): Likewise.
12362 * resolv/gethnamaddr.c (_endhtent): Likewise.
12363 (_gethtent): Likewise.
12364 (ht_endhostent): Likewise.
12365 (gethostent): Likewise.
12366 (dns_service): Likewise.
12367 * stdlib/drand48.c (drand48): Likewise.
12368 * stdlib/lrand48.c (lrand48): Likewise.
12369 * stdlib/mrand48.c (mrand48): Likewise.
12370 * stdlib/rand.c (rand): Likewise.
12371 * stdlib/random.c (__random): Likewise.
12372 * stdlib/setenv.c (clearenv): Likewise.
12373 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12374 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12375 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12376 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12377 (__get_nprocs): Likewise.
12378 (__get_phys_pages): Likewise.
12379 (__get_avphys_pages): Likewise.
12380 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12381 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12382 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12383 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12384 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12385 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12386 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12387 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12388 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12389 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12390 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12391 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12392 * sysdeps/posix/clock.c (clock): Likewise.
12393 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12394 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12395 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12396 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12397 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12398 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12399 (__get_nprocs_conf): Likewise.
12400 (__get_phys_pages): Likewise.
12401 (__get_avphys_pages): Likewise.
12402 * time/clock.c (clock): Likewise.
12403 * time/tzset.c (__tzname_max): Likewise.
12404
2e09a79a
JM
124052013-06-07 Joseph Myers <joseph@codesourcery.com>
12406
12407 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12408 (__bswap_32): Do not use "register".
12409 * crypt/crypt.c (_ufc_doit_r): Likewise.
12410 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12411 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12412 * gmon/gmon.c (__monstartup): Likewise.
12413 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12414 * hurd/hurdmalloc.c (more_memory): Likewise.
12415 (malloc): Likewise.
12416 (free): Likewise.
12417 (realloc): Likewise.
12418 (malloc_fork_prepare): Likewise.
12419 (malloc_fork_parent): Likewise.
12420 (malloc_fork_child): Likewise.
12421 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12422 (_svcauth_des): Likewise.
12423 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12424 * inet/inet_net.c (inet_network): Likewise.
12425 * inet/inet_netof.c (inet_netof): Likewise.
12426 * inet/rcmd.c (__validuser2_sa): Likewise.
12427 * io/fts.c (fts_open): Likewise.
12428 (fts_load): Likewise.
12429 (fts_close): Likewise.
12430 (fts_read): Likewise.
12431 (fts_children): Likewise.
12432 (fts_build): Likewise.
12433 (fts_stat): Likewise.
12434 (fts_sort): Likewise.
12435 (fts_alloc): Likewise.
12436 (fts_lfree): Likewise.
12437 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12438 (_IO_file_xsgetn): Likewise.
12439 (_IO_file_xsgetn_mmap): Likewise.
12440 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12441 (_IO_cookie_write): Likewise.
12442 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12443 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12444 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12445 * malloc/obstack.c (_obstack_begin): Likewise.
12446 (_obstack_begin_1): Likewise.
12447 (_obstack_newchunk): Likewise.
12448 (_obstack_allocated_p): Likewise.
12449 (obstack_free): Likewise.
12450 (_obstack_memory_used): Likewise.
12451 * misc/getttyent.c (getttynam): Likewise.
12452 (getttyent): Likewise.
12453 (skip): Likewise.
12454 (value): Likewise.
12455 * misc/getusershell.c (initshells): Likewise.
12456 * misc/syslog.c (__vsyslog_chk): Likewise.
12457 * misc/ttyslot.c (ttyslot): Likewise.
12458 * nis/nis_hash.c (__nis_hash): Likewise.
12459 * posix/fnmatch_loop.c (FCT): Likewise.
12460 * posix/getconf.c (print_all): Likewise.
12461 (main): Likewise.
12462 * posix/getopt.c (exchange): Likewise.
12463 * posix/glob.c (globfree): Likewise.
12464 (prefix_array): Likewise.
12465 (__glob_pattern_type): Likewise.
12466 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12467 (NS_GET32): Likewise.
12468 (NS_PUT16): Likewise.
12469 (NS_PUT32): Likewise.
12470 * resolv/gethnamaddr.c (getanswer): Likewise.
12471 (gethostbyname2): Likewise.
12472 (gethostbyaddr): Likewise.
12473 (_gethtent): Likewise.
12474 (_gethtbyname2): Likewise.
12475 (_gethtbyaddr): Likewise.
12476 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12477 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12478 * resolv/res_init.c (__res_vinit): Likewise.
12479 (net_mask): Likewise.
12480 * resolv/res_mkquery.c (outchar): Likewise.
12481 (PRINT): Likewise.
12482 * stdio-common/printf_fp.c (outchar): Likewise.
12483 (PRINT): Likewise.
12484 * stdio-common/printf_fphex.c (outchar): Likewise.
12485 (PRINT): Likewise.
12486 * stdio-common/printf_size.c (outchar): Likewise.
12487 (PRINT): Likewise.
12488 * stdio-common/test_rdwr.c (main): Likewise.
12489 * stdio-common/tfformat.c (matches): Likewise.
12490 * stdio-common/vfprintf.c (outchar): Likewise.
12491 (printf_unknown): Likewise.
12492 (buffered_vfprintf): Likewise.
12493 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12494 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12495 (ReadFile): Likewise.
12496 * stdlib/qsort.c (SWAP): Likewise.
12497 (_quicksort): Likewise.
12498 * stdlib/setenv.c (__add_to_environ): Likewise.
12499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12500 * stdlib/strtol_l.c (__strtol_l): Likewise.
12501 * stdlib/tst-strtod.c (main): Likewise.
12502 * stdlib/tst-strtol.c (main): Likewise.
12503 * stdlib/tst-strtoll.c (main): Likewise.
12504 * string/bits/string2.h (__strcmp_cc): Likewise.
12505 (__strcmp_cg): Likewise.
12506 (__strcspn_c1): Likewise.
12507 (__strcspn_c2): Likewise.
12508 (__strcspn_c3): Likewise.
12509 (__strspn_c1): Likewise.
12510 (__strspn_c2): Likewise.
12511 (__strspn_c3): Likewise.
12512 (__strsep_1c): Likewise.
12513 (__strsep_2c): Likewise.
12514 (__strsep_3c): Likewise.
12515 * string/memccpy.c (__memccpy): Likewise.
12516 * string/stpcpy.c (__stpcpy): Likewise.
12517 * string/strcmp.c (strcmp): Likewise.
12518 * string/strrchr.c (strrchr): Likewise.
12519 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12520 Likewise.
12521 * sysdeps/mach/hurd/getcwd.c
12522 (_hurd_canonicalize_directory_name_internal): Likewise.
12523 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12524 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12525 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12526 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12527 Likewise, in both definitions.
12528 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12529 definitions.
12530 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12531 64] (__bswap_64): Likewise.
12532 * time/test_time.c (main): Likewise.
12533 * time/tzfile.c (__tzfile_read): Likewise.
12534 (__tzfile_compute): Likewise.
12535 * time/tzset.c (__tzset_parse_tz): Likewise.
12536 (tzset_internal): Likewise.
12537 (compute_change): Likewise.
12538 * wcsmbs/wcscat.c (__wcscat): Likewise.
12539 * wcsmbs/wcschr.c (wcschr): Likewise.
12540 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12541 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12542 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12543 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12544 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12545 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12546 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12547 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12548 * wcsmbs/wmemset.c (wmemset): Likewise.
12549
9e54314b
JM
125502013-06-06 Joseph Myers <joseph@codesourcery.com>
12551
12552 * scripts/config.guess: Update to version 2013-05-16.
12553 * scripts/config.sub: Update to version 2013-04-24.
12554 * scripts/install-sh: Update to version 2011-11-20.07.
12555 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12556 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12557
350635a5
OB
125582013-06-06 Ondřej Bílka <neleai@seznam.cz>
12559
12560 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12561 * elf/sln.c: Likewise.
12562 * hurd/hurd/ioctl.h: Likewise.
12563 * hurd/hurdmalloc.c: Likewise.
12564 * hurd/xattr.c: Likewise.
12565 * include/shlib-compat.h: Likewise.
12566 * inet/ruserpass.c: Likewise.
12567 * libio/iofgets_u.c: Likewise.
12568 * libio/iofgetws_u.c: Likewise.
12569 * locale/programs/ld-identification.c: Likewise.
12570 * locale/programs/ld-time.c: Likewise.
12571 * mach/msg-destroy.c: Likewise.
12572 * nss/nss_files/files-netgrp.c: Likewise.
12573 * resolv/res_data.c: Likewise.
12574 * soft-fp/op-1.h: Likewise.
12575 * soft-fp/op-2.h: Likewise.
12576 * soft-fp/op-4.h: Likewise.
12577 * soft-fp/op-common.h: Likewise.
12578 * stdio-common/printf_fphex.c: Likewise.
12579 * stdlib/strtod_l.c: Likewise.
12580 * sunrpc/rpc/clnt.h: Likewise.
12581 * sysdeps/generic/framestate.c: Likewise.
12582 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12583 * sysdeps/i386/bsd-setjmp.S: Likewise.
12584 * sysdeps/i386/__longjmp.S: Likewise.
12585 * sysdeps/i386/setjmp.S: Likewise.
12586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12587 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12588 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12604 * sysdeps/ieee754/support.c: Likewise.
12605 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12606 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12607 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12608 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12609 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12610 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12611 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12612 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12613 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12614 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12615 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12616 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12617 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12618 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12619 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12620 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12621 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12623
44a988af
OB
126242013-06-05 Ondřej Bílka <neleai@seznam.cz>
12625
25506f09 12626 * posix/transbug.c: Remove executable mode.
44a988af 12627
9c84384c
JM
126282013-06-05 Joseph Myers <joseph@codesourcery.com>
12629
12630 * crypt/speeds.c: Remove trailing whitespace.
12631 * dlfcn/default.c: Likewise.
12632 * elf/ifuncdep2.c: Likewise.
12633 * elf/ifuncmain1.c: Likewise.
12634 * elf/ifuncmain1vis.c: Likewise.
12635 * elf/testobj.h: Likewise.
12636 * elf/tst-stackguard1.c: Likewise.
12637 * gmon/sys/gmon.h: Likewise.
12638 * hurd/hurdmsg.c: Likewise.
12639 * hurd/new-fd.c: Likewise.
12640 * hurd/ports-get.c: Likewise.
12641 * iconvdata/ibm1008_420.c: Likewise.
12642 * inet/tst-getni1.c: Likewise.
12643 * inet/tst-getni2.c: Likewise.
12644 * libio/ioungetc.c: Likewise.
12645 * libio/wfiledoalloc.c: Likewise.
12646 * manual/libm-err-tab.pl: Likewise.
12647 * math/w_dremf.c: Likewise.
12648 * misc/ftruncate.c: Likewise.
12649 * posix/bug-glob2.c: Likewise.
12650 * posix/tst-pcre.c: Likewise.
12651 * posix/wait4.c: Likewise.
12652 * resolv/README: Likewise.
12653 * resolv/res_debug.h: Likewise.
12654 * resolv/tst-inet_ntop.c: Likewise.
12655 * setjmp/bug269-setjmp.c: Likewise.
12656 * soft-fp/extended.h: Likewise.
12657 * soft-fp/op-1.h: Likewise.
12658 * soft-fp/op-2.h: Likewise.
12659 * soft-fp/op-4.h: Likewise.
12660 * soft-fp/op-8.h: Likewise.
12661 * soft-fp/testit.c: Likewise.
12662 * stdio-common/bug16.c: Likewise.
12663 * stdlib/random.c: Likewise.
12664 * sunrpc/rpcsvc/rquota.x: Likewise.
12665 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12666 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12667 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12668 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12669 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12670 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12671 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12672 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12673 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12674 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12675 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12694 * sysdeps/ieee754/s_lib_version.c: Likewise.
12695 * sysdeps/mach/hurd/check_fds.c: Likewise.
12696 * sysdeps/mach/hurd/getsockname.c: Likewise.
12697 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12698 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12699 * sysdeps/powerpc/bits/link.h: Likewise.
12700 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12701 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12702 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12703 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12704 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12705 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12706 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12707 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12708 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12709 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12710 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12711 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12712 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12713 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12714 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12715 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12716 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12717 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12718 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12720 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12721 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12723 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12724 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12725 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12726 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12727 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12728 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12729 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12730 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12731 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12733 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12734 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12735 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12736 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12737 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12738 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12739 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12740 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12741 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12742 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12743 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12744 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12745 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12746 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12747 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12748 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12749 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12752 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12753 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12755 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12756 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12757 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12758 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12759 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12760 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12761 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12762 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12763 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12764 * sysdeps/powerpc/sysdep.h: Likewise.
12765 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12766 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12767 * sysdeps/sh/dl-trampoline.S: Likewise.
12768 * sysdeps/sh/memset.S: Likewise.
12769 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12770 * sysdeps/sh/strlen.S: Likewise.
12771 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12772 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12773 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12774 * sysdeps/sparc/sparc32/rem.S: Likewise.
12775 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12776 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12777 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12778 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12779 * sysdeps/sparc/sparc32/urem.S: Likewise.
12780 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12781 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12782 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12783 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12784 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12785 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12786 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12787 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12788 * sysdeps/unix/bsd/times.c: Likewise.
12789 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12790 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12794 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12795 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12796 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12797 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12798 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12799 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12800 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12801 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12802 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12803 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12804 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12806 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12807 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12808 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12809 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12810 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12811 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12812 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12813 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12814 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12815 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12816 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12817 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12818 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12819 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12820 * sysdeps/x86_64/strcspn.S: Likewise.
12821
869378a5
RA
128222013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12823
12824 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12825 generated file. Regenerate properly from gen-translit.pl.
12826 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12827 locale/C-translit.h.
12828
840e2943
AS
128292013-06-05 Andreas Schwab <schwab@suse.de>
12830
12831 [BZ #15100]
12832 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12833 week as 6 instead of -1.
12834 * time/tst-strptime.c (day_tests): Add test case.
12835
4c60cb0c
SP
128362013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12837
12838 * sysdeps/generic/math_private.h
12839 (libc_feholdexcept_setround_53bit): Replace with
12840 libc_feholdsetround_53bit.
12841 (libc_feupdateenv_53bit): Replace with
12842 libc_feresetround_53bit.
12843 (SET_RESTORE_ROUND_53BIT): Adjust.
12844
d180203e
SP
128452013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12846
96df079a
SP
12847 * string/test-strchrnul.c: Add copyright header.
12848
d180203e
SP
12849 * posix/tst-getaddrinfo4.c: Increase test timeout.
12850
8b0ccb2d
CD
128512013-06-03 Carlos O'Donell <carlos@redhat.com>
12852
12853 [BZ #15536]
12854 * math/libm-test.inc (MAX_EXP): Remove
12855 (MIN_EXP): Define.
12856 (ulp): Use MIN_EXP - MANT_DIG.
12857 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12858
3b3c4d40
CD
128592013-05-31 Carlos O'Donell <carlos@redhat.com>
12860
12861 * po/be.po: Revert last change.
12862 * po/zh_CN.po: Likewise.
12863 * po/header.pot: Likewise.
12864
fab7ce3f
JM
128652013-05-31 Joseph Myers <joseph@codesourcery.com>
12866
12867 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12868 link-libc-deps to empty as target-specific variable.
12869 * Makerules (link-libc-args): New variable.
12870 (libc-for-link): Likewise.
12871 (link-libc-deps): Likewise.
12872 (lib%.so): Depend on $(link-libc-deps). Link with
12873 $(link-libc-args).
12874 (build-module): Link with $(link-libc-args).
12875 (build-module-asneeded): Likewise.
12876 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12877 list of objects.
12878 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12879 target-specific variable.
12880 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12881 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12882 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12883 libc.
12884 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12885 libc and ld.so.
12886 ($(objpfx)libpcprofile.so): Likewise.
12887 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12888 libc_nonshared.a.
12889 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12890 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12891 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12892 $(link-libc-deps).
12893 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12894 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12895 * login/Makefile ($(objpfx)libutil.so): Likewise.
12896 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12897 * math/Makefile ($(objpfx)libm.so): Likewise.
12898 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12899 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12900 variable instead of depending directly on libc.
12901 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12902 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12903 $(link-libc-deps).
12904 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12905 libc.
12906 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12907 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12908 ($(objpfx)libanl.so): Likewise.
12909 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12910 ld.so.
12911 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12912 $(link-libc-deps).
12913 * sysdeps/i386/fpu/Makefile: Remove file.
12914 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12915 ($(objpfx)libm.so): Remove dependency on ld.so.
12916
eca5920c
PF
129172013-05-30 Patsy Franklin <pfrankli@redhat.com>
12918
12919 [BZ # 15553]
12920 * nis/yp_xdr.c (XDRMAXNAME): Define.
12921 (XDRMAXRECORD): Define.
12922 (xdr_domainname): Use XDRMAXNAME.
12923 (xdr_mapname): Likewise.
12924 (xdr_peername): Likewise.
12925 (xdr_keydat): Use XDRMAXRECORD.
12926 (xdr_valdat): Likewise.
12927
129282013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12929
12930 [BZ #14256]
12931 * manual/errno.texi (ESTALE): Update to account for more than
12932 just NFS file systems.
12933 * sysdeps/gnu/errlist.c: Regenerated.
12934
b9375348
SP
129352013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12936
12937 [BZ #15465]
12938 * elf/Makefile (tests): Add tst-null-argv.
12939 (modules-names): Add tst-null-argv-lib.
12940 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12941 (tst-null-argv-ENV): Set environment for tst-null-argv.
12942 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12943 (RTLD_PROGNAME): New macro.
12944 * elf/tst-null-argv.c: New test case.
12945 * elf/tst-null-argv-lib.c: Library for test case.
12946 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12947 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12948 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12949 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12950 * elf/dl-init.c (call_init): Likewise.
12951 (_dl_init): Likewise.
12952 * elf/dl-load.c (print_search_path): Likewise.
12953 (_dl_map_object): Likewise.
12954 * elf/dl-lookup.c (do_lookup_x): Likewise.
12955 (add_dependency): Likewise.
12956 (_dl_lookup_symbol_x): Likewise.
12957 (_dl_debug_bindings): Likewise.
12958 * elf/dl-open.c (_dl_show_scope): Likewise.
12959 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12960 * elf/dl-version.c (match_symbol): Likewise.
12961 (_dl_check_map_versions): Likewise.
12962 * elf/rtld.c (dl_main): Likewise.
12963 (print_unresolved): Use RTLD_PROGNAME.
12964 (print_missing_version): Likewise.
12965 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12966 (elf_machine_rela): Likewise.
12967 * sysdeps/powerpc/powerpc32/dl-machine.c
12968 (__process_machine_rela): Likewise.
12969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12970 Likewise.
12971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12972 Likewise.
12973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12974 Likewise.
12975 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12977 Likewise.
12978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12979 Likewise.
12980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12981
8a9f20c8
CD
129822013-05-28 Carlos O'Donell <carlos@redhat.com>
12983
12984 * po/be.po: Add descriptive title.
12985 * po/zh_CN.po: Likewise.
12986 * po/header.pot: Likewise.
12987
0e60d68e
MF
129882013-05-28 Mike Frysinger <vapier@gentoo.org>
12989
12990 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12991 error message.
12992 (enlarge_archive): Likewise.
12993
56b672e9
BN
129942013-05-28 Ben North <ben@redfrontdoor.org>
12995
12996 * manual/arith.texi (frexp): It is the magnitude of the return
12997 value which lies in [0.5, 1), not the return value itself.
12998
5e056687
AZ
129992013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13000
13001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13002
2b66ef5d
TS
130032013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13004
528c2405
TS
13005 * stdio-common/bug26.c (main): Correct fscanf template.
13006
07b4c13d
TS
13007 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13008 declare _dl_skip_args.
13009
ec9dd97c
TS
13010 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13011 Don't declare.
13012
2b66ef5d
TS
13013 * manual/platform.texi: Add missing @end deftypefun.
13014
4f8dfe27
JM
130152013-05-24 Joseph Myers <joseph@codesourcery.com>
13016
0323d086
JM
13017 [BZ #15529]
13018 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13019 bit of mantissa of 2^16382.
13020 * math/libm-test.inc (hypot_test_data): Add more tests.
13021
dd4259b9
JM
13022 * math/libm-test.inc: Add drem and pow10 to list of tested
13023 functions.
13024 (pow10_test): New function.
13025 (drem_test): Likewise.
13026 (drem_test_tonearest): Likewise.
13027 (drem_test_towardzero): Likewise.
13028 (drem_test_downward): Likewise.
13029 (drem_test_upward): Likewise.
13030 (main): Call the new functions.
13031
4f8dfe27
JM
13032 * math/libm-test.inc (finite_test_data): Remove.
13033 (finite_test): Run tests from isfinite_test_data.
13034 (gamma_test_data): Remove.
13035 (gamma_test): Run tests from lgamma_test_data.
13036 * sysdeps/i386/fpu/libm-test-ulps: Update.
13037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13038
d116b7c4
AZ
130392013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13040
13041 * manual/platform.texi: Add PowerPC PPR function set documentation.
13042 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13043 implementation.
13044
e96e3767
CD
130452013-05-24 Carlos O'Donell <carlos@redhat.com>
13046
13047 * math/libm-test.inc (MAX_EXP): Define.
13048 (ULPDIFF): Define.
13049 (ulp): New function.
13050 (check_float_internal): Use ULPDIFF.
13051 (cpow_test): Disable failing test.
13052 (check_ulp): Test ulp() implemetnation.
13053 (main): Call check_ulp before starting tests.
13054
b679a606
JM
130552013-05-24 Joseph Myers <joseph@codesourcery.com>
13056
e8bdba36
JM
13057 * math/gen-libm-test.pl (generate_testfile): Do not handle
13058 START_DATA and END_DATA.
13059 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13060 END_DATA.
13061 (acos_tonearest_test_data): Likewise.
13062 (acos_towardzero_test_data): Likewise.
13063 (acos_downward_test_data): Likewise.
13064 (acos_upward_test_data): Likewise.
13065 (acosh_test_data): Likewise.
13066 (asin_test_data): Likewise.
13067 (asin_tonearest_test_data): Likewise.
13068 (asin_towardzero_test_data): Likewise.
13069 (asin_downward_test_data): Likewise.
13070 (asin_upward_test_data): Likewise.
13071 (asinh_test_data): Likewise.
13072 (atan_test_data): Likewise.
13073 (atanh_test_data): Likewise.
13074 (atan2_test_data): Likewise.
13075 (cabs_test_data): Likewise.
13076 (cacos_test_data): Likewise.
13077 (cacosh_test_data): Likewise.
13078 (carg_test_data): Likewise.
13079 (casin_test_data): Likewise.
13080 (casinh_test_data): Likewise.
13081 (catan_test_data): Likewise.
13082 (catanh_test_data): Likewise.
13083 (cbrt_test_data): Likewise.
13084 (ccos_test_data): Likewise.
13085 (ccosh_test_data): Likewise.
13086 (ceil_test_data): Likewise.
13087 (cexp_test_data): Likewise.
13088 (cimag_test_data): Likewise.
13089 (clog_test_data): Likewise.
13090 (clog10_test_data): Likewise.
13091 (conj_test_data): Likewise.
13092 (copysign_test_data): Likewise.
13093 (cos_test_data): Likewise.
13094 (cos_tonearest_test_data): Likewise.
13095 (cos_towardzero_test_data): Likewise.
13096 (cos_downward_test_data): Likewise.
13097 (cos_upward_test_data): Likewise.
13098 (cosh_test_data): Likewise.
13099 (cosh_tonearest_test_data): Likewise.
13100 (cosh_towardzero_test_data): Likewise.
13101 (cosh_downward_test_data): Likewise.
13102 (cosh_upward_test_data): Likewise.
13103 (cpow_test_data): Likewise.
13104 (cproj_test_data): Likewise.
13105 (creal_test_data): Likewise.
13106 (csin_test_data): Likewise.
13107 (csinh_test_data): Likewise.
13108 (csqrt_test_data): Likewise.
13109 (ctan_test_data): Likewise.
13110 (ctan_tonearest_test_data): Likewise.
13111 (ctan_towardzero_test_data): Likewise.
13112 (ctan_downward_test_data): Likewise.
13113 (ctan_upward_test_data): Likewise.
13114 (ctanh_test_data): Likewise.
13115 (ctanh_tonearest_test_data): Likewise.
13116 (ctanh_towardzero_test_data): Likewise.
13117 (ctanh_downward_test_data): Likewise.
13118 (ctanh_upward_test_data): Likewise.
13119 (erf_test_data): Likewise.
13120 (erfc_test_data): Likewise.
13121 (exp_test_data): Likewise.
13122 (exp_tonearest_test_data): Likewise.
13123 (exp_towardzero_test_data): Likewise.
13124 (exp_downward_test_data): Likewise.
13125 (exp_upward_test_data): Likewise.
13126 (exp10_test_data): Likewise.
13127 (exp2_test_data): Likewise.
13128 (expm1_test_data): Likewise.
13129 (fabs_test_data): Likewise.
13130 (fdim_test_data): Likewise.
13131 (finite_test_data): Likewise.
13132 (floor_test_data): Likewise.
13133 (fma_test_data): Likewise.
13134 (fma_towardzero_test_data): Likewise.
13135 (fma_downward_test_data): Likewise.
13136 (fma_upward_test_data): Likewise.
13137 (fmax_test_data): Likewise.
13138 (fmin_test_data): Likewise.
13139 (fmod_test_data): Likewise.
13140 (fpclassify_test_data): Likewise.
13141 (frexp_test_data): Likewise.
13142 (gamma_test_data): Likewise.
13143 (hypot_test_data): Likewise.
13144 (ilogb_test_data): Likewise.
13145 (isfinite_test_data): Likewise.
13146 (isgreater_test_data): Likewise.
13147 (isgreaterequal_test_data): Likewise.
13148 (isinf_test_data): Likewise.
13149 (isless_test_data): Likewise.
13150 (islessequal_test_data): Likewise.
13151 (islessgreater_test_data): Likewise.
13152 (isnan_test_data): Likewise.
13153 (isnormal_test_data): Likewise.
13154 (issignaling_test_data): Likewise.
13155 (isunordered_test_data): Likewise.
13156 (j0_test_data): Likewise.
13157 (j1_test_data): Likewise.
13158 (jn_test_data): Likewise.
13159 (ldexp_test_data): Likewise.
13160 (lgamma_test_data): Likewise.
13161 (lrint_test_data): Likewise.
13162 (lrint_tonearest_test_data): Likewise.
13163 (lrint_towardzero_test_data): Likewise.
13164 (lrint_downward_test_data): Likewise.
13165 (lrint_upward_test_data): Likewise.
13166 (llrint_test_data): Likewise.
13167 (llrint_tonearest_test_data): Likewise.
13168 (llrint_towardzero_test_data): Likewise.
13169 (llrint_downward_test_data): Likewise.
13170 (llrint_upward_test_data): Likewise.
13171 (log_test_data): Likewise.
13172 (log10_test_data): Likewise.
13173 (log1p_test_data): Likewise.
13174 (log2_test_data): Likewise.
13175 (logb_test_data): Likewise.
13176 (logb_downward_test_data): Likewise.
13177 (lround_test_data): Likewise.
13178 (llround_test_data): Likewise.
13179 (modf_test_data): Likewise.
13180 (nearbyint_test_data): Likewise.
13181 (nextafter_test_data): Likewise.
13182 (nexttoward_test_data): Likewise.
13183 (pow_test_data): Likewise.
13184 (pow_tonearest_test_data): Likewise.
13185 (pow_towardzero_test_data): Likewise.
13186 (pow_downward_test_data): Likewise.
13187 (pow_upward_test_data): Likewise.
13188 (remainder_test_data): Likewise.
13189 (remainder_tonearest_test_data): Likewise.
13190 (remainder_towardzero_test_data): Likewise.
13191 (remainder_downward_test_data): Likewise.
13192 (remainder_upward_test_data): Likewise.
13193 (remquo_test_data): Likewise.
13194 (rint_test_data): Likewise.
13195 (rint_tonearest_test_data): Likewise.
13196 (rint_towardzero_test_data): Likewise.
13197 (rint_downward_test_data): Likewise.
13198 (rint_upward_test_data): Likewise.
13199 (round_test_data): Likewise.
13200 (scalb_test_data): Likewise.
13201 (scalbn_test_data): Likewise.
13202 (scalbln_test_data): Likewise.
13203 (signbit_test_data): Likewise.
13204 (sin_test_data): Likewise.
13205 (sin_tonearest_test_data): Likewise.
13206 (sin_towardzero_test_data): Likewise.
13207 (sin_downward_test_data): Likewise.
13208 (sin_upward_test_data): Likewise.
13209 (sincos_test_data): Likewise.
13210 (sinh_test_data): Likewise.
13211 (sinh_tonearest_test_data): Likewise.
13212 (sinh_towardzero_test_data): Likewise.
13213 (sinh_downward_test_data): Likewise.
13214 (sinh_upward_test_data): Likewise.
13215 (sqrt_test_data): Likewise.
13216 (tan_test_data): Likewise.
13217 (tan_tonearest_test_data): Likewise.
13218 (tan_towardzero_test_data): Likewise.
13219 (tan_downward_test_data): Likewise.
13220 (tan_upward_test_data): Likewise.
13221 (tanh_test_data): Likewise.
13222 (tgamma_test_data): Likewise.
13223 (trunc_test_data): Likewise.
13224 (y0_test_data): Likewise.
13225 (y1_test_data): Likewise.
13226 (yn_test_data): Likewise.
13227 (significand_test_data): Likewise.
13228
b679a606
JM
13229 * math/gen-libm-test.pl (@functions): Remove variable.
13230 (generate_testfile): Don't handle START and END lines.
13231 * math/libm-test.inc (START): New macro.
13232 (END): Likewise.
13233 (END_COMPLEX): Likewise.
13234 (acos_test): Use END macro without arguments.
13235 (acos_test_tonearest): Likewise.
13236 (acos_test_towardzero): Likewise.
13237 (acos_test_downward): Likewise.
13238 (acos_test_upward): Likewise.
13239 (acosh_test): Likewise.
13240 (asin_test): Likewise.
13241 (asin_test_tonearest): Likewise.
13242 (asin_test_towardzero): Likewise.
13243 (asin_test_downward): Likewise.
13244 (asin_test_upward): Likewise.
13245 (asinh_test): Likewise.
13246 (atan_test): Likewise.
13247 (atanh_test): Likewise.
13248 (atan2_test): Likewise.
13249 (cabs_test): Likewise.
13250 (cacos_test): Use END_COMPLEX macro without arguments.
13251 (cacosh_test): Likewise.
13252 (carg_test): Use END macro without arguments.
13253 (casin_test): Use END_COMPLEX macro without arguments.
13254 (casinh_test): Likewise.
13255 (catan_test): Likewise.
13256 (catanh_test): Likewise.
13257 (cbrt_test): Use END macro without arguments.
13258 (ccos_test): Use END_COMPLEX macro without arguments.
13259 (ccosh_test): Likewise.
13260 (ceil_test): Use END macro without arguments.
13261 (cexp_test): Use END_COMPLEX macro without arguments.
13262 (cimag_test): Use END macro without arguments.
13263 (clog_test): Use END_COMPLEX macro without arguments.
13264 (clog10_test): Likewise.
13265 (conj_test): Likewise.
13266 (copysign_test): Use END macro without arguments.
13267 (cos_test): Likewise.
13268 (cos_test_tonearest): Likewise.
13269 (cos_test_towardzero): Likewise.
13270 (cos_test_downward): Likewise.
13271 (cos_test_upward): Likewise.
13272 (cosh_test): Likewise.
13273 (cosh_test_tonearest): Likewise.
13274 (cosh_test_towardzero): Likewise.
13275 (cosh_test_downward): Likewise.
13276 (cosh_test_upward): Likewise.
13277 (cpow_test): Use END_COMPLEX macro without arguments.
13278 (cproj_test): Likewise.
13279 (creal_test): Use END macro without arguments.
13280 (csin_test): Use END_COMPLEX macro without arguments.
13281 (csinh_test): Likewise.
13282 (csqrt_test): Likewise.
13283 (ctan_test): Likewise.
13284 (ctan_test_tonearest): Likewise.
13285 (ctan_test_towardzero): Likewise.
13286 (ctan_test_downward): Likewise.
13287 (ctan_test_upward): Likewise.
13288 (ctanh_test): Likewise.
13289 (ctanh_test_tonearest): Likewise.
13290 (ctanh_test_towardzero): Likewise.
13291 (ctanh_test_downward): Likewise.
13292 (ctanh_test_upward): Likewise.
13293 (erf_test): Use END macro without arguments.
13294 (erfc_test): Likewise.
13295 (exp_test): Likewise.
13296 (exp_test_tonearest): Likewise.
13297 (exp_test_towardzero): Likewise.
13298 (exp_test_downward): Likewise.
13299 (exp_test_upward): Likewise.
13300 (exp10_test): Likewise.
13301 (exp2_test): Likewise.
13302 (expm1_test): Likewise.
13303 (fabs_test): Likewise.
13304 (fdim_test): Likewise.
13305 (finite_test): Likewise.
13306 (floor_test): Likewise.
13307 (fma_test): Likewise.
13308 (fma_test_towardzero): Likewise.
13309 (fma_test_downward): Likewise.
13310 (fma_test_upward): Likewise.
13311 (fmax_test): Likewise.
13312 (fmin_test): Likewise.
13313 (fmod_test): Likewise.
13314 (fpclassify_test): Likewise.
13315 (frexp_test): Likewise.
13316 (gamma_test): Likewise.
13317 (hypot_test): Likewise.
13318 (ilogb_test): Likewise.
13319 (isfinite_test): Likewise.
13320 (isgreater_test): Likewise.
13321 (isgreaterequal_test): Likewise.
13322 (isinf_test): Likewise.
13323 (isless_test): Likewise.
13324 (islessequal_test): Likewise.
13325 (islessgreater_test): Likewise.
13326 (isnan_test): Likewise.
13327 (isnormal_test): Likewise.
13328 (issignaling_test): Likewise.
13329 (isunordered_test): Likewise.
13330 (j0_test): Likewise.
13331 (j1_test): Likewise.
13332 (jn_test): Likewise.
13333 (ldexp_test): Likewise.
13334 (lgamma_test): Likewise.
13335 (lrint_test): Likewise.
13336 (lrint_test_tonearest): Likewise.
13337 (lrint_test_towardzero): Likewise.
13338 (lrint_test_downward): Likewise.
13339 (lrint_test_upward): Likewise.
13340 (llrint_test): Likewise.
13341 (llrint_test_tonearest): Likewise.
13342 (llrint_test_towardzero): Likewise.
13343 (llrint_test_downward): Likewise.
13344 (llrint_test_upward): Likewise.
13345 (log_test): Likewise.
13346 (log10_test): Likewise.
13347 (log1p_test): Likewise.
13348 (log2_test): Likewise.
13349 (logb_test): Likewise.
13350 (logb_test_downward): Likewise.
13351 (lround_test): Likewise.
13352 (llround_test): Likewise.
13353 (modf_test): Likewise.
13354 (nearbyint_test): Likewise.
13355 (nextafter_test): Likewise.
13356 (nexttoward_test): Likewise.
13357 (pow_test): Likewise.
13358 (pow_test_tonearest): Likewise.
13359 (pow_test_towardzero): Likewise.
13360 (pow_test_downward): Likewise.
13361 (pow_test_upward): Likewise.
13362 (remainder_test): Likewise.
13363 (remainder_test_tonearest): Likewise.
13364 (remainder_test_towardzero): Likewise.
13365 (remainder_test_downward): Likewise.
13366 (remainder_test_upward): Likewise.
13367 (remquo_test): Likewise.
13368 (rint_test): Likewise.
13369 (rint_test_tonearest): Likewise.
13370 (rint_test_towardzero): Likewise.
13371 (rint_test_downward): Likewise.
13372 (rint_test_upward): Likewise.
13373 (round_test): Likewise.
13374 (scalb_test): Likewise.
13375 (scalbn_test): Likewise.
13376 (scalbln_test): Likewise.
13377 (signbit_test): Likewise.
13378 (sin_test): Likewise.
13379 (sin_test_tonearest): Likewise.
13380 (sin_test_towardzero): Likewise.
13381 (sin_test_downward): Likewise.
13382 (sin_test_upward): Likewise.
13383 (sincos_test): Likewise.
13384 (sinh_test): Likewise.
13385 (sinh_test_tonearest): Likewise.
13386 (sinh_test_towardzero): Likewise.
13387 (sinh_test_downward): Likewise.
13388 (sinh_test_upward): Likewise.
13389 (sqrt_test): Likewise.
13390 (tan_test): Likewise.
13391 (tan_test_tonearest): Likewise.
13392 (tan_test_towardzero): Likewise.
13393 (tan_test_downward): Likewise.
13394 (tan_test_upward): Likewise.
13395 (tanh_test): Likewise.
13396 (tgamma_test): Likewise.
13397 (trunc_test): Likewise.
13398 (y0_test): Likewise.
13399 (y1_test): Likewise.
13400 (yn_test): Likewise.
13401 (significand_test): Likewise.
13402
bae143d2
OB
134032013-05-24 Ondřej Bílka <neleai@seznam.cz>
13404
13405 [BZ #15381]
13406 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13407
9323d39b
EM
134082013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13409
d4ea44a0 13410 [BZ #14894]
9323d39b
EM
13411 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13412 __ppc_mdoio and __ppc_mdoom.
13413 * manual/platform.texi: Document new functions __ppc_yield,
13414 __ppc_mdoio and __ppc_mdoom.
13415
13e23af7
CD
134162013-05-22 Carlos O'Donell <carlos@redhat.com>
13417
13418 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13419 (main): Mention "tls" pseudo-hwcap is legacy.
13420 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13421
351fe550
JM
134222013-05-22 Joseph Myers <joseph@codesourcery.com>
13423
13424 * math/gen-libm-test.pl (parse_args): Output only string of
13425 arguments as text for test name, not full call or descriptions of
13426 tests for extra outputs.
13427 (generate_testfile): Do not pass function name to parse_args.
13428 Generate this_func variable from START.
13429 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13430 field to arg_str.
13431 (struct test_ff_f_data): Likewise.
13432 (test_ff_f_data_nexttoward): Likewise.
13433 (struct test_fi_f_data): Likewise.
13434 (struct test_fl_f_data): Likewise.
13435 (struct test_if_f_data): Likewise.
13436 (struct test_fff_f_data): Likewise.
13437 (struct test_c_f_data): Likewise.
13438 (struct test_f_f1_data): Likewise. Remove field extra_name.
13439 (struct test_fF_f1_data): Likewise.
13440 (struct test_ffI_f1_data): Likewise.
13441 (struct test_c_c_data): Rename test_name field to arg_str.
13442 (struct test_cc_c_data): Likewise.
13443 (struct test_f_i_data): Likewise.
13444 (struct test_ff_i_data): Likewise.
13445 (struct test_f_l_data): Likewise.
13446 (struct test_f_L_data): Likewise.
13447 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13448 and extra2_name.
13449 (COMMON_TEST_SETUP): New macro.
13450 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13451 (COMMON_TEST_CLEANUP): Likewise.
13452 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13453 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13454 macros.
13455 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13456 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13457 macros.
13458 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13459 (RUN_TEST_fff_f): Take argument string. Call new setup and
13460 cleanup macros.
13461 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13462 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13463 macros.
13464 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13465 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13466 macros.
13467 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13468 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13469 cleanup macros.
13470 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13471 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13472 cleanup macros.
13473 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13474 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13475 cleanup macros.
13476 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13477 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13478 macros.
13479 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13480 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13481 macros.
13482 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13483 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13484 macros.
13485 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13486 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13487 cleanup macros.
13488 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13489 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13490 cleanup macros.
13491 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13492 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13493 macros.
13494 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13495 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13496 cleanup macros.
13497 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13498 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13499 macros.
13500 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13501 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13502 macros.
13503 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13504 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13505 cleanup macros.
13506 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13507
85118d4d
EBM
135082013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13509
13510 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13511 to _sifields.sigfault.
13512 (si_addr_lsb): Define new macro.
13513 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13514 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13515 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13516
7a44c18f
CD
135172013-05-03 Carlos O'Donell <carlos at redhat.com>
13518
13519 [BZ #15441]
13520 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13521 returns -1.
13522 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13523 null return -1.
13524 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13525 loading the domain.
13526
b50a7181
JM
135272013-05-22 Joseph Myers <joseph@codesourcery.com>
13528
13529 * math/gen-libm-test.pl (parse_args): Do not include expected
13530 result in test name.
13531 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13532 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13533 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13534 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13535 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13537
051063c8
SP
135382013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13539
3ce9e010
SP
13540 * benchtests/Makefile: Sort function entries.
13541
051063c8
SP
13542 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13543 tanh, asinh, acosh, atanh.
13544 * benchtests/acos-inputs: New file.
13545 * benchtests/acosh-inputs: New file.
13546 * benchtests/asin-inputs: New file.
13547 * benchtests/asinh-inputs: New file.
13548 * benchtests/atanh-inputs: New file.
13549 * benchtests/cosh-inputs: New file.
13550 * benchtests/log-inputs: New file.
13551 * benchtests/sinh-inputs: New file.
13552 * benchtests/tanh-inputs: New file.
13553
47c22455
DL
135542013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13555
13556 [BZ #15339]
13557 * posix/tst-getaddrinfo4.c: New test.
13558 * posix/Makefile (tests): Add it.
13559
3d04f5db
SP
135602013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13561
13562 [BZ #15339]
13563 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13564 when no services were used.
13565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13566 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13567
d5dd6189
AS
135682013-05-21 Andreas Schwab <schwab@suse.de>
13569
13570 [BZ #15014]
13571 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13572 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13573 successful.
13574 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13575 redundant variable declarations and reallocation of buffer when
13576 parsing as IPv6 address. Always set NSS status when called from
13577 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13578 buffer too small. Correct computation of needed size.
13579 * nss/Makefile (tests): Add test-digits-dots.
13580 * nss/test-digits-dots.c: New test.
13581
fef94eab
SP
135822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13583
13584 * benchtests/Makefile: Remove instructions for adding
13585 benchmark tests.
13586 * benchtests/README: New file to explain how to execute and
13587 enhance the benchmark tests.
13588
e39adf43
AS
135892013-05-21 Andreas Schwab <schwab@suse.de>
13590
13591 [BZ #15493]
13592 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13593 * setjmp/tst-sigsetjmp.c: New test.
13594
b2b671b6
OB
135952013-05-20 Ondřej Bílka <neleai@seznam.cz>
13596
13597 * sysdeps/x86_64/memset.S (memset): New implementation.
13598 (__bzero): Likewise.
13599 (__memset_tail): New function.
13600
2d48b41c
OB
136012013-05-20 Ondřej Bílka <neleai@seznam.cz>
13602
13603 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13604 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13605 __memcpy_sse2_unaligned ifunc selection.
13606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13607 Add memcpy-sse2-unaligned.S.
13608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13609 Add: __memcpy_sse2_unaligned.
13610
f16cc3eb
JM
136112013-05-19 Joseph Myers <joseph@codesourcery.com>
13612
3e694268
JM
13613 [BZ #15490]
13614 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13615 math_force_eval before restoring floating-point envrionment.
13616 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13618 Likewise.
13619 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13620 <math_private.h>.
13621 (__nearbyintl): Use math_force_eval before restoring
13622 floating-point environment.
13623 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13624
db62a907
JM
13625 * math/gen-libm-test.pl (special_functions): Remove.
13626 (parse_args): Don't handle TEST_extra. Handle functions with no
13627 return value.
13628 * math/libm-test.inc (struct test_sincos_data): Replace with
13629 struct test_fFF_11_data.
13630 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13631 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13632 (sincos_test_data): Change element type to struct
13633 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13634 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13635 RUN_TEST_LOOP_sincos.
13636 * math/README.libm-test: Don't mention special handling of
13637 individual functions.
13638 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13640 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13641 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13642 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13644
f16cc3eb
JM
13645 * math/gen-libm-test.pl (get_variable): Remove function.
13646 (parse_args): Don't show pointer parameters to call in test
13647 names. Use "extra output N" in test names for extra outputs
13648 rather than naming variables.
13649
3779b5b6
JM
136502013-05-18 Joseph Myers <joseph@codesourcery.com>
13651
2ee094ff
JM
13652 [BZ #15488]
13653 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13654 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13655 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13656 double tests.
13657 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13658 disable.
13659 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13660 check_long_double.
13661
3779b5b6
JM
13662 * math/gen-libm-test.pl (@tests): Remove variable.
13663 ($count): Likewise.
13664 (new_test): Remove function.
13665 (show_exceptions): New function.
13666 (special_functions): Use show_exceptions instead of new_test.
13667 (parse_args): Likewise.
13668 (generate_testfile): Pass only function name in generated call to
13669 print_max_error or print_complex_max_error.
13670 (get_ulps): Do not handle complex tests specially.
13671 (output_test): Rename to ...
13672 (get_all_ulps_for_test): ... this. Return a string rather than
13673 printing to a file. Require ulps to be present.
13674 (output_ulps): Generate arrays rather than #defines.
13675 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13676 (struct ulp_data): New type.
13677 (BUILD_COMPLEX_ULP): Remove macro.
13678 (compare_ulp_data): New function.
13679 (find_ulps): Likewise.
13680 (find_test_ulps): Likewise.
13681 (find_function_ulps): Likewise.
13682 (find_complex_function_ulps): Likewise.
13683 (print_max_error): Determine allowed ulps using
13684 find_function_ulps.
13685 (print_complex_max_error): Determine allowed ulps using
13686 find_complex_function_ulps.
13687 (check_float_internal): Determine max ulps using find_test_ulps.
13688 (check_float): Do not take max_ulp parameter. Update call to
13689 check_float_internal.
13690 (check_complex): Likewise.
13691 (check_int): Do not take max_ulp parameter.
13692 (check_long): Likewise.
13693 (check_bool): Likewise.
13694 (check_longlong): Likewise.
13695 (struct test_f_f_data): Remove max_ulp field.
13696 (struct test_ff_f_data): Likewise.
13697 (struct test_ff_f_data_nexttoward): Likewise.
13698 (struct test_fi_f_data): Likewise.
13699 (struct test_fl_f_data): Likewise.
13700 (struct test_if_f_data): Likewise.
13701 (struct test_fff_f_data): Likewise.
13702 (struct test_c_f_data): Likewise.
13703 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13704 (struct test_fF_f1_data): Likewise.
13705 (struct test_ffI_f1_data): Likewise.
13706 (struct test_c_c_data): Remove max_ulp field.
13707 (struct test_cc_c_data): Likewise.
13708 (struct test_f_i_data): Likewise.
13709 (struct test_ff_i_data): Likewise.
13710 (struct test_f_l_data): Likewise.
13711 (struct test_f_L_data): Likewise.
13712 (struct test_sincos_data): Likewise.
13713 (RUN_TEST_f_f): Do not handle ulps.
13714 (RUN_TEST_LOOP_f_f): Likewise.
13715 (RUN_TEST_2_f): Likewise.
13716 (RUN_TEST_LOOP_2_f): Likewise.
13717 (RUN_TEST_fff_f): Likewise.
13718 (RUN_TEST_LOOP_fff_f): Likewise.
13719 (RUN_TEST_c_f): Likewise.
13720 (RUN_TEST_LOOP_c_f): Likewise.
13721 (RUN_TEST_f_f1): Likewise.
13722 (RUN_TEST_LOOP_f_f1): Likewise.
13723 (RUN_TEST_fF_f1): Likewise.
13724 (RUN_TEST_LOOP_fF_f1): Likewise.
13725 (RUN_TEST_fI_f1): Likewise.
13726 (RUN_TEST_LOOP_fI_f1): Likewise.
13727 (RUN_TEST_ffI_f1): Likewise.
13728 (RUN_TEST_LOOP_ffI_f1): Likewise.
13729 (RUN_TEST_c_c): Likewise.
13730 (RUN_TEST_LOOP_c_c): Likewise.
13731 (RUN_TEST_cc_c): Likewise.
13732 (RUN_TEST_LOOP_cc_c): Likewise.
13733 (RUN_TEST_f_i): Likewise.
13734 (RUN_TEST_LOOP_f_i): Likewise.
13735 (RUN_TEST_f_i_tg): Likewise.
13736 (RUN_TEST_LOOP_f_i_tg): Likewise.
13737 (RUN_TEST_ff_i_tg): Likewise.
13738 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13739 (RUN_TEST_f_b): Likewise.
13740 (RUN_TEST_LOOP_f_b): Likewise.
13741 (RUN_TEST_f_b_tg): Likewise.
13742 (RUN_TEST_LOOP_f_b_tg): Likewise.
13743 (RUN_TEST_f_l): Likewise.
13744 (RUN_TEST_LOOP_f_l): Likewise.
13745 (RUN_TEST_f_L): Likewise.
13746 (RUN_TEST_LOOP_f_L): Likewise.
13747 (RUN_TEST_sincos): Likewise.
13748 (RUN_TEST_LOOP_sincos): Likewise.
13749
8269107f
JM
137502013-05-17 Joseph Myers <joseph@codesourcery.com>
13751
bb38759d
JM
13752 [BZ #15480]
13753 [BZ #15485]
13754 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13755 main case of finite arguments, set rounding mode to FE_TONEAREST
13756 and discard exceptions.
13757 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13758 exceptions.
13759 (remainder_tonearest_test_data): New variable.
13760 (remainder_test_tonearest): New function.
13761 (remainder_towardzero_test_data): New variable.
13762 (remainder_test_towardzero): New function.
13763 (remainder_downward_test_data): New variable.
13764 (remainder_test_downward): New function.
13765 (remainder_upward_test_data): New variable.
13766 (remainder_test_upward): New function.
13767 (main): Call the new test functions.
13768
a00bdcf0
JM
13769 * math/libm-test.inc (struct test_f_f1_data): Remove field
13770 extra_init.
13771 (struct test_fF_f1_data): Likewise.
13772 (struct test_ffI_f1_data): Likewise.
13773 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13774 based on value of EXTRA_EXPECTED.
13775 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13776 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13777 EXTRA_VAR based on value of EXTRA_EXPECTED.
13778 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13779 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13780 EXTRA_VAR based on value of EXTRA_EXPECTED.
13781 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13782 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13783 EXTRA_VAR based on value of EXTRA_EXPECTED.
13784 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13785 * math/gen-libm-test.pl (parse_args): Don't output initializers
13786 for extra output values.
13787
de407f79
JM
13788 * math/libm-test.inc (check_int): Expect result to be exactly
13789 equal to expected value and do not handle ulps.
13790 (check_long): Likewise.
13791 (check_longlong): Likewise.
13792
8269107f
JM
13793 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13794 exceptions.
13795 (cimag_test_data): Likewise.
13796 (conj_test_data): Likewise.
13797 (copysign_test_data): Likewise.
13798 (cproj_test_data): Likewise.
13799 (creal_test_data): Likewise.
13800 (fabs_test_data): Likewise.
13801 (fdim_test_data): Likewise.
13802 (finite_test_data): Likewise.
13803 (floor_test_data): Likewise.
13804 (fmax_test_data): Likewise.
13805 (fmin_test_data): Likewise.
13806 (fmod_test_data): Likewise.
13807 (fpclassify_test_data): Likewise.
13808 (frexp_test_data): Likewise.
13809 (ilogb_test_data): Likewise.
13810 (isfinite_test_data): Likewise.
13811 (isgreater_test_data): Likewise.
13812 (isgreaterequal_test_data): Likewise.
13813 (isinf_test_data): Likewise.
13814 (isless_test_data): Likewise.
13815 (islessequal_test_data): Likewise.
13816 (islessgreater_test_data): Likewise.
13817 (isnan_test_data): Likewise.
13818 (isnormal_test_data): Likewise.
13819 (issignaling_test_data): Likewise.
13820 (isunordered_test_data): Likewise.
13821 (ldexp_test_data): Likewise.
13822 (lrint_test_data): Likewise.
13823 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13824 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13825 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13826 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13827 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13828 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13829 test input.
13830 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13831 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13832 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13833 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13834 that test input.
13835 (lrint_downward_test_data): Test for "inexact" exceptions.
13836 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13837 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13838 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13839 test input.
13840 (lrint_upward_test_data): Test for "inexact" exceptions.
13841 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13842 test input.
13843 (llrint_test_data): Test for "inexact" exceptions.
13844 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13845 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13846 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13847 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13848 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13849 (llrint_downward_test_data): Test for "inexact" exceptions.
13850 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13851 (llrint_upward_test_data): Test for "inexact" exceptions.
13852 (logb_test_data): Likewise.
13853 (logb_downward_test_data): Likewise.
13854 (nextafter_test_data): Likewise.
13855 (nexttoward_test_data): Likewise.
13856 (remainder_test_data): Likewise.
13857 (remquo_test_data): Likewise.
13858 (scalbn_test_data): Likewise.
13859 (scalbln_test_data): Likewise.
13860 (signbit_test_data): Likewise.
13861 (sqrt_test_data): Likewise.
13862 (significand_test_data): Likewise.
13863
48a18de1
SP
138642013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13865
13866 [BZ #15424]
13867 * benchtests/bench-modf.c (struct args): Mark arg0 as
13868 volatile.
13869 * scripts/bench.pl: Mark members of struct args as volatile.
13870
13d3b41a
AZ
138712013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13872
68191c1d 13873 [BZ # 15497]
13d3b41a
AZ
13874 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13875 negative infinity on POWER6 or lower.
13876 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13877
2848b105
MR
138782013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13879
13880 [BZ #15442]
13881 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13882 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13883 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13884 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13885 (_FP_SETQNAN): New macro.
13886 (_FP_SETQNAN_SEMIRAW): Likewise.
13887 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13888 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13889 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13890 (FP_EXTEND): Use _FP_FRAC_SNANP.
13891 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13892 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13893 into account.
13894 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13895 New macro.
13896 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13897 Likewise.
13898
323e5cb7
JM
138992013-05-16 Joseph Myers <joseph@codesourcery.com>
13900
c58b274f
JM
13901 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13902 with DIVIDE_BY_ZERO_EXCEPTION.
13903 (gamma_test_data): Likewise.
13904 (lgamma_test_data): Likewise.
13905 (log_test_data): Likewise.
13906 (log10_test_data): Likewise.
13907 (log2_test_data): Likewise.
13908 (tgamma_test_data): Likewise.
13909
0ab34904
JM
13910 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13911 (acos_test_tonearest): Likewise.
13912 (acos_test_towardzero): Likewise.
13913 (acos_test_downward): Likewise.
13914 (acos_test_upward): Likewise.
13915 (acosh_test): Likewise.
13916 (asin_test): Likewise.
13917 (asin_test_tonearest): Likewise.
13918 (asin_test_towardzero): Likewise.
13919 (asin_test_downward): Likewise.
13920 (asin_test_upward): Likewise.
13921 (asinh_test): Likewise.
13922 (atan_test): Likewise.
13923 (atanh_test): Likewise.
13924 (atan2_test): Likewise.
13925 (cabs_test): Likewise.
13926 (cacos_test): Likewise.
13927 (cacosh_test): Likewise.
13928 (casin_test): Likewise.
13929 (casinh_test): Likewise.
13930 (catan_test): Likewise.
13931 (catanh_test): Likewise.
13932 (cbrt_test): Likewise.
13933 (ccos_test): Likewise.
13934 (ccosh_test): Likewise.
13935 (cexp_test): Likewise.
13936 (clog_test): Likewise.
13937 (clog10_test): Likewise.
13938 (cos_test): Likewise.
13939 (cos_test_tonearest): Likewise.
13940 (cos_test_towardzero): Likewise.
13941 (cos_test_downward): Likewise.
13942 (cos_test_upward): Likewise.
13943 (cosh_test): Likewise.
13944 (cosh_test_tonearest): Likewise.
13945 (cosh_test_towardzero): Likewise.
13946 (cosh_test_downward): Likewise.
13947 (cosh_test_upward): Likewise.
13948 (cpow_test): Likewise.
13949 (csin_test): Likewise.
13950 (csinh_test): Likewise.
13951 (csqrt_test): Likewise.
13952 (ctan_test): Likewise.
13953 (ctan_test_tonearest): Likewise.
13954 (ctan_test_towardzero): Likewise.
13955 (ctan_test_downward): Likewise.
13956 (ctan_test_upward): Likewise.
13957 (ctanh_test): Likewise.
13958 (ctanh_test_tonearest): Likewise.
13959 (ctanh_test_towardzero): Likewise.
13960 (ctanh_test_downward): Likewise.
13961 (ctanh_test_upward): Likewise.
13962 (erf_test): Likewise.
13963 (erfc_test): Likewise.
13964 (exp_test): Likewise.
13965 (exp_test_tonearest): Likewise.
13966 (exp_test_towardzero): Likewise.
13967 (exp_test_downward): Likewise.
13968 (exp_test_upward): Likewise.
13969 (exp10_test): Likewise.
13970 (exp2_test): Likewise.
13971 (expm1_test): Likewise.
13972 (fmod_test): Likewise.
13973 (gamma_test): Likewise.
13974 (hypot_test): Likewise.
13975 (j0_test): Likewise.
13976 (j1_test): Likewise.
13977 (jn_test): Likewise.
13978 (lgamma_test): Likewise.
13979 (log_test): Likewise.
13980 (log10_test): Likewise.
13981 (log1p_test): Likewise.
13982 (log2_test): Likewise.
13983 (logb_test_downward): Likewise.
13984 (pow_test): Likewise.
13985 (pow_test_tonearest): Likewise.
13986 (pow_test_towardzero): Likewise.
13987 (pow_test_downward): Likewise.
13988 (pow_test_upward): Likewise.
13989 (remainder_test): Likewise.
13990 (remquo_test): Likewise.
13991 (sin_test): Likewise.
13992 (sin_test_tonearest): Likewise.
13993 (sin_test_towardzero): Likewise.
13994 (sin_test_downward): Likewise.
13995 (sin_test_upward): Likewise.
13996 (sincos_test): Likewise.
13997 (sinh_test): Likewise.
13998 (sinh_test_tonearest): Likewise.
13999 (sinh_test_towardzero): Likewise.
14000 (sinh_test_downward): Likewise.
14001 (sinh_test_upward): Likewise.
14002 (sqrt_test): Likewise.
14003 (tan_test): Likewise.
14004 (tan_test_tonearest): Likewise.
14005 (tan_test_towardzero): Likewise.
14006 (tan_test_downward): Likewise.
14007 (tan_test_upward): Likewise.
14008 (tanh_test): Likewise.
14009 (tgamma_test): Likewise.
14010 (y0_test): Likewise.
14011 (y1_test): Likewise.
14012 (yn_test): Likewise.
14013
323e5cb7
JM
14014 * math/gen-libm-test.pl (adjust_arg): Remove function.
14015 (special_function): Remove argument $in_func. Only handle
14016 generating output for tables of tests, not inside functions.
14017 (parse_args): Likewise.
14018 (generate_testfile): Remove variable $in_func. Update call to
14019 parse_args.
14020 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14021 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14022 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14023 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14024 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14025 (MAX_VALUE_INIT): Rename macro to max_value.
14026 (MIN_VALUE_INIT): Rename macro to min_value.
14027 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14028 (plus_zero): Remove variable.
14029 (minus_zero): Likewise.
14030 (plus_infty): Likewise.
14031 (minus_infty): Likewise.
14032 (qnan_value): Likewise.
14033 (max_value): Likewise.
14034 (min_value): Likewise.
14035 (min_subnorm_value): Likewise.
14036
e054f494
RA
140372013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14038
14039 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14040 uint64_t or uint32_t usage.
14041 * crypt/sha256-block.c: Likewise.
14042 * crypt/sha256-crypt.c: Likewise.
14043 * crypt/sha256.c: Likewise.
14044 * crypt/sha512-block.c: Likewise.
14045 * crypt/sha512-crypt.c: Likewise.
14046 * crypt/sha512.c: Likewise.
14047 * debug/backtrace-tst.c: Likewise.
14048 * debug/pcprofiledump.c: Likewise.
14049 * elf/cache.c: Likewise.
14050 * elf/dl-cache.c: Likewise.
14051 * elf/dl-misc.c: Likewise.
14052 * elf/dl-profile.c: Likewise.
14053 * elf/dl-support.c: Likewise.
14054 * elf/ldconfig.c: Likewise.
14055 * elf/sprof.c: Likewise.
14056 * iconv/dummy-repertoire.c: Likewise.
14057 * iconv/iconv_charmap.c: Likewise.
14058 * iconv/skeleton.c: Likewise.
14059 * iconvdata/8bit-generic.c: Likewise.
14060 * iconvdata/cp737.h: Likewise.
14061 * iconvdata/cp775.h: Likewise.
14062 * iconvdata/ibm1008.h: Likewise.
14063 * iconvdata/ibm1025.h: Likewise.
14064 * iconvdata/ibm1046.h: Likewise.
14065 * iconvdata/ibm1097.h: Likewise.
14066 * iconvdata/ibm1112.h: Likewise.
14067 * iconvdata/ibm1122.h: Likewise.
14068 * iconvdata/ibm1123.h: Likewise.
14069 * iconvdata/ibm1124.h: Likewise.
14070 * iconvdata/ibm1129.h: Likewise.
14071 * iconvdata/ibm1130.h: Likewise.
14072 * iconvdata/ibm1132.h: Likewise.
14073 * iconvdata/ibm1133.h: Likewise.
14074 * iconvdata/ibm1137.h: Likewise.
14075 * iconvdata/ibm1140.h: Likewise.
14076 * iconvdata/ibm1141.h: Likewise.
14077 * iconvdata/ibm1142.h: Likewise.
14078 * iconvdata/ibm1143.h: Likewise.
14079 * iconvdata/ibm1144.h: Likewise.
14080 * iconvdata/ibm1145.h: Likewise.
14081 * iconvdata/ibm1146.h: Likewise.
14082 * iconvdata/ibm1147.h: Likewise.
14083 * iconvdata/ibm1148.h: Likewise.
14084 * iconvdata/ibm1149.h: Likewise.
14085 * iconvdata/ibm1153.h: Likewise.
14086 * iconvdata/ibm1154.h: Likewise.
14087 * iconvdata/ibm1155.h: Likewise.
14088 * iconvdata/ibm1156.h: Likewise.
14089 * iconvdata/ibm1157.h: Likewise.
14090 * iconvdata/ibm1158.h: Likewise.
14091 * iconvdata/ibm1160.h: Likewise.
14092 * iconvdata/ibm1161.h: Likewise.
14093 * iconvdata/ibm1162.h: Likewise.
14094 * iconvdata/ibm1163.h: Likewise.
14095 * iconvdata/ibm1164.h: Likewise.
14096 * iconvdata/ibm1166.h: Likewise.
14097 * iconvdata/ibm1167.h: Likewise.
14098 * iconvdata/ibm12712.h: Likewise.
14099 * iconvdata/ibm1390.h: Likewise.
14100 * iconvdata/ibm1399.h: Likewise.
14101 * iconvdata/ibm16804.h: Likewise.
14102 * iconvdata/ibm4517.h: Likewise.
14103 * iconvdata/ibm4899.h: Likewise.
14104 * iconvdata/ibm4909.h: Likewise.
14105 * iconvdata/ibm4971.h: Likewise.
14106 * iconvdata/ibm5347.h: Likewise.
14107 * iconvdata/ibm803.h: Likewise.
14108 * iconvdata/ibm856.h: Likewise.
14109 * iconvdata/ibm901.h: Likewise.
14110 * iconvdata/ibm902.h: Likewise.
14111 * iconvdata/ibm9030.h: Likewise.
14112 * iconvdata/ibm9066.h: Likewise.
14113 * iconvdata/ibm921.h: Likewise.
14114 * iconvdata/ibm922.h: Likewise.
14115 * iconvdata/ibm9448.h: Likewise.
14116 * iconvdata/isiri-3342.h: Likewise.
14117 * iconvdata/jis0201.h: Likewise.
14118 * include/link.h: Likewise.
14119 * include/netdb.h: Likewise.
14120 * inet/check_native.c: Likewise.
14121 * inet/check_pf.c: Likewise.
14122 * inet/getipv4sourcefilter.c: Likewise.
14123 * inet/getnameinfo.c: Likewise.
14124 * inet/getsourcefilter.c: Likewise.
14125 * inet/htonl.c: Likewise.
14126 * inet/setipv4sourcefilter.c: Likewise.
14127 * inet/setsourcefilter.c: Likewise.
14128 * inet/test-inet6_opt.c: Likewise.
14129 * inet/tst-network.c: Likewise.
14130 * locale/C-collate.c: Likewise.
14131 * locale/C-ctype.c: Likewise.
14132 * locale/C-time.c: Likewise.
14133 * locale/C-translit.h: Likewise.
14134 * locale/loadarchive.c: Likewise.
14135 * locale/programs/3level.h: Likewise.
14136 * locale/programs/charmap.c: Likewise.
14137 * locale/programs/charmap.h: Likewise.
14138 * locale/programs/ld-address.c: Likewise.
14139 * locale/programs/ld-collate.c: Likewise.
14140 * locale/programs/ld-ctype.c: Likewise.
14141 * locale/programs/ld-identification.c: Likewise.
14142 * locale/programs/ld-measurement.c: Likewise.
14143 * locale/programs/ld-messages.c: Likewise.
14144 * locale/programs/ld-monetary.c: Likewise.
14145 * locale/programs/ld-name.c: Likewise.
14146 * locale/programs/ld-numeric.c: Likewise.
14147 * locale/programs/ld-paper.c: Likewise.
14148 * locale/programs/ld-telephone.c: Likewise.
14149 * locale/programs/ld-time.c: Likewise.
14150 * locale/programs/linereader.c: Likewise.
14151 * locale/programs/locale.c: Likewise.
14152 * locale/programs/locarchive.c: Likewise.
14153 * locale/programs/locfile.h: Likewise.
14154 * locale/programs/repertoire.c: Likewise.
14155 * locale/programs/simple-hash.c: Likewise.
14156 * locale/programs/simple-hash.h: Likewise.
14157 * malloc/memusage.c: Likewise.
14158 * malloc/memusagestat.c: Likewise.
14159 * nis/nis_defaults.c: Likewise.
14160 * nis/nis_hash.c: Likewise.
14161 * nis/nis_print.c: Likewise.
14162 * nis/nis_xdr.c: Likewise.
14163 * nscd/connections.c: Likewise.
14164 * nscd/hstcache.c: Likewise.
14165 * nscd/nscd_gethst_r.c: Likewise.
14166 * nscd/nscd_getserv_r.c: Likewise.
14167 * nscd/nscd_helper.c: Likewise.
14168 * nscd/servicescache.c: Likewise.
14169 * nss/makedb.c: Likewise.
14170 * nss/nss_db/db-XXX.c: Likewise.
14171 * nss/nss_db/db-initgroups.c: Likewise.
14172 * nss/nss_db/db-netgrp.c: Likewise.
14173 * nss/nss_files/files-network.c: Likewise.
14174 * nss/nss_files/files-parse.c: Likewise.
14175 * posix/bug-regex5.c: Likewise.
14176 * posix/fnmatch_loop.c: Likewise.
14177 * posix/regcomp.c: Likewise.
14178 * posix/regexec.c: Likewise.
14179 * posix/tst-rfc3484-2.c: Likewise.
14180 * posix/tst-rfc3484-3.c: Likewise.
14181 * posix/tst-rfc3484.c: Likewise.
14182 * resolv/nss_dns/dns-canon.c: Likewise.
14183 * resolv/nss_dns/dns-network.c: Likewise.
14184 * resolv/res_init.c: Likewise.
14185 * resolv/res_mkquery.c: Likewise.
14186 * resolv/tst-aton.c: Likewise.
14187 * stdlib/cxa_atexit.c: Likewise.
14188 * stdlib/cxa_finalize.c: Likewise.
14189 * stdlib/gen-fpioconst.c: Likewise.
14190 * stdlib/strtol_l.c: Likewise.
14191 * string/tst-endian.c: Likewise.
14192 * sunrpc/auth_des.c: Likewise.
14193 * sunrpc/clnt_udp.c: Likewise.
14194 * sunrpc/rtime.c: Likewise.
14195 * sunrpc/svcauth_des.c: Likewise.
14196 * sunrpc/xdr.c: Likewise.
14197 * sunrpc/xdr_intXX_t.c: Likewise.
14198 * sunrpc/xdr_rec.c: Likewise.
14199 * sysdeps/generic/ldconfig.h: Likewise.
14200 * sysdeps/generic/ldsodefs.h: Likewise.
14201 * sysdeps/generic/memusage.h: Likewise.
14202 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14205 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14212 * sysdeps/posix/getaddrinfo.c: Likewise.
14213 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14214 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14215 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14216 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14217 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14218 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14219 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14220 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14221 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14222 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14223 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14224 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14225 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14226 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14228 * sysdeps/x86_64/dl-tls.h: Likewise.
14229 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14230 * time/alt_digit.c: Likewise.
14231 * time/era.c: Likewise.
14232 * wcsmbs/tst-c16c32-1.c: Likewise.
14233
8c75f674
JM
142342013-05-16 Joseph Myers <joseph@codesourcery.com>
14235
14236 * math/libm-test.inc (struct test_sincos_data): New type.
14237 (RUN_TEST_LOOP_sincos): New macro.
14238 (sincos_test_data): New variable.
14239 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14240
e6e49e59
RH
142412013-05-16 Richard Henderson <rth@redhat.com>
14242
14243 * math/atest-exp2.c (LIMB64): New macro.
14244 (CONSTSZ): New macro.
14245 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14246 (hexdig): Move ...
14247 (print_mpn_fp): ... to function scope.
14248 (read_mpn_hex): Remove.
14249 (get_log2): Remove.
14250 (exp2_mpn): Use mp_log2.
14251 (main): Use mp_exp1.
14252
15c7c18d
JM
142532013-05-16 Joseph Myers <joseph@codesourcery.com>
14254
105a07df
JM
14255 * math/libm-test.inc: Remove comment about not testing "inexact"
14256 exceptions.
14257 (INEXACT_EXCEPTION): New macro.
14258 (NO_INEXACT_EXCEPTION): Likewise.
14259 (INVALID_EXCEPTION_OK): Update value.
14260 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14261 (OVERFLOW_EXCEPTION_OK): Likewise.
14262 (UNDERFLOW_EXCEPTION_OK): Likewise.
14263 (IGNORE_ZERO_INF_SIGN): Likewise.
14264 (ERRNO_UNCHANGED): Likewise.
14265 (ERRNO_EDOM): Likewise.
14266 (ERRNO_ERANGE): Likewise.
14267 (test_exceptions): Handle testing "inexact" exceptions.
14268 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14269 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14270 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14271 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14272 INEXACT_EXCEPTION.
14273 (rint_towardzero_test_data): Likewise.
14274 (rint_downward_test_data): Likewise.
14275 (rint_upward_test_data): Likewise.
14276
e9eee333
JM
14277 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14278 with OVERFLOW_EXCEPTION.
14279 (exp10_test_data): Likewise.
14280 (exp2_test_data): Likewise.
14281 (expm1_test_data): Likewise.
14282 (lgamma_test_data): Likewise.
14283 (pow_test_data): Likewise.
14284 (tgamma_test_data): Likewise.
14285 (yn_test_data): Remove duplicate test of overflow.
14286
1c38ff73
JM
14287 * math/libm-test.inc (struct test_cc_c_data): New type.
14288 (RUN_TEST_LOOP_cc_c): New macro.
14289 (cpow_test_data): New variable.
14290 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14291
15c7c18d
JM
14292 * math/libm-test.inc (struct test_f_L_data): New type.
14293 (RUN_TEST_LOOP_f_L): New macro.
14294 (llrint_test_data): New variable.
14295 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14296 (llrint_tonearest_test_data): New variable.
14297 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14298 (llrint_towardzero_test_data): New variable.
14299 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14300 (llrint_downward_test_data): New variable.
14301 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14302 (llrint_upward_test_data): New variable.
14303 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14304 (llround_test_data): New variable.
14305 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14306
f137ff13
PC
143072013-05-13 Peter Collingbourne <pcc@google.com>
14308
14309 * math/atest-exp2.c (get_log2): Remove const attribute.
14310
3608cb24
JM
143112013-05-15 Joseph Myers <joseph@codesourcery.com>
14312
14313 * math/libm-test.inc (struct test_f_l_data): New type.
14314 (RUN_TEST_LOOP_f_l): New macro.
14315 (lrint_test_data): New variable.
14316 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14317 (lrint_tonearest_test_data): New variable.
14318 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14319 (lrint_towardzero_test_data): New variable.
14320 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14321 (lrint_downward_test_data): New variable.
14322 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14323 (lrint_upward_test_data): New variable.
14324 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14325 (lround_test_data): New variable.
14326 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14327
39b1f617
PC
143282013-05-15 Peter Collingbourne <pcc@google.com>
14329
1deff3dc
PC
14330 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14331 (EXTRACT_WORDS64) Use where appropriate.
14332 (INSERT_WORDS64) Likewise.
14333
791f3ba0
PC
14334 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14335 constraints with x constraints.
14336 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14337
39b1f617
PC
14338 * malloc/obstack.c (_obstack_compat): Add initializer.
14339
12fba011
EM
143402013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14341
14342 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14343 si_trapno and add si_addr_lsb to _sifields.sigfault.
14344 (si_trapno): Remove macro.
14345 (si_addr_lsb): Define new macro.
14346 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14347
d369f531
JM
143482013-05-15 Joseph Myers <joseph@codesourcery.com>
14349
b861c6c4
JM
14350 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14351 instead of TEST_f_l.
14352 (llrint_test_tonearest): Likewise.
14353 (llrint_test_towardzero): Likewise.
14354 (llrint_test_downward): Likewise.
14355 (llrint_test_upward): Likewise.
14356 (llround_test): Likewise.
14357
7abeee12
JM
14358 * math/libm-test.inc (struct test_f_i_data): Add comment.
14359 (RUN_TEST_LOOP_f_b): New macro.
14360 (RUN_TEST_LOOP_f_b_tg): Likewise.
14361 (finite_test_data): New variable.
14362 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14363 (isfinite_test_data): New variable.
14364 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14365 (isinf_test_data): New variable.
14366 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14367 (isnan_test_data): New variable.
14368 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14369 (isnormal_test_data): New variable.
14370 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14371 (issignaling_test_data): New variable.
14372 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14373 (signbit_test_data): New variable.
14374 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14375
cbe8c4d3
JM
14376 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14377 with INVALID_EXCEPTION.
14378 (acosh_test_data): Likewise.
14379 (asin_test_data): Likewise.
14380 (atanh_test_data): Likewise.
14381 (fmod_test_data): Likewise.
14382 (log_test_data): Likewise.
14383 (log10_test_data): Likewise.
14384 (log2_test_data): Likewise.
14385 (pow_test_data): Likewise.
14386 (sqrt_test_data): Likewise.
14387 (y0_test_data): Likewise.
14388 (y1_test_data): Likewise.
14389 (yn_test_data): Likewise.
14390
5575c0e5
JM
14391 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14392 function contents.
14393
d369f531
JM
14394 * math/libm-test.inc (struct test_ff_i_data): New type.
14395 (RUN_TEST_LOOP_ff_i_tg): New macro.
14396 (isgreater_test_data): New variable.
14397 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14398 (isgreaterequal_test_data): New variable.
14399 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14400 (isless_test_data): New variable.
14401 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14402 (islessequal_test_data): New variable.
14403 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14404 (islessgreater_test_data): New variable.
14405 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14406 (isunordered_test_data): New variable.
14407 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14408
781fd748
DM
144092013-05-14 David S. Miller <davem@davemloft.net>
14410
14411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14412
87aa21df
JM
144132013-05-14 Joseph Myers <joseph@codesourcery.com>
14414
5e908270
JM
14415 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14416
f71172e5
JM
14417 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14418 extra_test to int.
14419 (struct test_f_i_data): Change type of max_ulp to int.
14420
8cfa635a
JM
14421 * math/libm-test.inc (test_ffI_f1_data): New type.
14422 (RUN_TEST_LOOP_ffI_f1): New macro.
14423 (remquo_test_data): New variable.
14424 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14425
2bcb36b2
JM
14426 * setjmp/tst-setjmp-fp.c: New file.
14427 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14428 (link-libm): New variable.
14429 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14430
acbd839a
JM
14431 * math/libm-test.inc (struct test_f_i_data): New type.
14432 (RUN_TEST_LOOP_f_i): New macro.
14433 (RUN_TEST_LOOP_f_i_tg): Likewise.
14434 (fpclassify_test_data): New variable.
14435 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14436 (ilogb_test_data): New variable.
14437 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14438
e414d745
JM
14439 * math/libm-test.inc (scalbln_test): Correct function name in END
14440 call.
14441
d9c2a0fd
JM
14442 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14443 (RUN_TEST_LOOP_fI_f1): New macro.
14444 (frexp_test_data): New variable.
14445 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14446
9dc9095d
JM
14447 * math/libm-test.inc (struct test_fF_f1_data): New type.
14448 (RUN_TEST_LOOP_fF_f1): New macro.
14449 (modf_test_data): New variable.
14450 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14451
87aa21df
JM
14452 * math/libm-test.inc (struct test_f_f1_data): New type.
14453 (RUN_TEST_LOOP_f_f1): New macro.
14454 (gamma_test_data): New variable.
14455 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14456 (lgamma_test_data): New variable.
14457 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14458
141af660
CD
144592013-05-13 Carlos O'Donell <carlos@redhat.com>
14460
14461 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14462 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14463 (main): Comment "tls" pseudo-hwcap.
14464
6d33265c
JM
144652013-05-13 Joseph Myers <joseph@codesourcery.com>
14466
68fc074c
JM
14467 * math/libm-test.inc (struct test_fl_f_data): New type.
14468 (RUN_TEST_LOOP_fl_f): New variable.
14469 (scalbln_test_data): New variable.
14470 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14471
243216e1
JM
14472 * math/libm-test.inc (struct test_fi_f_data): New type.
14473 (RUN_TEST_LOOP_fi_f): New macro.
14474 (ldexp_test_data): New variable.
14475 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14476 (scalbn_test_data): New variable.
14477 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14478
6a1992e2
JM
14479 * math/libm-test.inc (struct test_c_f_data): New type.
14480 (RUN_TEST_LOOP_c_f): New macro.
14481 (cabs_test_data): New variable.
14482 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14483 (carg_test_data): New variable.
14484 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14485 (cimag_test_data): New variable.
14486 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14487 (creal_test_data): New variable.
14488 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14489
0e400df5
JM
14490 * math/libm-test.inc (struct test_if_f_data): New type.
14491 (RUN_TEST_LOOP_if_f): New macro.
14492 (jn_test_data): New variable.
14493 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14494 (yn_test_data): New variable.
14495 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14496
6d33265c
JM
14497 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14498
f98ece5f
AZ
144992013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14500
14501 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14502 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14503
0f7d347b
SP
145042013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14505
43fe811b
SP
14506 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14507 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14508 (bench-deps): Add bench-timing.h.
14509 * benchtests-bench-skeleton.c: Include bench-timing.h.
14510 (main): Use TIMING_* macros instead of clock_gettime.
14511 * benchtests/bench-timing.h: New file.
14512
0f7d347b
SP
14513 [BZ #14582]
14514 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14515 Renamed from _LIB_VERSION.
14516 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14517
601a3a5f
JM
145182013-05-12 Joseph Myers <joseph@codesourcery.com>
14519
4f184d30
JM
14520 * math/libm-test.inc (struct test_fff_f_data): New type.
14521 (RUN_TEST_LOOP_fff_f): New macro.
14522 (fma_test_data): New variable.
14523 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14524 (fma_towardzero_test_data): New variable.
14525 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14526 (fma_downward_test_data): New variable.
14527 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14528 (fma_upward_test_data): New variable.
14529 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14530
08198877
JM
14531 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14532 (struct test_c_c_data): New type.
14533 (RUN_TEST_LOOP_c_c): New macro.
14534 (cacos_test_data): New variable.
14535 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14536 (cacosh_test_data): New variable.
14537 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14538 (casin_test_data): New variable.
14539 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14540 (casinh_test_data): New variable.
14541 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14542 (catan_test_data): New variable.
14543 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14544 (catanh_test_data): New variable.
14545 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14546 (ccos_test_data): New variable.
14547 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14548 (ccosh_test_data): New variable.
14549 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14550 (cexp_test_data): New variable.
14551 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14552 (clog_test_data): New variable.
14553 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14554 (clog10_test_data): New variable.
14555 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14556 (conj_test_data): New variable.
14557 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14558 (cproj_test_data): New variable.
14559 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14560 (csin_test_data): New variable.
14561 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14562 (csinh_test_data): New variable.
14563 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14564 (csqrt_test_data): New variable.
14565 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14566 (ctan_test_data): New variable.
14567 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14568 (ctan_tonearest_test_data): New variable.
14569 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14570 (ctan_towardzero_test_data): New variable.
14571 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14572 (ctan_downward_test_data): New variable.
14573 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14574 (ctan_upward_test_data): New variable.
14575 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14576 (ctanh_test_data): New variable.
14577 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14578 (ctanh_tonearest_test_data): New variable.
14579 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14580 (ctanh_towardzero_test_data): New variable.
14581 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14582 (ctanh_downward_test_data): New variable.
14583 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14584 (ctanh_upward_test_data): New variable.
14585 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14586 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14587 of BUILD_COMPLEX.
14588
601a3a5f
JM
14589 * math/libm-test.inc (struct test_ff_f_data): New type.
14590 (struct test_ff_f_data_nexttoward): Likewise.
14591 (RUN_TEST_LOOP_2_f): New macro.
14592 (RUN_TEST_LOOP_ff_f): Likewise.
14593 (atan2_test_data): New variable.
14594 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14595 (copysign_test_data): New variable.
14596 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14597 (fdim_test_data): New variable.
14598 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14599 (fmax_test_data): New variable.
14600 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14601 (fmin_test_data): New variable.
14602 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14603 (fmod_test_data): New variable.
14604 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14605 (hypot_test_data): New variable.
14606 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14607 (nextafter_test_data): New variable.
14608 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14609 (nexttoward_test_data): New variable.
14610 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14611 (pow_test_data): New variable.
14612 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14613 (pow_tonearest_test_data): New variable.
14614 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14615 (pow_towardzero_test_data): New variable.
14616 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14617 (pow_downward_test_data): New variable.
14618 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14619 (pow_upward_test_data): New variable.
14620 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14621 (remainder_test_data): New variable.
14622 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14623 (scalb_test_data): New variable.
14624 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14625 * sysdeps/i386/fpu/libm-test-ulps: Update.
14626
74c57478
JM
146272013-05-11 Joseph Myers <joseph@codesourcery.com>
14628
8329e4da
JM
14629 * math/libm-test.inc (fma_test): Use max_value instead of local
14630 variable fltmax.
14631 (nextafter_test): Likewise.
14632
74c57478
JM
14633 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14634 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14635 (acos_downward_test_data): New variable.
14636 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14637 (acos_upward_test_data): New variable.
14638 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14639 (acosh_test_data): New variable.
14640 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14641 (asin_test_data): New variable.
14642 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14643 (asin_tonearest_test_data): New variable.
14644 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14645 (asin_towardzero_test_data): New variable.
14646 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14647 (asin_downward_test_data): New variable.
14648 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14649 (asin_upward_test_data): New variable.
14650 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14651 (asinh_test_data): New variable.
14652 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14653 (atan_test_data): New variable.
14654 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14655 (atanh_test_data): New variable.
14656 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14657 (cbrt_test_data): New variable.
14658 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14659 (ceil_test_data): New variable.
14660 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14661 (cos_test_data): New variable.
14662 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14663 (cos_tonearest_test_data): New variable.
14664 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14665 (cos_towardzero_test_data): New variable.
14666 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14667 (cos_downward_test_data): New variable.
14668 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14669 (cos_upward_test_data): New variable.
14670 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14671 (cosh_test_data): New variable.
14672 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14673 (cosh_tonearest_test_data): New variable.
14674 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14675 (cosh_towardzero_test_data): New variable.
14676 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14677 (cosh_downward_test_data): New variable.
14678 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14679 (cosh_upward_test_data): New variable.
14680 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14681 (erf_test_data): New variable.
14682 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14683 (erfc_test_data): New variable.
14684 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14685 (exp_test_data): New variable.
14686 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14687 (exp_tonearest_test_data): New variable.
14688 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14689 (exp_towardzero_test_data): New variable.
14690 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14691 (exp_downward_test_data): New variable.
14692 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14693 (exp_upward_test_data): New variable.
14694 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14695 (exp10_test_data): New variable.
14696 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14697 (exp2_test_data): New variable.
14698 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14699 (expm1_test_data): New variable.
14700 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14701 (fabs_test_data): New variable.
14702 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14703 (floor_test_data): New variable.
14704 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14705 (j0_test_data): New variable.
14706 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14707 (j1_test_data): New variable.
14708 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14709 (log_test_data): New variable.
14710 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14711 (log10_test_data): New variable.
14712 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14713 (log1p_test_data): New variable.
14714 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14715 (log2_test_data): New variable.
14716 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14717 (logb_test_data): New variable.
14718 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14719 (logb_downward_test_data): New variable.
14720 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14721 (nearbyint_test_data): New variable.
14722 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14723 (rint_test_data): New variable.
14724 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14725 (rint_tonearest_test_data): New variable.
14726 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14727 (rint_towardzero_test_data): New variable.
14728 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14729 (rint_downward_test_data): New variable.
14730 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14731 (rint_upward_test_data): New variable.
14732 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14733 (round_test_data): New variable.
14734 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14735 (sin_test_data): New variable.
14736 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14737 (sin_tonearest_test_data): New variable.
14738 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14739 (sin_towardzero_test_data): New variable.
14740 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14741 (sin_downward_test_data): New variable.
14742 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14743 (sin_upward_test_data): New variable.
14744 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14745 (sinh_test_data): New variable.
14746 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14747 (sinh_tonearest_test_data): New variable.
14748 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14749 (sinh_towardzero_test_data): New variable.
14750 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14751 (sinh_downward_test_data): New variable.
14752 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14753 (sinh_upward_test_data): New variable.
14754 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14755 (sqrt_test_data): New variable.
14756 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14757 (tan_test_data): New variable.
14758 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14759 (tan_tonearest_test_data): New variable.
14760 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14761 (tan_towardzero_test_data): New variable.
14762 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14763 (tan_downward_test_data): New variable.
14764 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14765 (tan_upward_test_data): New variable.
14766 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14767 (tanh_test_data): New variable.
14768 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14769 (tgamma_test_data): New variable.
14770 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14771 (trunc_test_data): New variable.
14772 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14773 (y0_test_data): New variable.
14774 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14775 (y1_test_data): New variable.
14776 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14777 (significand_test_data): New variable.
14778 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14779
7187d844
CG
147802013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14781
14782 [BZ #12387]
14783 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14784
f63fae73
PT
147852013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14786
14787 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14788
8a67a4b3
AJ
147892013-05-10 Andreas Jaeger <aj@suse.de>
14790
14791 [BZ #15448]
14792 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14793 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14794
51df539d
JM
147952013-05-10 Joseph Myers <joseph@codesourcery.com>
14796
14797 * math/gen-libm-test.pl (adjust_arg): New function.
14798 (special_functions): Handle generating output in both functions
14799 and arrays.
14800 (parse_args): Likewise.
14801 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14802 $in_func argument to parse_args.
14803 * math/libm-test.inc (struct test_f_f_data): New type.
14804 (IF_ROUND_INIT_): New macro.
14805 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14806 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14807 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14808 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14809 (ROUND_RESTORE_): Likewise.
14810 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14811 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14812 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14813 (ROUND_RESTORE_FE_UPWARD): Likewise.
14814 (RUN_TEST_LOOP_f_f): New macro.
14815 (acos_test_data): New variable.
14816 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14817 (acos_tonearest_test_data): New variable.
14818 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14819
5c637fe5
SP
148202013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14821
14822 * benchtests/bench-skeleton.c (startup): Fix coding style.
14823
ab2b9461
JM
148242013-05-10 Joseph Myers <joseph@codesourcery.com>
14825
14826 [BZ #6809]
14827 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14828 negative infinity argument.
14829 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14830 negative infinity argument.
14831 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14832 negative infinity argument.
14833 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14834 domain errors.
14835
4c0fe6fe
FW
148362013-05-10 Florian Weimer <fweimer@redhat.com>
14837
14838 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14839 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14840 * iconv/iconv_prog.c (main): Likewise.
14841 * locale/programs/charmap-dir.c (charmap_readdir)
14842 (fopen_uncompressed): Likewise.
14843 * locale/programs/locfile.c (siblings_uncached)
14844 (write_locale_data): Use lstat64 instead of lstat.
14845 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14846 stat.
14847
a3375d29
AJ
148482013-05-10 Andreas Jaeger <aj@suse.de>
14849
14850 [BZ #15395]
14851 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14852 localization.
14853 Include <locale.h>.
14854
36129722
CD
148552013-05-09 Carlos O'Donell <carlos@redhat.com>
14856
14857 * elf/dl-close.c (_dl_close_worker): Add comments.
14858
faa7f811
JM
148592013-05-09 Joseph Myers <joseph@codesourcery.com>
14860
ed41ffef
JM
14861 [BZ #15359]
14862 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14863 high part of pi/2.
14864 (__ieee754_rem_pio2l): Update comments.
14865
d0213cd0
JM
14866 [BZ #15429]
14867 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14868 high part of pi/2.
14869 (__ieee754_rem_pio2l): Update comments.
14870
0d3e777a
JM
14871 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14872 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14873
24f56066
JM
14874 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14875 M_PI_4l.
14876
faa7f811
JM
14877 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14878 (M_PI_34_LOG10El): Likewise.
14879 (M_PI2_LOG10El): Likewise.
14880 (M_PI4_LOG10El): Likewise.
14881 (M_PI_LOG10El): Likewise.
14882
e9a5e0fd
AZ
148832013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14884
14885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14886
d8cd06db
JM
148872013-05-08 Joseph Myers <joseph@codesourcery.com>
14888
a0d9f9d7
JM
14889 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14890 (MINUS_ZERO_INIT): Likewise.
14891 (PLUS_INFTY_INIT): Likewise.
14892 (MINUS_INFTY_INIT): Likewise.
14893 (QNAN_VALUE_INIT): Likewise.
14894 (MAX_VALUE_INIT): Likewise.
14895 (MIN_VALUE_INIT): Likewise.
14896 (MIN_SUBNORM_VALUE_INIT): Likewise.
14897 (plus_zero): Initialize with PLUS_ZERO_INIT.
14898 (minus_zero): Initialize with MINUS_ZERO_INIT.
14899 (plus_infty): Initialize with PLUS_INFTY_INIT.
14900 (minus_infty): Initialize with MINUS_INFTY_INIT.
14901 (qnan_value): Initialize with QNAN_VALUE_INIT.
14902 (max_value): Initialize with MAX_VALUE_INIT.
14903 (min_value): Initialize with MIN_VALUE_INIT.
14904 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14905
ae08db3b
JM
14906 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14907 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14908 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14909 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14910
f44bf14a
JM
14911 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14912 (RUN_TEST_2_f): Likewise.
14913 (RUN_TEST_ff_f): Likewise.
14914 (RUN_TEST_fi_f): Likewise.
14915 (RUN_TEST_fl_f): Likewise.
14916 (RUN_TEST_fff_f): Likewise.
14917 (RUN_TEST_c_f): Likewise.
14918 (RUN_TEST_f_f1): Likewise.
14919 (RUN_TEST_fF_f1): Likewise.
14920 (RUN_TEST_fI_f1): Likewise.
14921 (RUN_TEST_ffI_f1): Likewise.
14922 (RUN_TEST_c_c): Likewise.
14923 (RUN_TEST_cc_c): Likewise.
14924 (RUN_TEST_f_i): Likewise.
14925 (RUN_TEST_f_i_tg): Likewise.
14926 (RUN_TEST_ff_i_tg): Likewise.
14927 (RUN_TEST_f_b): Likewise.
14928 (RUN_TEST_f_b_tg): Likewise.
14929 (RUN_TEST_f_l): Likewise.
14930 (RUN_TEST_f_L): Likewise.
14931 (RUN_TEST_sincos): Likewise.
14932 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14933 whether to show exceptions. Do not include ");\n" in return
14934 value.
14935 (special_functions): Output call to RUN_TEST_sincos instead of
14936 check_float calls. Update calls to new_test.
14937 (parse_args): Output call to single RUN_TEST_* macro instead of
14938 check_* calls and other assignments. Update calls to new_test.
14939
d8cd06db
JM
14940 [BZ #2546]
14941 [BZ #2560]
14942 [BZ #5159]
14943 [BZ #15426]
14944 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14945 input to result for tgamma overflow.
14946 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14947 (gamma_coeff): New variable.
14948 (NCOEFF): New macro.
14949 (gamma_positive): New function.
14950 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14951 underflow here. Use gamma_positive instead of exp (lgamma) for
14952 other arguments.
14953 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14954 (gamma_coeff): New variable.
14955 (NCOEFF): New macro.
14956 (gammaf_positive): New function.
14957 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14958 underflow here. Use gamma_positive instead of exp (lgamma) for
14959 other arguments.
14960 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14961 (gamma_coeff): New variable.
14962 (NCOEFF): New macro.
14963 (gammal_positive): New function.
14964 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14965 underflow here. Use gamma_positive instead of exp (lgamma) for
14966 other arguments.
14967 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14968 (gamma_coeff): New variable.
14969 (NCOEFF): New macro.
14970 (gammal_positive): New function.
14971 (__ieee754_gammal_r): Handle positive infinity, overflow and
14972 underflow here. Handle NaN the same as positive infinity. Remove
14973 check x < 0xffffffff for negative integers. Use gamma_positive
14974 instead of exp (lgamma) for other arguments.
14975 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14976 (gamma_coeff): New variable.
14977 (NCOEFF): New macro.
14978 (gammal_positive): New function.
14979 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14980 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14984 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14985 * sysdeps/generic/math_private.h (__gamma_productf): New
14986 prototype.
14987 (__gamma_product): Likewise.
14988 (__gamma_productl): Likewise.
14989 * math/Makefile (libm-calls): Add gamma_product.
14990 * math/libm-test.inc (tgamma_test): Add more tests.
14991 * sysdeps/i386/fpu/libm-test-ulps: Update.
14992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14993
bb7cf681
OB
149942013-05-08 Ondřej Bílka <neleai@seznam.cz>
14995
14996 * benchtests/bench-skeleton.c (main): Preheat CPU.
14997
ba853947
AJ
149982013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14999
15000 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15001
8347c74c
RM
150022013-05-07 Roland McGrath <roland@hack.frob.com>
15003
15004 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15005 and _dl_skip_args_internal.
15006
e8dd4791
CD
150072013-05-07 Carlos O'Donell <carlos@redhat.com>
15008
15009 * manual/message.texi (Message Translation): Talk about users.
15010 Message to key mapping impacts design.
15011
c7405830
RM
150122013-05-06 Roland McGrath <roland@hack.frob.com>
15013
a9173057
RM
15014 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15015
976e2f03
RM
15016 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15017
9723ffc5
RM
15018 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15019 * sysdeps/wordsize-64/glob64.c: ... here.
15020
962e6658
RM
15021 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15022 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15023 New macros.
15024
ee586a6d
RM
15025 * debug/getlogin_r_chk.c: Moved to ...
15026 * login/getlogin_r_chk.c: ... here.
15027 * debug/Makefile (routines): Move getlogin_r_chk to ...
15028 * login/Makefile (routines): ... here.
15029 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15030 * login/Versions (libc: GLIBC_2.4): ... here.
15031
355f9165
RM
15032 * io/poll.c (__poll): Renamed from poll.
15033 Add libc_hidden_def.
15034 (poll): Define as weak alias.
15035
bd9ffde6
RM
15036 * debug/ptsname_r_chk.c: Moved to ...
15037 * login/ptsname_r_chk.c: ... here.
15038 * debug/Makefile (routines): Move ptsname_r_chk to ...
15039 * login/Makefile (routines): ... here.
15040 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15041 * login/Versions (libc: GLIBC_2.4): ... here.
15042
8fb16a04
RM
15043 * posix/getlogin.c: Moved to ...
15044 * login/getlogin.c: ... here.
15045 * posix/getlogin_r.c: Moved to ...
15046 * login/getlogin_r.c: ... here.
15047 * posix/getlogin_r.c: Moved to ...
15048 * login/getlogin_r.c: ... here.
15049 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15050 * login/Makefile (routines): ... here.
15051 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15052 * login/Versions (libc: GLIBC_2.0): ... here.
15053
b99b892f
RM
15054 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15055 (setrlimit): Define as weak alias.
15056
c7405830
RM
15057 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15058 Call __ names for open, ftruncate, and close.
15059 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15060 (truncate): Define as weak alias.
15061
5bf96de5
JM
150622013-05-06 Joseph Myers <joseph@codesourcery.com>
15063
9ea3513c
JM
15064 * math/gen-libm-test.pl (parse_args): Initialize x before each
15065 test of frexp, modf and remquo.
15066
5bf96de5
JM
15067 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15068 test signgam value.
15069
16e616a7
AZ
150702013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15071
15072 [BZ #15418]
15073 [BZ #15419]
15074 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15075 internal tests.
15076 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15077
d5e82754
RM
150782013-05-06 Roland McGrath <roland@hack.frob.com>
15079
15080 * elf/dl-writev.h: New file.
15081 * elf/dl-misc.c: Include it.
15082 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15083 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15084
a7548d41
JM
150852013-05-04 Joseph Myers <joseph@codesourcery.com>
15086
b7dab1e4
JM
15087 * math/libm-test.inc (noXFails): Remove variable.
15088 (noXPasses): Likewise.
15089 (BUILD_COMPLEX_INT): Remove macro.
15090 (print_screen): Remove xfail argument.
15091 (print_screen_max_error): Likewise.
15092 (update_stats): Likewise.
15093 (print_max_error): Likewise. Update calls to other affected
15094 functions.
15095 (print_complex_max_error): Likewise.
15096 (test_single_exception): Update calls to print_screen.
15097 (test_single_errno): Likewise.
15098 (check_float_internal): Remove xfail argument. Update calls to
15099 other affected functions.
15100 (check_float): Likewise.
15101 (check_complex): Likewise.
15102 (check_int): Likewise.
15103 (check_long): Likewise.
15104 (check_bool): Likewise.
15105 (check_longlong): Likewise.
15106 (main): Don't print noXFails and noXPasses.
15107 * math/gen-libm-test.pl (top level): Don't mention expected
15108 failure handling in comment.
15109 (new_test): Don't handle expected failures.
15110 (parse_args): Don't mention expected failure handling in comment.
15111 (generate_testfile): Don't handle expected failures.
15112 (parse_ulps): Likewise.
15113 (print_ulps_file): Likewise.
15114 (get_failure): Remove function.
15115 (output_test): Don't handle expected failures.
15116 * make/README.libm-test: Don't mention expected failure handling.
15117
a7548d41
JM
15118 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15119 (minus_zero): Likewise.
15120 (plus_infty): Likewise.
15121 (minus_infty): Likewise.
15122 (qnan_value): Likewise.
15123 (max_value): Likewise.
15124 (min_value): Likewise.
15125 (min_subnorm_value): Likewise.
15126 (initialize): Do not initialize those variables dynamically.
15127
60bfd54c
RM
151282013-05-03 Roland McGrath <roland@hack.frob.com>
15129
cc0e6ed8
RM
15130 * io/open.c (__open_2): Moved to ...
15131 * io/open_2.c: ... this new file.
15132 * io/open64.c (__open64_2): Moved to ...
15133 * io/open64_2.c: ... this new file.
15134 * io/openat.c (__openat_2): Moved to ...
15135 * io/openat_2.c: ... this new file.
15136 * io/openat64.c (__openat64_2): Moved to ...
15137 * io/openat64_2.c: ... this new file.
15138 * io/Makefile (routines): Add them.
15139 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15140 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15141 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15142 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15143 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15144 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15145 (__openat64): Add hidden_ver.
15146 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15147 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15148
60bfd54c
RM
15149 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15150 Separately conditionalize setting of GLRO(dl_sysinfo) so
15151 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15152 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15153
83e7640f
AZ
151542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15155
15156 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15157 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15158 definition.
15159 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15160 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15161 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15162 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15163 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15164
d5dc2af3
JM
151652013-05-03 Joseph Myers <joseph@codesourcery.com>
15166
c31a5b1e
JM
15167 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15168 test signgam value.
15169
d5dc2af3
JM
15170 * math/libm-test.inc (hypot_test): Do not use
15171 IGNORE_ZERO_INF_SIGN.
15172
164fd39d
AJ
151732013-05-03 Andreas Jaeger <aj@suse.de>
15174
15175 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15176 Linux 3.9.
15177 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15178 (PF_MAX): Adjust for VSOCK change.
15179
8237f48c
AZ
151802013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15181
15182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15183
9df02941
CD
151842013-05-02 Carlos O'Donell <carlos@redhat.com>
15185
15186 [BZ #15264]
15187 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15188 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15189 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15190
d422395e
DM
151912013-05-02 David S. Miller <davem@davemloft.net>
15192
15193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15194
a07c5731
OB
151952013-05-01 Ondřej Bílka <neleai@seznam.cz>
15196
15197 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15198
1324e37f
RM
151992013-05-01 Roland McGrath <roland@hack.frob.com>
15200
15201 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15202
0695940b
RS
152032013-05-01 Richard Smith <richard@metafoo.co.uk>
15204
bb5f27ad 15205 [BZ #14952]
0695940b
RS
15206 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15207 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15208 Use __attribute__ ((__gnu_inline__)).
15209 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15210 Don't use __attribute__ ((__gnu_inline__)).
15211
10de07f5
JM
152122013-05-01 Joseph Myers <joseph@codesourcery.com>
15213
15214 [BZ #15423]
15215 * math/s_catan.c (__catan): Handle small real or imaginary part of
15216 input specially to avoid spurious underflow.
15217 * math/s_catanf.c (__catanf): Likewise.
15218 * math/s_catanh.c (__catanh): Likewise.
15219 * math/s_catanhf.c (__catanhf): Likewise.
15220 * math/s_catanhl.c (__catanhl): Likewise.
15221 * math/s_catanl.c (__catanl): Likewise.
15222 * math/libm-test.inc (catan_test): Add more tests.
15223 (catanh_test): Likewise.
15224 * sysdeps/i386/fpu/libm-test-ulps: Update.
15225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15226
cb4d5414
AZ
152272013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15228
15229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15230
caf84319
JM
152312013-04-30 Joseph Myers <joseph@codesourcery.com>
15232
15233 [BZ #15416]
15234 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15235 accurately for denominator in atan2.
15236 * math/s_catanf.c (__catanf): Likewise.
15237 * math/s_catanh.c (__catanh): Likewise.
15238 * math/s_catanhf.c (__catanhf): Likewise.
15239 * math/s_catanhl.c (__catanhl): Likewise.
15240 * math/s_catanl.c (__catanl): Likewise.
15241 * math/libm-test.inc (catan_test): Add more tests.
15242 (catanh_test): Likewise.
15243 * sysdeps/i386/fpu/libm-test-ulps: Update.
15244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15245
d569c6ee
SP
152462013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15247
6dbe713d
SP
15248 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15249
f0ee064b
SP
15250 * benchtests/Makefile (bench): Remove slow benchmarks.
15251 * benchtests/atan-inputs: Add slow benchmark inputs.
15252 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15253 (BENCH_FUNC): Accept variant offset.
15254 (VARIANT): Define.
15255 * benchtests/bench-skeleton.c (main): Run benchmark for each
15256 variant.
15257 * benchtests/cos-inputs: Add slow benchmark inputs.
15258 * benchtests/exp-inputs: Likewise.
15259 * benchtests/pow-inputs: Likewise.
15260 * benchtests/sin-inputs: Likewise.
15261 * benchtests/slowatan-inputs: Remove.
15262 * benchtests/slowatan.c: Remove.
15263 * benchtests/slowcos-inputs: Remove.
15264 * benchtests/slowcos.c: Remove.
15265 * benchtests/slowexp-inputs: Remove.
15266 * benchtests/slowexp.c: Remove.
15267 * benchtests/slowpow-inputs: Remove.
15268 * benchtests/slowpow.c: Remove.
15269 * benchtests/slowsin-inputs: Remove.
15270 * benchtests/slowsin.c: Remove.
15271 * benchtests/slowtan-inputs: Remove.
15272 * benchtests/slowtan.c: Remove.
15273 * benchtests/tan-inputs: Add slow benchmark inputs.
15274 * scripts/bench.pl: Parse comments and directives.
15275
d569c6ee
SP
15276 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15277 in CPPFLAGS.
15278 ($(objpfx)bench-%.c): Remove *-ITER.
15279 * benchtests/bench-modf.c: Remove definition of ITER.
15280 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15281 (main): Loop for DURATION seconds instead of fixed number of
15282 iterations.
15283 * scripts/bench.pl: Don't expect iterations in parameters.
15284
a6a242fe
RM
152852013-04-29 Roland McGrath <roland@hack.frob.com>
15286
15287 * io/fchdir.c (__fchdir): Renamed from fchdir.
15288 (fchdir): Define as weak alias.
15289
f2da7793
JM
152902013-04-29 Joseph Myers <joseph@codesourcery.com>
15291
15292 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15293 (ERRNO_EDOM): Likewise.
15294 (ERRNO_ERANGE): Likewise.
15295 (noErrnoTests): New variable.
15296 (init_max_error): Set errno to 0.
15297 (test_single_errno): New function.
15298 (test_errno): Likewise.
15299 (check_float_internal): Call test_errno. Set errno to 0.
15300 (check_complex): Refer to errno tests in comment.
15301 (check_int): Call test_errno. Set errno to 0.
15302 (check_long): Likewise.
15303 (check_bool): Likewise.
15304 (check_longlong): Likewise.
15305 (cos_test): Use ERRNO_* flags for errno tests instead of
15306 check_int.
15307 (expm1_test): Likewise.
15308 (fmod_test): Likewise.
15309 (ilogb_test): Likewise.
15310 (lgamma_test): Likewise.
15311 (pow_test): Likewise.
15312 (remainder_test): Likewise.
15313 (sin_test): Likewise.
15314 (tan_test): Likewise.
15315 (yn_test): Likewise.
15316 (initialize): Set errno to 0.
15317 (main): Print number of errno tests.
15318 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15319
b1a36ceb
AJ
153202013-04-29 Andreas Jaeger <aj@suse.de>
15321
c3ed8088
AJ
15322 [BZ #15084]
15323 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15324 and RES_USEVC.
15325
f1a24198
AJ
15326 [BZ #15085]
15327 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15328 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15329 unimplemented.
15330
9ce3b2cb
AJ
15331 [BZ #15380]
15332 * stdlib/random.c (__initstate): Return NULL if
15333 __initstate fails.
15334
f1a24198 15335 [BZ #15086]
b1a36ceb
AJ
15336 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15337 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15338 RES_SNGLKUPREOP.
15339
7e7b6f36
AZ
153402013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15341
15342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15343
4d14f449
JM
153442013-04-29 Joseph Myers <joseph@codesourcery.com>
15345
15346 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15347 of individual tests.
15348 (casin_test): Likewise.
15349 (casinh_test): Likewise.
15350
5b4217d7
JM
153512013-04-27 Joseph Myers <joseph@codesourcery.com>
15352
15353 [BZ #15409]
15354 * math/s_catan.c (__catan): Handle arguments with large real or
15355 imaginary part separately without squaring.
15356 * math/s_catanf.c (__catanf): Likewise.
15357 * math/s_catanh.c (__catanh): Likewise.
15358 * math/s_catanhf.c (__catanhf): Likewise.
15359 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15360 and redefine.
15361 (__catanhl): Handle arguments with large real or imaginary part
15362 separately without squaring.
15363 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15364 and redefine.
15365 (__catanl): Handle arguments with large real or imaginary part
15366 separately without squaring.
15367 * math/libm-test.inc (catan_test): Add more tests.
15368 (catanh_test): Likewise.
15369 * sysdeps/i386/fpu/libm-test-ulps: Update.
15370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15371
4220c3ef
AJ
153722013-04-27 Andreas Jaeger <aj@suse.de>
15373
15374 [BZ #15007]
15375 * stdlib/stdlib.h: Update guards for qecvt.
15376 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15377 <stdlib.h>.
15378
4721b2d1
AM
153792013-04-27 Allan McRae <allan@archlinux.org>
15380
15381 * sysdeps/i386/fpu/libm-test-ulps: Update.
15382
f0302940
JM
153832013-04-26 Joseph Myers <joseph@codesourcery.com>
15384
9457fd95
JM
15385 [BZ #15406]
15386 * math/s_catan.c: Include <float.h>.
15387 (__catan): Ensure underflow exception occurs for underflowed
15388 result.
15389 * math/s_catanf.c: Include <float.h>.
15390 (__catanf): Ensure underflow exception occurs for underflowed
15391 result.
15392 * math/s_catanh.c: Include <float.h>.
15393 (__catanh): Ensure underflow exception occurs for underflowed
15394 result.
15395 * math/s_catanhf.c: Include <float.h>.
15396 (__catanhf): Ensure underflow exception occurs for underflowed
15397 result.
15398 * math/s_catanhl.c: Include <float.h>.
15399 (__catanhl): Ensure underflow exception occurs for underflowed
15400 result.
15401 * math/s_catanl.c: Include <float.h>.
15402 (__catanl): Ensure underflow exception occurs for underflowed
15403 result.
15404 * math/libm-test.inc (catan_test): Add more tests.
15405 (catanh_test): Likewise.
15406
f0302940
JM
15407 [BZ #15405]
15408 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15409 underflowed result.
15410 * math/s_ccoshf.c (__ccoshf): Likewise.
15411 * math/s_ccoshl.c (__ccoshl): Likewise.
15412 * math/s_csin.c (__csin): Likewise.
15413 * math/s_csinf.c (__csinf): Likewise.
15414 * math/s_csinh.c (__csinh): Likewise.
15415 * math/s_csinhf.c (__csinhf): Likewise.
15416 * math/s_csinhl.c (__csinhl): Likewise.
15417 * math/s_csinl.c (__csinl): Likewise.
15418 * math/libm-test.inc (ccos_test): Add more tests.
15419 (ccosh_test): Likewise.
15420 (csin_test): Likewise.
15421 (csinh_test): Likewise.
15422
aa630f59
AZ
154232013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15424
15425 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15426 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15427 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15428 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15429 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15430 powerpc/power5+/fpu folders.
15431 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15432
15433
1b835983
MT
154342013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15435
15436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15437
73709b26
JM
154382013-04-25 Joseph Myers <joseph@codesourcery.com>
15439
15440 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15441 additions to variable.
15442 [$(config-machine) = x86_64] (modules-names): Likewise.
15443 ($(objpfx)tst-audit3): Remove dependency.
15444 ($(objpfx)tst-audit3.out): Likewise.
15445 ($(objpfx)tst-audit4): Likewise.
15446 ($(objpfx)tst-audit4.out): Likewise.
15447 ($(objpfx)tst-audit5): Likewise.
15448 ($(objpfx)tst-audit5.out): Likewise.
15449 ($(objpfx)tst-audit6): Likewise.
15450 ($(objpfx)tst-audit6.out): Likewise.
15451 ($(objpfx)tst-audit7): Likewise.
15452 ($(objpfx)tst-audit7.out): Likewise.
15453 (tst-audit3-ENV): Remove variable.
15454 (tst-audit4-ENV): Likewise.
15455 (tst-audit5-ENV): Likewise.
15456 (tst-audit6-ENV): Likewise.
15457 (tst-audit7-ENV): Likewise.
15458 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15459 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15460 addition to variable.
15461 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15462 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15463 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15464 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15465 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15466 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15467 tst-audit3, tst-audit4 and tst-audit5.
15468 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15469 tst-audit6 and tst-audit7.
15470 [$(subdir) = elf] (modules-names): Add audit modules for those
15471 tests.
15472 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15473 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15474 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15475 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15476 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15477 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15478 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15479 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15480 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15481 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15482 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15483 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15484 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15485 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15486 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15487 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15488 Likewise.
15489 [$(subdir) = elf && $(config-cflags-avx) = yes]
15490 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15491 [$(subdir) = elf && $(config-cflags-avx) = yes]
15492 (CFLAGS-tst-auditmod4a.c): Likewise.
15493 [$(subdir) = elf && $(config-cflags-avx) = yes]
15494 (CFLAGS-tst-auditmod4b.c): Likewise.
15495 [$(subdir) = elf && $(config-cflags-avx) = yes]
15496 (CFLAGS-tst-auditmod6b.c): Likewise.
15497 [$(subdir) = elf && $(config-cflags-avx) = yes]
15498 (CFLAGS-tst-auditmod6c.c): Likewise.
15499 [$(subdir) = elf && $(config-cflags-avx) = yes]
15500 (CFLAGS-tst-auditmod7b.c): Likewise.
15501 * elf/tst-audit3.c: Move to ...
15502 * sysdeps/x86_64/tst-audit3.c: ... here.
15503 * elf/tst-audit4.c: Move to ...
15504 * sysdeps/x86_64/tst-audit4.c: ... here.
15505 * elf/tst-audit5.c: Move to ...
15506 * sysdeps/x86_64/tst-audit5.c: ... here.
15507 * elf/tst-audit6.c: Move to ...
15508 * sysdeps/x86_64/tst-audit6.c: ... here.
15509 * elf/tst-audit7.c: Move to ...
15510 * sysdeps/x86_64/tst-audit7.c: ... here.
15511 * elf/tst-auditmod3a.c: Move to ...
15512 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15513 * elf/tst-auditmod3b.c: Move to ...
15514 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15515 * elf/tst-auditmod4a.c: Move to ...
15516 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15517 * elf/tst-auditmod4b.c: Move to ...
15518 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15519 * elf/tst-auditmod5a.c: Move to ...
15520 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15521 * elf/tst-auditmod5b.c: Move to ...
15522 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15523 * elf/tst-auditmod6a.c: Move to ...
15524 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15525 * elf/tst-auditmod6b.c: Move to ...
15526 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15527 * elf/tst-auditmod6c.c: Move to ...
15528 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15529 * elf/tst-auditmod7a.c: Move to ...
15530 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15531 * elf/tst-auditmod7b.c: Move to ...
15532 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15533
1ef74943
PP
155342013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15535
15536 [BZ #15366]
15537 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15538 define unconditionally.
15539 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15540 define unconditionally.
15541 (INT8_C, INT16_C, etc.): Likewise.
15542
93fd48c5
MR
155432013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15544
ae9552cf
MR
15545 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15546 __ehdr_start with hidden visibility.
15547
93fd48c5
MR
15548 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15549
418601aa
CD
155502013-04-24 Carlos O'Donell <carlos@redhat.com>
15551
15552 * math/libm-test.inc (cos_test): Use accurate hex constants.
15553 (sincost_test): Likewise.
15554
2f38fbfe
JM
155552013-04-24 Joseph Myers <joseph@codesourcery.com>
15556
5e221800
JM
15557 * math/libm-test.inc (catan_test): Add more tests.
15558 (catanh_test): Likewise.
15559
77f143fd
JM
15560 * math/s_catanf.c (__catanf): Use suffixed floating-point
15561 constants.
15562 * math/s_catanhf.c (__catanhf): Likewise.
15563 * math/s_catanhl.c (__catanhl): Likewise.
15564 * math/s_catanl.c (__catanl): Likewise.
15565
2f38fbfe
JM
15566 [BZ #15394]
15567 * math/s_catan.c (__catan): Calculate imaginary part of result
15568 with log1p not log unless computing log of number close to 0.
15569 * math/s_catanf.c (__catanf): Likewise.
15570 * math/s_catanl.c (__catanl): Likewise.
15571 * math/s_catanh.c (__catanh): Calculate real part of result with
15572 log1p not log unless computing log of number close to 0.
15573 * math/s_catanhf.c (__catanhf): Likewise.
15574 * math/s_catanhl.c (__catanhl): Likewise.
15575 * math/libm-test.inc (catan_test): Add more tests.
15576 (catanh_test): Likewise.
15577 * sysdeps/i386/fpu/libm-test-ulps: Update.
15578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15579
45d69176
SP
155802013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15581
15582 * benchtests/Makefile: Mention files in which fast and slow
15583 paths of math functions are implemented.
15584
87f51853
RM
155852013-04-23 Roland McGrath <roland@hack.frob.com>
15586
15587 * sysdeps/posix/timespec_get.c: New file.
15588
3c026539
AZ
155892013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15590
15591 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15592 POWER.
15593 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15594 for POWER.
15595 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15596 powerpc/power5/fpu folders.
15597 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15598 * benchtests/Makefile: Add modf testcase.
15599 * benchtests/bench-modf.c: New file: Benchmark test for mo
15600
ff491d14
SP
156012013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15602
15603 [BZ #14888]
15604 * time/Makefile (tests): Add tst-strptime-whitespace.
15605 * time/strptime_l.c (get_number): Use ISSPACE.
15606 (__strptime_internal): Likewise.
15607 * time/tst-strptime-whitespace.c: New test case.
15608
7ed3f4e8
AS
156092013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15610
15611 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15612 member.
15613 (_nss_files_init): Set it here.
15614
5c95f7b6
HC
156152013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15616
15617 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15618 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15619 unsigned.
15620
d34c9158
JBG
156212013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15622
15623 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15624
2169712d
SP
156252013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15626
15627 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15628 size just once.
15629
29c5de99
DM
156302013-04-21 David S. Miller <davem@davemloft.net>
15631
15632 * po/ru.po: Update Russion translation from translation project.
15633
ccdad15d
AC
156342013-04-17 Adam Conrad <adconrad@0c3.net>
15635
15636 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15637 and setfsgid.
15638
0f122b8d
CD
156392013-04-17 Carlos O'Donell <carlos@redhat.com>
15640
5c5b07da 15641 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15642 * configure: Regenerate.
5c5b07da 15643 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15644 Add example to error message.
15645 * sysdeps/i386/configure: Regenerate.
15646
037714dd
SP
156472013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15648
15649 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15650 slowtan.
15651 * benchtests/cos-inputs: New file.
15652 * benchtests/slowcos-inputs: New file.
15653 * benchtests/slowcos.c: New file.
15654 * benchtests/slowtan-inputs: New file.
15655 * benchtests/slowtan.c: New file.
15656 * benchtests/tan-inputs: New file.
15657
e913141d
RM
156582013-04-16 Roland McGrath <roland@hack.frob.com>
15659
15660 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15661 considered kosher.
15662
a2964074
SP
156632013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15664
4856bcd2
SP
15665 * benchtests/Makefile: Include cppflags-iterator.mk to add
15666 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15667
a2964074
SP
15668 * Makefile.in (bench-clean): New target.
15669 * benchtests/Makefile (bench-clean): Likewise.
15670
9fbf9aca
DH
156712013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15672
15673 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15674
207d1e2a
TS
156752013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15676
15677 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15678
306dfba9
AS
156792013-04-15 Andreas Schwab <schwab@suse.de>
15680
15681 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15682 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15683 * nscd/pwdcache.c (cache_addpw): Likewise.
15684 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15685 more than recsize.
15686
206a6699
SP
156872013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15688
15689 * benchtests/Makefile (bench): Write all output to
15690 bench-out.tmp together.
15691
0582f6b3
AS
156922013-04-15 Andreas Schwab <schwab@suse.de>
15693
15694 * nscd/nscd.c (main): Don't fork again after closing files.
15695
acb4325f
SP
156962013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15697
5cb26d0a
SP
15698 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15699
acb4325f
SP
15700 * benchtests/Rules (bench-deps): Collect dependencies into a
15701 single variable. Add Makefile to dependencies.
15702 ($(objpfx)bench-%.c): Depend on bench-deps.
15703
47792506
RM
157042013-04-12 Roland McGrath <roland@hack.frob.com>
15705 Xavier Roche <roche+kml2@exalead.com>
15706
15707 [BZ #15361]
15708 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15709 just that it's a file descriptor.
15710 * manual/llio.texi (Synchronizing AIO Operations): Update description
15711 for EBADF error from aio_fsync.
15712
8fc1bee5
SP
157132013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15714
15715 * Rules (bench): Move target definition...
15716 * benchtests/Makefile: ... here.
15717
aba5e333
CD
157182013-04-11 Carlos O'Donell <carlos@redhat.com>
15719
15720 * math/libm-test.inc (cos_test): Fix PI/2 test.
15721 (sincos_test): Likewise.
15722 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15723 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15724
273cdee8
AS
157252013-04-11 Andreas Schwab <schwab@suse.de>
15726
6ecec3b6
AS
15727 [BZ #13988]
15728 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15729 accept exponent character only when digits were seen.
15730 * stdio-common/Makefile (tests): Add bug26.
15731 * stdio-common/bug26.c: New file.
15732
273cdee8
AS
15733 [BZ #14293]
15734 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15735 non-freeable.
15736
8da491f5
SP
157372013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15738
01dc6df9
SP
15739 * Makeconfig (rtld-prefix): Define built linker prefix.
15740 * Rules (run-bench): Use it.
15741 * math/Makefile (run-regen-ulps): Likewise.
15742
8da491f5
SP
15743 * Rules (bench): Remove eval.
15744
abe7f530
SP
157452013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15746 Roland McGrath <roland@hack.frob.com>
15747 Ondrej Bilka <neleai@seznam.cz>
15748
15749 [BZ #15346]
15750 * time/getdate.c: Include ctype.h and alloca.h.
15751 (__getdate_r): Trim leading and trailing spaces of input.
15752 * time/tst-getdate.c (tests): Add tests with leading and
15753 trailing spaces.
15754
61c23e62
RM
157552013-04-08 Roland McGrath <roland@hack.frob.com>
15756
15757 [BZ #14280]
15758 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15759 when computing value.
15760
7208a313
CD
157612013-04-06 Carlos O'Donell <carlos@redhat.com>
15762
085b2d41
CD
15763 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15764 Use testrun.sh to run libm tests.
15765
7208a313
CD
15766 [BZ #15309]
15767 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15768
872c0acd
MM
157692013-04-06 Marko Myllynen <myllynen@redhat.com>
15770
15771 [BZ #15264]
15772 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15773
26510bdd
CD
157742013-04-06 Carlos O'Donell <carlos@redhat.com>
15775
15776 * Makefile.in (regen-ulps): New target.
15777 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15778 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15779 [ifneq (no,$(PERL)] (regen-ulps): New target.
15780 [ifeq (no,$(PERL)] (regen-ulps): New target.
15781 * math/libm-test.inc (ulps_file_name): Define.
15782 (output_dir): New variable.
15783 (options): Add "output-dir" option.
15784 (parse_opt): Handle 'o' case.
15785 (main): If output_dir is non-NULL use it as a prefix
15786 otherwise use "".
15787 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15788
a01f19c8
CD
157892013-04-06 Carlos O'Donell <carlos@redhat.com>
15790
15791 [BZ #10060, #10062]
15792 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15793 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15794 fail configure if __sync_val_compare_and_swap is not inlined.
15795 * sysdeps/i386/configure: Regenerate.
15796 * configure.in: Build for i686 when configured for i386.
15797 * configure: Regenerate.
15798 * README: Remove i386 reference.
15799
b7a329a5
CD
158002013-04-06 Carlos O'Donell <carlos@redhat.com>
15801
15802 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15804
bf0f50df
TS
158052013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15806
ee091edf
TS
15807 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15808 (lmsnanval): New variables.
15809 (F): Add conversion tests.
15810 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15811 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15812
a8b792d6
TS
15813 * stdio-common/tstdiomisc.c (F): Properly collect individual
15814 tests' results.
15815
a1cbf437
TS
15816 [BZ #14686, #15336]
15817 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15818 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15819 Instead, use input NaN values or generate a qNaN by arithmetic
15820 operation. Also fix bugs to comply with the standard.
15821 * math/libm-test.inc (remainder_test): Add more tests.
15822
8b43a0c9
TS
15823 [BZ #15335, #15342]
15824 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15826 input NaN values or generate a qNaN by arithmetic operation.
15827
d91da4ce
TS
15828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15829 unreachable code.
15830
bf0f50df
TS
15831 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15832 definitions.
15833
05e166c8
JM
158342013-04-03 Joseph Myers <joseph@codesourcery.com>
15835
15836 [BZ #14478]
15837 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15838 underflowed result.
15839 * math/s_cexpf.c (__cexpf): Likewise.
15840 * math/s_cexpl.c (__cexpl): Likewise.
15841 * math/libm-test.inc (cexp_test): Add more tests.
15842
1cef1b19
AS
158432013-04-03 Andreas Schwab <schwab@suse.de>
15844
15845 [BZ #15330]
15846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15847 order arrays from heap if bigger than alloca cutoff.
15848
74d87055
TS
158492013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15850
15851 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15852 (SNAN_TESTS_double): Refer to GCC PR56831.
15853 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15854 GCC PR56828.
15855
d755bba4
SP
158562013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15857
90d5d5bb
SP
15858 * Rules (bench): Move bench.out after the run is complete.
15859
73e0cd5d
SP
15860 * Rules (bench): Echo currently running benchmark.
15861
64aabd4b
SP
15862 * benchtests/Makefile (bench): Add atan and slowatan.
15863 * benchtests/atan-inputs: New file.
15864 * benchtests/slowatan-inputs: New file.
15865 * benchtests/slowatan.c: New file.
15866
c871eccd
SP
15867 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15868 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15869 its value.
15870
d755bba4
SP
15871 [BZ #15305]
15872 * sysdeps/unix/sysv/linux/kernel-features.h
15873 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15874 __ASSUME_XFS_RESTRICTED_CHOWN.
15875 * sysdeps/unix/sysv/linux/pathconf.c
15876 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15877 Save and restore errno.
15878
52ce4860
JM
158792013-04-02 Joseph Myers <joseph@codesourcery.com>
15880
15881 [BZ #15327]
15882 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15883 arguments using __kernel_casinh.
15884 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15885 arguments using __kernel_casinhf.
15886 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15887 arguments using __kernel_casinhl.
15888 * math/libm-test.inc (cacosh_test): Add more tests.
15889 * sysdeps/i386/fpu/libm-test-ulps: Update.
15890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15891
81f311c2
SP
158922013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15893
e7906a47
SP
15894 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15896
92e3664b
SP
15897 * bench/Makefile (bench): Add sin and slowsin.
15898 * benchtests/sin-inputs: New file.
15899 * benchtests/slowsin-inputs: New file.
15900 * benchtests/slowsin.c: New file.
15901
81f311c2
SP
15902 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15903 (bench): Add slowexp and slowpow.
15904 (exp-ITER): Increase iterations.
15905 (pow-ITER): Likewise.
15906 * benchtests/exp-inputs: Change input.
15907 * benchtests/pow-inputs: Likewise.
15908 * benchtests/slowexp-inputs: New file.
15909 * benchtests/slowexp.c: New file.
15910 * benchtests/slowpow-inputs: New file.
15911 * benchtests/slowpow.c: New file.
15912
ab0f1aa9
AZ
159132013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15914
15915 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15916 instructions.
15917 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15918 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15919 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15920 * benchtests/Makefile: Add rint benchtest.
15921 * benchtests/rint-inputs: Input for rint benchtest.
15922
57267616
TS
159232013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15924
15925 * Versions.def (libm): Add GLIBC_2.18.
15926 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15927 hidden libm prototypes.
15928 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15929 * math/Makefile (libm-calls): Add s_issignaling.
15930 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15931 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15932 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15933 declaration.
15934 * math/math.h [__USE_GNU] (issignaling): New macro.
15935 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15936 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15938 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15941 * manual/arith.texi (issignaling): New section.
15942 * manual/libm-err-tab.pl (@all_functions): Update comment.
15943 * math/gen-libm-test.pl (parse_args): Apply special handling for
15944 issignaling.
15945 * math/libm-test.inc (print_float, issignaling_test): New
15946 functions.
15947 (check_float_internal): Add issignaling checks.
15948 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15949 default definition.
15950 * sysdeps/powerpc/math-tests.h: New file.
15951 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15952 tests.
15953 * math/test-snan.c (TEST_FUNC): Likewise.
15954
6142896d
DM
159552013-03-30 David S. Miller <davem@davemloft.net>
15956
15957 * po/de.po: Update from translation team.
15958
ccc8cadf
JM
159592013-03-30 Joseph Myers <joseph@codesourcery.com>
15960
15961 [BZ #10357]
15962 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15963 imaginary part less than 1.0 and real part less than 0.5
15964 specially.
15965 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15966 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15967 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15968 (cacos_test): Add more tests.
15969 (casin_test): Likewise.
15970 (casinh_test): Likewise.
15971 * sysdeps/i386/fpu/libm-test-ulps: Update.
15972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15973
0f6a8d4b
SP
159742013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15975
0d1029de
SP
15976 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15977 ONE with its value.
15978
c2d94018
SP
15979 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15980 (__pow_mp): Replace ONE and MONE with their values.
15981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15982 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15983 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15984 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15985 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15986 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15987
27ec37f1
SP
15988 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15989
a64d7e0e
SP
15990 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15991 (__pow_mp): Replace ZERO and MZERO with their values.
15992 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15994 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15996 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15997 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15998 (__sqr): Likewise.
15999
d26dd3eb
SP
16000 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16001
0f6a8d4b
SP
16002 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16003
e57b0c61
RM
160042013-03-28 Roland McGrath <roland@hack.frob.com>
16005
16006 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16007 Declare with __attribute__ ((weak)).
16008 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16009 Call __call_tls_dtors only if it's not NULL.
16010
356b3480
RM
160112013-03-28 Roland McGrath <roland@hack.frob.com>
16012
288f7d79
RM
16013 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16014 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16015 magic __ehdr_start linker symbol if it's defined.
16016 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16017 them up here if it was already done.
16018
dc0a0263
RM
16019 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16020 (_dl_aux_init): Use const in cast when setting it.
16021 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16022 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16023 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16024
3d3436ae
RM
16025 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16026 Declare them here.
16027 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16028 * csu/libc-tls.c: Nor here.
16029 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16030
356b3480
RM
16031 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16032 (__libc_message): Never call vsyslog.
16033
b0f1246a
AM
160342013-03-28 Alan Modra <amodra@gmail.com>
16035
16036 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16037 Define as empty.
16038 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16039 Likewise.
16040
fbbe2b9a
AZ
160412013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16042
16043 [BZ #15214]
16044 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16045 underflow.
16046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16047
1728ab37
SP
160482013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16049
7a86be6e
SP
16050 [BZ #15304]
16051 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16052 Don't add gid passed as argument.
16053
1728ab37
SP
16054 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16055
3a7182a1
JM
160562013-03-27 Joseph Myers <joseph@codesourcery.com>
16057
16058 [BZ #15307]
16059 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16060 imaginary part between 1.0 and 1.5 and real part less than 0.5
16061 specially.
16062 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16063 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16064 * math/libm-test.inc (cacos_test): Add more tests.
16065 (casin_test): Likewise.
16066 (casinh_test): Likewise.
16067 * sysdeps/i386/fpu/libm-test-ulps: Update.
16068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16069
6f2e90e7
SP
160702013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16071
5739f705
SP
16072 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16073 constants.
16074 (norm): Likewise.
16075 (denorm): Likewise.
16076 (__dbl_mp): Likewise.
16077 (add_magnitudes): Likewise.
16078 (sub_magnitudes): Likewise.
16079 (__add): Likewise.
16080 (__sub): Likewise.
16081 (__mul): Likewise.
16082 (__sqr): Likewise.
16083 (__inv): Likewise.
16084 (__dvd): Likewise.
16085
e375e83d
SP
16086 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16087 commented code.
16088 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16089 (__dubcos): Likewise.
16090 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16091 (__ieee754_acos): Likewise.
16092 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16093 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16094 (__exp1): Likewise.
16095 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16097 (log1): Likewise.
16098 (my_log2): Likewise.
16099 (checkint): Likewise.
16100 * sysdeps/ieee754/dbl-64/e_remainder.c
16101 (__ieee754_remainder): Likewise.
16102 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16103 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16104 (bsloww): Likewise.
16105 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16106
6f2e90e7
SP
16107 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16108 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16109 MANTISSA_STORE_T to store computations on mantissa. Use
16110 macros for rounding and division.
16111 (denorm): Likewise.
16112 (__dbl_mp): Likewise.
16113 (add_magnitudes): Likewise.
16114 (sub_magnitudes): Likewise.
16115 (__mul): Likewise.
16116 (__sqr): Likewise.
16117 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16118 powers of two in terms of TWOPOW macro.
16119 (mp_no): Make type of mantissa as MANTISSA_T.
16120 [!RADIXI]: Define RADIXI.
16121 [!TWO52]: Define TWO52.
16122 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16123
fce14d4e
AZ
161242013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16125
16126 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16127 llroundl symbol when building for PPC32.
16128
9ad027fb
MW
161292013-03-24 Mark H Weaver <mhw@netris.org>
16130
16131 * manual/arith.texi (Normalization Functions): Fix prototypes for
16132 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16133
e42a38dd
AZ
161342013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16135
16136 [BZ #13889]
16137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16138 high value to check if expl overflow.
16139 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16140 to check for underflow and overflow.
16141 * math/libm-test.inc: Add exp test.
16142
2e0fb521
DL
161432013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16144
16145 [BZ #11120]
16146 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16147 with NOT_IN_libc.
16148
b5784d95
AZ
161492013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16150
16151 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16152 symbol.
16153
5aa4a1a1
TS
161542013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16155
bdef0be7
TS
16156 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16157 wrap blocks consisting of several statements.
16158
5aa4a1a1
TS
16159 * sysdeps/generic/math-tests.h: New file.
16160 * sysdeps/i386/fpu/math-tests.h: Likewise.
16161 * math/test-snan.c: Include it.
16162 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16163
98c48fe5
JM
161642013-03-21 Joseph Myers <joseph@codesourcery.com>
16165
16166 [BZ #15285]
16167 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16168 (__ieee754_j0l): Do not improve calculations using cos of twice
16169 input for inputs above LDBL_MAX / 2.0L.
16170 (__ieee754_y0l): Likewise.
16171 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16172 (__ieee754_j1l): Do not improve calculations using cos of twice
16173 input for inputs above LDBL_MAX / 2.0L.
16174 (__ieee754_y1l): Likewise.
16175 * math/libm-test.inc (j0_test): Add another test.
16176 (j1_test): Likewise.
16177 (y0_test): Likewise.
16178 (y1_test): Likewise.
16179 * sysdeps/i386/fpu/libm-test-ulps: Update.
16180
3775a8bc
SP
161812013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16182
16183 * Rules ($(objpfx)bench-%.c): Include code from a C source
16184 file.
16185
0a1b2ae6
JM
161862013-03-21 Joseph Myers <joseph@codesourcery.com>
16187
16188 [BZ #15287]
16189 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16190 imaginary part 1.0 and real part less than 0.5 specially.
16191 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16192 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16193 * math/libm-test.inc (cacos_test): Add more tests.
16194 (casin_test): Likewise.
16195 (casinh_test): Likewise.
16196 * sysdeps/i386/fpu/libm-test-ulps: Update.
16197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16198
b33d4ce4
SP
161992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16200
16201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16202 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16203
bef0b507
JM
162042013-03-20 Joseph Myers <joseph@codesourcery.com>
16205
16206 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16207 * config.make.in (config-cflags-sse4): Remove variable.
16208 (config-cflags-avx): Likewise.
16209 (config-cflags-sse2avx): Likewise.
16210 (config-cflags-novzeroupper): Likewise.
16211 (config-asflags-i686): Likewise.
16212 (have-mfma4): Likewise.
16213 (have-as-vis3): Likewise.
16214 (MIG): Likewise.
16215 * configure.in (MIG): Do not AC_SUBST.
16216 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16217 (libc_cv_cc_sse4): Do not AC_SUBST.
16218 (libc_cv_cc_avx): Likewise.
16219 (libc_cv_cc_sse2avx): Likewise.
16220 (libc_cv_cc_novzeroupper): Likewise.
16221 (libc_cv_cc_fma4): Likewise.
16222 (libc_cv_as_i686): Likewise.
16223 (libc_cv_sparc_as_vis3): Likewise.
16224 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16225 LIBC_CONFIG_VAR.
16226 (config-asflags-i686): Likewise.
16227 (config-cflags-avx): Likewise.
16228 (config-cflags-sse2avx): Likewise.
16229 (have-mfma4): Likewise.
16230 (config-cflags-novzeroupper): Likewise.
16231 * sysdeps/mach/configure.in (MIG): Likewise.
16232 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16233 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16234 LIBC_CONFIG_VAR.
16235 (config-cflags-avx): Likewise.
16236 (config-cflags-sse2avx): Likewise.
16237 (have-mfma4): Likewise.
16238 (config-cflags-novzeroupper): Likewise.
16239 * configure: Regenerated.
16240 * sysdeps/i386/configure: Likewise.
16241 * sysdeps/mach/configure: Likewise.
16242 * sysdeps/sparc/configure: Likewise.
16243 * sysdeps/x86_64/configure: Likewise.
16244
912cc4b3
RM
162452013-03-20 Roland McGrath <roland@hack.frob.com>
16246
16247 [BZ #14812]
16248 * locale/programs/localedef.c (options): Put N_ translation marker
16249 on argument names, not just descriptions.
16250
04eed2b0
MS
162512013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16252
16253 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16254
a065ceff
OB
162552013-03-20 Ondřej Bílka <neleai@seznam.cz>
16256
9bb2a810 16257 [BZ #14176]
a065ceff
OB
16258 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16259
a600e5ce
RM
162602013-03-19 Roland McGrath <roland@hack.frob.com>
16261
16262 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16263 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16264 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16265 [!BEFORE_ABORT] (before_abort): New function.
16266 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16267 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16268 (writev_for_fatal): New function.
16269 (WRITEV_FOR_FATAL): New macro; call that.
16270 (backtrace_and_maps): New function.
16271 (BEFORE_ABORT): New macro; call that.
16272 (struct str_list): Type removed.
16273 (__libc_message, __libc_fatal): Functions removed.
16274 Include <sysdeps/posix/libc_fatal.c> instead.
16275
6b18bea6
JM
162762013-03-19 Joseph Myers <joseph@codesourcery.com>
16277
16278 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16279 constants.
16280 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16281 double constants.
16282
aaa8cb4b
AS
162832013-03-19 Andreas Schwab <schwab@suse.de>
16284
44673770
AS
16285 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16286 * sysdeps/gnu/configure: Regenerate.
16287
aaa8cb4b
AS
16288 * configure.in: Substitute libc_cv_rtlddir.
16289 * configure: Regenerate.
16290 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16291 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16292 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16293 * elf/Makefile (install-others, CFLAGS-interp.c)
16294 (ldso_install, common-ldd-rewrite): Likewise.
16295 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16296 $(inst_slibdir)/$(rtld-installed-name).
16297 * scripts/rellns-sh: Add -p option.
16298 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16299 for source.
16300
d3cfc668
SP
163012013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16302
16303 * manual/nptl.texi: Renamed to ...
16304 * manual/threads.texi: ... this.
16305 * manual/Makefile (chapters): Update.
16306
0e2b9cdd
RM
163072013-03-18 Roland McGrath <roland@hack.frob.com>
16308
16309 [BZ #14812]
16310 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16311 on argument names, not just descriptions.
0e2b9cdd
RM
16312 * malloc/memusagestat.c (options): Likewise.
16313 * nss/getent.c (options): Likewise.
63270c24
RM
16314
163152013-03-18 Benno Schulenberg <bensberg@justemail.net>
16316
16317 [BZ #14812]
16318 * iconv/iconv_prog.c (options): Put N_ translation marker
16319 on argument names, not just descriptions.
16320 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16321
b2e1393c
OB
163222013-03-18 Ondrej Bilka <neleai@seznam.cz>
16323
16324 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16325 implementation which is faster on all x86_64 architectures.
16326 Tested on AMD, Intel Nehalem, SNB, IVB.
16327 * sysdeps/x86_64/strnlen.S: Likewise.
16328
16329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16330 Remove all multiarch strlen and strnlen versions.
16331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16332 Remove strlen and strnlen related parts.
16333
16334 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16335 Inline strlen part.
16336 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16337
16338 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16339 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16340 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16341 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16342 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16343 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16344
ec4ff04d
CD
163452013-03-17 Carlos O'Donell <carlos@redhat.com>
16346
16347 * manual/memory.texi (Malloc Tunable Parameters):
16348 Sort parameters alphabetically. Add comments for missing entries.
16349
cd18e90a
DM
163502013-03-17 David S. Miller <davem@davemloft.net>
16351
16352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16353
2a185d32
JM
163542013-03-16 Joseph Myers <joseph@codesourcery.com>
16355
d2f9799e
JM
16356 [BZ #15283]
16357 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16358 for arguments at most half maximum finite value.
16359 * math/libm-test.inc (j0_test): Add more tests.
16360 (j1_test): Likewise.
16361 (y0_test): Likewise.
16362 (y1_test): Likewise.
16363 * sysdeps/i386/fpu/libm-test-ulps: Update.
16364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16365
2a185d32
JM
16366 [BZ #14155]
16367 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16368 1 / x and functions P and Q for arguments above 0x1p256L.
16369 (__ieee754_y0l): Likewise.
16370 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16371 (__ieee754_y1l): Likewise.
16372 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16373 (j1_test): Likewise.
16374 (y0_test): Likewise.
16375 (y1_test): Likewise.
16376
6cbec759
TS
163772013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16378
16379 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16380 variable.
16381
bc16e260
RM
163822013-03-15 Roland McGrath <roland@hack.frob.com>
16383
aefc9b8c
RM
16384 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16385 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16386 zero since it's initialized to EXEC_PAGESIZE.
16387
bc16e260
RM
16388 * sysdeps/unix/sysv/linux/ldsodefs.h
16389 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16390 * sysdeps/generic/ldsodefs.h: ... here.
16391
a57da955
TS
163922013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16393
af00a34d
TS
16394 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16395
495ded2c
TS
16396 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16397 math/test-snan.c.
16398 * math/test-snan.c: Renamed from
16399 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16400 * math/Makefile (tests): Add test-snan.
16401 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16402 test-powerpc-snan.
16403
777b0332
TS
16404 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16405 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16406 functions.
16407 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16408 __builtin_nan family of functions.
16409 * math/libm-test.inc (initialize): Initialize qnan_value with
16410 __builtin_nan family of functions.
16411 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16412 Remove variables.
16413 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16414 Remove functions.
16415 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16416 storage class. Initialize qNaN_var and sNaN_var with
16417 __builtin_nan and __builtin_nans families of functions,
16418 respectively.
16419
64d063b8
TS
16420 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16421 (sqrt_test): Remove duplicate test with qNaN input.
16422 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16423 (round_test, signbit_test, significand_test): Note missing +/-Inf
16424 as well as qNaN tests.
16425
67e971f1
TS
16426 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16427 qNaN_var. Fix a few strings, too.
16428 * math/libm-test.inc (nan_value): Rename to qnan_value.
16429 * math/gen-libm-test.pl (%beautify): Adjust to that.
16430 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16431 * math/test-misc.c (main): Likewise.
16432 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16433 to __qnan_bytes, and __qnan_union, respectively.
16434 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16435 Likewise.
16436 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16437 and lqnanval, respectively.
16438 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16439 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16440 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16441 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16442
64487e12
TS
16443 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16444 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16445 doubles.
16446
e015e27b
TS
16447 * math/test-misc.c (main): Fix copy'n'pastos.
16448 * misc/tst-efgcvt.c (special): Likewise.
16449
a57da955
TS
16450 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16451 Remove declarations.
16452
1e380345
SP
164532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16454
16455 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16456 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16457 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16458 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16459
ef26eece
AZ
164602013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461
16462 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16463 macro to return vdso values correctly in IFUNC implementations.
16464 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16465 Optimization by using IFUNC.
16466
8cfdb7e0
SP
164672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16468 Richard Henderson <rth@redhat.com>
16469 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16470
16471 * Makefile.in (bench): New target.
16472 * NEWS: Mention the benchmark framework.
16473 * Rules (bench): Likewise.
16474 (binaries-bench): Generate binaries for functions to
16475 benchmark.
16476 * benchtests/Makefile: New makefile for benchmark tests.
16477 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16478 programs.
16479 * benchtests/exp-inputs: New input file for EXP function.
16480 * benchtests/pow-inputs: New input file for POW function.
16481 * scripts/bench.pl: New script to generate source files for
16482 benchmark programs.
16483
bcda9880
SP
164842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16485
d22ca8cd
SP
16486 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16487 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16488 computations on mantissa. Use macros for rounding and
16489 division.
16490 (denorm): Likewise.
16491 (__dbl_mp): Likewise.
16492 (add_magnitudes): Likewise.
16493 (sub_magnitudes): Likewise.
16494 (__mul): Likewise.
16495 (__sqr): Likewise.
16496 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16497 powers of two in terms of TWOPOW macro.
16498 (mp_no): Make type of mantissa as MANTISSA_T.
16499 [!RADIXI]: Define RADIXI.
16500 [!TWO52]: Define TWO52.
16501 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16502
bcda9880
SP
16503 * manual/nptl.texi (cindex): Modify threads to pthreads.
16504
06d5adfb
JM
165052013-03-15 Joseph Myers <joseph@codesourcery.com>
16506
16507 * sysdeps/x86_64/preconfigure: Regenerated.
16508
41c7328e
JM
165092013-03-14 Joseph Myers <joseph@codesourcery.com>
16510
16511 [BZ #14155]
16512 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16513 0x1p28 and above.
16514 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16515 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16516 0x1p28 and above.
16517 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16518 * math/libm-test.inc (j0_test): Do not allow one spurious
16519 underflow exception.
16520 (y1_test): Likewise.
16521
e25cfa60
SP
165222013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16523
0409959c
SP
16524 * manual/Makefile (chapters): Add nptl.
16525 * manual/debug.texi (Debugging Support): Add link to Threads
16526 chapter.
16527 * manual/nptl.texi: New file.
16528
e25cfa60
SP
16529 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16530
58a1335e
PB
165312013-03-14 Petr Baudis <pasky@ucw.cz>
16532
16533 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16534 for non-NULL pointer before the memory validity test. Pointed
16535 out by Holger Brunck <holger.brunck@keymile.com>.
16536
9dc7c64f
AS
165372013-03-13 Andreas Schwab <schwab@suse.de>
16538
16539 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16540 instead of .os.
16541
54206aa6
JM
165422013-03-13 Joseph Myers <joseph@codesourcery.com>
16543
16544 * timezone/zic.c: Update from tzcode 2013b.
16545
e98cdb38
CD
165462013-03-12 Carlos O'Donell <carlos@redhat.com>
16547
16548 * manual/install.texi (Configuring and compiling):
16549 Mention i686 and i586.
16550 * INSTALL: Regenerate.
16551
9967e003
RM
165522013-03-12 Roland McGrath <roland@hack.frob.com>
16553
16554 * sysdeps/init_array/elf-init.c: New file.
16555 * csu/elf-init.c
16556 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16557 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16558
16559 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16560 __gmon_start__ as global, but as static with a .preinit_array pointer.
16561 * sysdeps/init_array/gmon-start.c: New file. Use that.
16562 * sysdeps/init_array/crti.S: New file, empty except for comments.
16563 * sysdeps/init_array/crtn.S: Likewise.
16564
e6b5a293 165652013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16566
16567 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16568 definining bcopy.
80f844c9
OB
16569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16570 Remove Prefer_SSE_for_memop.
16571 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16572 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16573 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16575 memset-x86-64.
80f844c9 16576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16577 Remove bzero, memset ifunc support.
80f844c9
OB
16578 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16579 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16580 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16581 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16582
fb6b0fcb
AS
165832013-03-11 Andreas Schwab <schwab@suse.de>
16584
16585 [BZ #15234]
16586 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16587 by SHLIB_COMPAT.
16588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16589 (GLIBC_2.16): Remove pthread_atfork.
16590
3e6bd4b1
PP
165912013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16592
16593 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16594 (ptestcases.h): Likewise.
16595
222d7f00
RM
165962013-03-08 Roland McGrath <roland@hack.frob.com>
16597
16598 * Makeconfig ($(common-objpfx)config.status): Depend on
16599 sysdeps/*/preconfigure{,.in} too.
16600
1ba4f030
JM
166012013-03-08 Joseph Myers <joseph@codesourcery.com>
16602
a222d91a
JM
16603 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16604 (__free_hook): Use void * instead of __malloc_ptr_t.
16605 (__malloc_hook): Likewise.
16606 (__realloc_hook): Likewise.
16607 (__memalign_hook): Likewise.
16608 (__after_morecore_hook): Likewise.
16609 * malloc/arena.c (save_malloc_hook): Likewise.
16610 (save_free_hook): Likewise.
16611 * malloc/hooks.c (malloc_hook_ini): Likewise.
16612 (realloc_hook_ini): Likewise.
16613 (memalign_hook_ini): Likewise.
16614 * malloc/malloc.c (malloc_hook_ini): Likewise.
16615 (realloc_hook_ini): Likewise.
16616 (memalign_hook_ini): Likewise.
16617 (__free_hook): Likewise.
16618 (__malloc_hook): Likewise.
16619 (__realloc_hook): Likewise.
16620 (__memalign_hook): Likewise.
16621 (__libc_malloc): Likewise.
16622 (__libc_free): Likewise.
16623 (__libc_realloc): Likewise.
16624 (__libc_memalign): Likewise.
16625 (__libc_valloc): Likewise.
16626 (__libc_pvalloc): Likewise.
16627 (__libc_calloc): Likewise.
16628 (__posix_memalign): Likewise.
16629 * malloc/morecore.c (__sbrk): Likewise.
16630 (__default_morecore): Likewise.
16631
5cc45e10
JM
16632 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16633
dd54b864
JM
16634 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16635 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16636 __malloc_ptrdiff_t.
16637
1ba4f030
JM
16638 * malloc/malloc.h (__malloc_size_t): Remove macro.
16639 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16640 __malloc_size_t.
16641 (old_memalign_hook): Likewise.
16642 (old_realloc_hook): Likewise.
16643 (struct hdr): Likewise.
16644 (flood): Likewise.
16645 (mallochook): Likewise.
16646 (memalignhook): Likewise.
16647 (reallochook): Likewise.
16648 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16649 (tr_old_realloc_hook): Likewise.
16650 (tr_old_memalign_hook): Likewise.
16651 (tr_mallochook): Likewise.
16652 (tr_reallochook): Likewise.
16653 (tr_memalignhook): Likewise.
16654
edf66e57
AZ
166552013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16656
16657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16658 default_ldbl_pack and using as default implementation.
16659 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16660 implementation.
16661 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16662 redundant definition.
16663 (ldbl_insert_mantissa): Likewise.
16664 (ldbl_canonicalize): Likewise.
16665 (ldbl_nearbyint): Likewise.
16666 (ldbl_pack): Rename to ldbl_pack_ppc.
16667 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16668 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16669 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16670
6d9145d8
SP
166712013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16672
16673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16674 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16675 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16676 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16678 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16679 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16680 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16681
4dd4e157
AJ
166822013-03-07 Andreas Jaeger <aj@suse.de>
16683
16684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16685 bits/mman-linux.h.
16686
adbb8027
SP
166872013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16688
ce544b5b
SP
16689 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16690 Include mpa.h and declare __MPEXP.
16691 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16692 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16693 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16694 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16695 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16696 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16697 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16698
4cc149fd
SP
16699 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16700 (__slowpow): Use long double EXPL and LOGL functions to
16701 compute POW.
16702 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16703 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16704 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16706 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16707 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16708
e6ebd4a7
SP
16709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16710 intermediate variable to calculate exponent.
16711 (__sqr): Likewise.
16712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16713 Likewise.
16714 (__sqr): Likewise.
16715
82a9811d
SP
16716 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16717 [!NO__SQR]: Define __sqr.
16718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16719 and NO__SQR. Remove all code except __mul and __sqr. Include
16720 sysdeps/ieee754/dbl-64/mpa.c.
16721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16722
adbb8027
SP
16723 [BZ #12723]
16724 * posix/Makefile (tests): Add tst-pathconf.
16725 * posix/tst-pathconf.c: New test case.
16726 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16727 _PC_PIPE_BUF.
16728 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16729
39120df9
PF
167302013-03-06 Patsy Franklin <pfrankli@redhat.com>
16731
16732 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16733
67525cb8
AJ
167342013-03-06 Andreas Jaeger <aj@suse.de>
16735
664a9ce4
AJ
16736 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16737 definition via __MAP_ANONYMOUS.
16738
8e39047d
AJ
16739 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16740 it's not part of Linux headers.
16741
67525cb8
AJ
16742 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16743 (MAP_HUGE_MASK): Define.
16744
16745 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16746 Define.
16747 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16749 Define.
16750 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16751 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16752 Define.
16753 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16755 Define.
16756 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16757
16758 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16759 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16760 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16761 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16762 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16763 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16764
16765 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16766 Handle f2fs.
16767
16768 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16769 Handle f2fs and efivarfs.
16770
16771 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16772 f2fs.
16773
16774 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16775 (EFIVARFS_MAGIC): Add.
16776 (F2FS_LINK_MAX): Add.
16777
e1b42695
PP
167782013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16779
16780 * stdio-common/vfprintf.c: Replace __builtin_expect with
16781 __glibc_unlikely.
16782
2d67d91a
JM
167832013-03-06 Joseph Myers <joseph@codesourcery.com>
16784
16785 [BZ #13550]
16786 * sysdeps/generic/bp-sym.h: Remove file.
16787 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16788 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16789 <bp-sym.h> and <bp-asm.h>.
16790 (__longjmp): Don't use BP_SYM.
16791 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16792 and <bp-asm.h>.
16793 (memcpy): Don't use BP_SYM.
16794 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16795 <bp-sym.h> and <bp-asm.h>.
16796 (memcpy): Don't use BP_SYM.
16797 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16798 <bp-asm.h>.
16799 (memcpy): Don't use BP_SYM.
16800 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16801 <bp-asm.h>.
16802 (memset): Don't use BP_SYM.
16803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16805 (__bzero): Don't use BP_SYM.
16806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16808 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (memcmp): Don't use BP_SYM. Remove comment about bounded
16811 pointers.
16812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16813 <bp-sym.h> and <bp-asm.h>.
16814 (memcpy): Don't use BP_SYM.
16815 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16816 <bp-sym.h> and <bp-asm.h>.
16817 (memset): Don't use BP_SYM.
16818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16820 (__bzero): Don't use BP_SYM.
16821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16823 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (strncmp): Don't use BP_SYM. Remove comment about bounded
16826 pointers.
16827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16828 <bp-sym.h> and <bp-asm.h>.
16829 (memcpy): Don't use BP_SYM.
16830 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16831 <bp-sym.h> and <bp-asm.h>.
16832 (memset): Don't use BP_SYM.
16833 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16834 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16835 (__bzero): Don't use BP_SYM.
16836 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16837 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16838 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16839 <bp-sym.h> and <bp-asm.h>.
16840 (__memchr): Don't use BP_SYM.
16841 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16842 <bp-sym.h> and <bp-asm.h>.
16843 (memcmp): Don't use BP_SYM. Remove comment about bounded
16844 pointers.
16845 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16846 <bp-sym.h> and <bp-asm.h>.
16847 (memcpy): Don't use BP_SYM.
16848 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16849 <bp-sym.h> and <bp-asm.h>.
16850 (__mempcpy): Don't use BP_SYM.
16851 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16852 <bp-sym.h> and <bp-asm.h>.
16853 (__memrchr): Don't use BP_SYM.
16854 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (memset): Don't use BP_SYM.
16857 (__bzero): Likewise.
16858 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16859 <bp-sym.h> and <bp-asm.h>.
16860 (__rawmemchr): Don't use BP_SYM.
16861 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16862 <bp-sym.h> and <bp-asm.h>.
16863 (__STRCMP): Don't use BP_SYM.
16864 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16865 <bp-sym.h> and <bp-asm.h>.
16866 (strchr): Don't use BP_SYM.
16867 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16868 <bp-sym.h> and <bp-asm.h>.
16869 (__strchrnul): Don't use BP_SYM.
16870 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16871 <bp-sym.h> and <bp-asm.h>.
16872 (strlen): Don't use BP_SYM.
16873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16874 <bp-sym.h> and <bp-asm.h>.
16875 (strncmp): Don't use BP_SYM. Remove comment about bounded
16876 pointers.
16877 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16878 <bp-sym.h> and <bp-asm.h>.
16879 (__strnlen): Don't use BP_SYM.
16880 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16881 <bp-sym.h> and <bp-asm.h>.
16882 (__GI__setjmp): Don't use BP_SYM.
16883 (_setjmp): Likewise.
16884 (__sigsetjmp): Likewise.
16885 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16886 (L(start_addresses)): Don't use BP_SYM.
16887 (_start): Likewise.
16888 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16889 <bp-asm.h>.
16890 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16891 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16892 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16893 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16894 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16895 <bp-asm.h>.
16896 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16897 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16898 about bounded pointers.
16899 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16900 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16901 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16902 <bp-asm.h>.
16903 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16904 about bounded pointers. Remove GKM FIXME comments.
16905 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16906 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16907 <bp-asm.h>.
16908 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16909 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16910 Remove GKM FIXME comments.
16911 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16912 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16913 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16914 <bp-asm.h>.
16915 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16916 about bounded pointers. Remove GKM FIXME comment.
16917 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16918 and <bp-asm.h>.
16919 (strncmp): Don't use BP_SYM. Remove comment about bounded
16920 pointers.
16921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16922 <bp-sym.h> and <bp-asm.h>.
16923 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16925 <bp-sym.h> and <bp-asm.h>.
16926 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16927 comment.
16928
cdcf361f
PP
169292013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16930
16931 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16932 call free(NULL).
16933
3c4a2b15
DM
169342013-03-05 David S. Miller <davem@davemloft.net>
16935
16936 * po/es.po: Update from translation team.
16937
cdcf361f 169382013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16939
16940 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16941 <bits/mman-linux.h>.
16942 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16943 is fine.
16944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16945 <bits/mman-linux.h> to end of file.
16946 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16947 is fine.
16948 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16949 <bits/mman-linux.h> to end of file.
16950 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16951 is fine.
16952 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16953 <bits/mman-linux.h> to end of file.
16954
16955 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16956 (MCL_CURRENT, MCL_FUTURE): Define here.
16957
5f67c04f
AK
169582013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16959
8a4473cc 16960 [BZ #15232]
5f67c04f
AK
16961 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16962 attribute_hidden.
16963 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16964
c3e94a95
AK
169652013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16966
16967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16968 fourth parameter needed for rt_sigprocmask syscall.
16969 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16970 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16971 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16972 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16973 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16974 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16975
cfb6382a
JM
169762013-03-04 Joseph Myers <joseph@codesourcery.com>
16977
16978 [BZ #13550]
16979 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16980 comment about bounded pointers.
16981 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16982 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16983
539d8e01
AJ
169842013-03-04 Andreas Jaeger <aj@suse.de>
16985
16986 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16987 common definitions.
16988
16989 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16990 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16991 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16992 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16993 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16995
2e167a70 169962013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16997
16998 [BZ #15055]
16999 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17000 __ieee754_sqrl instead of __sqrl.
17001
68508633
JM
170022013-03-01 Joseph Myers <joseph@codesourcery.com>
17003
17004 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17005 * sysdeps/powerpc/fpu_control.h: ... here.
17006 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17007 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17008 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17009 * sysdeps/powerpc/bits/mathinline.h: ... here.
17010
7775448e
RM
170112013-03-01 Roland McGrath <roland@hack.frob.com>
17012
17013 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17014 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17015 to just [NEED_DL_SYSINFO_DSO].
17016 * elf/dl-support.c: Likewise.
17017 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17018 * elf/rtld.c (dl_main): Likewise.
17019 * elf/setup-vdso.h (setup_vdso): Likewise.
17020 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17021 * sysdeps/unix/sysv/linux/dl-sysdep.c
17022 (_dl_discover_osversion): Likewise.
17023
4e9b5995
CD
170242013-03-01 Carlos O'Donell <carlos@redhat.com>
17025
17026 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17027 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17028
e23872c8
SP
170292013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17030
e5c74c63
SP
17031 * NEWS: Mention libm performance improvements and non-x86 PI
17032 futex support.
17033
e23872c8
SP
17034 * csu/libc-start.c (__pthread_initialize_minimal): Change
17035 function arguments.
17036 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17037
b5510883
JM
170382013-02-28 Joseph Myers <joseph@codesourcery.com>
17039
17040 [BZ #13550]
17041 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17042 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17043 <bp-sym.h> and <bp-asm.h>.
17044 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17045 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17046 and <bp-asm.h>.
17047 (memcpy): Don't use BP_SYM.
17048 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17049 <bp-asm.h>.
17050 (__mpn_add_n): Don't use BP_SYM.
17051 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17052 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17053 and <bp-asm.h>.
17054 (__mpn_addmul_1): Don't use BP_SYM.
17055 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17056 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17057 <bp-sym.h>.
17058 (_setjmp): Don't use BP_SYM.
17059 (__novmx_setjmp): Likewise.
17060 (__GI__setjmp): Likewise.
17061 (__vmx_setjmp): Likewise.
17062 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17063 <bp-sym.h>.
17064 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17065 (__bzero): Don't use BP_SYM.
17066 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17067 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17068 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17069 <bp-sym.h> and <bp-asm.h>.
17070 (memcpy): Don't use BP_SYM.
17071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17072 <bp-sym.h> and <bp-asm.h>.
17073 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17074 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17075 <bp-sym.h> and <bp-asm.h>.
17076 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17077 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17078 <bp-asm.h>.
17079 (__mpn_lshift): Don't use BP_SYM.
17080 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17081 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17082 <bp-asm.h>.
17083 (memset): Don't use BP_SYM.
17084 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17085 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17086 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17087 <bp-asm.h>.
17088 (__mpn_mul_1): Don't use BP_SYM.
17089 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17090 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17091 <bp-sym.h> and <bp-asm.h>.
17092 (memcmp): Don't use BP_SYM.
17093 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17094 <bp-sym.h> and <bp-asm.h>.
17095 (memcpy): Don't use BP_SYM.
17096 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17097 <bp-sym.h> and <bp-asm.h>.
17098 (memset): Don't use BP_SYM.
17099 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17100 <bp-sym.h> and <bp-asm.h>.
17101 (strncmp): Don't use BP_SYM.
17102 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17103 <bp-sym.h> and <bp-asm.h>.
17104 (memcpy): Don't use BP_SYM.
17105 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17106 <bp-sym.h> and <bp-asm.h>.
17107 (memset): Don't use BP_SYM.
17108 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17109 <bp-sym.h> and <bp-asm.h>.
17110 (__memchr): Don't use BP_SYM.
17111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17112 <bp-sym.h> and <bp-asm.h>.
17113 (memcmp): Don't use BP_SYM.
17114 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17115 <bp-sym.h> and <bp-asm.h>.
17116 (memcpy): Don't use BP_SYM.
17117 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17118 <bp-sym.h> and <bp-asm.h>.
17119 (__mempcpy): Don't use BP_SYM.
17120 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17121 <bp-sym.h> and <bp-asm.h>.
17122 (__memrchr): Don't use BP_SYM.
17123 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17124 <bp-sym.h> and <bp-asm.h>.
17125 (memset): Don't use BP_SYM.
17126 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17127 <bp-sym.h> and <bp-asm.h>.
17128 (__rawmemchr): Don't use BP_SYM.
17129 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17130 <bp-sym.h> and <bp-asm.h>.
17131 (__STRCMP): Don't use BP_SYM.
17132 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17133 <bp-sym.h> and <bp-asm.h>.
17134 (strchr): Don't use BP_SYM.
17135 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17136 <bp-sym.h> and <bp-asm.h>.
17137 (__strchrnul): Don't use BP_SYM.
17138 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17139 <bp-sym.h> and <bp-asm.h>.
17140 (strlen): Don't use BP_SYM.
17141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17142 <bp-sym.h> and <bp-asm.h>.
17143 (strncmp): Don't use BP_SYM.
17144 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17145 <bp-sym.h> and <bp-asm.h>.
17146 (__strnlen): Don't use BP_SYM.
17147 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17148 <bp-asm.h>.
17149 (__mpn_rshift): Don't use BP_SYM.
17150 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17151 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17152 <bp-sym.h> and <bp-asm.h>.
17153 (__sigsetjmp): Don't use BP_SYM.
17154 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17155 (L(start_addresses)): Don't use BP_SYM.
17156 (_start): Likewise.
17157 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17158 <bp-asm.h>.
17159 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17160 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17161 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17162 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17163 <bp-asm.h>.
17164 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17165 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17166 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17167 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17168 <bp-asm.h>.
17169 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17170 comments.
17171 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17172 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17173 <bp-asm.h>.
17174 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17175 FIXME comments.
17176 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17177 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17178 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17179 <bp-asm.h>.
17180 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17181 comment.
17182 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17183 and <bp-asm.h>.
17184 (strncmp): Don't use BP_SYM,
17185 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17186 <bp-asm.h>.
17187 (__mpn_sub_n): Don't use BP_SYM.
17188 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17189 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17190 and <bp-asm.h>.
17191 (__mpn_submul_1): Don't use BP_SYM.
17192 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17194 <bp-sym.h> and <bp-asm.h>.
17195 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17197 <bp-sym.h> and <bp-asm.h>.
17198 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17199 comment.
17200
8d19fe64
SP
172012013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17202
17203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17204 Use ZK to minimize writes to Z.
17205 (sub_magnitudes): Simplify code a bit.
17206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17207 Use ZK to minimize writes to Z.
17208 (sub_magnitudes): Simplify code a bit.
17209
85bd816a
RM
172102013-02-27 Roland McGrath <roland@hack.frob.com>
17211
17212 * csu/gmon-start.c: Add special exception to license text.
17213
b5977bf2
RH
172142013-02-27 Richard Henderson <rth@redhat.com>
17215
17216 * scripts/config.guess: Update from config.git.
17217 * scripts/config.sub: Likewise.
17218
11d6e2f2
SP
172192013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17220
09c14ed2
SP
17221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17222
a688864e
SP
17223 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17224
6295157a
SP
17225 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17226
b8de2202
SP
17227 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17228
11d6e2f2
SP
17229 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17230
7e80ddb8
RM
172312013-02-26 Roland McGrath <roland@hack.frob.com>
17232
17233 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17234 [$(build-shared = yes].
7e80ddb8 17235
7da6d9ed
SP
172362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17237
45f05884
SP
17238 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17239 (__mul): Reduce iterations for calculating mantissa.
17240
2236d359
SP
17241 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17242 MPTWO.
17243 (__mpranred): Likewise.
17244
7da6d9ed
SP
17245 [BZ #15160]
17246 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17247 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17248
b7688c42
PE
172492013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17250
17251 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17252 Define __attribute__.
17253
53a5c423
SP
172542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17255
17256 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17257 unused.
17258 * posix/regex_internal.h (__attribute): Remove.
17259 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17260 (re_string_context_at): Likewise.
17261 (bitset_not): Use __attribute__ and mark function as possibly
17262 unused.
17263 (bitset_merge): Likewise.
17264 (bitset_mask): Likewise.
17265 (re_string_char_size_at): Likewise.
17266 (re_string_wchar_at): Likewise.
17267 (re_string_elem_size_at): Likewise.
17268
60f5a8b5
SP
172692013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17270
2a983a2e
SP
17271 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17272 code.
17273 (cc32): Likewise.
17274
e69804d1
SP
17275 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17276 (__acr): Likewise.
17277 (__cpy): Likewise.
17278 (norm): Likewise.
17279 (denorm): Likewise.
17280 (__dbl_mp): Likewise.
17281 (add_magnitudes): Likewise.
17282 (sub_magnitudes): Likewise.
17283 (__mul): Likewise.
17284 (__inv): Likewise.
17285
2f22a1e8
SP
17286 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17287 style.
17288
8930ddc7
SP
17289 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17290 style.
17291
dc60cb11
SP
17292 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17293 code.
17294
60f5a8b5
SP
17295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17296 up changes with default code.
17297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17298 Likewise.
17299
b4d1fd33
AM
173002013-02-24 Allan McRae <allan@archlinux.org>
17301
faf6f8bc
AM
17302 * manual/socket.texi (The Internet Namespace): Order menu items
17303 to match that in the file.
17304
b4d1fd33
AM
17305 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17306 node listing of the info page menu.
17307
2366713d
JM
173082013-02-21 Joseph Myers <joseph@codesourcery.com>
17309
17310 [BZ #13550]
17311 * sysdeps/i386/bp-asm.h: Remove file.
17312 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17313 (PARMS): Do not use macros from bp-asm.h.
17314 (S1): Likewise.
17315 (S2): Likewise.
17316 (SIZE): Likewise.
17317 (__mpn_add_n): Do not use BP_SYM
17318 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17319 "bp-asm.h".
17320 (PARMS): Do not use macros from bp-asm.h.
17321 (S1): Likewise.
17322 (SIZE): Likewise.
17323 (__mpn_addmul_1): Do not use BP_SYM
17324 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17325 "bp-asm.h".
17326 (PARMS): Do not use macros from bp-asm.h.
17327 (SIGMSK): Likewise.
17328 (_setjmp): Likewise. Do not use BP_SYM.
17329 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17330 "bp-asm.h".
17331 (PARMS): Do not use macros from bp-asm.h.
17332 (SIGMSK): Likewise.
17333 (setjmp): Likewise. Do not use BP_SYM.
17334 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17335 "bp-asm.h".
17336 (PARMS): Do not use macros from bp-asm.h.
17337 (__frexp): Do not use BP_SYM.
17338 (frexp): Likewise.
17339 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17340 "bp-asm.h".
17341 (PARMS): Do not use macros from bp-asm.h.
17342 (__frexpf): Do not use BP_SYM.
17343 (frexpf): Likewise.
17344 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17345 "bp-asm.h".
17346 (PARMS): Do not use macros from bp-asm.h.
17347 (__frexpl): Do not use BP_SYM.
17348 (frexpl): Likewise.
17349 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17350 "bp-asm.h".
17351 (PARMS): Do not use macros from bp-asm.h.
17352 (__remquo): Do not use BP_SYM.
17353 (remquo): Likewise.
17354 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17355 "bp-asm.h".
17356 (PARMS): Do not use macros from bp-asm.h.
17357 (__remquof): Do not use BP_SYM.
17358 (remquof): Likewise.
17359 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17360 "bp-asm.h".
17361 (PARMS): Do not use macros from bp-asm.h.
17362 (__remquol): Do not use BP_SYM.
17363 (remquol): Likewise.
17364 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17365 "bp-asm.h".
17366 (PARMS): Do not use macros from bp-asm.h.
17367 (DEST): Likewise.
17368 (SRC): Likewise.
17369 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17370 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17371 "bp-asm.h".
17372 (PARMS): Do not use macros from bp-asm.h.
17373 (strlen): Do not use BP_SYM.
17374 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17375 "bp-asm.h".
17376 (PARMS): Do not use macros from bp-asm.h.
17377 (S1): Likewise.
17378 (S2): Likewise.
17379 (SIZE): Likewise.
17380 (__mpn_add_n): Do not use BP_SYM.
17381 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17382 "bp-asm.h".
17383 (PARMS): Do not use macros from bp-asm.h.
17384 (S1): Likewise.
17385 (SIZE): Likewise.
17386 (__mpn_addmul_1): Do not use BP_SYM.
17387 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17388 weak_alias.
17389 (bzero): Likewise.
17390 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17391 "bp-asm.h".
17392 (PARMS): Do not use macros from bp-asm.h.
17393 (S): Likewise.
17394 (SIZE): Likewise.
17395 (__mpn_lshift): Do not use BP_SYM.
17396 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17397 "bp-asm.h".
17398 (PARMS): Do not use macros from bp-asm.h.
17399 (DEST): Likewise.
17400 (SRC): Likewise.
17401 (LEN): Likewise.
17402 (memcpy): Likewise. Do not use BP_SYM.
17403 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17404 libc_hidden_def and weak_alias.
17405 (mempcpy): Do not use BP_SYM in weak_alias.
17406 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17407 "bp-asm.h".
17408 (PARMS): Do not use macros from bp-asm.h.
17409 (DEST): Likewise.
17410 (LEN): Likewise.
17411 [!BZERO_P] (CHR): Likewise.
17412 (memset): Likewise. Do not use BP_SYM.
17413 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17414 "bp-asm.h".
17415 (PARMS): Do not use macros from bp-asm.h.
17416 (S1): Likewise.
17417 (SIZE): Likewise.
17418 (__mpn_mul_1): Do not use BP_SYM.
17419 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17420 "bp-asm.h".
17421 (PARMS): Do not use macros from bp-asm.h.
17422 (S): Likewise.
17423 (SIZE): Likewise.
17424 (__mpn_rshift): Do not use BP_SYM.
17425 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17426 "bp-asm.h".
17427 (PARMS): Do not use macros from bp-asm.h.
17428 (STR): Likewise.
17429 (CHR): Likewise.
17430 (strchr): Likewise. Do not use BP_SYM.
17431 (index): Do not use BP_SYM in weak_alias.
17432 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17433 "bp-asm.h".
17434 (PARMS): Do not use macros from bp-asm.h.
17435 (DEST): Likewise.
17436 (SRC): Likewise.
17437 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17438 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17439 "bp-asm.h".
17440 (PARMS): Do not use macros from bp-asm.h.
17441 (strlen): Do not use BP_SYM.
17442 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17443 "bp-asm.h".
17444 (PARMS): Do not use macros from bp-asm.h.
17445 (S1): Likewise.
17446 (S2): Likewise.
17447 (SIZE): Likewise.
17448 (__mpn_sub_n): Do not use BP_SYM.
17449 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17450 "bp-asm.h".
17451 (PARMS): Do not use macros from bp-asm.h.
17452 (S1): Likewise.
17453 (SIZE): Likewise.
17454 (__mpn_submul_1): Do not use BP_SYM.
17455 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17456 "bp-asm.h".
17457 (PARMS): Do not use macros from bp-asm.h.
17458 (S1): Likewise.
17459 (S2): Likewise.
17460 (SIZE): Likewise.
17461 (__mpn_add_n): Do not use BP_SYM.
17462 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17463 weak_alias.
17464 (bzero): Likewise.
17465 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17466 "bp-asm.h".
17467 (PARMS): Do not use macros from bp-asm.h.
17468 (BLK2): Likewise.
17469 (LEN): Likewise.
17470 (memcmp): Do not use BP_SYM.
17471 (bcmp): Do not use BP_SYM in weak_alias.
17472 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17473 "bp-asm.h".
17474 (PARMS): Do not use macros from bp-asm.h.
17475 (DEST): Likewise.
17476 (SRC): Likewise.
17477 (LEN): Likewise.
17478 (memcpy): Likewise. Do not use BP_SYM.
17479 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17480 "bp-asm.h".
17481 (PARMS): Do not use macros from bp-asm.h.
17482 (DEST): Likewise.
17483 (SRC): Likewise.
17484 (LEN): Likewise.
17485 (memmove): Likewise. Do not use BP_SYM.
17486 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17487 "bp-asm.h".
17488 (PARMS): Do not use macros from bp-asm.h.
17489 (DEST): Likewise.
17490 (SRC): Likewise.
17491 (LEN): Likewise.
17492 (__mempcpy): Likewise. Do not use BP_SYM.
17493 (mempcpy): Do not use BP_SYM in weak_alias.
17494 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17495 "bp-asm.h".
17496 (PARMS): Do not use macros from bp-asm.h.
17497 (DEST): Likewise.
17498 (LEN): Likewise.
17499 [!BZERO_P] (CHR): Likewise.
17500 (memset): Likewise. Do not use BP_SYM.
17501 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17502 "bp-asm.h".
17503 (PARMS): Do not use macros from bp-asm.h.
17504 (STR2): Likewise.
17505 (strcmp): Do not use BP_SYM.
17506 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17507 "bp-asm.h".
17508 (PARMS): Do not use macros from bp-asm.h.
17509 (STR): Likewise.
17510 (DELIM): Likewise.
17511 [USE_AS_STRTOK_R] (SAVE): Likewise.
17512 (FUNCTION): Likewise. Do not use BP_SYM.
17513 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17514 aliases.
17515 (strtok_r): Likewise.
17516 (__GI___strtok_r): Likewise.
17517 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17518 (PARMS): Do not use macros from bp-asm.h.
17519 (S): Likewise.
17520 (SIZE): Likewise.
17521 (__mpn_lshift): Do not use BP_SYM.
17522 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17523 (PARMS): Do not use macros from bp-asm.h.
17524 (STR): Likewise.
17525 (CHR): Likewise.
17526 (__memchr): Do not use BP_SYM.
17527 (memchr): Do not use BP_SYM in weak_alias.
17528 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17529 (PARMS): Do not use macros from bp-asm.h.
17530 (BLK2): Likewise.
17531 (LEN): Likewise.
17532 (memcmp): Do not use BP_SYM.
17533 (bcmp): Do not use BP_SYM in weak_alias.
17534 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17535 (PARMS): Do not use macros from bp-asm.h.
17536 (S1): Likewise.
17537 (SIZE): Likewise.
17538 (__mpn_mul_1): Do not use BP_SYM.
17539 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17540 "bp-asm.h".
17541 (PARMS): Do not use macros from bp-asm.h.
17542 (STR): Likewise.
17543 (CHR): Likewise.
17544 (__rawmemchr): Do not use BP_SYM.
17545 (rawmemchr): Do not use BP_SYM in weak_alias.
17546 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17547 (PARMS): Do not use macros from bp-asm.h.
17548 (S): Likewise.
17549 (SIZE): Likewise.
17550 (__mpn_rshift): Do not use BP_SYM.
17551 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17552 (PARMS): Do not use macros from bp-asm.h.
17553 (SIGMSK): Likewise.
17554 (__sigsetjmp): Likewise. Do not use BP_SYM.
17555 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17556 (_start): Do not use BP_SYM.
17557 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17558 (PARMS): Do not use macros from bp-asm.h.
17559 (DEST): Likewise.
17560 (SRC): Likewise.
17561 (__stpcpy): Likewise. Do not use BP_SYM.
17562 (stpcpy): Do not use BP_SYM in weak_alias.
17563 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17564 "bp-asm.h".
17565 (PARMS): Do not use macros from bp-asm.h.
17566 (DEST): Likewise.
17567 (SRC): Likewise.
17568 (LEN): Likewise.
17569 (__stpncpy): Likewise. Do not use BP_SYM.
17570 (stpncpy): Do not use BP_SYM in weak_alias.
17571 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17572 (PARMS): Do not use macros from bp-asm.h.
17573 (STR): Likewise.
17574 (CHR): Likewise.
17575 (strchr): Likewise. Do not use BP_SYM.
17576 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17577 "bp-asm.h".
17578 (PARMS): Do not use macros from bp-asm.h.
17579 (STR): Likewise.
17580 (CHR): Likewise.
17581 (__strchrnul): Likewise. Do not use BP_SYM.
17582 (strchrnul): Do not use BP_SYM in weak_alias.
17583 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17584 "bp-asm.h".
17585 (PARMS): Do not use macros from bp-asm.h.
17586 (STOP): Likewise.
17587 (strcspn): Do not use BP_SYM.
17588 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17589 "bp-asm.h".
17590 (PARMS): Do not use macros from bp-asm.h.
17591 (STR): Likewise.
17592 (STOP): Likewise.
17593 (strpbrk): Likewise. Do not use BP_SYM.
17594 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17595 "bp-asm.h".
17596 (PARMS): Do not use macros from bp-asm.h.
17597 (STR): Likewise.
17598 (CHR): Likewise.
17599 (strrchr): Likewise. Do not use BP_SYM.
17600 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17601 (PARMS): Do not use macros from bp-asm.h.
17602 (SKIP): Likewise.
17603 (strspn): Do not use BP_SYM.
17604 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17605 (PARMS): Do not use macros from bp-asm.h.
17606 (STR): Likewise.
17607 (DELIM): Likewise.
17608 (SAVE): Likewise.
17609 (FUNCTION): Likewise. Do not use BP_SYM.
17610 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17611 aliases.
17612 (strtok_r): Likewise.
17613 (__GI___strtok_r): Likewise.
17614 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17615 (PARMS): Do not use macros from bp-asm.h.
17616 (S1): Likewise.
17617 (S2): Likewise.
17618 (SIZE): Likewise.
17619 (__mpn_sub_n): Do not use BP_SYM.
17620 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17621 "bp-asm.h".
17622 (PARMS): Do not use macros from bp-asm.h.
17623 (S1): Likewise.
17624 (SIZE): Likewise.
17625 (__mpn_submul_1): Do not use BP_SYM.
17626 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17627 <bp-sym.h>.
17628 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17629 and <bp-asm.h>.
17630 (PARMS): Do not use macros from bp-asm.h.
17631 (FLAGS): Likewise.
17632 (PTID): Likewise.
17633 (TLS): Likewise.
17634 (CTID): Likewise.
17635 (__clone): Do not use BP_SYM.
17636 (clone): Do not use BP_SYM in weak_alias.
17637 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17638 and <bp-asm.h>.
17639 (PARMS): Do not use macros from bp-asm.h.
17640 (LEN): Likewise.
17641 (__mmap64): Do not use BP_SYM.
17642 (mmap64): Do not use BP_SYM in weak_alias.
17643 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17644 <bp-sym.h> and <bp-asm.h>.
17645 (PARMS): Do not use macros from bp-asm.h.
17646 (__posix_fadvise64_l64): Do not use BP_SYM.
17647 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17648 (PARMS): Do not use macros from bp-asm.h.
17649 (NSOPS): Likewise.
17650 (semtimedop): Do not use BP_SYM.
17651 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17652 and <bp-asm.h>.
17653
582a3cff
AM
176542013-02-21 Allan McRae <allan@archlinux.org>
17655
17656 * manual/message.texi (Charset conversion in gettext):
17657 Move @end statement to beginning of line.
17658
bab8a695
SP
176592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17660
80945231
SP
17661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17662 static.
17663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17664 Likewise.
17665
bab8a695
SP
17666 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17667 (denorm): Likewise.
17668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17670
e21d7aa7
AK
176712013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17672
17673 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17674 tail-call to the resolved function if pltexit isn't needed.
17675
4c7a4263
SP
176762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17677
17678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17679 or Y being zero as being unlikely.
17680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17681 Likewise.
17682
41f49342
CD
176832013-02-20 Carlos O'Donell <carlos@redhat.com>
17684
17685 * manual/nss.texi (System Databases and Name Service Switch):
17686 Remove frobnicate @pxref.
17687
50022a93
TS
176882013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17689
17690 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17691 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17692
08cbd996
PM
176932013-02-20 Petr Machata <pmachata@redhat.com>
17694
17695 * elf/elf.h (R_ARM_TARGET1): New macro.
17696 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17697 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17698 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17699 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17700 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17701 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17702 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17703 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17704 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17705 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17706 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17707 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17708 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17709 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17710 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17711 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17712 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17713 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17714 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17715 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17716 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17717 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17718 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17719 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17720 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17721 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17722 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17723 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17724 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17725 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17726 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17727 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17728 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17729 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17730 (R_ARM_THM_GOT_BREL12): Likewise.
17731 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17732 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17733 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17734 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17735 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17736 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17737 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17738 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17739 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17740
c7b275d6
TS
177412013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17742
17743 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17744 __attribute_used__ to __attribute__ ((unused)).
17745
20cd7fb3
SP
177462013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17747
17748 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17749 powerpc mpa.c.
17750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17751 comment formatting.
17752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17753
92945b52
JM
177542013-02-19 Joseph Myers <joseph@codesourcery.com>
17755
17756 [BZ #13550]
17757 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17758 Remove macro.
17759 (ENTER): Remove both macro definitions.
17760 (LEAVE): Likewise.
17761 (CHECK_BOUNDS_LOW): Likewise.
17762 (CHECK_BOUNDS_HIGH): Likewise.
17763 (CHECK_BOUNDS_BOTH): Likewise.
17764 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17765 (RETURN_BOUNDED_POINTER): Likewise.
17766 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17767 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17768 (POP_ERRNO_LOCATION_RETURN): Likewise.
17769 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17770 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17771 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17772 macros.
17773 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17774 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17775 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17776 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17777 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17778 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17779 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17780 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17781 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17782 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17783 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17784 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17785 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17786 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17787 removed macros.
17788 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17789 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17790 macros.
17791 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17792 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17793 * sysdeps/i386/i586/memset.S (memset): Likewise.
17794 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17795 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17796 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17797 macros.
17798 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17799 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17800 Change uses of L(2) to L(out).
17801 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17802 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17803 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17804 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17805 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17806 removed macros.
17807 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17808 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17809 macros.
17810 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17811 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17812 (RETURN): Do not use macro LEAVE.
17813 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17814 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17815 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17816 * sysdeps/i386/i686/memset.S (memset): Likewise.
17817 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17818 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17819 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17820 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17821 Likewise.
17822 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17823 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17824 L(1_2) and L(1_3) into L(1).
17825 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17826 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17827 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17828 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17829 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17830 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17831 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17832 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17833 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17834 macros.
17835 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17836 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17837 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17838 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17839 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17840 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17841 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17842 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17843 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17844 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17845 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17846 * sysdeps/i386/strspn.S (strspn): Likewise.
17847 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17848 conditional code.
17849 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17850 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17851 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17852 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17853 L(1_3) into L(1_1).
17854 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17855 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17856 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17857 macros.
17858 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17859
2389741a
JJ
178602013-02-19 Jakub Jelinek <jakub@redhat.com>
17861
17862 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17863 macro.
17864
2016b3cd
SP
178652013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17866
e4f22324
SP
17867 * math/atest-exp.c (exp_mpn): Remove ROUND.
17868 * math/atest-exp2.c (exp_mpn): Likewise.
17869 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17870
2016b3cd
SP
17871 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17872 * stdlib/tst-tls-atexit-lib.c: Likewise.
17873 * stdlib/tst-tls-atexit.c: Likewise.
17874
4be9b544
MF
178752013-02-18 Mike Frysinger <vapier@gentoo.org>
17876
17877 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17878 and __attribute_alloc_size__.
17879
2f62b9ee
MF
178802013-02-18 Mike Frysinger <vapier@gentoo.org>
17881
17882 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17883 __attribute_alloc_size__.
17884 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17885 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17886
6ff444c4
MF
178872013-02-18 Mike Frysinger <vapier@gentoo.org>
17888
17889 * include/programs/xmalloc.h: New file.
17890 * catgets/gencat.c: Include it.
17891 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17892 * elf/pldd.c: Likewise.
17893 * iconv/iconv_charmap.c: Likewise.
17894 * iconv/iconvconfig.c: Likewise.
17895 * iconv/strtab.c: Likewise.
17896 * locale/programs/locale.c: Likewise.
17897 * locale/programs/localedef.h: Likewise.
17898 * locale/programs/simple-hash.c: Likewise.
17899 * nscd/nscd.h: Likewise.
17900 * nss/makedb.c: Likewise.
17901 * sysdeps/generic/ldconfig.h: Likewise.
17902
be179c8a
SP
179032013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17904
ba384f6e
SP
17905 * Versions.def: Add GLIBC_2.18.
17906 * include/link.h (struct link_map): New member l_tls_dtor_count.
17907 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17908 (__call_tls_dtors): Likewise.
17909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17910 __cxa_thread_atexit_impl.
17911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17912 Likewise.
17913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17914 Likewise.
17915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17916 Likewise.
17917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17918 Likewise.
17919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17921 Likewise.
17922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17923 Likewise.
17924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17926 Likewise.
17927 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17928 (tests): Add test case tst-tls-atexit.
17929 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17930 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17931 (GLIBC_PRIVATE): Add __call_tls_dtors.
17932 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17933 for libstdc++.
17934 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17935 * stdlib/tst-tls-atexit.c: New test case.
17936 * stdlib/tst-tls-atexit-lib.c: New test case.
17937
ffaa74cf 17938 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17939
be179c8a
SP
17940 * elf/Versions (ld): Add _dl_find_dso_for_object.
17941 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17942 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17943 (dl_open_worker): Use _dl_find_dso_for_object.
17944 * elf/dl-sym.c (do_sym): Likewise.
17945 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17946
f78b5caa
AK
179472013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17948
17949 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17950 Syntactic changes only.
17951 (_dl_runtime_profile): Do a tail-call to the resolved function.
17952
29691210
JM
179532013-02-17 Joseph Myers <joseph@codesourcery.com>
17954
17955 [BZ #13550]
17956 * sysdeps/x86_64/bp-asm.h: Remove file.
17957 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17958 <bp-sym.h> and <bp-asm.h>.
17959 (__clone): Do not use BP_SYM.
17960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17961 <bp-sym.h> and <bp-asm.h>.
17962 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17963 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17964 "bp-asm.h".
17965 (_setjmp): Do not use BP_SYM.
17966 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17967 "bp-asm.h".
17968 (setjmp): Do not use BP_SYM.
17969 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17970 libc_hidden_def.
17971 (mempcpy): Do not use BP_SYM in weak_alias.
17972 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17973 "bp-asm.h".
17974 (strchr): Do not use BP_SYM.
17975 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17976 "bp-asm.h".
17977 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17978 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17979 (_start): Do not use BP_SYM.
17980 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17981 "bp-asm.h".
17982 (strcat): Do not use BP_SYM.
17983 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17984 "bp-asm.h".
17985 (STRCMP): Do not use BP_SYM.
17986 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17987 "bp-asm.h".
17988 (STRCPY): Do not use BP_SYM.
17989 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17990 "bp-asm.h".
17991 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17992 "bp-asm.h".
17993 (FUNCTION): Do not use BP_SYM.
17994 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17995 weak_alias.
17996 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17997
f238fd19
AJ
179982013-02-17 Andreas Jaeger <aj@suse.de>
17999
18000 * time/Versions: Sort entries.
18001 * string/Versions: Likewise.
18002 * resolv/Versions: Likewise.
18003 * posix/Versions: Likewise.
18004 * iconv/Versions: Likewise.
18005 * elf/Versions: Likewise.
18006 * wcsmbs/Versions: Likewise.
18007
bd07f23c 180082013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18009
22af19f9
SP
18010 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18011 loop termination condition.
18012
4709fe76
SP
18013 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18014 variable to calculate EZ.
18015 (__sqr): Likewise.
2d0e0f29
SP
18016
18017 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18018 the lower precision input.
18019
daaa7713
JM
180202013-02-15 Joseph Myers <joseph@codesourcery.com>
18021
18022 [BZ #13550]
18023 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18024 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18025 (run-via-rtld-prefix): Do not handle %-bp tests.
18026 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18027 (all-object-suffixes): Remove .ob.
18028 (bppfx): Remove variable.
18029 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18030 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18031 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18032 [$(build-bounded) = yes] (libtype.ob): Likewise.
18033 * Makerules (elide-routines.ob): Remove variable.
18034 (do-tests-clean): Do not handle *-bp.out.
18035 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18036 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18037 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18038 (tests): Do not include $(tests-bp.out).
18039 (xtests): Do not include $(xtests-bp.out).
18040 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18041 [$(build-bounded) = yes] ($(addprefix
18042 $(objpfx),$(binaries-bounded))): Remove rule.
18043 ($(objpfx)%-bp.out): Remove rule.
18044 * config.make.in (build-bounded): Remove variable.
18045 * crypt/Makefile [$(build-bounded) = yes]
18046 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18047 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18048 append to variable.
18049 [$(build-bounded) = yes] (install-lib): Likewise.
18050 [$(build-bounded) = yes] (generated): Likewise.
18051 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18052 Remove rule.
18053 * intl/Makefile [$(build-bounded) = yes]
18054 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18055 * math/Makefile [$(build-bounded) = yes]
18056 ($(tests:%=$(objpfx)%-bp): Likewise.
18057 * misc/Makefile [$(build-bounded) = yes]
18058 ($(objpfx)tst-tsearch-bp): Likewise.
18059 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18060 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18061 Remove dependency.
18062 * string/Makefile (o-objects.ob): Remove variable.
18063 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18064 (CFLAGS-.ob): Remove variable.
18065 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18066 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18067 both definitions of variable.
18068 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18069 (ASFLAGS-.ob): Remove variable.
18070
e97ed6dd
JM
180712013-02-14 Joseph Myers <joseph@codesourcery.com>
18072
2bdd4ca6
JM
18073 [BZ #13550]
18074 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18075 Remove __BOUNDED_POINTERS__ from condition.
18076 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18077 * string/bits/string2.h [!__NO_STRING_INLINES &&
18078 !__BOUNDED_POINTERS__]: Likewise.
18079 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18082 Remove conditional code.
18083 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18084 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18085 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18086 condition.
18087
e97ed6dd
JM
18088 [BZ #13550]
18089 * csu/libc-start.c: Do not include <bp-sym.h>.
18090 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18091 * elf/dl-open.c: Do not include <bp-sym.h>.
18092 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18093 * math/fegetenv.c: Do not include <bp-sym.h>.
18094 (fegetenv): Do not use BP_SYM in versioned symbols.
18095 * nptl/sysdeps/pthread/bits/libc-lockP.h
18096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18097 <bp-sym.h>.
18098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18099 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18101 (__pthread_mutex_destroy): Likewise.
18102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18103 (__pthread_mutex_lock): Likewise.
18104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18105 (__pthread_mutex_trylock): Likewise.
18106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18107 (__pthread_mutex_unlock): Likewise.
18108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18109 (__pthread_mutexattr_init): Likewise.
18110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18111 (__pthread_mutexattr_destroy): Likewise.
18112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18113 (__pthread_mutexattr_settype): Likewise.
18114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18115 (__pthread_rwlock_init): Likewise.
18116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18117 (__pthread_rwlock_destroy): Likewise.
18118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18119 (__pthread_rwlock_rdlock): Likewise.
18120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18121 (__pthread_rwlock_tryrdlock): Likewise.
18122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18123 (__pthread_rwlock_wrlock): Likewise.
18124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18125 (__pthread_rwlock_trywrlock): Likewise.
18126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18127 (__pthread_rwlock_unlock): Likewise.
18128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18129 (__pthread_key_create): Likewise.
18130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18131 (__pthread_setspecific): Likewise.
18132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18133 (__pthread_getspecific): Likewise.
18134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18135 Likewise.
18136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18137 (_pthread_cleanup_push_defer): Likewise.
18138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18139 (_pthread_cleanup_pop_restore): Likewise.
18140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18141 (pthread_setcancelstate): Likewise.
18142 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18143 <bp-sym.h>.
18144 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18145 (memchr): Do not use BP_SYM in weak_alias.
18146 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18147 (fegetenv): Do not use BP_SYM in versioned symbols.
18148 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18149 (fesetenv): Do not use BP_SYM in versioned symbols.
18150 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18151 (feupdateenv): Do not use BP_SYM in versioned symbols.
18152 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18153 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18154 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18155 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18156 (open64): Do not use BP_SYM in weak_alias.
18157 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18158 (fegetenv): Do not use BP_SYM in versioned symbols.
18159 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18160 (fesetenv): Do not use BP_SYM in versioned symbols.
18161 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18162 (feupdateenv): Do not use BP_SYM in versioned symbols.
18163 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18164 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18165 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18166 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18167 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18168 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18169 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18170 <bp-sym.h>.
18171 (__libc_start_main): Do not use BP_SYM.
18172
d6752ccd
SP
181732013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18174
cb57ce60
SP
18175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18176 redundant return line.
18177 (norm): Likewise.
18178 (denorm): Likewise.
18179 (dbl_mp): Likewise.
18180 (sub_magnitudes): Likewise.
18181 (__add): Likewise.
18182 (__sub): Likewise.
18183 (__mul): Likewise.
18184 (__inv): Likewise.
18185 (__dvd): Likewise.
18186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18187 (norm): Likewise.
18188 (denorm): Likewise.
18189 (dbl_mp): Likewise.
18190 (sub_magnitudes): Likewise.
18191 (__add): Likewise.
18192 (__sub): Likewise.
18193 (__mul): Likewise.
18194 (__inv): Likewise.
18195 (__dvd): Likewise.
18196
f414520d
SP
18197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18198 instead of __mul.
18199 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18200 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18201 (cc32): Likewise.
18202
d6752ccd
SP
18203 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18204 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18205 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18206 of __mul for squares.
18207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18208 function
18209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18210 Likewise.
18211 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18212 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18213
70d9946a
JM
182142013-02-13 Joseph Myers <joseph@codesourcery.com>
18215
18216 [BZ #13550]
18217 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18218 code.
18219 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18220 prototype or function definition. Rename ubp_* variables and
18221 parameters. Remove argv definitions conditional on
18222 [__BOUNDED_POINTERS__].
18223 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18224 * elf/dl-runtime.c (_dl_fixup): Likewise.
18225 * include/set-hooks.h (RUN_HOOK): Likewise.
18226 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18227 definition.
18228 * string/strcpy.c (strcpy): Do not use __unbounded.
18229 * sysdeps/generic/frame.h (struct layout): Likewise.
18230 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18231 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18232 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18233 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18234 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18235 (__backtrace): Likewise.
18236 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18237 use __ptrvalue.
18238 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18239 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18240 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18241 Likewise.
18242 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18243 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18244 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18245 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18246 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18247 Do not use __unbounded.
18248 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18249 Rename __unboundedrlimits parameter to rlimits in prototype.
18250 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18251 Do not use __unbounded.
18252 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18253 not use __ptrvalue.
18254 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18255 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18256 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18257 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18258 __ptrvalue or __unbounded.
18259 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18260 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18261 use __unbounded.
18262 (__new_msgctl): Do not use __ptrvalue.
18263 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18264 __unbounded.
18265 (__libc_msgrcv): Do not use __ptrvalue.
18266 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18267 startup_info): Do not use __unbounded.
18268 (__libc_start_main): Likewise. Rename ubp_* variables and
18269 parameters. Remove argv definitions conditional on
18270 [__BOUNDED_POINTERS__].
18271 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18272 __ptrvalue.
18273 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18274 use __unbounded.
18275 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18276 or __ptrvalue.
18277 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18278 use __unbounded.
18279 (__new_shmctl): Do not use __ptrvalue.
18280 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18281 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18282 Likewise.
18283 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18284 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18285 (__libc_sigaction): Likewise.
18286 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18287 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18288 Likewise.
18289 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18290
cc7834d6
OB
182912013-02-13 Ondřej Bílka <neleai@seznam.cz>
18292
ffb1ec7b 18293 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18294
18295 * string/mempcpy.c: Implement by calling memcpy.
18296
bdf02814
SP
182972013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18298
c2af38aa
SP
18299 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18300
4e92d59e
SP
18301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18302 evaluation.
18303
909279a5
SP
18304 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18305 values in the mantissa.
18306
bdf02814
SP
18307 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18308 minimize writes to Z.
18309 (sub_magnitudes): Simplify code a bit.
18310
cd525923
RM
183112013-02-12 Roland McGrath <roland@hack.frob.com>
18312
18313 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18314 from the message. The linker prefixes all warnings with that already.
18315
7e2f0d2d
AS
183162013-02-12 Andreas Schwab <schwab@suse.de>
18317
a445af0b
AS
18318 [BZ #15078]
18319 * posix/regexec.c (extend_buffers): Add parameter min_len.
18320 (check_matching): Pass minimum needed length.
18321 (clean_state_log_if_needed): Likewise.
18322 (get_subexp): Likewise.
18323 * posix/Makefile (tests): Add bug-regex34.
18324 (bug-regex34-ENV): Define.
18325 * posix/bug-regex34.c: New file.
18326
7e2f0d2d
AS
18327 [BZ #11561]
18328 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18329 elements compare against the byte sequence of it, not its name.
18330 * posix/Makefile (tests): Add bug-regex35.
18331 (bug-regex35-ENV): Define.
18332 * posix/bug-regex35.c: New file.
18333
a175b684
TV
183342013-02-11 Tom de Vries <tom@codesourcery.com>
18335
18336 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18337 comment.
18338 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18339 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18340 (CHECK_EOL): Add undef.
18341
310998fe 183422013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18343
18344 * bits/stdlib-bsearch.h: New file.
18345 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18346 * stdlib/stdlib.h: Likewise.
41eda41d 18347
8ded91fb
RM
183482013-02-11 Roland McGrath <roland@hack.frob.com>
18349
18350 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18351 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18352 declaration.
18353 * manual/search.texi (Array Search Function): Add missing const in
18354 lfind prototype.
18355 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18356 declaration to use rlim_t.
18357 (Basic Scheduling Functions): Remove erroneous const from
18358 sched_getparam prototype. Remove erroneous * from
18359 sched_get_priority_max and sched_get_priority_min prototypes.
18360 (Resource Usage): Fix summary @comment on vtimes to refer to
18361 sys/vtimes.h rather than vtimes.h.
18362 Add missing *s in vtimes prototype.
18363 (Limits on Resources): Fix ulimit prototype to return long int.
18364 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18365 prototypes to use long int rather than double.
18366 (BSD Random): Fix initstate and setstate to use char *, not void *.
18367 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18368 prototype to make second argument 'struct aiocb64 *const[]'.
18369 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18370 (Status of AIO Operations): Remove erroneous const in aio_return and
18371 aio_return64 prototypes.
18372 (Synchronizing I/O): Fix sync prototype to return void.
18373 * manual/startup.texi (Suboptions): Remove an erroneous const in
18374 getsubopt prototype.
18375 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18376 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18377 use size_t rather than int.
18378 (Scanning All Users): Likewise for getpwent_r.
18379 (Setting Groups): Add missing const to setgroups prototype.
18380 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18381 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18382 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18383 'const void *' rather than 'const char *'.
18384 (Host Address Functions): Likewise for inet_ntop.
18385 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18386 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18387 ssize_t for return value.
18388 (Sending Data): Likewise for send, sendto, sendmsg.
18389 (Socket Option Functions): Add a missing const in setsockopt prototype.
18390 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18391 use wchar_t for the argument.
18392 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18393 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18394 take no arguments.
18395 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18396 double/float/long double for second argument.
18397 Fix return types of significand, significandf, significandl.
18398 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18399 argument in fchmod prototype.
18400 (File Owner): Use uid_t and gid_t in fchown prototype.
18401 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18402 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18403 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18404 use 'const struct dirent **' as argument types to CMP function pointer
18405 argument.
18406 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18407 (File Times): Fix summary magic @comment for struct utimbuf and utime
18408 to refer to utime.h, not time.h.
18409 * manual/string.texi (Argz Functions): Add missing const in
18410 argz_extract and argz_next prototypes.
18411 (Finding Tokens in a String): Likewise for basename.
18412 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18413 (Copying and Concatenation): Fix typo in wmemmove prototype.
18414 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18415 (Signal Stack): Remove erroneous const in sigstack prototype.
18416 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18417 prototype.
18418 (Simple Calendar Time): Likewise for stime.
18419 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18420 prototype.
18421 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18422 say sys/sysctl.h instead.
18423 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18424 and vsyslog prototypes.
18425
fe77fe6d
TV
184262013-02-11 Tom de Vries <tom@codesourcery.com>
18427
18428 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18429 Remove.
18430
3a09b620
RM
184312013-02-11 Roland McGrath <roland@hack.frob.com>
18432
18433 * misc/sys/mman.h: Fix typo in mremap comment.
18434
550a0b89
RM
184352013-02-08 Roland McGrath <roland@hack.frob.com>
18436
18437 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18438 the '\0' terminator.
18439
a2da1673
JM
184402013-02-08 Joseph Myers <joseph@codesourcery.com>
18441
18442 [BZ #13550]
18443 * debug/segfault.c: Don't include <bp-checks.h>.
18444 * sysdeps/generic/bp-checks.h: Remove file.
18445 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18446 (__GETDENTS): Don't use CHECK_N.
18447 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18448 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18449 (__getgroups): Don't use CHECK_N.
18450 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18451 (setgroups): Don't use CHECK_N.
18452 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18453 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18454 (__libc_msgrcv): Don't use CHECK_N.
18455 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18456 (__libc_msgsnd): Don't use CHECK_N.
18457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18458 <bp-checks.h>.
18459 (__libc_pread): Don't use CHECK_N.
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18461 include <bp-checks.h>.
18462 (__libc_pread64): Don't use CHECK_N.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18464 include <bp-checks.h>.
18465 (__libc_pwrite): Don't use CHECK_N.
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18467 include <bp-checks.h>.
18468 (__libc_pwrite64): Don't use CHECK_N.
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18470 <bp-checks.h>.
18471 (__libc_pread): Don't use CHECK_N.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18473 include <bp-checks.h>.
18474 (__libc_pread64): Don't use CHECK_N.
18475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18476 include <bp-checks.h>.
18477 (__libc_pwrite): Don't use CHECK_N.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18479 include <bp-checks.h>.
18480 (__libc_pwrite64): Don't use CHECK_N.
18481 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18482 (do_pread): Don't use CHECK_N.
18483 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18484 (do_pread64): Don't use CHECK_N.
18485 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18486 (do_pwrite): Don't use CHECK_N.
18487 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18488 (do_pwrite64): Don't use CHECK_N.
18489 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18490 (__libc_readv): Don't use CHECK_N.
18491 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18492 (semop): Don't use CHECK_N.
18493 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18494 <bp-checks.h>.
18495 (semtimedop): Don't use CHECK_N.
18496 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18497 (__libc_pread): Don't use CHECK_N.
18498 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18499 <bp-checks.h>.
18500 (__libc_pread64): Don't use CHECK_N.
18501 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18502 <bp-checks.h>.
18503 (__libc_pwrite): Don't use CHECK_N.
18504 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18505 <bp-checks.h>.
18506 (__libc_pwrite64): Don't use CHECK_N.
18507 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18508 <bp-checks.h>.
18509 (__libc_msgrcv): Don't use CHECK_N.
18510 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18511 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18512 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18513 (__libc_writev): Don't use CHECK_N.
18514
b84660a8
RM
185152013-02-08 Roland McGrath <roland@hack.frob.com>
18516
7f3e75f8
RM
18517 * string/strcpy.c: Removed unused variable.
18518
b84660a8
RM
18519 * Makeconfig (+sysdep-includes): Define with := rather than =.
18520 Use an existing include/ subdir of each sysdeps dir before it.
18521
471514d3
CD
185222013-02-08 Carlos O'Donell <carlos@redhat.com>
18523
18524 * nscd/connection.c (register_traced_file): Comment function.
18525 [HAVE_INOTIFY] (union __inev): Define.
18526 [HAVE_INOTIFY] (inotify_check_files): New function.
18527 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18528 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18529 clear_db_cache.
18530 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18531
b2d3c3be
CD
185322013-02-08 Carlos O'Donell <carlos@redhat.com>
18533
18534 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18535 loaded if not already and that a failure is permanent.
18536
b39949d2
CD
185372013-02-08 Carlos O'Donell <carlos@redhat.com>
18538
ddacd1db 18539 [BZ #15006]
b39949d2
CD
18540 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18541 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18542
b2c9eff4
JM
185432013-02-08 Joseph Myers <joseph@codesourcery.com>
18544
f3aae3f3
JM
18545 [BZ #13550]
18546 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18547 (CHECK_1_NULL_OK): Likewise.
18548 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18549 (__fxstat): Do not use CHECK_1.
18550 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18551 <bp-checks.h>.
18552 (___fxstat64): Do not use CHECK_1.
18553 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18554 <bp-checks.h>.
18555 (__fxstatat): Do not use CHECK_1.
18556 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18557 <bp-checks.h>.
18558 (__fxstatat64): Do not use CHECK_1.
18559 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18560 <bp-checks.h>.
18561 (__fxstat): Do not use CHECK_1.
18562 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18563 <bp-checks.h>.
18564 (__fxstatat): Do not use CHECK_1.
18565 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18566 <bp-checks.h>.
18567 (__getresgid): Do not use CHECK_1.
18568 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18569 <bp-checks.h>.
18570 (__getresuid): Do not use CHECK_1.
18571 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18572 <bp-checks.h>.
18573 (__lxstat): Do not use CHECK_1.
18574 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18575 <bp-checks.h>.
18576 (__old_msgctl): Do not use CHECK_1.
18577 (__new_msgctl): Likewise.
18578 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18579 <bp-checks.h>.
18580 (__new_setrlimit): Do not use CHECK_1.
18581 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18582 <bp-checks.h>.
18583 (__old_shmctl): Do not use CHECK_1.
18584 (__new_shmctl): Likewise.
18585 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18586 <bp-checks.h>.
18587 (__xstat): Do not use CHECK_1.
18588 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18589 (__lxstat): Do not use CHECK_1.
18590 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18591 <bp-checks.h>.
18592 (___lxstat64): Do not use CHECK_1.
18593 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18594 (__old_msgctl): Do not use CHECK_1.
18595 (__new_msgctl): Likewise.
18596 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18597 <bp-checks.h>.
18598 (__gettimeofday): Do not use CHECK_1.
18599 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18600 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18601 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18602 <bp-checks.h>.
18603 (__gettimeofday): Do not use CHECK_1.
18604 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18605 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18606 (__new_shmctl): Do not use CHECK_1.
18607 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18608 <bp-checks.h>.
18609 (do_sigtimedwait): Do not use CHECK_1.
18610 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18611 <bp-checks.h>.
18612 (do_sigwaitinfo): Do not use CHECK_1.
18613 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18614 <bp-checks.h>.
18615 (msgctl): Do not use CHECK_1.
18616 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18617 <bp-checks.h>.
18618 (shmctl): Do not use CHECK_1.
18619 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18620 (ustat): Do not use CHECK_1.
18621 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18622 <bp-checks.h>.
18623 (__fxstat): Do not use CHECK_1.
18624 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18625 <bp-checks.h>.
18626 (__fxstatat): Do not use CHECK_1.
18627 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18628 <bp-checks.h>.
18629 (__lxstat): Do not use CHECK_1.
18630 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18631 <bp-checks.h>.
18632 (__xstat): Do not use CHECK_1.
18633 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18634 (__xstat): Do not use CHECK_1.
18635 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18636 (___xstat64): Do not use CHECK_1.
18637
b2c9eff4
JM
18638 [BZ #13550]
18639 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18640 definitions.
18641 (CHECK_BOUNDS_HIGH): Likewise.
18642 * string/strcpy.c: Do not include <bp-checks.h>.
18643 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18644
f1d70dad
RM
186452013-02-07 Roland McGrath <roland@hack.frob.com>
18646
18647 * nscd/nscd-client.h (__nscd_drop_map_ref):
18648 Add __attribute__ ((unused)).
18649 * nis/nss-nisplus.h (niserr2nss): Likewise.
18650
18651 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18652 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18653
18654 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18655 Remove inline keyword.
18656 * include/rounding-mode.h (round_away): Likewise.
18657 * libio/wfileops.c (adjust_wide_data): Likewise.
18658 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18659 (__m128i_strloadu_tolower): Likewise.
18660 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18661 (__m128i_strloadu_tolower): Likewise.
18662 * time/mktime.c (ydhms_diff): Likewise.
18663 * locale/elem-hash.h (elem_hash): Likewise.
18664 * locale/setlocale.c (setdata): Likewise.
18665 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18666 (re_string_wchar_at): Likewise.
18667 (bitset_not, bitset_merge, bitset_mask): Likewise.
18668 [!(__GNUC__ > 3)] (inline): Remove macro.
18669 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18670 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18671 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18672 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18673 * string/memcmp.c (memcmp_bytes): Likewise.
18674 * locale/programs/locarchive.c (compute_hashval): Likewise.
18675 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18676 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18677 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18678 * nss/getent.c (print_rpc, print_protocols): Likewise.
18679 (print_passwd, print_group, print_aliases): Likewise.
18680 * nis/nss-nisplus.h (niserr2nss): Likewise.
18681 * nscd/connections.c (restart_p): Likewise.
18682 Change return type to bool.
18683
eab55bfb
RM
186842013-02-05 Roland McGrath <roland@hack.frob.com>
18685
7bd642f5
RM
18686 * Makeconfig (all-Depend-files): Add existing
18687 $(sorted-subdirs:=/Depend) files.
18688 (all-subdirs): Remove nss.
18689 * sysdeps/unix/inet/Subdirs: Add it here instead.
18690 * hesiod/Depend: New file.
18691
573c29b2
RM
18692 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18693 instead of calling alloca.
18694
b2e25af0
RM
18695 * io/lseek.c (__lseek): Rename to __libc_lseek.
18696 Define __lseek as an alias.
18697
eab55bfb
RM
18698 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18699
9a0d1941
CD
187002013-02-04 Carlos O'Donell <carlos@redhat.com>
18701
18702 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18703 else clause and remove check for non-standard endianness.
18704
b83bbec4
DM
187052013-02-04 David S. Miller <davem@davemloft.net>
18706
18707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18708
6277fdab
JM
187092013-02-04 Joseph Myers <joseph@codesourcery.com>
18710
18711 [BZ #13550]
18712 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18713 (__ubp_memchr): Remove prototype.
18714 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18715 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18716 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18717 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18718 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18719 Remove alias.
18720 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18721 (__ubp_memchr): Likewise.
18722 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18723 (__ubp_memchr): Likewise.
18724 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18725 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18726 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18727 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18728 CHECK_STRING.
18729 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18730 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18731 (__getcwd): Do not use CHECK_STRING.
18732 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18733 <bp-checks.h>.
18734 (__real_chown): Do not use CHECK_STRING.
18735 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18736 <bp-checks.h>.
18737 (fchownat): Do not use CHECK_STRING.
18738 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18739 CHECK_STRING.
18740 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18741 <bp-checks.h>.
18742 (__lchown): Do not use CHECK_STRING.
18743 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18744 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18745 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18746 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18748 include <bp-checks.h>.
18749 (truncate64): Do not use CHECK_STRING.
18750 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18751 <bp-checks.h>.
18752 (__real_chown): Do not use CHECK_STRING.
18753 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18754 <bp-checks.h>.
18755 (__lchown): Do not use CHECK_STRING.
18756 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18757 <bp-checks.h>.
18758 (__chown): Do not use CHECK_STRING.
18759 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18760 <bp-checks.h>.
18761 (truncate64): Do not use CHECK_STRING.
18762 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18763 Likewise.
18764 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18765 (__xmknod): Do not use CHECK_STRING.
18766 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18767 <bp-checks.h>.
18768 (__xmknodat): Do not use CHECK_STRING.
18769 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18770 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18771
903ae060
AS
187722013-02-04 Andreas Schwab <schwab@suse.de>
18773
18774 [BZ #14142]
18775 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18776 * include/netdb.h: Likewise for h_errno.
18777 * elf/tst-stackguard1.c: Include <tls.h>.
18778
542f9466
JK
187792013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18780
18781 * elf/link.h (struct link_map): Extend the l_addr comment.
18782 * include/link.h (struct link_map): Likewise.
18783
e782a927
JM
187842013-02-01 Joseph Myers <joseph@codesourcery.com>
18785
18786 [BZ #13550]
18787 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18788 (BOUNDED_1): Remove macro.
18789 * debug/backtrace.c: Don't include <bp-checks.h>.
18790 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18791 (__backtrace): Likewise.
18792 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18793 <bp-checks.h>.
18794 (__backtrace): Don't use BOUNDED_1.
18795 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18796 <bp-checks.h>.
18797 (__backtrace): Don't use BOUNDED_1.
18798 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18799 (__backtrace): Don't use BOUNDED_1.
18800 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18801 (shmat): Don't use BOUNDED_N.
18802
8cf28c5e
JM
188032013-01-31 Joseph Myers <joseph@codesourcery.com>
18804
3a7ac8a0
JM
18805 [BZ #13550]
18806 * sysdeps/generic/bp-start.h: Remove file.
18807 * csu/libc-start.c: Don't include <bp-start.h>.
18808 (LIBC_START_MAIN): Set up __environ directly instead of using
18809 INIT_ARGV_and_ENVIRON.
18810 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18811 <bp-start.h>.
18812
f3499f95
JM
18813 [BZ #13550]
18814 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18815 definitions.
18816 (CHECK_FCNTL): Likewise.
18817 (CHECK_N_PAGES): Likewise.
18818
32a45bea
JM
18819 [BZ #13550]
18820 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18821 definitions.
18822 (CHECK_SIGSET_NULL_OK): Likewise.
18823 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18824 <bp-checks.h>.
18825 (sigpending): Don't use CHECK_SIGSET.
18826 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18827 <bp-checks.h>.
18828 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18829 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18830 <bp-checks.h>.
18831 (do_sigsuspend): Don't use CHECK_SIGSET.
18832 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18833 use CHECK_SIGSET.
18834 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18835 (do_sigwait): Don't use CHECK_SIGSET.
18836 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18837 use CHECK_SIGSET.
18838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18839 include <bp-checks.h>.
18840 (sigpending): Don't use CHECK_SIGSET.
18841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18842 include <bp-checks.h>.
18843 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18844 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18845 <bp-checks.h>.
18846 (sigpending): Don't use CHECK_SIGSET.
18847 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18848 <bp-checks.h>.
18849 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18850
2e8a5c8c
JM
18851 [BZ #13550]
18852 * sysdeps/generic/bp-semctl.h: Remove file.
18853 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18854 <bp-checks.h> and <bp-semctl.h>.
18855 (__old_semctl): Don't use CHECK_SEMCTL.
18856 (__new_semctl): Likewise.
18857 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18858 and <bp-semctl.h>.
18859 (__old_semctl): Don't use CHECK_SEMCTL.
18860 (__new_semctl): Likewise.
18861 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18862 <bp-checks.h> and <bp-semctl.h>.
18863 (__old_semctl): Don't use CHECK_SEMCTL.
18864 (__new_semctl): Likewise.
18865 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18866 <bp-checks.h> and <bp-semctl.h>.
18867 (semctl): Don't use CHECK_SEMCTL.
18868
c2d54929
JM
18869 [BZ #13550]
18870 * Makerules (elide-bp-thunks): Remove variable.
18871 (elide-routines.oS): Don't use $(elide-bp-thunks).
18872 (elide-routines.os): Likewise.
18873 (elide-routines.o): Likewise.
18874 (elide-routines.op): Likewise.
18875 (elide-routines.og): Likewise.
18876 (objects): Don't use $(bp-thunks).
18877 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18878 include.
18879 (common-generated): Do not add s-proto-bp.d.
18880 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18881 (int): Likewise.
18882 (typ): Likewise.
18883 Do not generate makefile rules for bounded-pointer thunks.
18884 * sysdeps/generic/bp-thunks.h: Remove file.
18885 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18886 * sysdeps/unix/s-proto-bp.S: Likewise.
18887
8cf28c5e
JM
18888 [BZ #15062]
18889 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18890 parts of result separately when argument is not close to line from
18891 -i to i and one part of argument is small.
18892 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18893 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18894 * math/libm-test.inc (cacos_test): Add more tests.
18895 (casin_test): Likewise.
18896 (casinh_test): Likewise.
18897 * sysdeps/i386/fpu/libm-test-ulps: Update.
18898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18899
c4e33b8d
DM
189002013-01-31 David S. Miller <davem@davemloft.net>
18901
18902 * po/de.po: Update from translation team.
18903
3b60b421
MK
189042013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18905
18906 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18907
bb931195
TS
189082013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18909
b5a5da23
TS
18910 * configure.in (_AC_PROG_CC_C89): New definition.
18911 * configure: Regenerate.
18912
bb931195
TS
18913 * configure.in (AC_PROG_CPP): New definition.
18914 * configure: Regenerate.
18915
8c53a12c
JM
189162013-01-23 Joseph Myers <joseph@codesourcery.com>
18917
18918 * debug/tst-backtrace.h: New file.
18919 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18920 (ret): Remove variable.
18921 (x): Likewise.
18922 (FAIL): Remove macro.
18923 (NO_INLINE): Likewise.
18924 (fn1): Use match function instead of strstr.
18925 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18926 (ret): Remove variable.
18927 (x): Likewise.
18928 (FAIL): Remove macro.
18929 (NO_INLINE): Likewise.
18930 (fn): Use match function instead of strstr.
18931 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18932 (ret): Remove variable.
18933 (x): Likewise.
18934 (FAIL): Remove macro.
18935 (NO_INLINE): Likewise.
18936 (handle_signal): Use match function instead of strstr.
18937 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18938 (ret): Remove variable.
18939 (x): Likewise.
18940 (FAIL): Remove macro.
18941 (NO_INLINE): Likewise.
18942 (handle_signal): Use match function instead of strstr.
18943
4858fa2a
RM
189442013-01-23 Roland McGrath <roland@hack.frob.com>
18945
18946 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18947
bae8e7f5
DM
189482013-01-23 David S. Miller <davem@davemloft.net>
18949
18950 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18951 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18952 argument of CAS if possible.
18953 * sysdeps/sparc/sparc64/bits/atomic.h
18954 (__arch_compare_and_exchange_val_32_acq): Likewise.
18955 (__arch_compare_and_exchange_val_64_acq): Likewise.
18956
9cbbc4ae
PT
189572013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18958
18959 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18960 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18961 Include <limits.h>.
67b3f58c 18962 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18963
5655a0b5
AC
189642013-01-23 Adam Conrad <adconrad@0c3.net>
18965
18966 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18967 (LDFLAGS-tst-array5): Likewise.
18968
052aff95
JM
189692013-01-23 Joseph Myers <joseph@codesourcery.com>
18970
18971 [BZ #15036]
18972 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18973 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18974 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18975 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18976
7c1e01aa
DM
189772013-01-21 David S. Miller <davem@davemloft.net>
18978
18979 * sysdeps/sparc/backtrace.c: New file.
18980 * sysdeps/sparc/sparc32/backtrace.h: New file.
18981 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18982 * sysdeps/sparc/sparc64/backtrace.h: New file.
18983 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18984 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18985 -funwind-tables.
18986
ab087e0a
AS
189872013-01-21 Andreas Schwab <schwab@suse.de>
18988
18989 [BZ #15020]
18990 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18991 closed its stdout.
18992
ed689c2f
AS
189932013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18994
18995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18996 "mpa2.h".
18997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18998
31d470ac
JM
189992013-01-18 Joseph Myers <joseph@codesourcery.com>
19000 Mark Mitchell <mark@codesourcery.com>
19001 Tom de Vries <tom@codesourcery.com>
19002 Paul Pluzhnikov <ppluzhnikov@google.com>
19003
19004 * debug/tst-backtrace2.c: New file.
19005 * debug/tst-backtrace3.c: Likewise.
19006 * debug/tst-backtrace4.c: Likewise.
19007 * debug/tst-backtrace5.c: Likewise.
19008 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19009 (CFLAGS-tst-backtrace3.c): Likewise.
19010 (CFLAGS-tst-backtrace4.c): Likewise.
19011 (CFLAGS-tst-backtrace5.c): Likewise.
19012 (LDFLAGS-tst-backtrace2): Likewise.
19013 (LDFLAGS-tst-backtrace3): Likewise.
19014 (LDFLAGS-tst-backtrace4): Likewise.
19015 (LDFLAGS-tst-backtrace5): Likewise.
19016 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19017 tst-backtrace4 and tst-backtrace5.
19018
90567f30 190192013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19020 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19021
19022 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19023 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19024 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19025 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19027 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19028 "+r" and remove output regs list as redundant. Add explicit inline
19029 asm to specify register of return val to work around compiler codegen
19030 bug. Remove (int) cast on return value. Add return type parameter to
19031 use in macro so that this macro does not truncate return value for
19032 64-bit values.
19033 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19034 pass to INTERNAL_VSYSCALL_NCS.
19035 (INLINE_VSYSCALL): Add 'long int' as return type to
19036 INTERNAL_VSYSCALL_NCS macro invocation.
19037 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19038 INTERNAL_VSYSCALL_NCS macro invocation.
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19040
d3b9ea61
SP
190412013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19042
0b57daeb
SP
19043 [BZ #14496]
19044 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19045 Fix application of SIMD FP exception mask.
19046
caa99d06
SP
19047 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19048 mp_no from a power of two.
19049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19050 __mpexp_twomm1. Use __pow_mp.
19051
d3b9ea61
SP
19052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19053 multiplication.
19054
1dbaee3c
DM
190552013-01-17 David S. Miller <davem@davemloft.net>
19056
19057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19058
728d7b43
JM
190592013-01-17 Joseph Myers <joseph@codesourcery.com>
19060
19061 [BZ #15023]
19062 * include/complex.h: Condition contents on [!_COMPLEX_H].
19063 (__kernel_casinhf): New prototype.
19064 (__kernel_casinh): Likewise.
19065 (__kernel_casinhl): Likewise.
19066 * math/Makefile (libm_calls): Add k_casinh.
19067 * math/k_casinh.c: New file.
19068 * math/k_casinhf.c: Likewise.
19069 * math/k_casinhl.c: Likewise.
19070 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19071 finite nonzero arguments.
19072 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19073 finite nonzero arguments.
19074 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19075 finite nonzero arguments.
19076 * math/s_casinh.c: Do not include <float.h>.
19077 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19078 * math/s_casinhf.c: Do not include <float.h>.
19079 (__casinhf): Move code for finite nonzero arguments to
19080 k_casinhf.c.
19081 * math/s_casinhl.c: Do not include <float.h>.
19082 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19083 redefine.
19084 (__casinhl): Move code for finite nonzero arguments to
19085 k_casinhl.c.
19086 * math/libm-test.inc (cacos_test): Add more tests.
19087 * sysdeps/i386/fpu/libm-test-ulps: Update.
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089
2a26ef3a
PT
190902013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19091
19092 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19093 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19094 [!HAVE_MREMAP]: Remove [defined linux] case.
19095 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19096
a897655d
SP
190972013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19098
19099 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19100
881ebe89 191012013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19102
19103 * elf/elf.h (R_386_SIZE32): New relocation.
19104 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19105 R_386_SIZE32.
19106 (elf_machine_rela): Likewise.
19107 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19108 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19109
59981e9b
JM
191102013-01-17 Joseph Myers <joseph@codesourcery.com>
19111
19112 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19113 (FP_FAST_FMA): Do not define.
19114 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19115 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19116 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19117 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19118 !_SOFT_FLOAT]: Likewise.
19119 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19120 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19121 value.
19122 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19123 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19124 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19125 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19126 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19127 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19128 file.
19129
cfa8054f
AS
191302013-01-16 Andreas Schwab <schwab@suse.de>
19131
19132 [BZ #14327]
19133 * include/stdlib.h (__mktemp): Add declaration.
19134 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19135 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19136
dd930cc5
SP
191372013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19138
881ebe89
SP
19139 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19140 definitions.
19141 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19142 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19143 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19144 definitions here.
19145 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19146 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19147 definitions.
19148 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19149 and ONE.
19150 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19151 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19152 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19153 definitions.
19154 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19155 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19156 definitions.
19157 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19158
dd930cc5
SP
19159 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19160
c19a9f89
DM
191612013-01-15 David S. Miller <davem@davemloft.net>
19162
1aa61767
DM
19163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19164 trunc{,f} to libm-sysdep_routes.
19165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19167 file.
19168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19170 file.
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19172 file.
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19175 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19176 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19179 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19180 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19181
c42d5e98
DM
19182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19183 nearbyint{,f} to libm-sysdep_routes.
19184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19186 New file.
19187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19188 file.
19189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19190 New file.
19191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19192 file.
19193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19195 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19196 file.
19197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19199 file.
19200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19201 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19202 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19203
c19a9f89
DM
19204 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19205 libc_feholdexcept and libc_fesetenv.
19206
357679d2
MF
192072013-01-15 Mike Frysinger <vapier@gentoo.org>
19208
19209 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19210
65a82e3d
DM
192112013-01-14 David S. Miller <davem@davemloft.net>
19212
8b954ab9
DM
19213 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19214 (SPARC_ASM_VIS2_IFUNC): Likewise.
19215 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19217 use of 'siam' instruction.
19218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19219 Likewise.
19220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19221 Likewise.
19222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19223 Likewise.
19224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19229 file.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19231 file.
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19233 file.
19234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19235 file.
19236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19241 new VIS2 routines.
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19245 Likewise.
19246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19251 routines to libm-sysdep_routines.
19252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19253
65a82e3d
DM
19254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19255 fdim/fdimf to libm-sysdep_routines.
19256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19257 file.
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19260 file.
19261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19264 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19265 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19266 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19267 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19268
e34ab705
SP
192692013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19270
2a91b573
SP
19271 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19272 to optimize copies.
19273
1066a534
SP
19274 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19277
e34ab705
SP
19278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19279 local variable MPTWO.
19280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19281 Likewise.
19282
aba5e596
MF
192832013-01-13 Mike Frysinger <vapier@gentoo.org>
19284
19285 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19286 GLOB_NOESCAPE.
19287
e557e9e5
MF
192882013-01-13 Mike Frysinger <vapier@gentoo.org>
19289
19290 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19291
0428cec9
MF
192922013-01-13 Mike Frysinger <vapier@gentoo.org>
19293
19294 * manual/pattern.texi (glob_t): Document gl_flags.
19295 (glob64_t): Likewise.
19296
8794a964
DM
192972013-01-11 David S. Miller <davem@davemloft.net>
19298
66438c3f
RM
19299 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19300 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19301 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19302 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19303 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19304 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19305 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19306 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19307 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19308 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19309 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19310 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19311 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19312
4ae4244d
DM
19313 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19314 sparc V9 rather than using V8 code.
19315 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19316 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19317
8794a964
DM
19318 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19319 Move to...
19320 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19321 Here.
19322
6270516e
RM
193232013-01-11 Roland McGrath <roland@hack.frob.com>
19324
19325 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19326 not in the main loop.
19327 * configure: Regenerated.
19328
6a57d931
JM
193292013-01-11 Joseph Myers <joseph@codesourcery.com>
19330
19331 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19332 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19333 to just #else.
19334 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19335 [!__GLIBC_HAVE_LONG_LONG] case.
19336 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19337 condition to just #else.
19338 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19339 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19340 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19341 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19342 unconditional.
19343 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19344 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19345 #elif condition to just #else.
19346 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19347 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19348 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19349 #elif condition to just #else.
19350
0e8529e9
SE
193512013-01-11 Steve Ellcey <sellcey@mips.com>
19352
19353 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19354 (EF_MIPS_ARCH_64): Fix value.
19355 (EF_MIPS_ARCH_32R2): New.
19356 (EF_MIPS_ARCH_64R2): New.
19357
740b3dbe
L
193582013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19359
19360 * Makeconfig (+link-pie-before-libc): New.
19361 (+link-pie-after-libc): Likewise.
19362 (+link-pie-tests): Likewise.
19363 (+link-pie): Rewritten.
19364 (link-before-libc): Remove $(config-LDFLAGS).
19365 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19366 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19367 (config-LDFLAGS): Renamed to ...
19368 (rtld-LDFLAGS): This.
19369 (rtld-tests-LDFLAGS): New macro.
19370 (link-libc-rpath-link): Likewise.
19371 (link-libc-tests-rpath-link): Likewise.
19372 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19373 (link-libc): Prepand $(link-libc-rpath-link).
19374 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19375 (test-program-prefix): New macro.
19376 (test-via-rtld-prefix): Likewise.
19377 (test-program-cmd): Likewise.
19378 (host-test-program-cmd): Likewise.
19379 * Makefile ($(common-objpfx)testrun.sh): Replace
19380 $(run-program-prefix) with $(test-program-prefix).
19381 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19382 $(rtld-LDFLAGS).
19383 ($(common-objpfx)shlib.lds): Likewise.
19384 (build-module-helper): Likewise.
19385 ($(common-objpfx)format.lds): Likewise.
19386 * Rules (binaries-pie-tests): New.
19387 (binaries-pie-notests): Likewise.
19388 (binaries-pie): Rewritten.
19389 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19390 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19391 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19392 (make-test-out): Replace $(host-built-program-cmd) with
19393 $(host-test-program-cmd).
19394 * config.make.in (build-hardcoded-path-in-tests): New variable.
19395 * configure.in (--enable-hardcoded-path-in-tests): New configure
19396 option.
19397 (hardcoded_path_in_tests): New AC_SUBST.
19398 * configure: Regenerated.
19399 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19400 $(built-program-cmd) with $(test-program-cmd).
19401 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19402 (test_program_cmd): This.
19403 * elf/Makefile ($(objpfx)order.out): Run test with
19404 $(test-program-prefix).
19405 ($(objpfx)order2.out): Likewise.
19406 ($(objpfx)tst-initorder.out): Likewise.
19407 ($(objpfx)tst-initorder2.out): Likewise.
19408 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19409 $(test-program-cmd).
19410 ($(objpfx)tst-array1-static.out): Likewise.
19411 ($(objpfx)tst-array2.out): Likewise.
19412 ($(objpfx)tst-array3.out): Likewise.
19413 ($(objpfx)tst-array4.out): Likewise.
19414 ($(objpfx)tst-array5.out): Likewise.
19415 ($(objpfx)tst-array5-static.out): Likewise.
19416 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19417 $(test-program-cmd).
19418 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19419 $(run-program-prefix) with $(test-program-prefix).
19420 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19421 (test_program_prefix): This.
19422 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19423 $(run-program-prefix) with $(test-program-prefix).
19424 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19425 (test_program_prefix): This.
19426 * iconvdata/tst-tables.sh: Likewise.
19427 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19428 $(run-program-prefix) with $(test-program-prefix).
19429 ($(objpfx)tst-translit.out): Likewise.
19430 ($(objpfx)tst-gettext2.out): Likewise.
19431 ($(objpfx)tst-gettext4.out): Likewise.
19432 ($(objpfx)tst-gettext6.out): Likewise.
19433 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19434 (test_program_prefix): This.
19435 * intl/tst-gettext2.sh: Likewise.
19436 * intl/tst-gettext4.sh Likewise.
19437 * intl/tst-gettext6.sh: Likewise.
19438 * intl/tst-translit.sh: Likewise.
19439 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19440 with $(test-program-cmd).
19441 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19442 $(run-program-prefix) with $(test-program-prefix).
19443 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19444 (test_program_prefix): This.
19445 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19446 $(run-program-prefix) with $(test-program-prefix).
19447 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19448 (test_program_prefix): This.
19449 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19450 * posix/Makefile ($(objpfx)globtest.out): Replace
19451 $(run-via-rtld-prefix) and $(test-wrapper) with
19452 $(test-program-prefix) and $(test-via-rtld-prefix).
19453 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19454 $(test-program-prefix).
19455 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19456 $(host-test-program-cmd).
19457 (tst-spawn-ARGS): Likewise.
19458 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19459 $(test-program-prefix).
19460 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19461 (test_via_rtld_prefix): This.
19462 (test_wrapper): Renamed to ...
19463 (test_program_prefix): This.
19464 (run_program_prefix): Replaced by test_program_prefix.
19465 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19466 (test_program_prefix): This.
19467 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19468 with $(host-test-program-cmd).
19469 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19470 $(run-program-prefix) with $(test-program-prefix).
19471 ($(objpfx)tst-printf.out): Likewise.
19472 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19473 $(test-program-cmd).
19474 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19475 (test_program_prefix): This.
19476 * stdio-common/tst-unbputc.sh: Likewise.
19477 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19478 $(run-program-prefix) with $(test-program-prefix).
19479 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19480 (test_program_prefix): This.
19481 * string/Makefile ($(objpfx)tst-svc.out): Replace
19482 $(built-program-cmd) with $(test-program-cmd).
19483
c6fe55cf
AJ
194842013-01-11 Andreas Jaeger <aj@suse.de>
19485
19486 [BZ #15003]
19487 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19488 value. Sync with Linux 3.7.
19489
9e6919c8
DM
194902013-01-10 David S. Miller <davem@davemloft.net>
19491
19492 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19493 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19494 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19495
1c9f1a02
RM
194962013-01-10 Roland McGrath <roland@hack.frob.com>
19497
19498 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19499 never set.
19500 * configure: Regenerated.
19501
b9de2dde
DM
195022013-01-10 David S. Miller <davem@davemloft.net>
19503
19504 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19505 sparc V9 rather than using V8 code.
19506 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19507 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19508
e7f68ef4
RM
195092013-01-10 Roland McGrath <roland@hack.frob.com>
19510
19511 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19512 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19513 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19514 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19515 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19516 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19517 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19518 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19519 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19520 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19521 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19522 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19523 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19524 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19525 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19526 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19527 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19528 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19529 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19530 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19531 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19532 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19533 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19534 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19535 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19536 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19537 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19538
5a47cc9c
DM
195392013-01-10 David S. Miller <davem@davemloft.net>
19540
19541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19542
4cf8f209
L
195432013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19544
19545 * posix/Makefile (tests-static): New variable.
19546 (tests): Add $(tests-static).
19547 (tst-exec-static-ARGS): New variable.
19548 (tst-spawn-static-ARGS): Likewise.
19549 * posix/tst-exec-static.c: New file.
19550 * posix/tst-spawn-static.c: Likewise.
19551 * posix/tst-exec.c: Support run directly.
19552 * posix/tst-spawn.c: Likewise.
19553
fed0faa1
JM
195542013-01-10 Joseph Myers <joseph@codesourcery.com>
19555
828beb13
JM
19556 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19557 long.
19558 * math/bits/mathcalls.h (llrint): Likewise.
19559 (llround): Likewise.
19560 * stdlib/stdlib.h (struct drand48_data): Likewise.
19561 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19562 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19563 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19564 Likewise.
19565 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19566 Likewise.
19567 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19568 (elf_greg_t): Likewise.
19569 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19570 (__jmp_buf): Likewise.
19571 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19572 definitions.
19573 (llrint): Likewise, for all definitions.
19574 (llrintl): Likewise.
19575
fed0faa1
JM
19576 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19577 Remove [__GNUC__] condition.
19578 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19579 condition to just [__USE_ISOC99].
19580 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19581
1a20cb20
L
195822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19583
19584 [BZ #14200]
19585 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19586 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19587 defined.
19588 (_POSIX_V6_ILP32_OFF32): Likewise.
19589 (_XBS5_ILP32_OFF32): Likewise.
19590 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19591 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19592
751b85f7
SP
195932013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19594
7490eb81
SP
19595 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19596
751b85f7
SP
19597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19598 doubles __mpexp_twomm1. Adjust usage.
19599 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19600 Remove.
19601
988197f0
AS
196022013-01-10 Andreas Schwab <schwab@suse.de>
19603
19604 [BZ #14964]
19605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19606 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19607
e83d7298
DM
196082013-01-09 David S. Miller <davem@davemloft.net>
19609
034ed64b 19610 [BZ #15003]
e83d7298
DM
19611 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19612 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19613 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19614 TCP_FASTOPEN): Define.
19615 (tcp_repair_opt): New structure.
19616 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19617 enum values.
19618 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19619 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19620 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19621 (tcp_cookie_transactions): New structure.
19622
d5e0b9bd
AB
196232013-01-09 Anton Blanchard <anton@samba.org>
19624
19625 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19626 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19627 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19628 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19629
0c07e3ea
JM
196302013-01-09 Joseph Myers <joseph@codesourcery.com>
19631
19632 * include/features.h (__USE_ANSI): Remove.
19633
232f7002
RM
196342013-01-09 Roland McGrath <roland@hack.frob.com>
19635
ad98e30c
RM
19636 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19637
232f7002
RM
19638 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19639
950c99ca
SP
196402013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19641
b5792741
SP
19642 * sysdeps/s390/fpu/libm-test-ulps: Update.
19643
47cf2278
SP
19644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19645
950c99ca
SP
19646 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19647 (__acr): Likewise.
19648 (__cpy): Likewise.
19649 (norm): Likewise.
19650 (denorm): Likewise.
19651 (__mp_dbl): Likewise.
19652 (__dbl_mp): Likewise.
19653 (add_magnitudes): Likewise.
19654 (sub_magnitudes): Likewise.
19655 (__add): Likewise.
19656 (__sub): Likewise.
19657 (__mul): Likewise.
19658 (__inv): Likewise.
19659 (__dvd): Likewise.
19660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19661 (__acr): Likewise.
19662 (__cpy): Likewise.
19663 (norm): Likewise.
19664 (denorm): Likewise.
19665 (__mp_dbl): Likewise.
19666 (__dbl_mp): Likewise.
19667 (add_magnitudes): Likewise.
19668 (sub_magnitudes): Likewise.
19669 (__add): Likewise.
19670 (__sub): Likewise.
19671 (__mul): Likewise.
19672 (__inv): Likewise.
19673 (__dvd): Likewise.
19674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19675 (__acr): Likewise.
19676 (__cpy): Likewise.
19677 (norm): Likewise.
19678 (denorm): Likewise.
19679 (__mp_dbl): Likewise.
19680 (__dbl_mp): Likewise.
19681 (add_magnitudes): Likewise.
19682 (sub_magnitudes): Likewise.
19683 (__add): Likewise.
19684 (__sub): Likewise.
19685 (__mul): Likewise.
19686 (__inv): Likewise.
19687 (__dvd): Likewise.
19688
eede9df9
JM
196892013-01-08 Joseph Myers <joseph@codesourcery.com>
19690
19691 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19692 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19693 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19694 2 && __USE_EXTERN_INLINES]: Likewise.
19695
c40ea3d9
AJ
196962013-01-08 Andreas Jaeger <aj@suse.de>
19697
19698 [BZ# 14985]
19699 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19700 Remove.
19701 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19702 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19703
2ccdea26
AB
197042013-01-07 Anton Blanchard <anton@samba.org>
19705
19706 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19707 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19708 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19709 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19710 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19711 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19712 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19713 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19715 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19716 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19717 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19718 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19719 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19720 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19722 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19723 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19724 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19725 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19726 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19727 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19728 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19729 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19730 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19731 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19732 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19733 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19734 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19735 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19736 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19738 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19739 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19740 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19741 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19742 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19743 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19744 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19745 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19746 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19748 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19749
a9708fed
JM
197502013-01-07 Joseph Myers <joseph@codesourcery.com>
19751
375607b9
JM
19752 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19753 (__MALLOC_PMT): Likewise.
19754 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19755 [__GNUC__], only on [_LIBC].
19756 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19757 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19758 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19759 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19760 forward declaration.
19761 (realloc_hook_ini): Likewise.
19762 (memalign_hook_ini): Likewise.
19763 (__libc_memalign): Do not use __MALLOC_PMT in variable
19764 declaration.
19765 (__libc_valloc): Likewise.
19766 (__libc_pvalloc): Likewise.
19767 (__libc_calloc): Likewise.
19768 (__posix_memalign): Likewise.
19769
a9708fed
JM
19770 [BZ #14996]
19771 * math/s_casinh.c: Include <float.h>.
19772 (__casinh): Do not do computation with squaring and square root
19773 for large arguments.
19774 * math/s_casinhf.c: Include <float.h>.
19775 (__casinhf): Do not do computation with squaring and square root
19776 for large arguments.
19777 * math/s_casinhl.c: Include <float.h>.
19778 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19779 (__casinhl): Do not do computation with squaring and square root
19780 for large arguments.
19781 * math/libm-test.inc (casin_test): Add more tests.
19782 (casinh_test): Likewise.
19783 * sysdeps/i386/fpu/libm-test-ulps: Update.
19784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19785
afec409a
L
197862013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19787
19788 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19789 (__x86_64_raw_data_cache_size): Likewise.
19790 (__x86_64_data_cache_size_half): Likewise.
19791 (__x86_64_raw_data_cache_size_half): Likewise.
19792 (__x86_64_shared_cache_size): Likewise.
19793 (__x86_64_raw_shared_cache_size): Likewise.
19794 (__x86_64_shared_cache_size_half): Likewise.
19795 (__x86_64_raw_shared_cache_size_half): Likewise.
19796 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19797 to ...
19798 (__x86_data_cache_size): This.
19799 (__x86_64_raw_data_cache_size): Renamed to ...
19800 (__x86_raw_data_cache_size): This.
19801 (__x86_64_data_cache_size_half): Renamed to ...
19802 (__x86_data_cache_size_half): This.
19803 (__x86_64_raw_data_cache_size_half): Renamed to ...
19804 (__x86_raw_data_cache_size_half): This.
19805 (__x86_64_shared_cache_size): Renamed to ...
19806 (__x86_shared_cache_size): This.
19807 (__x86_64_raw_shared_cache_size): Renamed to ...
19808 (__x86_raw_shared_cache_size): This.
19809 (__x86_64_shared_cache_size_half): Renamed to ...
19810 (__x86_shared_cache_size_half): This.
19811 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19812 (__x86_raw_shared_cache_size_half): This.
19813 * sysdeps/x86_64/memcpy.S: Updated.
19814 * sysdeps/x86_64/memset.S: Likewise.
19815 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19816 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19817 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19818
0b3986d0
DM
198192013-01-04 David S. Miller <davem@davemloft.net>
19820
19821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19822
e47686e9
AS
198232013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19824
d643bac1
AS
19825 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19826 1 to avoid redefinition warning.
19827 (__USE_GNU): Don't define.
19828 (init_signaling_nan): Protoize.
19829
e47686e9
AS
19830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19831
b18decba
SP
198322013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19833
fffb407f
SP
19834 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19836 (__cpymn): Likewise.
19837 (norm): Remove commented code.
19838 (denorm): Likewise.
19839 (__mp_dbl): Likewise.
19840 (__inv): Likewise.
19841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19842 (__cpymn): Likewise.
19843 (norm): Remove commented code.
19844 (denorm): Likewise.
19845 (__mp_dbl): Likewise.
19846 (__inv): Likewise.
19847
b18decba
SP
19848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19849 mp_no value for 1.0 and 2.0.
19850 (norm): Use RADIXI instead of radixi.d.
19851 (denorm): Likewise.
19852 (__mul): Use 0.0 instead of zero.d.
19853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19854 mp_no value for 1.0 and 2.0.
19855 (norm): Use RADIXI instead of radixi.d.
19856 (denorm): Likewise.
19857 (__mul): Use 0.0 instead of zero.d.
19858
cdc1c96f
JM
198592013-01-04 Joseph Myers <joseph@codesourcery.com>
19860
19861 [BZ #14994]
19862 * math/s_casinh.c (__casinh): Reduce finite argument to first
19863 quadrant then set signs of results at the end.
19864 * math/s_casinhf.c (__casinhf): Likewise.
19865 * math/s_casinhl.c (__casinhl): Likewise.
19866 * math/libm-test.inc (casin_test): Add more tests.
19867 (casinh_test): Likewise.
19868 * sysdeps/i386/fpu/libm-test-ulps: Update.
19869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19870
302913e1
SP
198712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19872
6420d207
SP
19873 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19874
a9e48ab4
SP
19875 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19876
b7837264
SP
19877 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19878 declarations.
19879 (denorm): Likewise.
19880 (__mp_dbl): Likewise.
19881 (__inv): Likewise.
19882
f8af25d2
SP
19883 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19884 and adjust the header comment.
19885
302913e1
SP
19886 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19887 variable name from declaration.
19888
5d7dd1ca
L
198892013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19890
19891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19892 Initialize COMMON_CPUID_INDEX_7 element.
19893 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19894 (CPUID_RTM): Likewise.
19895 (HAS_RTM): Likewise.
19896 (COMMON_CPUID_INDEX_7): New enum.
19897
2f5f40f4
AS
198982013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19899
19900 [BZ #14981]
19901 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19902 size is zero, record memory as freed.
19903
4056f4a0
AJ
199042013-01-03 Andreas Jaeger <aj@suse.de>
19905
19906 * po/ia.po: Add new Interlingua translation.
19907
ab15736f 199082012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19909
19910 * locale/programs/localedef.c: Fix description of '--posix' flag.
19911
568035b7
JM
199122013-01-02 Joseph Myers <joseph@codesourcery.com>
19913
e6898b8d
JM
19914 * NEWS: Update dates in second copyright notice.
19915 * README: Update copyright dates in example.
19916 * manual/libc.texinfo: Update copyright dates.
19917 * scripts/test-installation.pl: Update copyright date in --version
19918 output.
19919
0e2f9562
JM
19920 * hurd/ctty-input.c: Fix copyright notice formatting.
19921 * hurd/ctty-output.c: Likewise.
19922 * hurd/dtable.c: Likewise.
19923 * hurd/hurd-raise.c: Likewise.
19924 * hurd/hurdprio.c: Likewise.
19925 * hurd/msgportdemux.c: Likewise.
19926 * misc/sys/file.h: Likewise.
19927 * misc/sys/ioctl.h: Likewise.
19928 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19929 * sysdeps/mach/hurd/chdir.c: Likewise.
19930 * sysdeps/mach/hurd/fchdir.c: Likewise.
19931 * sysdeps/mach/hurd/rename.c: Likewise.
19932 * sysdeps/mach/hurd/rmdir.c: Likewise.
19933 * sysdeps/mach/hurd/seekdir.c: Likewise.
19934 * sysdeps/mach/hurd/setsid.c: Likewise.
19935 * sysdeps/posix/wait3.c: Likewise.
19936
568035b7
JM
19937 * All files with FSF copyright notices: Update copyright dates
19938 using scripts/update-copyrights.
19939 * intl/plural.c: Regenerated.
19940 * locale/programs/charmap-kw.h: Likewise.
19941 * locale/programs/locfile-kw.h: Likewise.
19942
da08f647
SP
199432013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19944
0f5477af
SP
19945 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19946 four values.
19947
44e0d4c2
SP
19948 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19949 calculation loop and add branch prediction.
19950
4d55b4e5
SP
19951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19952 check access beyond bounds of m1np.
19953
da08f647
SP
19954 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19955 MPTWO.
19956 (__inv): Remove local variable MPTWO to use the global
19957 constant.
19958 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19960 variable MPTWO.
19961 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19962 MP3HALFS static const.
19963
8e051029
DM
199642013-01-01 David S. Miller <davem@davemloft.net>
19965
19966 * po/ca.po: Update from translation team.
19967
f4cf5f2d
JM
199682013-01-01 Joseph Myers <joseph@codesourcery.com>
19969
19970 * scripts/update-copyrights: New file.
19971 * Makeconfig: Reformat copyright notice.
19972 * ctype/ctype.h: Likewise.
19973 * debug/swprintf_chk.c: Likewise.
19974 * elf/dl-cache.c: Likewise.
19975 * elf/dl-debug.c: Likewise.
19976 * elf/dl-object.c: Likewise.
19977 * grp/initgroups.c: Likewise.
19978 * hurd/Makefile: Likewise.
19979 * hurd/hurd/signal.h: Likewise.
19980 * hurd/hurdfault.c: Likewise.
19981 * hurd/hurdioctl.c: Likewise.
19982 * hurd/hurdlookup.c: Likewise.
19983 * hurd/intr-msg.c: Likewise.
19984 * iconv/gconv_open.c: Likewise.
19985 * libio/swprintf.c: Likewise.
19986 * locale/lc-ctype.c: Likewise.
19987 * locale/nl_langinfo.c: Likewise.
19988 * mach/Machrules: Likewise.
19989 * mach/Makefile: Likewise.
19990 * malloc/obstack.h: Likewise.
19991 * manual/Makefile: Likewise.
19992 * manual/tsort.awk: Likewise.
19993 * misc/bits/stab.def: Likewise.
19994 * nis/nis_print_group_entry.c: Likewise.
19995 * nis/nis_table.c: Likewise.
19996 * nis/nss_compat/compat-pwd.c: Likewise.
19997 * nis/nss_compat/compat-spwd.c: Likewise.
19998 * po/Makefile: Likewise.
19999 * posix/fnmatch.c: Likewise.
20000 * posix/regex.h: Likewise.
20001 * resolv/Makefile: Likewise.
20002 * resolv/nss_dns/dns-network.c: Likewise.
20003 * resolv/res_hconf.c: Likewise.
20004 * scripts/gen-sorted.awk: Likewise.
20005 * soft-fp/soft-fp.h: Likewise.
20006 * stdio-common/printf.h: Likewise.
20007 * stdlib/monetary.h: Likewise.
20008 * stdlib/random.c: Likewise.
20009 * stdlib/random_r.c: Likewise.
20010 * sysdeps/generic/Makefile: Likewise.
20011 * sysdeps/gnu/Makefile: Likewise.
20012 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20014 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20019 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20020 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20022 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20023 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20024 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20025 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20026 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20027 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20028 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20029 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20031 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20032 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20033 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20034 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20035 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20036 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20038 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20039 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20040 * sysdeps/mach/hurd/errnos.awk: Likewise.
20041 * sysdeps/mach/hurd/fork.c: Likewise.
20042 * sysdeps/mach/hurd/getcwd.c: Likewise.
20043 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20044 * sysdeps/mach/hurd/mmap.c: Likewise.
20045 * sysdeps/mach/hurd/utimes.c: Likewise.
20046 * sysdeps/mach/hurd/xmknod.c: Likewise.
20047 * sysdeps/posix/profil.c: Likewise.
20048 * sysdeps/posix/readdir_r.c: Likewise.
20049 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20050 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20051 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20052 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20054 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20055 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20056 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20058 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20059 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20060 * sysdeps/pthread/lio_listio.c: Likewise.
20061 * sysdeps/sparc/dl-procinfo.h: Likewise.
20062 * sysdeps/unix/i386/sysdep.S: Likewise.
20063 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20064 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20065 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20066 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20068 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20069 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20070 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20071 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20072 * sysdeps/wordsize-32/divdi3.c: Likewise.
20073 * time/sys/time.h: Likewise.
20074 * wcsmbs/Makefile: Likewise.
20075
0549fbba
DM
200762013-01-01 David S. Miller <davem@davemloft.net>
20077
a141f1a7
DM
20078 * po/fr.po: Update from translation team.
20079
0549fbba
DM
20080 * catgets/gencat.c: Update copyright year.
20081 * csu/version.c: Likewise.
20082 * debug/catchsegv.sh: Likewise.
20083 * debug/pcprofiledump.c: Likewise.
20084 * debug/xtrace.sh: Likewise.
20085 * elf/ldconfig.c: Likewise.
20086 * elf/ldd.bash.in: Likewise.
20087 * elf/pldd.c: Likewise.
20088 * elf/sotruss.ksh: Likewise.
20089 * elf/sprof.c: Likewise.
20090 * iconv/iconv_prog.c: Likewise.
20091 * iconv/iconvconfig.c: Likewise.
20092 * locale/programs/locale.c: Likewise.
20093 * locale/programs/localedef.c: Likewise.
20094 * login/programs/pt_chown.c: Likewise.
20095 * malloc/memusage.sh: Likewise.
20096 * malloc/memusagestat.c: Likewise.
20097 * malloc/mtrace.pl: Likewise.
20098 * nscd/nscd.c: Likewise.
20099 * nss/getent.c: Likewise.
20100 * nss/makedb.c: Likewise.
20101 * posix/getconf.c: Likewise.
20102
18ea052c
SP
201032012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20104
20105 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20106 numbers.
20107
9c89fca6
MF
201082012-12-30 Mike Frysinger <vapier@gentoo.org>
20109
20110 * math/bits/mathcalls.h (modf): Use __nonnull.
20111
085ec079
SP
201122012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20113
20114 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20115 (split): Use macro CN instead of the bare value.
20116 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20117 could be used.
20118 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20119 instead of the bare value.
20120 (power1): Likewise.
20121
6d9f97e1
SP
201222012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20123
d63f73be
SP
20124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20125 __ATAN_TWOM.
20126 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20127
6d9f97e1
SP
20128 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20129 their values.
20130 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20131 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20132 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20133 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20134
4c4febf5
AJ
201352012-12-28 Andreas Jaeger <aj@suse.de>
20136
af5843ef
AJ
20137 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20138 values are from Linux 3.7.
20139
4c4febf5
AJ
20140 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20141 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20142
99136f82
SP
201432012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20144
2f216c3c 20145 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20146 TRUE case.
20147
99136f82
SP
20148 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20149 (norm): Likewise.
20150 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20151 variables with preprocessor constants.
20152 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20153 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20154 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20155
7fffbdff
BH
201562012-12-27 Bruno Haible <bruno@clisp.org>
20157
20158 [BZ #14317]
20159 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20160 only if needed.
20161
b76eb5f0
SP
201622012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20163
31a7fe5c
SP
20164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20165 and use variable directly.
20166 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20167
b76eb5f0
SP
20168 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20169 MPONE.
20170 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20172 variable MPONE.
20173 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20175 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20176 include directive. Remove local variable MPONE.
20177 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20178 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20179 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20180
2c8bfe7d
DM
201812012-12-25 David S. Miller <davem@davemloft.net>
20182
20183 * version.h (RELEASE): Set to "development".
20184 (VERSION): Set to "2.17.90".
20185 * NEWS: Add 2.18 section.
20186
147d03b0
DM
201872012-12-21 David S. Miller <davem@davemloft.net>
20188
20189 * po/hr.po: Update from translation team.
20190
a8ebb2b9
AK
201912012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20192
20193 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20194
95b4f1b6
SE
201952012-12-19 Steve Ellcey <sellcey@mips.com>
20196
b2d94007 20197 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20198
cedb2a90
MS
201992012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20200
20201 * manual/contrib.texi (Contributors): Spelling correction.
20202
bbf527d6
DM
202032012-12-15 David S. Miller <davem@davemloft.net>
20204
20205 * po/ru.po: Update from translation team.
20206
bc38c906
DM
202072012-12-13 David S. Miller <davem@davemloft.net>
20208
85429b1a
DM
20209 * NEWS: Mention IFUNC testsuite enhancements.
20210
d283e353
DM
20211 * po/pl.po: Update from translation team.
20212 * po/bg.po: Likewise.
20213
bc38c906
DM
20214 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20215 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20216
a181b0d7
DM
202172012-12-11 David S. Miller <davem@davemloft.net>
20218
4641d57e
DM
20219 * po/sv.po: Update from translation team.
20220
f7bc6495
DM
20221 * po/vi.po: Update from translation team.
20222
6fc9048f
DM
20223 * po/cs.po: Update from translation team.
20224
a181b0d7
DM
20225 * po/de.po: Update from translation team.
20226 * po/eo.po: Likewise.
20227 * po/nl.po: Likewise.
20228
f70bfe80
SP
202292012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20230
3c8b4190
SP
20231 [BZ #14246]
20232 * manual/argp.texi (Argp Helper Functions): Move node to follow
20233 Argp Parsing State.
20234
f70bfe80
SP
20235 [BZ #14872]
20236 * manual/conf.texi (Limits on File System Capacity): Mention if
20237 terminating null is included in the max size.
20238
188f0adf
AJ
202392012-12-10 Andreas Jaeger <aj@suse.de>
20240
20241 * po/cs.po: Update from translation team.
20242
56e7d3ad
SP
202432012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20244
20245 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20246 void pointer and cast to uintptr_t.
20247 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20248 path.
20249 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20250 * sysdeps/s390/s390-64/memset.S: Likewise.
20251
76f2d2ea 202522012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20253
20254 [BZ #14833]
20255 * menual/message.texi (Message Translation): Fix typos.
20256 (Helper programs for gettext): Likewise.
20257
67cbf9a2
AS
202582012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20259
20260 [BZ #14898]
20261 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20262 Change to -1.
20263
682d0e9a
DM
202642012-12-07 David S. Miller <davem@davemloft.net>
20265
20266 * po/libc.pot: Update.
20267
573cd484
RH
202682012-12-07 Richard Henderson <rth@redhat.com>
20269
7e9da188 20270 [BZ #10114]
573cd484
RH
20271 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20272 normal/normal case to before the switch.
20273 (_FP_DIV): Likewise.
20274
e933a943
MF
202752012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20276 Mike Frysinger <vapier@gentoo.org>
20277
20278 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20279 check for __NR_fadvise64_64.
20280
82123268
CM
202812012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20282
20283 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20284 0, not just to plain "0" as a statement.
20285 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20286 with cw.
20287
d9814526
JM
202882012-12-06 Joseph Myers <joseph@codesourcery.com>
20289
20290 * NEWS: Use sourceware.org in Bugzilla URL.
20291
7728c574
SP
202922012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20293
f16946dd
SP
20294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20295 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20296
5704bbcb
SP
20297 * stdio-common/tst-put-error.c (do_test): Add newline to the
20298 padded test to ensure flush.
20299
17aa0516
JL
203002012-12-05 Jeff Law <law@redhat.com>
20301
20302 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20303
363313b5
JM
203042012-12-05 Joseph Myers <joseph@codesourcery.com>
20305
effbd42a
JM
20306 * README: Don't refer to ports add-on as distributed separately.
20307 Mention AArch64 in list of systems supported in the ports add-on.
20308
87600365
JM
20309 * LICENSES: Add more non-FSF copyright and license notices.
20310
a0d7066a
JM
20311 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20312 ((unused)).
20313
66ca5a5b
JM
20314 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20315
363313b5
JM
20316 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20317 10000 as width of padded output.
20318
b37984ad
JM
203192012-12-04 Joseph Myers <joseph@codesourcery.com>
20320
9003570a
JM
20321 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20322
b37984ad
JM
20323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20324 variable LX with __attribute__ ((unused)).
20325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20326 Likewise.
20327 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20328 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20329 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20330 with __attribute__ ((unused)).
20331
c8df52ec
DM
203322012-12-04 David S. Miller <davem@abraco.davemloft.net>
20333
20334 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20335
b3b099af
JM
203362012-12-04 Joseph Myers <joseph@codesourcery.com>
20337
c33aa6e3
JM
20338 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20339 (CFLAGS-nldbl-acos.c): New variable.
20340 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20341 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20342 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20343 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20344 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20345 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20361 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20362 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20363 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20364 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20365 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20366 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20367 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20368 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20369 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20370 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20371 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20372 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20373 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20374 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20375 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20376 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20377 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20378 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20379 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20380 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20381 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20382 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20383 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20384 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20385 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20386 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20387 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20388 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20389 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20390 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20391 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20392 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20393 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20394 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20395 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20396 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20397 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20398 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20399 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20400 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20401 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20402 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20403 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20404 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20408 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20409 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20417 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20418 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20419 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20420 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20421 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20422 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20423 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20424 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20425 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20426 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20427 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20428 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20429 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20430 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20431 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20432 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20433 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20434 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20435 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20436 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20437
20f0018d
JM
20438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20439 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20440
b3b099af
JM
20441 [BZ #14914]
20442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20443 whole low double instead of just low 47 bits when splitting values
20444 into two parts.
20445
029264d1
AM
204462012-12-03 Allan McRae <allan@archlinux.org>
20447
20448 * manual/stdio.texi (Predefined Printf Handlers): Remove
20449 @hsep and @vsep usage.
20450
c9d6789e
MF
204512012-12-03 Mike Frysinger <vapier@gentoo.org>
20452
20453 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20454 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20455
4b7634a5
JL
204562012-12-03 Jeff Law <law@redhat.com>
20457
20458 * time/sys/time.h (settimeofday): Do not mark TV argument
20459 as __nonnull.
20460
eb6cbd24
MF
204612012-12-01 Mike Frysinger <vapier@gentoo.org>
20462
20463 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20464 when currently writing and seek to current position when not.
20465 * libio/Makefile (tests): Remove bug-fclose1.
20466 * libio/bug-fclose1.c: Delete.
20467
f638872a
JM
204682012-12-01 Joseph Myers <joseph@codesourcery.com>
20469
20470 * manual/arith.texi (feenableexcept): Fix typo.
20471 (fedisableexcept): Likewise.
20472
48085d14
RM
204732012-11-30 Roland McGrath <roland@hack.frob.com>
20474
20475 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20476 second, differently-typed declaration, rather than a cast.
20477
1a538b9f
SP
204782012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20479
20480 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20481 * include/rpc/svc.h: ... here.
20482
d07f2ff1 204832012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20484
20485 [BZ #13013]
20486 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20487 depending n and resplen2 to catch cases where answer
20488 equals answerp2.
20489
c93ec1f0
CD
204902012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20491
20492 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20493 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20494
37db69de
MF
204952012-11-29 Mike Frysinger <vapier@gentoo.org>
20496
20497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20498
e10c4e4f
RM
204992012-11-29 Roland McGrath <roland@hack.frob.com>
20500
20501 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20502
2af1b328
JL
205032012-11-28 Jeff Law <law@redhat.com>
20504
20505 [BZ #13761]
20506 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20507 dataset_temporary. Track alloca usage into alloca_used.
20508 If dataset is large allocate and release it via malloc/free.
20509
111db5b1
FW
205102012-06-04 Florian Weimer <fweimer@redhat.com>
20511
f06cc227 20512 [BZ #14197]
111db5b1
FW
20513 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20514
dd694abd
DM
205152012-11-28 David S. Miller <davem@davemloft.net>
20516
20517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20518
9984dd01
JM
205192012-11-28 Joseph Myers <joseph@codesourcery.com>
20520
20521 [BZ #14803]
20522 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20523 of pi/2 rounded to nearest to 64 bits.
20524 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20525 nearest to 64 bits.
20526 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20527 bits.
20528
14bc93a9
JL
205292012-11-28 Jeff Law <law@redhat.com>
20530 Martin Osvald <mosvald@redhat.com>
20531
20532 [BZ #14889]
20533 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20534 * sunrpc/svc.c: Include time.h.
20535 (__svc_accept_failed): New function.
20536 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20537 any reason other than EINTR, call __svc_accept_failed.
20538 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20539 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20540
e3c6aa3a
AS
205412012-11-28 Andreas Schwab <schwab@suse.de>
20542
20543 * scripts/abilist.awk: Also handle indirect functions in .opd
20544 section.
20545
1bead169
JM
205462012-11-28 Joseph Myers <joseph@codesourcery.com>
20547
20548 [BZ #13881]
20549 * sysdeps/x86/fpu/powl_helper.c: New file.
20550 * sysdeps/x86/fpu/Makefile: Likewise.
20551 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20552 (p3): New object.
20553 (__ieee754_powl): Use __powl_helper for finite arguments except
20554 integer exponents below 8.
20555 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20556 (p3): New object.
20557 (__ieee754_powl): Use __powl_helper for finite arguments except
20558 integer exponents below 8.
20559 * math/libm-test.inc (pow_test): Add more tests and enable some
20560 previously disabled tests.
20561 * sysdeps/i386/fpu/libm-test-ulps: Update.
20562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20563
0817d63d
SP
205642012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20565 Carlos O'Donell <carlos_odonell@mentor.com>
20566
20567 * nss/makedb.c (is_prime): Assert that input is odd and greater
20568 than 4. Note that fact in a comment too.
20569 (next_prime): Add 4 to input.
20570
de2fd463
SP
205712012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20572
20573 [BZ #11741]
20574 * libio/Makefile (tests): Add test case tst-fwrite-error.
20575 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20576 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20577 * libio/tst-fwrite-error.c: New test case.
20578
c515fb51
L
205792012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20580
20581 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20582 before casting to void *.
20583 * include/libc-internal.h (__pointer_type): New macro.
20584 (__integer_if_pointer_type_sub): Likewise.
20585 (__integer_if_pointer_type): Likewise.
20586 (cast_to_integer): Likewise.
20587 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20588 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20589 before casting to atomic64_t.
20590 (atomic_exchange_acq): Likewise.
20591 (__arch_exchange_and_add_body): Likewise.
20592 (__arch_add_body): Likewise.
20593 (atomic_add_negative): Likewise.
20594 (atomic_add_zero): Likewise.
20595
4cf77aa9
JM
205962012-11-26 Joseph Myers <joseph@codesourcery.com>
20597
20598 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20599 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20600 (add_fdes): Likewise.
20601 (linear_search_fdes): Likewise.
20602 (binary_search_unencoded_fdes): Likewise.
20603
d260b3b4
AS
206042012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20605
20606 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20607
67060746
AC
206082012-11-24 Adam Conrad <adconrad@0c3.net>
20609
20610 * configure.in: Autodetect C++ header directories.
20611 * configure: Regenerated.
20612
800938a1
MF
206132012-11-23 Mike Frysinger <vapier@gentoo.org>
20614
20615 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20616
4e6e34e6
AS
206172012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20618
20619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20620
7c7feb47
JM
206212012-11-22 Joseph Myers <joseph@codesourcery.com>
20622
7184dcdf
JM
20623 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20624 LDBL_MANT_DIG == 106]: Disable some tests.
20625 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20626 Likewise.
20627 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20628 Likewise.
20629
0a42601f
JM
20630 [BZ #14871]
20631 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20632 input for small inputs. Return +/- pi/2 for large inputs.
20633 * math/libm-test.inc (atan_test): Add more tests.
20634
79c9b9fe
JM
20635 * sysdeps/generic/unwind-dw2-fde-glibc.c
20636 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20637 __attribute__ ((unused)).
20638
c60d3bf2
JM
20639 [BZ #14645]
20640 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20641 x * y if x and y are nonzero and z is zero.
20642
ef1e0867
JM
20643 [BZ #14811]
20644 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20645 nonzero exponents with absolute value below 0x1p-117 to +/-
20646 0x1p-117.
20647
1468ded3
JM
20648 [BZ #14869]
20649 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20650 up arguments below 2**-450, not just those below 2**-500.
20651 * math/libm-test.inc (hypot_test): Add another test.
20652
8e27e3cc
JM
20653 [BZ #14868]
20654 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20655 Return a+b for ratio over 2**120, not 2**60.
20656 * math/libm-test.inc (hypot_test): Add another test.
20657
c9c0279b
JM
20658 * math/libm-test.inc (clog_test): Use
20659 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20660 (clog10_test): Likewise.
20661
7c7feb47
JM
20662 [BZ #6778]
20663 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20664
fff1530e
AS
206652012-11-22 Andreas Schwab <schwab@suse.de>
20666
20667 * sysdeps/i386/fpu/libm-test-ulps: Update.
20668
94558d30
PT
206692012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20670
20671 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20672 printf output with newline.
20673
7e1be741
L
206742012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20675
6bfea974
L
20676 [BZ #14865]
20677 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20678 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20679 -z nodlopen, -z initfirst and -z execstack support.
20680 * configure: Regenerated.
20681
7e1be741
L
20682 * elf/elf.h (DF_1_NODIRECT): New macro.
20683 (DF_1_IGNMULDEF): Likewise.
20684 (DF_1_NOKSYMS): Likewise.
20685 (DF_1_NOHDR): Likewise.
20686 (DF_1_EDITED): Likewise.
20687 (DF_1_NORELOC): Likewise.
20688 (DF_1_SYMINTPOSE): Likewise.
20689 (DF_1_GLOBAUDIT): Likewise.
20690 (DF_1_SINGLETON): Likewise.
20691 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20692 DT_1_SUPPORTED_MASK bits.
20693 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20694
105ce2ce
CD
206952012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20696
20697 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20698
123be9de
TS
206992012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20700
d072f3f7
TS
20701 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20702 macro.
20703
123be9de
TS
20704 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20705 (sendmmsg): Move declarations...
20706 * socket/sys/socket.h: ... here.
20707 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20708 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20709 include it from...
20710 * socket/recvmmsg.c: ... this new file.
20711 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20712 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20713 definition of __sendmmsg hidden.
20714 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20715 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20716 Move ENOSYS stub into and include it from...
20717 * socket/sendmmsg.c: ... this new file.
20718 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20719 (sysdep_routines): Move recvmmsg and sendmmsg...
20720 * socket/Makefile (routines): ... here.
20721 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20722 (GLIBC_PRIVATE): Add __sendmmsg.
20723 * include/sys/socket.h (__sendmmsg): Add declarations.
20724 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20725 sendmmsg.
20726
cf9a5d18
JM
207272012-11-20 Joseph Myers <joseph@codesourcery.com>
20728
20729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20730 variable I1 with __attribute__ ((unused)).
20731 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20732
ecd4caf9
JM
207332012-11-19 Joseph Myers <joseph@codesourcery.com>
20734
be14d48f
JM
20735 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20736 DUMMY variables with __attribute__ ((unused)).
20737
ecd4caf9
JM
20738 * bits/byteswap.h: Include <bits/types.h>.
20739 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20740
986cab95
PT
207412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20742
20743 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20744 string_t. Do not manually set errno.
20745 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20746 length with __strnlen. Make sure to both set errno and return it on
20747 failure.
20748
6d33cc9d
DM
207492012-11-19 David S. Miller <davem@davemloft.net>
20750
20751 With help from Joseph Myers.
20752 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20753 very large arguments properly.
20754 * math/libm-test.inc (atan_test): New tests.
20755 (atan2_test): New tests.
20756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20758
ee663277
JM
207592012-11-19 Joseph Myers <joseph@codesourcery.com>
20760
877f2d8e
JM
20761 [BZ #14856]
20762 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20763 Define to 3.
20764
116fc08a
JM
20765 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20766 [POSIX] (EADDRNOTAVAIL): Likewise.
20767 [POSIX] (EAFNOSUPPORT): Likewise.
20768 [POSIX] (EALREADY): Likewise.
20769 [POSIX] (ECONNABORTED): Likewise.
20770 [POSIX] (ECONNREFUSED): Likewise.
20771 [POSIX] (ECONNRESET): Likewise.
20772 [POSIX] (EDESTADDRREQ): Likewise.
20773 [POSIX] (EDQUOT): Likewise.
20774 [POSIX] (EHOSTUNREACH): Likewise.
20775 [POSIX] (EIDRM): Likewise.
20776 [POSIX] (EISCONN): Likewise.
20777 [POSIX] (ELOOP): Likewise.
20778 [POSIX] (EMULTIHOP): Likewise.
20779 [POSIX] (ENETDOWN): Likewise.
20780 [POSIX] (ENETUNREACH): Likewise.
20781 [POSIX] (ENOBUFS): Likewise.
20782 [POSIX] (ENODATA): Likewise.
20783 [POSIX] (ENOLINK): Likewise.
20784 [POSIX] (ENOMSG): Likewise.
20785 [POSIX] (ENOPROTOOPT): Likewise.
20786 [POSIX] (ENOSR): Likewise.
20787 [POSIX] (ENOSTR): Likewise.
20788 [POSIX] (ENOTCONN): Likewise.
20789 [POSIX] (ENOTSOCK): Likewise.
20790 [POSIX] (EOPNOTSUPP): Likewise.
20791 [POSIX] (EOVERFLOW): Likewise.
20792 [POSIX] (EPROTO): Likewise.
20793 [POSIX] (EPROTONOSUPPORT): Likewise.
20794 [POSIX] (EPROTOTYPE): Likewise.
20795 [POSIX] (ESTALE): Likewise.
20796 [POSIX] (ETIME): Likewise.
20797 [POSIX] (ETXTBSY): Likewise.
20798 [POSIX] (EWOULDBLOCK): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20800 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20801 [POSIX] (SEEK_CUR): Likewise.
20802 [POSIX] (SEEK_END): Likewise.
20803 [POSIX || UNIX98] (mode_t): Do not require.
20804 [POSIX] (off_t): Likewise.
20805 [POSIX] (pid_t): Likewise.
20806 [POSIX] (sys/stat.h): Do not allow header.
20807 [POSIX] (unistd.h): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20809 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20811 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20812 require.
20813 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20814 sigevent): Specify elements.
20815 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20816 entry.
20817 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20818 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20819
a483863f
JM
20820 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20821 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20822 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20823 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20824 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20825 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20826 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20827 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20828 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20829 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20830 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20831 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20832 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20833 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20834 Likewise.
20835 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20836 Likewise.
20837 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20838 Likewise.
20839 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20840 Likewise.
20841 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20842 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20843 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20844 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20845 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20846 Specify lower bound on value.
20847 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20849 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20850 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20851 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20852 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20853 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20854 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20855 value.
20856 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20857 as optional.
20858 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20859 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20860 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20861 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20869 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20870 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20871 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20873 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20874 entry.
20875 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20876 optional.
20877 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20878 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20879 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20880 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20881 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20882 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20883 Likewise.
20884 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20885 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20886 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20887 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20888 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20889 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20890 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20891 as optional.
20892 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20894 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20895 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20896 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20897 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20898 specify as optional.
20899 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20900 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20901 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20902 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20903 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20904 [XPG3] (NL_LANGMAX): Likewise.
20905 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20906 [POSIX || XPG3] (NL_NMAX): Likewise.
20907 [POSIX || XPG3] (NL_SETMAX): Likewise.
20908 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20909 [XPG3] (NZERO): Likewise.
20910 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20911 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20912 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20913 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20914 (REG_ERANGE): Expect.
20915 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20916 optional-constant.
20917 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20918 Use (void) in prototype.
20919 [POSIX] (*_t): Allow.
20920 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20921 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20922 (WRDE_BADVAL): Expect.
20923
5ba924e3
JM
20924 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20925 expect.
20926 [XPG3 || XPG4] (O_RSYNC): Likewise.
20927 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20928 Likewise.
20929 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20930 [XPG3 || XPG4] (sigqueue): Likewise.
20931 [XPG3 || XPG4] (sigtimedwait): Likewise.
20932 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20933 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20934 [XPG3 || XPG4] (vsnprintf): Likewise.
20935 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20936 Likewise.
20937 [XPG3 || XPG4] (blksize_t): Likewise.
20938 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20939 Likewise.
20940 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20941 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20942 [XPG3 || XPG4] (struct itimerspec): Likewise.
20943 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20944 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20945 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20946 [XPG3 || XPG4] (clockid_t): Likewise.
20947 [XPG3 || XPG4] (timer_t): Likewise.
20948 [XPG3 || XPG4] (clock_getres): Likewise.
20949 [XPG3 || XPG4] (clock_gettime): Likewise.
20950 [XPG3 || XPG4] (clock_settime): Likewise.
20951 [XPG3 || XPG4] (nanosleep): Likewise.
20952 [XPG3 || XPG4] (timer_create): Likewise.
20953 [XPG3 || XPG4] (timer_delete): Likewise.
20954 [XPG3 || XPG4] (timer_gettime): Likewise.
20955 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20956 [XPG3 || XPG4] (timer_settime): Likewise.
20957 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20958 [XPG3 || XPG4] (getlogin_r): Likewise.
20959 [XPG3 || XPG4] (pread): Likewise.
20960 [XPG3 || XPG4] (pthread_atfork): Likewise.
20961 [XPG3 || XPG4] (pwrite): Likewise.
20962
ee663277
JM
20963 [BZ #14835]
20964 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20965 <bits/siginfo.h>.
20966
942caa16
PT
209672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20968
e19af380
PT
20969 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20970 finalizing MALLSTREAM.
20971
942caa16
PT
20972 * sysdeps/mach/hurd/syncfs.c: New file.
20973
cfde9b46
SP
209742012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20975
20976 [BZ #14719]
20977 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20978 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20979 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20980 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20981 (_nss_dns_gethostbyname4_r): Likewise.
20982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20983 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20984
f6da27e5
PH
209852012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20986
20987 [BZ #13763]
20988 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20989
6665d4a2
SM
209902012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20991
1f51ee92
SM
20992 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20993 * elf/cache.c (print_entry): Print ",AArch64" for
20994 FLAG_AARCH64_LIB64
20995
6665d4a2
SM
20996 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20997 * elf/cache.c (print_entry): Print ",hard-float" for
20998 FLAG_ARM_LIBHF.
20999
05b227bd
DM
210002012-11-18 David S. Miller <davem@davemloft.net>
21001
21002 With help from Joseph Myers.
21003 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21004 cutoff to 2**-13.
21005 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21006 cutoff to 2**-25.
21007 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21008 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21009 small.
21010 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21011 * math/libm-test.inc (y0_test): New tests.
21012 (y1_test): New tests.
21013 * sysdeps/i386/fpu/libm-test-ulps: Update.
21014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21016
786b0b67
AS
210172012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21018
21019 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21020 64-bit targets.
21021 * configure: Regenerated.
21022
8e18b86d
DM
210232012-11-17 David S. Miller <davem@davemloft.net>
21024
21025 [BZ #14811]
21026 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21027 nonzero exponents with absolute value below 0x1p-128 to +/-
21028 0x1p-128.
21029
531f1ae0
JM
210302012-11-17 Joseph Myers <joseph@codesourcery.com>
21031
12df29e2
JM
21032 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21033
150dc1a0
JM
21034 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21035
531f1ae0
JM
21036 * posix/getconf-speclist.c: New file.
21037 * posix/posix-envs.def: Likewise.
21038 * posix/confstr.c (START_ENV_GROUP): New macro.
21039 (END_ENV_GROUP): Likewise.
21040 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21041 (KNOWN_PRESENT_ENV_STRING): Likewise.
21042 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21043 (UNKNOWN_ENVIRONMENT): Likewise.
21044 (confstr): Include posix-envs.def instead of handling
21045 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21046 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21047 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21048 (END_ENV_GROUP): Likewise.
21049 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21050 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21051 (UNKNOWN_ENVIRONMENT): Likewise.
21052 (__sysconf): Include posix-envs.def instead of handling associated
21053 cases directly here.
21054 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21055 preprocessing getconf-speclist.c rather than running getconf or
21056 generating empty file.
21057
a93f9cbc
PT
210582012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21059
21060 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21061
d64d9f87
AL
210622012-11-16 Andrej Lajovic <natrij@gmail.com>
21063
21064 [BZ #14672]
21065 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21066
447885eb
DM
210672012-11-16 David S. Miller <davem@davemloft.net>
21068
21069 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21070 smaller than LDBL_EPSILON/2.0L, just return xm1.
21071
bcbf9830
L
210722012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21073
21074 * elf/tst-array1.c (init): Set constructor priority to 1000.
21075 (fini): Set destructor priority to 1000.
21076 * elf/tst-array2dep.c: Likewise.
21077
2b766585
SP
210782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21079
21080 [BZ #11741]
21081 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21082 (_IO_new_file_xsputn): Also return EOF if none of the input
21083 data was written when overflow failed.
21084 * libio/iopadn.c (_IO_padn): Likewise.
21085 * libio/iowpadn.c (_IO_wpadn): Likewise.
21086 * stdio-common/tst-put-error.c: Add copyright notice.
21087 (do_test): Add case for printing padded string.
21088 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21089 _IO_padn returned error.
21090 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21091 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21092 return EOF.
21093
b1848fde
SP
210942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21095
21096 * libio/libioP.h: Add comment note that the references to C++
21097 bits are now obsolete.
21098
2fd89785
MS
210992012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21100
21101 * math/libm-test.inc (check_complex): Use asprintf.
21102
e3ea5409
JM
211032012-11-14 Joseph Myers <joseph@codesourcery.com>
21104
21105 * debug/pcprofiledump.c (print_version): Update copyright year.
21106 * malloc/memusagestat.c (print_version): Likewise.
21107
2e64d265
L
211082012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21109
21110 [BZ #14831]
21111 * elf/Makefile (tests): Add tst-audit8.
21112 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21113 ($(objpfx)tst-audit8.out): New target.
21114 (tst-audit8-ENV): New variable.
21115 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21116 audit if l_reloc_result is NULL.
21117 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21118 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21119 * elf/tst-audit8.c: New file.
21120
c485e4d2
MS
211212012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21122
21123 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21124 * misc/Makefile (CFLAGS-select.c): Define.
21125 * posix/Makefile (CFLAGS-pause.c): Define.
21126
3a0d900a
DM
211272012-11-13 David S. Miller <davem@davemloft.net>
21128
21129 * crypt/Makefile: Move test targets after toplevel Rules
21130 inclusion. Grab any necessary sysdep routines when linking.
21131 * crypt/md5.c (md5_process_block): Remove define, we will always
21132 name it __md5_process_block.
21133 (md5_finish_ctx): Update md5_process_block call.
21134 (md5_stream): Likewise.
21135 (md5_process_bytes): Likewise.
21136 (md5_process_block): Rename to __md5_process_block and move to ...
21137 * crypt/md5-block.c: ... here.
21138 * crypt/sha256.c (sha256_process_block): Move to ...
21139 * crypt/sha256-block.c: ... here.
21140 * crypt/sha512.c (sha512_process_block): Move to ...
21141 * crypt/sha512-block.c: ... here.
21142 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21143 path.
21144 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21145 * sysdeps/sparc/sparc64/multiarch/Makefile
21146 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21147 crypt subdir.
21148 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21149 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21150 multiarch changes.
21151 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21152 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21153 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21154 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21155 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21156 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21157 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21158 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21159 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21160 file.
21161 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21162 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21163 file.
21164 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21165
8ca89318
JM
211662012-11-13 Joseph Myers <joseph@codesourcery.com>
21167
e27d476a
JM
21168 * timezone/tzselect.ksh: Update from tzcode git revision
21169 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21170 * timezone/zdump.c: Likewise.
21171 * timezone/zic.c: Likewise.
21172 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21173 in TZVERSION setting, not $(PKGVERSION).
21174 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21175 REPORT_BUGS_TO settings.
21176
8ca89318
JM
21177 [BZ #14838]
21178 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21179 macro.
21180
47594329
MS
211812012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21182
21183 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21184 detection to immediately after _FP_ROUND().
21185 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21186 bits are 0.
21187
640ac3f1
DM
211882012-11-11 David S. Miller <davem@davemloft.net>
21189
21190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21191 inttypes.h
21192 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21193 __close rather than their public counterparts.
21194
3d2577bb
JM
211952012-11-10 Joseph Myers <joseph@codesourcery.com>
21196
21197 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21198 file.
21199 [UNIX98] (sem_timedwait): Do not expect.
21200 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21201 [XPG4 || UNIX98] (sockatmark): Do not expect.
21202 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21203 (clock_getcpuclockid): Do not expect.
21204 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21205 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21206 Do not expect.
21207 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21208 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21209 [UNIX98] (vwscanf): Likewise.
21210 [UNIX98] (vswscanf): Likewise.
21211
fb1ae1ee
JM
212122012-11-09 Joseph Myers <joseph@codesourcery.com>
21213
9ec6f8bd
JM
21214 * timezone/version.h: Remove file.
21215 * timezone/README: Do not refer to version.h.
21216 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21217 $(objpfx)version.h.
21218 ($(objpfx)zdump.o): Likewise.
c3f81911 21219 ($(objpfx)version.h): New target.
9ec6f8bd 21220
0aa8f8a1
JM
21221 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21222 2012i.
21223 * timezone/README: Don't mention modification to tzselect.ksh.
21224 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21225 work on unmodified tzselect.ksh. Substitute version numbers in
21226 tzselect.ksh.
21227
4e87147f
JM
21228 * Makefile (format-me): Remove.
21229 (INSTALL): Adjust indentation. Use commands directly instead of
21230 using $(format-me).
21231
8b748aed
JM
21232 * aclocal.m4 (ACX_PKGVERSION): New macro.
21233 (ACX_BUGURL): Likewise.
21234 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21235 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21236 (REPORT_BUGS_TO): Likewise.
21237 * configure: Regenerated.
21238 * config.h.in (PKGVERSION): New macro.
21239 (REPORT_BUGS_TO): Likewise.
21240 * config.make.in (PKGVERSION): New variable.
21241 (PKGVERSION_TEXI): Likewise.
21242 (REPORT_BUGS_TO): Likewise.
21243 (REPORT_BUGS_TEXI): Likewise.
21244 * Makefile (format-me): Use -I$(common-objpfx)manual.
21245 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21246 ($(common-objpfx)manual/%): New target.
21247 (manual/%): Remove target.
21248 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21249 (print_version): Use PKGVERSION.
21250 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21251 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21252 and REPORT_BUGS_TO.
21253 ($(objpfx)xtrace): Likewise.
21254 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21255 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21256 (print_version): Use PKGVERSION.
21257 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21258 (do_version): Use PKGVERSION.
21259 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21260 REPORT_BUGS_TO.
21261 (common-ldd-rewrite): Likewise.
21262 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21263 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21264 (print_version): Use PKGVERSION.
21265 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21266 * elf/pldd.c (argp_program_bug_address): Remove variable.
21267 (more_help): New function.
21268 (argp): Use more_help.
21269 (print_version): Use PKGVERSION.
21270 * elf/sln.c (main): Use PKGVERSION.
21271 (usage): Use REPORT_BUGS_TO.
21272 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21273 (top level): Use PKGVERSION.
21274 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21275 (print_version): Use PKGVERSION.
21276 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21277 (print_version): Use PKGVERSION.
21278 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21279 (print_version): Use PKGVERSION.
21280 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21281 (print_version): Use PKGVERSION.
21282 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21283 (print_version): Use PKGVERSION.
21284 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21285 (print_version): Use PKGVERSION.
21286 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21287 and BUGURL.
21288 ($(objpfx)memusage): Likewise.
21289 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21290 (do_version): Use PKGVERSION.
21291 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21292 (print_version): Use PKGVERSION.
21293 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21294 ($PKGVERSION): New variable.
21295 ($REPORT_BUGS_TO): Likewise.
21296 (usage): Use $REPORT_BUGS_TO.
21297 (top level): Use $PKGVERSION.
21298 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21299 ($(objpfx)pkgvers.texi): New rule.
21300 ($(objpfx)stamp-pkgvers): Likewise.
21301 * manual/install.texi: Include pkgvers.texi.
21302 (--with-pkgversion): Document new configure option.
21303 (--with-bugurl): Likewise.
21304 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21305 than necessarily for this particular distribution. Use
21306 REPORT_BUGS_TO for where to report bugs.
21307 * INSTALL: Regenerated.
21308 * manual/libc.texinfo: Include pkgvers.texi.
21309 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21310 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21311 (print_version): Use PKGVERSION.
21312 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21313 (print_version): Use PKGVERSION.
21314 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21315 (print_version): Use PKGVERSION.
21316 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21317 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21318 macro.
21319 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21320 (print_version): Use PKGVERSION.
21321 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21322 (print_version): Use PKGVERSION.
21323 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21324 and PKGVERSION.
21325
92e4b6a9
JM
21326 * timezone/checktab.awk: Update from tzcode 2012i.
21327 * timezone/ialloc.c: Likewise.
21328 * timezone/private.h: Likewise.
21329 * timezone/scheck.c: Likewise.
21330 * timezone/tzfile.h: Likewise.
21331 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21332 (TZVERSION): Hardcode tzcode version number.
21333 * timezone/zdump.c: Update from tzcode 2012i.
21334 * timezone/zic.c: Likewise.
21335 * timezone/version.h: New file.
21336 * timezone/README: Describe version.h. Update upstream location.
21337
9bde902c
JM
21338 [BZ #14824]
21339 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21340 (mktemp): Enable declaration.
21341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21345 Likewise.
21346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21347 Likewise.
21348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21349 Likewise.
21350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21351 Likewise.
21352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21353 Likewise.
21354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21355 Likewise.
21356
fb1ae1ee
JM
21357 [BZ #14821]
21358 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21359 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21360 for copies of such integer values.
21361 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21362 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21363
2c1adbcb
AJ
213642012-11-09 Andreas Jaeger <aj@suse.de>
21365
21366 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21367 definitions and declarations that are provided by
21368 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21369
d0f8457e
AK
213702012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21371
3a235abb 21372 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21373 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21374 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21375 definition.
21376
57241e26
MS
213772012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21378
21379 * elf/elf.h: Update comment before AArch64 relocations.
21380
60e8270d
DM
213812012-11-07 David S. Miller <davem@davemloft.net>
21382
21383 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21384 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21385 (__start_context): Declare.
21386 (__makecontext_ret): Delete.
21387 (__makecontext): Hook up __start_context instead of
21388 __makecontext_ret.
21389 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21390 (sysdep_routines): Add __start_context when in stdlib.
21391
0fbb0fbc
JM
213922012-11-07 Joseph Myers <joseph@codesourcery.com>
21393
21394 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21395 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21396 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21397 hardcoded "nm".
21398 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21399 (READELF): New variable. Use it instead of hardcoded "readelf".
21400
eb48db7e
L
214012012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21402
21403 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21404 * sysdeps/x86/Makefile: Here.
21405 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21406 * sysdeps/x86/tst-xmmymm.sh: This.
21407
05bcf62a
JM
214082012-11-07 Joseph Myers <joseph@codesourcery.com>
21409
c4b6cf53
JM
21410 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21411 expectations.
21412 [UNIX98] (pthread_barrier_t): Do not expect.
21413 [UNIX98] (pthread_barrierattr_t): Likewise.
21414 [UNIX98] (pthread_spinlock_t): Likewise.
21415 [UNIX98] (pthread_barrier_destroy): Likewise.
21416 [UNIX98] (pthread_barrier_init): Likewise.
21417 [UNIX98] (pthread_barrier_wait): Likewise.
21418 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21419 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21420 [UNIX98] (pthread_barrierattr_init): Likewise.
21421 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21422 [UNIX98] (pthread_getcpuclockid): Likewise.
21423 [UNIX98] (pthread_mutex_timedlock): Likewise.
21424 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21425 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21426 [UNIX98] (pthread_sigmask): Likewise.
21427 [UNIX98] (pthread_spin_destroy): Likewise.
21428 [UNIX98] (pthread_spin_init): Likewise.
21429 [UNIX98] (pthread_spin_lock): Likewise.
21430 [UNIX98] (pthread_spin_trylock): Likewise.
21431 [UNIX98] (pthread_spin_unlock): Likewise.
21432 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21433 Do not expect.
21434 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21435 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21436 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21437 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21438 [XPG3 || XPG4] (pthread_key_t): Likewise.
21439 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21440 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21441 [XPG3 || XPG4] (pthread_once_t): Likewise.
21442 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21443 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21444 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21445 [XPG3 || XPG4] (pthread_t): Likewise.
21446
cbe6e120
JM
21447 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21448 not expect.
21449 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21450
1b126443
JM
21451 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21452 Change function return type to int.
21453
b961a573
JM
21454 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21455 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21456 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21457 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21458 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21459 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21460 [!POSIX] (posix_madvise): Likewise.
21461 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21462 && !UNIX98].
21463 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21464 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21465 (mode_t): Likewise.
21466 (posix_mem_offset): Likewise.
21467 (posix_typed_mem_get_info): Likewise.
21468 (posix_typed_mem_open): Likewise.
21469
9e188909
JM
21470 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21471 Change condition to [XOPEN2K8].
21472
05bcf62a
JM
21473 * conform/conformtest.pl: Preprocess allow-header data with -x c
21474 instead of from stdin.
21475 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21476 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21477 [C99-based standards] (cerfc): Likewise.
21478 [C99-based standards] (cexp2): Likewise.
21479 [C99-based standards] (cexpm1): Likewise.
21480 [C99-based standards] (clog10): Likewise.
21481 [C99-based standards] (clog1p): Likewise.
21482 [C99-based standards] (clog2): Likewise.
21483 [C99-based standards] (clgamma): Likewise.
21484 [C99-based standards] (ctgamma): Likewise.
21485 [C99-based standards] (cerff): Likewise.
21486 [C99-based standards] (cerfcf): Likewise.
21487 [C99-based standards] (cexp2f): Likewise.
21488 [C99-based standards] (cexpm1f): Likewise.
21489 [C99-based standards] (clog10f): Likewise.
21490 [C99-based standards] (clog1pf): Likewise.
21491 [C99-based standards] (clog2f): Likewise.
21492 [C99-based standards] (clgammaf): Likewise.
21493 [C99-based standards] (ctgammaf): Likewise.
21494 [C99-based standards] (cerfl): Likewise.
21495 [C99-based standards] (cerfcl): Likewise.
21496 [C99-based standards] (cexp2l): Likewise.
21497 [C99-based standards] (cexpm1l): Likewise.
21498 [C99-based standards] (clog10l): Likewise.
21499 [C99-based standards] (clog1pl): Likewise.
21500 [C99-based standards] (clog2l): Likewise.
21501 [C99-based standards] (clgammal): Likewise.
21502 [C99-based standards] (ctgammal): Likewise.
21503 * conform/data/inttypes.h-data [C99-based standards]: Include
21504 stdint.h-data. Remove all expectations for stdint.h contents.
21505 [C99-based standards] (PRI*): Do not allow.
21506 [C99-based standards] (SCN*): Likewise.
21507 [C99-based standards] (*_t): Likewise.
21508 [C99-based-standards] (PRId8): Expect macro.
21509 [C99-based-standards] (PRIi8): Likewise.
21510 [C99-based-standards] (PRIo8): Likewise.
21511 [C99-based-standards] (PRIu8): Likewise.
21512 [C99-based-standards] (PRIx8): Likewise.
21513 [C99-based-standards] (PRIX8): Likewise.
21514 [C99-based-standards] (SCNd8): Likewise.
21515 [C99-based-standards] (SCNi8): Likewise.
21516 [C99-based-standards] (SCNo8): Likewise.
21517 [C99-based-standards] (SCNu8): Likewise.
21518 [C99-based-standards] (SCNx8): Likewise.
21519 [C99-based-standards] (PRIdLEAST8): Likewise.
21520 [C99-based-standards] (PRIiLEAST8): Likewise.
21521 [C99-based-standards] (PRIoLEAST8): Likewise.
21522 [C99-based-standards] (PRIuLEAST8): Likewise.
21523 [C99-based-standards] (PRIxLEAST8): Likewise.
21524 [C99-based-standards] (PRIXLEAST8): Likewise.
21525 [C99-based-standards] (SCNdLEAST8): Likewise.
21526 [C99-based-standards] (SCNiLEAST8): Likewise.
21527 [C99-based-standards] (SCNoLEAST8): Likewise.
21528 [C99-based-standards] (SCNuLEAST8): Likewise.
21529 [C99-based-standards] (SCNxLEAST8): Likewise.
21530 [C99-based-standards] (PRIdFAST8): Likewise.
21531 [C99-based-standards] (PRIiFAST8): Likewise.
21532 [C99-based-standards] (PRIoFAST8): Likewise.
21533 [C99-based-standards] (PRIuFAST8): Likewise.
21534 [C99-based-standards] (PRIxFAST8): Likewise.
21535 [C99-based-standards] (PRIXFAST8): Likewise.
21536 [C99-based-standards] (SCNdFAST8): Likewise.
21537 [C99-based-standards] (SCNiFAST8): Likewise.
21538 [C99-based-standards] (SCNoFAST8): Likewise.
21539 [C99-based-standards] (SCNuFAST8): Likewise.
21540 [C99-based-standards] (SCNxFAST8): Likewise.
21541 [C99-based-standards] (PRId16): Likewise.
21542 [C99-based-standards] (PRIi16): Likewise.
21543 [C99-based-standards] (PRIo16): Likewise.
21544 [C99-based-standards] (PRIu16): Likewise.
21545 [C99-based-standards] (PRIx16): Likewise.
21546 [C99-based-standards] (PRIX16): Likewise.
21547 [C99-based-standards] (SCNd16): Likewise.
21548 [C99-based-standards] (SCNi16): Likewise.
21549 [C99-based-standards] (SCNo16): Likewise.
21550 [C99-based-standards] (SCNu16): Likewise.
21551 [C99-based-standards] (SCNx16): Likewise.
21552 [C99-based-standards] (PRIdLEAST16): Likewise.
21553 [C99-based-standards] (PRIiLEAST16): Likewise.
21554 [C99-based-standards] (PRIoLEAST16): Likewise.
21555 [C99-based-standards] (PRIuLEAST16): Likewise.
21556 [C99-based-standards] (PRIxLEAST16): Likewise.
21557 [C99-based-standards] (PRIXLEAST16): Likewise.
21558 [C99-based-standards] (SCNdLEAST16): Likewise.
21559 [C99-based-standards] (SCNiLEAST16): Likewise.
21560 [C99-based-standards] (SCNoLEAST16): Likewise.
21561 [C99-based-standards] (SCNuLEAST16): Likewise.
21562 [C99-based-standards] (SCNxLEAST16): Likewise.
21563 [C99-based-standards] (PRIdFAST16): Likewise.
21564 [C99-based-standards] (PRIiFAST16): Likewise.
21565 [C99-based-standards] (PRIoFAST16): Likewise.
21566 [C99-based-standards] (PRIuFAST16): Likewise.
21567 [C99-based-standards] (PRIxFAST16): Likewise.
21568 [C99-based-standards] (PRIXFAST16): Likewise.
21569 [C99-based-standards] (SCNdFAST16): Likewise.
21570 [C99-based-standards] (SCNiFAST16): Likewise.
21571 [C99-based-standards] (SCNoFAST16): Likewise.
21572 [C99-based-standards] (SCNuFAST16): Likewise.
21573 [C99-based-standards] (SCNxFAST16): Likewise.
21574 [C99-based-standards] (PRId32): Likewise.
21575 [C99-based-standards] (PRIi32): Likewise.
21576 [C99-based-standards] (PRIo32): Likewise.
21577 [C99-based-standards] (PRIu32): Likewise.
21578 [C99-based-standards] (PRIx32): Likewise.
21579 [C99-based-standards] (PRIX32): Likewise.
21580 [C99-based-standards] (SCNd32): Likewise.
21581 [C99-based-standards] (SCNi32): Likewise.
21582 [C99-based-standards] (SCNo32): Likewise.
21583 [C99-based-standards] (SCNu32): Likewise.
21584 [C99-based-standards] (SCNx32): Likewise.
21585 [C99-based-standards] (PRIdLEAST32): Likewise.
21586 [C99-based-standards] (PRIiLEAST32): Likewise.
21587 [C99-based-standards] (PRIoLEAST32): Likewise.
21588 [C99-based-standards] (PRIuLEAST32): Likewise.
21589 [C99-based-standards] (PRIxLEAST32): Likewise.
21590 [C99-based-standards] (PRIXLEAST32): Likewise.
21591 [C99-based-standards] (SCNdLEAST32): Likewise.
21592 [C99-based-standards] (SCNiLEAST32): Likewise.
21593 [C99-based-standards] (SCNoLEAST32): Likewise.
21594 [C99-based-standards] (SCNuLEAST32): Likewise.
21595 [C99-based-standards] (SCNxLEAST32): Likewise.
21596 [C99-based-standards] (PRIdFAST32): Likewise.
21597 [C99-based-standards] (PRIiFAST32): Likewise.
21598 [C99-based-standards] (PRIoFAST32): Likewise.
21599 [C99-based-standards] (PRIuFAST32): Likewise.
21600 [C99-based-standards] (PRIxFAST32): Likewise.
21601 [C99-based-standards] (PRIXFAST32): Likewise.
21602 [C99-based-standards] (SCNdFAST32): Likewise.
21603 [C99-based-standards] (SCNiFAST32): Likewise.
21604 [C99-based-standards] (SCNoFAST32): Likewise.
21605 [C99-based-standards] (SCNuFAST32): Likewise.
21606 [C99-based-standards] (SCNxFAST32): Likewise.
21607 [C99-based-standards] (PRId64): Likewise.
21608 [C99-based-standards] (PRIi64): Likewise.
21609 [C99-based-standards] (PRIo64): Likewise.
21610 [C99-based-standards] (PRIu64): Likewise.
21611 [C99-based-standards] (PRIx64): Likewise.
21612 [C99-based-standards] (PRIX64): Likewise.
21613 [C99-based-standards] (SCNd64): Likewise.
21614 [C99-based-standards] (SCNi64): Likewise.
21615 [C99-based-standards] (SCNo64): Likewise.
21616 [C99-based-standards] (SCNu64): Likewise.
21617 [C99-based-standards] (SCNx64): Likewise.
21618 [C99-based-standards] (PRIdLEAST64): Likewise.
21619 [C99-based-standards] (PRIiLEAST64): Likewise.
21620 [C99-based-standards] (PRIoLEAST64): Likewise.
21621 [C99-based-standards] (PRIuLEAST64): Likewise.
21622 [C99-based-standards] (PRIxLEAST64): Likewise.
21623 [C99-based-standards] (PRIXLEAST64): Likewise.
21624 [C99-based-standards] (SCNdLEAST64): Likewise.
21625 [C99-based-standards] (SCNiLEAST64): Likewise.
21626 [C99-based-standards] (SCNoLEAST64): Likewise.
21627 [C99-based-standards] (SCNuLEAST64): Likewise.
21628 [C99-based-standards] (SCNxLEAST64): Likewise.
21629 [C99-based-standards] (PRIdFAST64): Likewise.
21630 [C99-based-standards] (PRIiFAST64): Likewise.
21631 [C99-based-standards] (PRIoFAST64): Likewise.
21632 [C99-based-standards] (PRIuFAST64): Likewise.
21633 [C99-based-standards] (PRIxFAST64): Likewise.
21634 [C99-based-standards] (PRIXFAST64): Likewise.
21635 [C99-based-standards] (SCNdFAST64): Likewise.
21636 [C99-based-standards] (SCNiFAST64): Likewise.
21637 [C99-based-standards] (SCNoFAST64): Likewise.
21638 [C99-based-standards] (SCNuFAST64): Likewise.
21639 [C99-based-standards] (SCNxFAST64): Likewise.
21640 [C99-based-standards] (PRIdMAX): Likewise.
21641 [C99-based-standards] (PRIiMAX): Likewise.
21642 [C99-based-standards] (PRIoMAX): Likewise.
21643 [C99-based-standards] (PRIuMAX): Likewise.
21644 [C99-based-standards] (PRIxMAX): Likewise.
21645 [C99-based-standards] (PRIXMAX): Likewise.
21646 [C99-based-standards] (SCNdMAX): Likewise.
21647 [C99-based-standards] (SCNiMAX): Likewise.
21648 [C99-based-standards] (SCNoMAX): Likewise.
21649 [C99-based-standards] (SCNuMAX): Likewise.
21650 [C99-based-standards] (SCNxMAX): Likewise.
21651 [C99-based-standards] (PRIdPTR): Likewise.
21652 [C99-based-standards] (PRIiPTR): Likewise.
21653 [C99-based-standards] (PRIoPTR): Likewise.
21654 [C99-based-standards] (PRIuPTR): Likewise.
21655 [C99-based-standards] (PRIxPTR): Likewise.
21656 [C99-based-standards] (PRIXPTR): Likewise.
21657 [C99-based-standards] (SCNdPTR): Likewise.
21658 [C99-based-standards] (SCNiPTR): Likewise.
21659 [C99-based-standards] (SCNoPTR): Likewise.
21660 [C99-based-standards] (SCNuPTR): Likewise.
21661 [C99-based-standards] (SCNxPTR): Likewise.
21662 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21663 allow.
21664 * conform/data/stdint.h-data: Update comments to clarify
21665 requirements.
21666 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21667 type.
21668 [C99-based standards] (INT8_MAX): Likewise.
21669 [C99-based standards] (INT16_MIN): Likewise.
21670 [C99-based standards] (INT16_MAX): Likewise.
21671 [C99-based standards] (INT32_MIN): Likewise.
21672 [C99-based standards] (INT32_MAX): Likewise.
21673 [C99-based standards] (INT64_MIN): Likewise.
21674 [C99-based standards] (INT64_MAX): Likewise.
21675 [C99-based standards] (UINT8_MAX): Likewise.
21676 [C99-based standards] (UINT16_MAX): Likewise.
21677 [C99-based standards] (UINT32_MAX): Likewise.
21678 [C99-based standards] (UINT64_MAX): Likewise.
21679 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21680 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21681 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21682 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21683 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21684 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21685 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21686 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21687 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21688 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21689 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21690 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21691 [C99-based standards] (INT_FAST8_MIN): Likewise.
21692 [C99-based standards] (INT_FAST8_MAX): Likewise.
21693 [C99-based standards] (INT_FAST16_MIN): Likewise.
21694 [C99-based standards] (INT_FAST16_MAX): Likewise.
21695 [C99-based standards] (INT_FAST32_MIN): Likewise.
21696 [C99-based standards] (INT_FAST32_MAX): Likewise.
21697 [C99-based standards] (INT_FAST64_MIN): Likewise.
21698 [C99-based standards] (INT_FAST64_MAX): Likewise.
21699 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21700 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21701 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21702 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21703 [C99-based standards] (INTPTR_MIN): Likewise.
21704 [C99-based standards] (INTPTR_MAX): Likewise.
21705 [C99-based standards] (UINTPTR_MAX): Likewise.
21706 [C99-based standards] (INTMAX_MIN): Likewise.
21707 [C99-based standards] (INTMAX_MAX): Likewise.
21708 [C99-based standards] (UINTMAX_MAX): Likewise.
21709 [C99-based standards] (PTRDIFF_MIN): Likewise.
21710 [C99-based standards] (PTRDIFF_MAX): Likewise.
21711 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21712 [C99-based standards] (SIZE_MAX): Likewise.
21713 [C99-based standards] (WCHAR_MAX): Likewise.
21714 [C99-based standards] (WINT_MAX): Likewise.
21715 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21716 constraint on value.
21717 [C99-based standards] (WCHAR_MIN): Likewise.
21718 [C99-based standards] (WINT_MIN): Likewise.
21719 [C99-based standards] (*_t): Allow.
21720 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21721 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21722 Include math.h-data and complex.h-data. Remove all expectations
21723 of math.h and complex.h contents.
21724 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21725 at end of line.
21726 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21727 (struct tm): Expect tag.
21728 [C99-based-standards] (wcstof): Expect function.
21729 [C99-based-standards] (wcstold): Likewise.
21730 [C99-based-standards] (wcstoll): Likewise.
21731 [C99-based-standards] (wcstoull): Likewise.
21732 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21733 macro-int-constant. Specify type.
21734 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21735 constraint on value.
21736 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21737 Specify type.
21738 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21739 Specify value.
21740 [ISO C standards]: Do not allow headers.
21741 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21742 wcs[abcdefghijklmnopqrstuvwxyz]*.
21743 [ISO C standards] (*_t): Do not allow.
21744 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21745 Expect function.
21746 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21747 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21748 Specify type.
21749 [ISO C standards]: Do not allow headers.
21750 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21751 is[abcdefghijklmnopqrstuvwxyz]*.
21752 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21753 to[abcdefghijklmnopqrstuvwxyz]*.
21754 [ISO C standards] (*_t): Do not allow.
21755 * conform/data/stdalign.h-data: New file.
21756 * conform/data/stdbool.h-data: Likewise.
21757 * conform/data/stdnoreturn.h-data: Likewise.
21758
7514feb8
RM
217592012-11-07 Roland McGrath <roland@hack.frob.com>
21760
21761 [BZ #14815]
21762 * manual/filesys.texi (Directory Entries): Typo fix.
21763 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21764
19b2ecfc
MS
217652012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21766
21767 * elf/elf.h (EM_AARCH64): New macro.
21768 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21769 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21770 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21771 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21772 (R_AARCH64_TLSDESC): Likewise.
21773 (NT_ARM_TLS): Likewise.
21774 (NT_ARM_HW_BREAK): Likewise.
21775 (NT_ARM_HW_WATCH): Likewise.
21776
60e235ee
JM
217772012-11-07 Joseph Myers <joseph@codesourcery.com>
21778
21779 [BZ #14811]
21780 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21781 (__ieee754_powl): Saturate nonzero exponents with absolute value
21782 below 0x1p-79 to +/- 0x1p-79.
21783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21784 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21785 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21786 nonzero exponents with absolute value below 0x1p-32 to +/-
21787 0x1p-32.
21788 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21789 (__ieee754_powl): Saturate nonzero exponents with absolute value
21790 below 0x1p-79 to +/- 0x1p-79.
21791 * math/libm-test.inc (pow_test): Add more tests.
21792
0ab234b7
AK
217932012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21794
21795 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21796 _dl_s390_cap_flags with kernel. Increase string length.
21797 (_dl_s390_platforms): Add z196 and zEC12.
21798
45832f74
JM
217992012-11-07 Joseph Myers <joseph@codesourcery.com>
21800
21801 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21802 Change XOPEN21K to XOPEN2K.
21803
19218757
MK
218042012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21805
21806 * string/memmove.c: Use memcpy when possible.
21807
c5f45721
AJ
218082012-11-06 Andreas Jaeger <aj@suse.de>
21809
21810 * po/eo.po: Update from translation team.
21811
82477c28
JM
218122012-11-06 Joseph Myers <joseph@codesourcery.com>
21813
21814 [BZ #14793]
21815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21816 exponent and small x and y exponents, scale x or y up. Increase
21817 by 2 the exponent used in scaling up.
21818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21820 * math/libm-test.inc (fma_test): Add more tests.
21821 (fma_test_towardzero): Likewise.
21822 (fma_test_downward): Likewise.
21823 (fma_test_upward): Likewise.
21824
99252c8c
JM
218252012-11-05 Joseph Myers <joseph@codesourcery.com>
21826
acfa885f
JM
21827 [BZ #14805]
21828 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21829 fenv_t *.
21830
99252c8c
JM
21831 [BZ #14801]
21832 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21833 namespace for names of struct fields.
21834 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21835 fenv_t fields.
21836 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21837 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21838
d6d98dea
ST
218392012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21840
21841 [BZ #3665]
21842 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21843
e10bb107
TS
218442012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21845
21846 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21847 PTR_DEMANGLE.
21848
21849 [BZ #5246]
21850 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21851 PTR_DEMANGLE.
21852
a0c2940d
JM
218532012-11-04 Joseph Myers <joseph@codesourcery.com>
21854
21855 [BZ #14797]
21856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21857 definitely overflow as x * y not x * y + z.
21858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21860 * math/libm-test.inc (fma_test): Add more tests.
21861 (fma_test_towardzero): Likewise.
21862 (fma_test_downward): Likewise.
21863 (fma_test_upward): Likewise.
21864
b830319d
TS
218652012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21866
21867 [BZ #157]
21868
21869 * include/stub-tag.h: Remove file.
21870 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21871 '#include' of it.
21872 * manual/maint.texi (Porting): Don't reference it.
21873 * Makerules ($(objpfx)stubs): Likewise.
21874 * dirent/closedir.c: Don't include <stub-tag.h>.
21875 * dirent/dirfd.c: Likewise.
21876 * dirent/fdopendir.c: Likewise.
21877 * dirent/getdents.c: Likewise.
21878 * dirent/getdents64.c: Likewise.
21879 * dirent/opendir.c: Likewise.
21880 * dirent/readdir.c: Likewise.
21881 * dirent/readdir64.c: Likewise.
21882 * dirent/readdir64_r.c: Likewise.
21883 * dirent/readdir_r.c: Likewise.
21884 * dirent/rewinddir.c: Likewise.
21885 * dirent/seekdir.c: Likewise.
21886 * dirent/telldir.c: Likewise.
21887 * gmon/profil.c: Likewise.
21888 * grp/setgroups.c: Likewise.
21889 * inet/if_index.c: Likewise.
21890 * io/access.c: Likewise.
21891 * io/chdir.c: Likewise.
21892 * io/chmod.c: Likewise.
21893 * io/chown.c: Likewise.
21894 * io/close.c: Likewise.
21895 * io/dup.c: Likewise.
21896 * io/dup2.c: Likewise.
21897 * io/dup3.c: Likewise.
21898 * io/euidaccess.c: Likewise.
21899 * io/faccessat.c: Likewise.
21900 * io/fchdir.c: Likewise.
21901 * io/fchmod.c: Likewise.
21902 * io/fchmodat.c: Likewise.
21903 * io/fchown.c: Likewise.
21904 * io/fchownat.c: Likewise.
21905 * io/fcntl.c: Likewise.
21906 * io/flock.c: Likewise.
21907 * io/fstatfs.c: Likewise.
21908 * io/fstatfs64.c: Likewise.
21909 * io/fstatvfs.c: Likewise.
21910 * io/fstatvfs64.c: Likewise.
21911 * io/futimens.c: Likewise.
21912 * io/fxstat.c: Likewise.
21913 * io/fxstat64.c: Likewise.
21914 * io/fxstatat.c: Likewise.
21915 * io/fxstatat64.c: Likewise.
21916 * io/getcwd.c: Likewise.
21917 * io/isatty.c: Likewise.
21918 * io/lchmod.c: Likewise.
21919 * io/lchown.c: Likewise.
21920 * io/link.c: Likewise.
21921 * io/linkat.c: Likewise.
21922 * io/lseek.c: Likewise.
21923 * io/lseek64.c: Likewise.
21924 * io/lxstat64.c: Likewise.
21925 * io/mkdir.c: Likewise.
21926 * io/mkdirat.c: Likewise.
21927 * io/mkfifo.c: Likewise.
21928 * io/mkfifoat.c: Likewise.
21929 * io/open.c: Likewise.
21930 * io/open64.c: Likewise.
21931 * io/openat.c: Likewise.
21932 * io/openat64.c: Likewise.
21933 * io/pipe.c: Likewise.
21934 * io/pipe2.c: Likewise.
21935 * io/poll.c: Likewise.
21936 * io/posix_fadvise.c: Likewise.
21937 * io/posix_fadvise64.c: Likewise.
21938 * io/posix_fallocate.c: Likewise.
21939 * io/posix_fallocate64.c: Likewise.
21940 * io/read.c: Likewise.
21941 * io/readlink.c: Likewise.
21942 * io/readlinkat.c: Likewise.
21943 * io/rmdir.c: Likewise.
21944 * io/sendfile.c: Likewise.
21945 * io/sendfile64.c: Likewise.
21946 * io/statfs.c: Likewise.
21947 * io/statfs64.c: Likewise.
21948 * io/statvfs.c: Likewise.
21949 * io/statvfs64.c: Likewise.
21950 * io/symlink.c: Likewise.
21951 * io/symlinkat.c: Likewise.
21952 * io/ttyname.c: Likewise.
21953 * io/ttyname_r.c: Likewise.
21954 * io/umask.c: Likewise.
21955 * io/unlink.c: Likewise.
21956 * io/unlinkat.c: Likewise.
21957 * io/utime.c: Likewise.
21958 * io/utimensat.c: Likewise.
21959 * io/write.c: Likewise.
21960 * io/xmknod.c: Likewise.
21961 * io/xmknodat.c: Likewise.
21962 * io/xstat.c: Likewise.
21963 * io/xstat64.c: Likewise.
21964 * login/getpt.c: Likewise.
21965 * login/grantpt.c: Likewise.
21966 * login/unlockpt.c: Likewise.
21967 * math/e_acoshl.c: Likewise.
21968 * math/e_acosl.c: Likewise.
21969 * math/e_asinl.c: Likewise.
21970 * math/e_atan2l.c: Likewise.
21971 * math/e_atanhl.c: Likewise.
21972 * math/e_coshl.c: Likewise.
21973 * math/e_expl.c: Likewise.
21974 * math/e_fmodl.c: Likewise.
21975 * math/e_gammal_r.c: Likewise.
21976 * math/e_hypotl.c: Likewise.
21977 * math/e_j0l.c: Likewise.
21978 * math/e_j1l.c: Likewise.
21979 * math/e_jnl.c: Likewise.
21980 * math/e_lgammal_r.c: Likewise.
21981 * math/e_log10l.c: Likewise.
21982 * math/e_log2l.c: Likewise.
21983 * math/e_logl.c: Likewise.
21984 * math/e_powl.c: Likewise.
21985 * math/e_rem_pio2l.c: Likewise.
21986 * math/e_sinhl.c: Likewise.
21987 * math/e_sqrtl.c: Likewise.
21988 * math/fclrexcpt.c: Likewise.
21989 * math/fedisblxcpt.c: Likewise.
21990 * math/feenablxcpt.c: Likewise.
21991 * math/fegetenv.c: Likewise.
21992 * math/fegetexcept.c: Likewise.
21993 * math/fegetround.c: Likewise.
21994 * math/feholdexcpt.c: Likewise.
21995 * math/fesetenv.c: Likewise.
21996 * math/fesetround.c: Likewise.
21997 * math/feupdateenv.c: Likewise.
21998 * math/fgetexcptflg.c: Likewise.
21999 * math/fraiseexcpt.c: Likewise.
22000 * math/fsetexcptflg.c: Likewise.
22001 * math/ftestexcept.c: Likewise.
22002 * math/k_cosl.c: Likewise.
22003 * math/k_rem_pio2l.c: Likewise.
22004 * math/k_sinl.c: Likewise.
22005 * math/k_tanl.c: Likewise.
22006 * math/s_asinhl.c: Likewise.
22007 * math/s_atanl.c: Likewise.
22008 * math/s_cbrtl.c: Likewise.
22009 * math/s_erfl.c: Likewise.
22010 * math/s_expm1l.c: Likewise.
22011 * math/s_log1pl.c: Likewise.
22012 * math/s_tanhl.c: Likewise.
22013 * misc/acct.c: Likewise.
22014 * misc/brk.c: Likewise.
22015 * misc/chflags.c: Likewise.
22016 * misc/chroot.c: Likewise.
22017 * misc/fchflags.c: Likewise.
22018 * misc/fgetxattr.c: Likewise.
22019 * misc/flistxattr.c: Likewise.
22020 * misc/fremovexattr.c: Likewise.
22021 * misc/fsetxattr.c: Likewise.
22022 * misc/fsync.c: Likewise.
22023 * misc/ftruncate.c: Likewise.
22024 * misc/futimes.c: Likewise.
22025 * misc/futimesat.c: Likewise.
22026 * misc/getdomain.c: Likewise.
22027 * misc/getdtsz.c: Likewise.
22028 * misc/gethostid.c: Likewise.
22029 * misc/gethostname.c: Likewise.
22030 * misc/getloadavg.c: Likewise.
22031 * misc/getpagesize.c: Likewise.
22032 * misc/getsysstats.c: Likewise.
22033 * misc/getxattr.c: Likewise.
22034 * misc/gtty.c: Likewise.
22035 * misc/ioctl.c: Likewise.
22036 * misc/lgetxattr.c: Likewise.
22037 * misc/listxattr.c: Likewise.
22038 * misc/llistxattr.c: Likewise.
22039 * misc/lremovexattr.c: Likewise.
22040 * misc/lsetxattr.c: Likewise.
22041 * misc/lutimes.c: Likewise.
22042 * misc/madvise.c: Likewise.
22043 * misc/mincore.c: Likewise.
22044 * misc/mlock.c: Likewise.
22045 * misc/mlockall.c: Likewise.
22046 * misc/mmap.c: Likewise.
22047 * misc/mprotect.c: Likewise.
22048 * misc/msync.c: Likewise.
22049 * misc/munlock.c: Likewise.
22050 * misc/munlockall.c: Likewise.
22051 * misc/munmap.c: Likewise.
22052 * misc/preadv.c: Likewise.
22053 * misc/preadv64.c: Likewise.
22054 * misc/ptrace.c: Likewise.
22055 * misc/pwritev.c: Likewise.
22056 * misc/pwritev64.c: Likewise.
22057 * misc/readv.c: Likewise.
22058 * misc/reboot.c: Likewise.
22059 * misc/remap_file_pages.c: Likewise.
22060 * misc/removexattr.c: Likewise.
22061 * misc/revoke.c: Likewise.
22062 * misc/select.c: Likewise.
22063 * misc/setdomain.c: Likewise.
22064 * misc/setegid.c: Likewise.
22065 * misc/seteuid.c: Likewise.
22066 * misc/sethostid.c: Likewise.
22067 * misc/sethostname.c: Likewise.
22068 * misc/setregid.c: Likewise.
22069 * misc/setreuid.c: Likewise.
22070 * misc/setxattr.c: Likewise.
22071 * misc/sstk.c: Likewise.
22072 * misc/stty.c: Likewise.
22073 * misc/swapoff.c: Likewise.
22074 * misc/swapon.c: Likewise.
22075 * misc/sync.c: Likewise.
22076 * misc/syncfs.c: Likewise.
22077 * misc/syscall.c: Likewise.
22078 * misc/truncate.c: Likewise.
22079 * misc/ualarm.c: Likewise.
22080 * misc/usleep.c: Likewise.
22081 * misc/ustat.c: Likewise.
22082 * misc/utimes.c: Likewise.
22083 * misc/vhangup.c: Likewise.
22084 * misc/writev.c: Likewise.
22085 * posix/_exit.c: Likewise.
22086 * posix/alarm.c: Likewise.
22087 * posix/execve.c: Likewise.
22088 * posix/fexecve.c: Likewise.
22089 * posix/fork.c: Likewise.
22090 * posix/fpathconf.c: Likewise.
22091 * posix/getaddrinfo.c: Likewise.
22092 * posix/getegid.c: Likewise.
22093 * posix/geteuid.c: Likewise.
22094 * posix/getgid.c: Likewise.
22095 * posix/getgroups.c: Likewise.
22096 * posix/getlogin.c: Likewise.
22097 * posix/getlogin_r.c: Likewise.
22098 * posix/getpgid.c: Likewise.
22099 * posix/getpid.c: Likewise.
22100 * posix/getppid.c: Likewise.
22101 * posix/getresgid.c: Likewise.
22102 * posix/getresuid.c: Likewise.
22103 * posix/getsid.c: Likewise.
22104 * posix/getuid.c: Likewise.
22105 * posix/glob64.c: Likewise.
22106 * posix/nanosleep.c: Likewise.
22107 * posix/pathconf.c: Likewise.
22108 * posix/pause.c: Likewise.
22109 * posix/posix_madvise.c: Likewise.
22110 * posix/pread.c: Likewise.
22111 * posix/pread64.c: Likewise.
22112 * posix/pwrite.c: Likewise.
22113 * posix/pwrite64.c: Likewise.
22114 * posix/sched_getaffinity.c: Likewise.
22115 * posix/sched_getp.c: Likewise.
22116 * posix/sched_gets.c: Likewise.
22117 * posix/sched_primax.c: Likewise.
22118 * posix/sched_primin.c: Likewise.
22119 * posix/sched_rr_gi.c: Likewise.
22120 * posix/sched_setaffinity.c: Likewise.
22121 * posix/sched_setp.c: Likewise.
22122 * posix/sched_sets.c: Likewise.
22123 * posix/sched_yield.c: Likewise.
22124 * posix/setgid.c: Likewise.
22125 * posix/setlogin.c: Likewise.
22126 * posix/setpgid.c: Likewise.
22127 * posix/setresgid.c: Likewise.
22128 * posix/setresuid.c: Likewise.
22129 * posix/setsid.c: Likewise.
22130 * posix/setuid.c: Likewise.
22131 * posix/sleep.c: Likewise.
22132 * posix/spawni.c: Likewise.
22133 * posix/sysconf.c: Likewise.
22134 * posix/times.c: Likewise.
22135 * posix/wait.c: Likewise.
22136 * posix/wait3.c: Likewise.
22137 * posix/wait4.c: Likewise.
22138 * posix/waitpid.c: Likewise.
22139 * resolv/gai_sigqueue.c: Likewise.
22140 * resource/getpriority.c: Likewise.
22141 * resource/getrlimit.c: Likewise.
22142 * resource/getrusage.c: Likewise.
22143 * resource/nice.c: Likewise.
22144 * resource/setpriority.c: Likewise.
22145 * resource/setrlimit.c: Likewise.
22146 * resource/ulimit.c: Likewise.
22147 * rt/aio_cancel.c: Likewise.
22148 * rt/aio_fsync.c: Likewise.
22149 * rt/aio_read.c: Likewise.
22150 * rt/aio_sigqueue.c: Likewise.
22151 * rt/aio_suspend.c: Likewise.
22152 * rt/aio_write.c: Likewise.
22153 * rt/clock_getres.c: Likewise.
22154 * rt/clock_gettime.c: Likewise.
22155 * rt/clock_nanosleep.c: Likewise.
22156 * rt/clock_settime.c: Likewise.
22157 * rt/lio_listio.c: Likewise.
22158 * rt/mq_close.c: Likewise.
22159 * rt/mq_getattr.c: Likewise.
22160 * rt/mq_notify.c: Likewise.
22161 * rt/mq_open.c: Likewise.
22162 * rt/mq_receive.c: Likewise.
22163 * rt/mq_send.c: Likewise.
22164 * rt/mq_setattr.c: Likewise.
22165 * rt/mq_timedreceive.c: Likewise.
22166 * rt/mq_timedsend.c: Likewise.
22167 * rt/mq_unlink.c: Likewise.
22168 * rt/shm_open.c: Likewise.
22169 * rt/shm_unlink.c: Likewise.
22170 * rt/timer_create.c: Likewise.
22171 * rt/timer_delete.c: Likewise.
22172 * rt/timer_getoverr.c: Likewise.
22173 * rt/timer_gettime.c: Likewise.
22174 * rt/timer_settime.c: Likewise.
22175 * setjmp/__longjmp.c: Likewise.
22176 * setjmp/setjmp.c: Likewise.
22177 * signal/kill.c: Likewise.
22178 * signal/killpg.c: Likewise.
22179 * signal/raise.c: Likewise.
22180 * signal/sigaction.c: Likewise.
22181 * signal/sigaltstack.c: Likewise.
22182 * signal/sigblock.c: Likewise.
22183 * signal/sigignore.c: Likewise.
22184 * signal/sigintr.c: Likewise.
22185 * signal/signal.c: Likewise.
22186 * signal/sigpause.c: Likewise.
22187 * signal/sigpending.c: Likewise.
22188 * signal/sigqueue.c: Likewise.
22189 * signal/sigreturn.c: Likewise.
22190 * signal/sigset.c: Likewise.
22191 * signal/sigsetmask.c: Likewise.
22192 * signal/sigstack.c: Likewise.
22193 * signal/sigsuspend.c: Likewise.
22194 * signal/sigtimedwait.c: Likewise.
22195 * signal/sigvec.c: Likewise.
22196 * signal/sigwait.c: Likewise.
22197 * signal/sigwaitinfo.c: Likewise.
22198 * signal/sysv_signal.c: Likewise.
22199 * socket/accept.c: Likewise.
22200 * socket/accept4.c: Likewise.
22201 * socket/bind.c: Likewise.
22202 * socket/connect.c: Likewise.
22203 * socket/getpeername.c: Likewise.
22204 * socket/getsockname.c: Likewise.
22205 * socket/getsockopt.c: Likewise.
22206 * socket/isfdtype.c: Likewise.
22207 * socket/listen.c: Likewise.
22208 * socket/recv.c: Likewise.
22209 * socket/recvfrom.c: Likewise.
22210 * socket/recvmsg.c: Likewise.
22211 * socket/send.c: Likewise.
22212 * socket/sendmsg.c: Likewise.
22213 * socket/sendto.c: Likewise.
22214 * socket/setsockopt.c: Likewise.
22215 * socket/shutdown.c: Likewise.
22216 * socket/sockatmark.c: Likewise.
22217 * socket/socket.c: Likewise.
22218 * socket/socketpair.c: Likewise.
22219 * stdio-common/ctermid.c: Likewise.
22220 * stdio-common/cuserid.c: Likewise.
22221 * stdio-common/remove.c: Likewise.
22222 * stdio-common/rename.c: Likewise.
22223 * stdio-common/renameat.c: Likewise.
22224 * stdio-common/tempname.c: Likewise.
22225 * stdlib/getcontext.c: Likewise.
22226 * stdlib/makecontext.c: Likewise.
22227 * stdlib/setcontext.c: Likewise.
22228 * stdlib/swapcontext.c: Likewise.
22229 * stdlib/system.c: Likewise.
22230 * streams/fattach.c: Likewise.
22231 * streams/fdetach.c: Likewise.
22232 * streams/getmsg.c: Likewise.
22233 * streams/getpmsg.c: Likewise.
22234 * streams/putmsg.c: Likewise.
22235 * streams/putpmsg.c: Likewise.
22236 * sysdeps/unix/bsd/getpt.c: Likewise.
22237 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22238 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22239 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22241 Likewise.
22242 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22243 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22244 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22245 * sysvipc/msgctl.c: Likewise.
22246 * sysvipc/msgget.c: Likewise.
22247 * sysvipc/msgrcv.c: Likewise.
22248 * sysvipc/msgsnd.c: Likewise.
22249 * sysvipc/semctl.c: Likewise.
22250 * sysvipc/semget.c: Likewise.
22251 * sysvipc/semop.c: Likewise.
22252 * sysvipc/semtimedop.c: Likewise.
22253 * sysvipc/shmat.c: Likewise.
22254 * sysvipc/shmctl.c: Likewise.
22255 * sysvipc/shmdt.c: Likewise.
22256 * sysvipc/shmget.c: Likewise.
22257 * termios/tcdrain.c: Likewise.
22258 * termios/tcflow.c: Likewise.
22259 * termios/tcflush.c: Likewise.
22260 * termios/tcgetattr.c: Likewise.
22261 * termios/tcgetpgrp.c: Likewise.
22262 * termios/tcsendbrk.c: Likewise.
22263 * termios/tcsetattr.c: Likewise.
22264 * termios/tcsetpgrp.c: Likewise.
22265 * time/adjtime.c: Likewise.
22266 * time/clock.c: Likewise.
22267 * time/getitimer.c: Likewise.
22268 * time/gettimeofday.c: Likewise.
22269 * time/setitimer.c: Likewise.
22270 * time/settimeofday.c: Likewise.
22271 * time/stime.c: Likewise.
22272 * time/time.c: Likewise.
22273
222742012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22275
a20492cf
PT
22276 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22277 /usr/old/bin.
22278
72e182e3
PT
22279 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22280 instead of spaces.
22281 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22282
fbeafede
JM
222832012-11-03 Joseph Myers <joseph@codesourcery.com>
22284
5b5b04d6
JM
22285 [BZ #14796]
22286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22287 FE_TONEAREST before applying Dekker multiplication and Knuth
22288 addition. Clear inexact exceptions and check for exact zero
22289 results afterwards.
22290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22291 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22293 * math/libm-test.inc (fma_test): Add more tests.
22294 (fma_test_towardzero): Likewise.
22295 (fma_test_downward): Likewise.
22296 (fma_test_upward): Likewise.
22297 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22298 function.
22299 (libc_fesetround): New macro.
22300 (libc_fesetroundf): Likewise.
22301 (libc_fesetroundl): Likewise.
22302 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22303 function.
22304 (libc_fesetround_387): Likewise.
22305 (libc_fesetroundf): New macro.
22306 (libc_fesetround): Likewise.
22307 (libc_fesetroundl): Likewise.
22308 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22309 function.
22310 (libc_fesetroundf): New macro.
22311 (libc_fesetround): Likewise.
22312 (libc_fesetroundl): Likewise.
22313 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22314 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22315 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22316 libm_hidden_ver.
22317 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22318 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22319 libm_hidden_def.
22320 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22321 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22322 libm_hidden_ver.
22323 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22324 libm_hidden_def.
22325
fbeafede
JM
22326 [BZ #3439]
22327 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22328 integer constant usable in #if and use that to give value to enum
22329 constant.
22330 (FE_DIVBYZERO): Likewise.
22331 (FE_UNDERFLOW): Likewise.
22332 (FE_OVERFLOW): Likewise.
22333 (FE_INVALID): Likewise.
22334 (FE_INVALID_SNAN): Likewise.
22335 (FE_INVALID_ISI): Likewise.
22336 (FE_INVALID_IDI): Likewise.
22337 (FE_INVALID_ZDZ): Likewise.
22338 (FE_INVALID_IMZ): Likewise.
22339 (FE_INVALID_COMPARE): Likewise.
22340 (FE_INVALID_SOFTWARE): Likewise.
22341 (FE_INVALID_SQRT): Likewise.
22342 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22343 (FE_TONEAREST): Likewise.
22344 (FE_TOWARDZERO): Likewise.
22345 (FE_UPWARD): Likewise.
22346 (FE_DOWNWARD): Likewise.
22347 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22348 (FE_DIVBYZERO): Likewise.
22349 (FE_OVERFLOW): Likewise.
22350 (FE_UNDERFLOW): Likewise.
22351 (FE_INEXACT): Likewise.
22352 (FE_TONEAREST): Likewise.
22353 (FE_DOWNWARD): Likewise.
22354 (FE_UPWARD): Likewise.
22355 (FE_TOWARDZERO): Likewise.
22356 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22357 (FE_UNDERFLOW): Likewise.
22358 (FE_OVERFLOW): Likewise.
22359 (FE_DIVBYZERO): Likewise.
22360 (FE_INVALID): Likewise.
22361 (FE_TONEAREST): Likewise.
22362 (FE_TOWARDZERO): Likewise.
22363 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22364 (FE_OVERFLOW): Likewise.
22365 (FE_UNDERFLOW): Likewise.
22366 (FE_DIVBYZERO): Likewise.
22367 (FE_INEXACT): Likewise.
22368 (FE_TONEAREST): Likewise.
22369 (FE_TOWARDZERO): Likewise.
22370 (FE_UPWARD): Likewise.
22371 (FE_DOWNWARD): Likewise.
22372 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22373 (FE_DIVBYZERO): Likewise.
22374 (FE_OVERFLOW): Likewise.
22375 (FE_UNDERFLOW): Likewise.
22376 (FE_INEXACT): Likewise.
22377 (FE_TONEAREST): Likewise.
22378 (FE_DOWNWARD): Likewise.
22379 (FE_UPWARD): Likewise.
22380 (FE_TOWARDZERO): Likewise.
22381
105ca950
CM
223822012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22383
22384 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22385
a542b389
AS
223862012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22387
22388 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22389 commands. Quote $PWD.
22390 (blacklist_exports): Don't use remove_newlines. Replace "declare
22391 -x" by "export".
22392 (remove_newlines): Remove.
22393
f62c8abc
L
223942012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22395
22396 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22397 * stdlib/stdlib.h (atof): Moved to ...
22398 * include/bits/stdlib-float.h: Here. New file.
22399 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22400 * stdlib/bits/stdlib-float.h: New file.
22401 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22402 -mno-sse -mno-mmx.
22403 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22404 <xmmintrin.h>.
22405
0155d5b2
JM
224062012-11-02 Joseph Myers <joseph@codesourcery.com>
22407
a68d0680
JM
22408 * conform/conformtest.pl (@headers): Add fenv.h.
22409 * conform/data/fenv.h-data: New file.
22410 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22411 include of <math/fenv.h>.
22412
caf7f573
JM
22413 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22414 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22415 && !UNIX98]. Enables tests for XOPEN2K8.
22416 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22417 POSIX2008]: Likewise.
22418
6c073ad6
JM
22419 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22420 (struct rusage): Do not expect type or its members.
22421
0155d5b2
JM
22422 [BZ #3439]
22423 * math/math.h (FP_NAN): Define macro to integer constant usable in
22424 #if and use that to give value to enum constant.
22425 (FP_INFINITE): Likewise.
22426 (FP_ZERO): Likewise.
22427 (FP_SUBNORMAL): Likewise.
22428 (FP_NORMAL): Likewise.
22429
b5dcacb4
AS
224302012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22431
22432 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22433 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22434 arguments.
22435
f7934be8
RM
224362012-11-02 Roland McGrath <roland@hack.frob.com>
22437
22438 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22439 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22440 autoconf-time if not.
22441 * configure.in: Remove AC_PREREQ.
22442
d7d08bde
TMQMF
224432012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22444
22445 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22446 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22447 of the internal implementation.
22448
dcdae19a
JM
224492012-11-02 Joseph Myers <joseph@codesourcery.com>
22450
22451 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22452 except include of <misc/sys/syslog.h>.
22453
d6cffd3e
AS
224542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22455
22456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22457 function returns with a NULL context exit with zero.
22458
b3563932
TMQMF
224592012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22460
22461 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22462
b288a93d
L
224632012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22464
22465 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22466 (run_program_cmd): This.
22467 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22468 (tst_langinfo): New variable. Use it.
22469
a2421a68
SAS
224702012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22471
22472 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22473 floating point opcodes.
22474
6f796e1b
TS
224752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22476
7402596b
TS
22477 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22478 variable.
22479
d0d4f868
TS
22480 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22481
6f796e1b
TS
22482 * sysdeps/mach/hurd/powerpc: Remove directory.
22483 * sysdeps/mach/powerpc: Likewise.
22484
4da224a2
AS
224852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22486
22487 * scripts/check-local-headers.sh: Ignore c++ headers.
22488
341dd673
TS
224892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22490
22491 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22492 __libc_cleanup_region_start argument.
22493
473611b2
JM
224942012-11-01 Joseph Myers <joseph@codesourcery.com>
22495
22496 [BZ #14784]
22497 [BZ #14785]
22498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22499 x * y using scaling, not as x * y + z.
22500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22501 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22502 * math/libm-test.inc (fma_test): Add more tests.
22503 (fma_test_towardzero): Likewise.
22504 (fma_test_downward): Likewise.
22505 (fma_test_upward): Likewise.
22506
4078da3d
TS
225072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22508
22509 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22510
903252aa
JM
225112012-10-31 Joseph Myers <joseph@codesourcery.com>
22512
22513 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22514 New variable.
22515
cbc818d0
TS
225162012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22517
22518 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22519
5a03cb1e
AS
225202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22521
22522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22523 Fix sort order.
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22525 Likewise.
22526
90aff2ff
TMQMF
225272012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22528
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22530 Fix the order of the list for glibc 2.17.
22531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22532 Likewise.
22533
1818fcb7
AS
225342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22535
22536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22537
ef82f4da
JM
225382012-10-31 Joseph Myers <joseph@codesourcery.com>
22539
16a0e2ec
JM
22540 [BZ #14610]
22541 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22542 for low part of x being zero before using __atanl (y).
22543 * math/libm-test.inc (atan2_test): Add another test.
22544
0eb69512
JM
22545 * manual/install.texi (Configuring and compiling): Document
22546 general use of test-wrapper and test-wrapper-env.
22547 * INSTALL: Regenerated.
22548
ef82f4da
JM
22549 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22550 (__fma): Do not extract and scale down low bits on after-rounding
22551 systems when result rounded to normal precision would have normal
22552 exponent.
22553 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22554 (__fmal): Do not extract and scale down low bits on after-rounding
22555 systems when result rounded to normal precision would have normal
22556 exponent.
22557 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22558 (__fmal): Do not extract and scale down low bits on after-rounding
22559 systems when result rounded to normal precision would have normal
22560 exponent.
22561 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22562 macro.
22563 (fma_test): Add more tests.
22564 (fma_test_towardzero): Likewise.
22565 (fma_test_downward): Likewise.
22566 (fma_test_upward): Likewise.
22567
954ef0d9
L
225682012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22569
22570 * sysdeps/i386/tininess.h: Renamed to ...
22571 * sysdeps/x86/tininess.h: This.
22572 * sysdeps/x86_64/tininess.h: Removed.
22573
df61ffb2
JM
225742012-10-30 Joseph Myers <joseph@codesourcery.com>
22575
22576 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22577 input. Use $(build-program-cmd).
22578 ($(objpfx)tst-array1-static.out): Likewise.
22579 ($(objpfx)tst-array2.out): Likewise.
22580 ($(objpfx)tst-array3.out): Likewise.
22581 ($(objpfx)tst-array4.out): Likewise.
22582 ($(objpfx)tst-array5.out): Likewise.
22583 ($(objpfx)tst-array5-static.out): Likewise.
22584
01767843
CM
225852012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22586
47cc1490
CM
22587 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22588 if defined.
22589
01767843
CM
22590 * nss/nsswitch.h (nss_interface_function): Provide new
22591 macro for use with NSS functions.
22592 * grp/initgroups.c: Use new macro.
22593 * nss/getXXbyYY.c: Likewise.
22594 * nss/getXXbyYY_r.c: Likewise.
22595 * nss/getXXent.c: Likewise.
22596 * nss/getXXent_r.c: Likewise.
22597 * sysdeps/posix/getaddrinfo.c: Likewise.
22598
8321aa97
AJ
225992012-10-30 Andreas Jaeger <aj@suse.de>
22600
22601 * po/ru.po: Update Russion translation from translation project.
22602
2a27fd6d
JM
226032012-10-30 Joseph Myers <joseph@codesourcery.com>
22604
8627a232
JM
22605 [BZ #14152]
22606 [BZ #14783]
22607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22608 result and shift together with sticky bit instead of replicating
22609 round-to-nearest rounding.
22610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22612 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22613 missing underflow exceptions.
22614 (fma_test_towardzero): Add more tests.
22615 (fma_test_downward): Likewise.
22616 (fma_test_upward): Likewise.
22617
2a27fd6d
JM
22618 [BZ #14047]
22619 * sysdeps/generic/tininess.h: New file.
22620 * sysdeps/i386/tininess.h: Likewise.
22621 * sysdeps/sh/tininess.h: Likewise.
22622 * sysdeps/x86_64/tininess.h: Likewise.
22623 * stdlib/tst-strtod-underflow.c: Likewise.
22624 * stdlib/tst-tininess.c: Likewise.
22625 * stdlib/strtod_l.c: Include <tininess.h>.
22626 (round_and_return): Do not set errno for exact underflow cases.
22627 Force an underflow exception when setting errno for underflow.
22628 Determine underflow based on rounding to normal precision if
22629 TININESS_AFTER_ROUNDING.
22630 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22631 ERANGE for exact underflow cases.
22632 * stdlib/Makefile (tests): Add tst-tininess and
22633 tst-strtod-underflow.
22634 ($(objpfx)tst-tininess): Use $(link-libm).
22635 ($(objpfx)tst-strtod-underflow): Likewise.
22636
e7170363
AJ
226372012-10-30 Andreas Jaeger <aj@suse.de>
22638
e5088dc6
AJ
22639 [BZ#14767]
22640 * elf/Makefile (tests): Remove conditional for have-initfini-array
22641 since this is now always required and the variable does not exist
22642 anymore.
22643 (tests-static): Likewise.
22644 (modules-names): Likewise.
22645
e7170363 22646 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22647
22648 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22649 merged with constructor/destructor.
22650 (init_array): Likewise.
22651 * elf/tst-array2dep.c (fini_array): Likewise.
22652 (init_array): Likewise.
22653
60457d8a
MF
226542012-10-29 Mike Frysinger <vapier@gentoo.org>
22655
22656 * manual/message.texi: Delete @cartouche tags.
22657
8bece752
PT
226582012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22659
94ce799f
PT
22660 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22661 EOPNOTSUPP.
22662 * sysdeps/mach/hurd/fsync.c: Likewise.
22663
8bece752
PT
22664 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22665 [_POSIX_REALTIME_SIGNALS]: Change condition to
22666 [_POSIX_REALTIME_SIGNALS > 0].
22667
86ebe6b1
AJ
226682012-10-27 Andreas Jaeger <aj@suse.de>
22669
22670 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22671 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22673 [__WORDSIZE != 64]: Likewise.
22674
54399c08
L
226752012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22676
22677 * iconvdata/tst-table.sh: Remove ${SHELL}.
22678 * iconvdata/tst-tables.sh: Likewise.
22679
e2211bed
DM
226802012-10-25 David S. Miller <davem@davemloft.net>
22681
22682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22683 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22684 of strtoull.
22685
f303f97c
DM
22686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22687 ifunc-impl-list.c
22688 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22689 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22690 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22691 file.
22692
1e9d84cd
RM
226932012-10-25 Roland McGrath <roland@hack.frob.com>
22694
22695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22696 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22697 __getdirentries.
22698
df381762
JM
226992012-10-25 Joseph Myers <joseph@codesourcery.com>
22700 Jim Blandy <jimb@codesourcery.com>
22701
22702 * scripts/cross-test-ssh.sh: New file.
22703 * manual/install.texi (Configuring and compiling): Document use of
22704 cross-test-ssh.sh.
22705 * INSTALL: Regenerated.
22706
bff64913
PT
227072012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22708
22709 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22710 EOPNOTSUPP.
22711
25fe8932
JM
227122012-10-25 Joseph Myers <joseph@codesourcery.com>
22713
22714 * Makeconfig (run-program-prefix): Fix comment.
22715
cc1290d0
JM
227162012-10-24 Joseph Myers <joseph@codesourcery.com>
22717 Jim Blandy <jimb@codesourcery.com>
22718
22719 * Makeconfig (test-wrapper): New variable,
22720 (test-wrapper-env): Likewise.
22721 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22722 (run-built-tests): Define to yes.
22723 (run-program-prefix): Use $(test-wrapper).
22724 (built-program-cmd): Likewise.
22725 * Rules (make-test-out): Use $(test-wrapper-env) and
22726 $(host-built-program-cmd).
22727 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22728 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22729 tst-pathopt.sh.
22730 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22731 $(test-wrapper-env) to tst-rtld-load-self.sh.
22732 ($(objpfx)order2.out): Use $(test-wrapper).
22733 ($(objpfx)tst-initorder.out): Likewise.
22734 ($(objpfx)tst-initorder2.out): Likewise.
22735 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22736 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22737 (test_wrapper_env): New variable. Use it to run ld.so.
22738 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22739 Use it to run ld.so.
22740 (test_wrapper_env): Likewise.
22741 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22742 $(test-wrapper) to run-iconv-test.sh.
22743 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22744 (ICONV): Use $test_wrapper.
22745 * posix/Makefile ($(objpfx)globtest.out): Pass
22746 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22747 globtest.sh, not $(run-program-prefix).
22748 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22749 (test_wrapper): Likewise.
22750 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22751 set together with run_via_rtld_prefix.
22752 (run_program_prefix): Define in terms of test_wrapper and
22753 run_via_rtld_prefix.
22754
6e6249d0
RM
227552012-10-24 Roland McGrath <roland@hack.frob.com>
22756
22757 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22758 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22759 Targets removed.
22760
22761 [BZ #14743]
22762 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22763 Declare __clock_getres, __clock_gettime, __clock_settime,
22764 __clock_nanosleep, and __clock_getcpuclockid.
22765 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22766 Remove librt_hidden_def (clock_gettime).
22767 * sysdeps/unix/clock_gettime.c: Likewise.
22768 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22769 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22770 * rt/clock_getres.c: Define __clock_getres as an alias.
22771 * sysdeps/posix/clock_getres.c: Likewise.
22772 * rt/clock_settime.c: Define __clock_settime as an alias.
22773 * sysdeps/unix/clock_settime.c: Likewise.
22774 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22775 * sysdeps/unix/clock_nanosleep.c: Likewise.
22776 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22777 * rt/clock-compat.c: New file.
22778 * rt/Makefile (librt-routines): Add clock-compat and move
22779 $(clock-routines) to ...
22780 (routines): ... here, new variable.
22781 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22782 Don't add get_clockfreq here.
22783 * rt/Versions (libc: GLIBC_2.17): New version set.
22784 Add clock_* symbols here.
22785 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22787 (GLIBC_2.17): Add clock_* symbols.
22788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22792 Likewise.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22794 Likewise.
22795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22799 * NEWS: Mention the move.
22800
22801 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22802 Use __open, __read, __close rather than their public counterparts.
22803 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22804 (__get_clockfreq_via_cpuinfo): Likewise.
22805 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22806 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22807
22808 * config.h.in (HAVE_IFUNC): New #undef.
22809 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22810 was successful.
22811 * configure: Regenerated.
22812
0cae3f4b
MF
228132012-10-24 Mike Frysinger <vapier@gentoo.org>
22814
22815 * configure.in: Move READELF check to start of file.
22816 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22817 libc_cv_asm_gnu_indirect_function in the process.
22818 * configure: Regenerated.
22819
8175a253
MF
228202012-10-24 Mike Frysinger <vapier@gentoo.org>
22821
22822 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22823 send the output to /dev/null.
22824 (libc_cv_cc_with_libunwind): Likewise.
22825 (libc_cv_as_noexecstack): Likewise.
22826 * configure: Regenerate.
22827
0708a7d1
JM
228282012-10-24 Joseph Myers <joseph@codesourcery.com>
22829
10b40d85
JM
22830 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22831
0708a7d1
JM
22832 * posix/globtest.sh (TMPDIR): Do not set.
22833 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22834 (testout): Likewise.
22835
9fddec1a
AJ
228362012-10-24 Andreas Jaeger <aj@suse.de>
22837
3a8db22f
AJ
22838 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22839 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22840 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22841 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22842 posix_fadvise64, posix_fallocate64.
22843
9fddec1a
AJ
22844 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22845 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22846 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22847 Likewise.
22848 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22849 Likewise.
22850 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22851
22852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22853 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22854 <bits/fcntl-linux.h>.
22855 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22856
22857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22858 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22859 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22860 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22861 [__WORDSIZE != 64]: Likewise.
22862
ebfd1bbd
JM
228632012-10-23 Joseph Myers <joseph@codesourcery.com>
22864
03ac099f
JM
22865 * Makeconfig (run-built-tests): New variable.
22866 * Rules [$(cross-compiling) = yes]: Change condition to
22867 [$(run-built-tests) = no].
22868 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22869 to [$(run-built-tests) = yes].
22870 * elf/Makefile [$(cross-compiling) = no]: Likewise
22871 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22872 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22873 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22874 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22875 * io/Makefile [$(cross-compiling) = no]: Likewise.
22876 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22877 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22878 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22879 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22880 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22881 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22882 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22883 * string/Makefile [$(cross-compiling) = no]: Likewise.
22884
ebfd1bbd
JM
22885 * posix/Makefile ($(objpfx)globtest.out): Pass
22886 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22887 $(rtld-installed-name).
22888 * posix/globtest.sh (elf_objpfx): Remove variable.
22889 (rtld_installed_name): Likewise.
22890 (library_path): Likewise.
22891 (run_program_prefix): New variable. Use for running globtest
22892 binary.
22893
166bca24
JB
228942012-10-23 Jim Blandy <jimb@codesourcery.com>
22895 Joseph Myers <joseph@codesourcery.com>
22896
22897 * Makeconfig (host-built-program-cmd): New variable.
22898 * elf/Makefile (tst-stackguard1-ARGS): Use
22899 $(host-built-program-cmd).
22900 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22901 (tst-spawn-ARGS): Likewise.
22902 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22903
88866099
JM
229042012-10-23 Joseph Myers <joseph@codesourcery.com>
22905 Jim Blandy <jimb@codesourcery.com>
22906
22907 * Makeconfig (run-via-rtld-prefix): New variable.
22908 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22909 (built-program-cmd): Likewise.
22910
b4b4c296
AJ
229112012-10-22 Andreas Jaeger <aj@suse.de>
22912
22913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22914 __O_RSYNC if it exists, otherwise to O_SYNC.
22915
6fb54a22
JB
229162012-10-22 Jim Blandy <jimb@codesourcery.com>
22917 Joseph Myers <joseph@codesourcery.com>
22918
22919 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22920 /dev/null.
22921 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22922 from /dev/null
22923 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22924 /dev/null.
22925
481b90b9
AJ
229262012-10-22 Andreas Jaeger <aj@suse.de>
22927
2a0e2669
AJ
22928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22929 Define always.
22930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22931
76e38f9a
AJ
22932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22933 bits/fcntl-linux.h.
22934
7cd37b43
AJ
22935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22936 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22937
481b90b9
AJ
22938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22939 to __O_LARGEFILE.
22940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22941 to __O_LARGEFILE.
22942
aba75984
JB
229432012-10-21 Jim Blandy <jimb@codesourcery.com>
22944 Joseph Myers <joseph@codesourcery.com>
22945
22946 * config.make.in (NM): New variable.
22947
88d4247f
AJ
229482012-10-21 Andreas Jaeger <aj@suse.de>
22949
22950 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22951 definitions and declarations that are provided by
22952 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22953
f2eed205
L
229542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22955
22956 [BZ #14683]
22957 * elf/Makefile (tests-static): Add tst-leaks1-static.
22958 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22959 ($(objpfx)tst-leaks1-static): New rule.
22960 ($(objpfx)tst-leaks1-static-mem): Likewise.
22961 (tst-leaks1-static-ENV): New macro.
22962 * elf/dl-open.c (dl_open_worker): Check the main application
22963 only if SHARED is defined.
22964 * elf/tst-leaks1-static.c: New file.
22965
335e6931
AJ
229662012-10-20 Andreas Jaeger <aj@suse.de>
22967
22968 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22969 generic values for Linux.
22970 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22971 and declarations that are provided by <bits/fcntl-linux.h> and
22972 include <bits/fcntl-linux.h>.
22973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22975
ac5c94d3
RM
229762012-10-20 Roland McGrath <roland@hack.frob.com>
22977
22978 * io/fcntl.h: Move include of <bits/types.h> to the top and
22979 include it unconditionally.
22980
de54b33a
L
229812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22982
228cfb01
L
22983 * wcsmbs/Makefile (tests-ifunc): New variable.
22984 (tests): Add $(tests-ifunc).
22985 * wcsmbs/test-wcschr-ifunc.c: New file.
22986 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22987 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22988 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22989 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22990 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22991
69f07e5f
L
22992 * string/Makefile (tests-ifunc): New variable.
22993 (tests): Add $(tests-ifunc).
22994 * string/test-memccpy.c (TEST_NAME): New macro.
22995 * string/test-memchr.c (TEST_NAME): Likewise.
22996 * string/test-memcmp.c (TEST_NAME): Likewise.
22997 * string/test-memcpy.c (TEST_NAME): Likewise.
22998 * string/test-memmem.c (TEST_NAME): Likewise.
22999 * string/test-memmove.c (TEST_NAME): Likewise.
23000 * string/test-memset.c (TEST_NAME): Likewise.
23001 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23002 * string/test-stpcpy.c (TEST_NAME): Likewise.
23003 * string/test-stpncpy.c (TEST_NAME): Likewise.
23004 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23005 * string/test-strcasestr.c (TEST_NAME): Likewise.
23006 * string/test-strcat.c (TEST_NAME): Likewise.
23007 * string/test-strchr.c (TEST_NAME): Likewise.
23008 * string/test-strcmp.c(TEST_NAME): Likewise.
23009 * string/test-strcpy.c (TEST_NAME): Likewise.
23010 * string/test-strcspn.c (TEST_NAME): Likewise.
23011 * string/test-strlen.c (TEST_NAME): Likewise.
23012 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23013 * string/test-strncmp.c (TEST_NAME): Likewise.
23014 * string/test-strncpy.c (TEST_NAME): Likewise.
23015 * string/test-strnlen.c (TEST_NAME): Likewise.
23016 * string/test-strpbrk.c (TEST_NAME): Likewise.
23017 * string/test-strrchr.c (TEST_NAME): Likewise.
23018 * string/test-strspn.c (TEST_NAME): Likewise.
23019 * string/test-strstr.c (TEST_NAME): Likewise.
23020 * string/test-bcopy-ifunc.c: New file.
23021 * string/test-bzero-ifunc.c: Likewise.
23022 * string/test-memccpy-ifunc.c: Likewise.
23023 * string/test-memchr-ifunc.c: Likewise.
23024 * string/test-memcmp-ifunc.c: Likewise.
23025 * string/test-memcpy-ifunc.c: Likewise.
23026 * string/test-memmem-ifunc.c: Likewise.
23027 * string/test-memmove-ifunc.c: Likewise.
23028 * string/test-mempcpy-ifunc.c: Likewise.
23029 * string/test-memset-ifunc.c: Likewise.
23030 * string/test-rawmemchr-ifunc.c: Likewise.
23031 * string/test-stpcpy-ifunc.c: Likewise.
23032 * string/test-stpncpy-ifunc.c: Likewise.
23033 * string/test-strcasecmp-ifunc.c: Likewise.
23034 * string/test-strcasestr-ifunc.c: Likewise.
23035 * string/test-strcat-ifunc.c: Likewise.
23036 * string/test-strchr-ifunc.c: Likewise.
23037 * string/test-strchrnul-ifunc.c: Likewise.
23038 * string/test-strcmp-ifunc.c: Likewise.
23039 * string/test-strcpy-ifunc.c: Likewise.
23040 * string/test-strcspn-ifunc.c: Likewise.
23041 * string/test-strlen-ifunc.c: Likewise.
23042 * string/test-strncasecmp-ifunc.c: Likewise.
23043 * string/test-strncat-ifunc.c: Likewise.
23044 * string/test-strncmp-ifunc.c: Likewise.
23045 * string/test-strncpy-ifunc.c: Likewise.
23046 * string/test-strnlen-ifunc.c: Likewise.
23047 * string/test-strpbrk-ifunc.c: Likewise.
23048 * string/test-strrchr-ifunc.c: Likewise.
23049 * string/test-strspn-ifunc.c: Likewise.
23050 * string/test-strstr-ifunc.c: Likewise.
23051
de54b33a
L
23052 * debug/Makefile (tests-ifunc): New variable.
23053 (tests): Add $(tests-ifunc).
23054 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23055 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23056 * debug/test-stpcpy_chk-ifunc.c: New file.
23057 * debug/test-strcpy_chk-ifunc.c: Likewise.
23058
88481c16
SP
230592012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23060
23061 [BZ #13601]
23062 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23063 header is not read in.
23064
135948bd
JM
230652012-10-19 Joseph Myers <joseph@codesourcery.com>
23066
89f1c388
JM
23067 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23068 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23069 directly. Pass built executable to script as
23070 $(built-program-cmd).
23071 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23072 $testprogram without using LD_LIBRARY_PATH and $ldso.
23073
e40a0d21
JM
23074 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23075 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23076 $(rtld-installed-name).
23077 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23078 (rtld_installed_name): Likewise.
23079 (library_path): Likewise.
23080 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23081 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23082 $(run-program-prefix) to tst-tables.sh.
23083 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23084 it to run tst-table-from and tst-table-to.
23085 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23086 Pass it to tst-table.sh.
23087 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23088 $(run-program-prefix) to tst-gettext.sh.
23089 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23090 tst-translit.sh.
23091 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23092 tst-gettext2.sh.
23093 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23094 to run tst-gettext.
23095 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23096 to run tst-gettext2.
23097 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23098 to run tst-translit.
23099 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23100 $(run-program-prefix) to tst-mtrace.sh.
23101 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23102 to run tst-mtrace.
23103 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23104 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23105 $(rtld-installed-name).
23106 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23107 (rtld_installed_name): Likewise.
23108 (run_program_prefix): New variable. Use it to run wordexp-test.
23109
728e272a
JM
23110 * Makeconfig (ARCH): Remove all definitions.
23111 (machine): Likewise.
23112 [ARCH]: Remove conditional code.
23113 [!objdir]: Give error.
23114 [!objdir] (objpfx): Remove.
23115 [!objdir] (common-objpfx): Likewise.
23116 [!objdir] (common-objdir): Likewise.
23117 * configure.in (config_makefile): Remove. Hardcode Makefile in
23118 AC_CONFIG_FILES call.
23119 * configure: Regenerated.
23120
d528cdcf
JM
23121 [BZ #13888]
23122 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23123 or TMPDIR.
23124 (testout): Likewise.
23125
135948bd
JM
23126 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23127 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23128 $(rtld-installed-name).
23129 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23130 (rtld_installed_name): Likwise.
23131 (runit): Remove function.
23132 (run_getconf): New variable, Use it for running getconf binary.
23133
38c78296
L
231342012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23135
23136 [BZ #14716]
23137 * string/test-memmem.c (check_result): New function.
23138 (do_one_test): Use it.
23139 (check1): New function.
23140 (test_main): Use it.
23141
d077f65f
MT
231422012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23143
23144 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23145
ced52c71
JM
231462012-10-18 Joseph Myers <joseph@codesourcery.com>
23147
23148 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23149 (_G_LSEEK64): Likewise.
23150 (_G_MMAP64): Likewise.
23151 (_G_FSTAT64): Likewise.
23152 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23153 (_G_LSEEK64): Likewise.
23154 (_G_MMAP64): Likewise.
23155 (_G_FSTAT64): Likewise.
23156 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23157 unconditional. Call __mmap64 directly.
23158 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23159 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23160 __lseek64 directly.
23161 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23162 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23163 __mmap64 directly.
23164 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23165 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23166 __lseek64 directly.
23167 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23168 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23169 __lseek64 directly.
23170 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23171 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23172 __lseek64 directly.
23173 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23174 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23175 __fxstat64 directly.
23176 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23177 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23178 unconditional.
23179 (freopen64) [!_G_OPEN64]: Remove conditional code.
23180 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23181 unconditional.
23182 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23183 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23184 unconditional.
23185 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23186 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23187 unconditional.
23188 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23189 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23190 unconditional.
23191 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23192 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23193 unconditional.
23194 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23195 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23196 unconditional.
23197 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23198 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23199 unconditional.
23200 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23201
b741de23
SP
232022012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23203
23204 [BZ #12140]
23205 * manual/memory.texi (Malloc Tunable Parameters): Add note
23206 about free list pointers overwriting some perturb bytes.
23207 Wording suggested by Roland McGrath.
23208
f9b9d9c9
JM
232092012-10-17 Joseph Myers <joseph@codesourcery.com>
23210
23211 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23212 (lgamma_test): Likewise.
23213 (tgamma_test): Likewise.
23214
172a631a
FW
232152012-10-16 Florian Weimer <fweimer@redhat.com>
23216
23217 [BZ #14700]
23218 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23219 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23220
e9f37252
MK
232212012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23222
23223 * NEWS: Mention BZ #14716.
23224 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23225 when removing AVAILABLE1_USES_J macro.
23226
d394eb74
L
232272012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23228
23229 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23230 (__bswap_64): __uint64_t for unsigned 64-bit int.
23231
ca38dc17
AS
232322012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23233
23234 * include/string.h (memmem): Declare libc hidden alias.
23235 * string/memmem.c (memmem): Define libc hidden alias.
23236 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23237 __read, __close instead of open, read, close.
23238
9a387d1f
L
232392012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23240
ac49ecaf
L
23241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23242 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23243 global and hidden.
23244 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23245 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23246 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23247 Likewise.
23248 (__rawmemchr_sse2): Likewise.
23249 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23250 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23251 (__strchr_sse2): Likewise.
23252 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23253 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23254 (__strcasecmp_sse2): Likewise.
23255 (__strncasecmp_sse2): Likewise.
23256 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23257 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23258 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23259 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23260 (__strrchr_sse2): Likewise.
23261 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23262 ifunc-impl-list.c.
23263 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23264 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23265 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23266 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23267 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23268 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23269 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23270 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23271 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23272 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23273 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23274 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23275 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23276 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23277 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23278 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23279 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23280 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23281 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23282 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23283 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23284 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23285 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23286 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23287 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23288 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23289 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23290 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23291 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23292 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23293
b090e8ea
L
23294 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23295 global and hidden.
23296 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23297 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23298 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23299 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23300 Likewise.
23301 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23302 Likewise.
23303 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23304 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23305 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23306 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23307 ifunc-impl-list.c.
23308 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23309 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23310 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23311 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23312 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23313 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23314 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23315 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23316 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23317 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23318 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23319 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23320 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23321 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23322 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23323 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23324 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23325 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23326 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23327 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23328 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23329 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23330 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23331 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23332 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23333 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23334 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23335 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23336 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23337 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23338 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23341 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23342 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23343 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23344 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23345 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23346 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23347 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23348 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23349
11dd4af6
L
23350 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23351 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23352 * include/ifunc-impl-list.h: New file.
23353 * misc/ifunc-impl-list.c: Likewise.
23354 * misc/Makefile (routines): Add ifunc-impl-list.
23355 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23356 * string/test-string.h: Include <ifunc-impl-list.h>.
23357 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23358 impl_array): New variables.
23359 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23360 are defined.
23361 (test_init): Call __libc_ifunc_impl_list to initialize
23362 func_list if TEST_IFUNC and TEST_NAME are defined.
23363
9a387d1f
L
23364 * string/Makefile (strop-tests): Add bcopy and bzero.
23365 * string/test-bcopy.c: New file.
23366 * string/test-bzero.c: Likewise.
23367 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23368 defined.
23369 * string/test-memset.c: Support bzero test if TEST_BZERO is
23370 defined.
23371 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23372 __libc_memmove.
23373 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23374 __libc_memset.
23375 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23376 of memset.
23377
472371b9
JM
233782012-10-10 Joseph Myers <joseph@codesourcery.com>
23379
1e4a9536
JM
23380 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23381 * configure: Regenerated.
23382
d173d12e
JM
23383 * Makeconfig (+link-static-before-libc): Don't include
23384 $(link-static-libc).
23385
472371b9
JM
23386 * libio/libio.h (_IO_pos_t): Remove.
23387
89a3ad0b
AO
233882012-10-10 Alexandre Oliva <aoliva@redhat.com>
23389
23390 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23391 McGrath.
23392
e7451425
AO
233932012-10-10 Alexandre Oliva <aoliva@redhat.com>
23394
23395 * crypt/crypt-entry.c: Include fips-private.h.
23396 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23397 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23398 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23399 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23400
4ba74a35
AO
234012012-10-10 Alexandre Oliva <aoliva@redhat.com>
23402
23403 * crypt/crypt-private.h: Include stdbool.h.
23404 (_ufc_setup_salt_r): Return bool.
23405 * crypt/crypt-entry.c: Include errno.h.
23406 (__crypt_r): Return NULL with EINVAL for bad salt.
23407 * crypt/crypt_util.c (bad_for_salt): New.
23408 (_ufc_setup_salt_r): Check that salt is long enough and within
23409 the specified alphabet.
23410 * crypt/badsalttest.c: New file.
23411 * crypt/Makefile (tests): Add it.
23412 ($(objpfx)badsalttest): New.
23413
f96f1242
MK
234142012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23415
23416 * NEWS: Add entry for BZ #14602.
23417
0e8e0c1c
JM
234182012-10-09 Joseph Myers <joseph@codesourcery.com>
23419
23420 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23421 type-generic.
23422 * math/libm-test.inc: Update comment listing what functions and
23423 macros are tested.
23424 (isgreater_test): New function.
23425 (isgreaterequal_test): Likewise.
23426 (isless_test): Likewise.
23427 (islessequal_test): Likewise.
23428 (islessgreater_test): Likewise.
23429 (isunordered_test): Likewise.
23430 (main): Call the new functions.
23431
273edc5e
RM
234322012-10-09 Roland McGrath <roland@hack.frob.com>
23433
b8493de0
RM
23434 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23435 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23436 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23437 * sysdeps/i386/configure: Regenerated.
23438 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23439 * sysdeps/mach/configure: Regenerated.
23440 * sysdeps/mach/hurd/configure: Regenerated.
23441 * sysdeps/powerpc/configure: Regenerated.
23442 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23443 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23444 * sysdeps/s390/s390-32/configure: Regenerated.
23445 * sysdeps/s390/s390-64/configure: Regenerated.
23446 * sysdeps/sh/configure: Regenerated.
23447 * sysdeps/sparc/configure: Regenerated.
23448 * sysdeps/unix/sysv/linux/configure: Regenerated.
23449 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23450 * sysdeps/x86_64/configure: Regenerated.
23451
273edc5e
RM
23452 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23453 defined. Don't check if MAP is NULL.
23454
c8450f70
JM
234552012-10-09 Joseph Myers <joseph@codesourcery.com>
23456
23457 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23458 (_G_stat64): Likewise.
23459 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23460 (_G_stat64): Likewise.
23461 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23462 instead of struct _G_stat64.
23463 * libio/fileops.c (mmap_remap_check): Likewise.
23464 (decide_maybe_mmap): Likewise.
23465 (_IO_new_file_seekoff): Likewise.
23466 (_IO_file_stat): Likewise.
23467 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23468 _G_off64_t.
23469 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23470 instead of struct _G_stat64.
23471 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23472
57e605ba
MK
234732012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23474
23475 [BZ #14602]
23476 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23477 Replace with ...
23478 (CHECK_EOL): New macro.
23479 (two_way_short_needle): Check beginning of haystack for EOL. Use
23480 CHECK_EOL.
23481 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23482 Replace with CHECK_EOL.
23483 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23484 Replace with CHECK_EOL.
23485
ef1bb361
JM
234862012-10-08 Joseph Myers <joseph@codesourcery.com>
23487
23488 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23489 type-generic.
23490 * math/libm-test.inc: Update comment listing what functions and
23491 macros are tested.
23492 (finite_test): New function.
23493 (isinf_test): Likewise.
23494 (isnan_test): Likewise.
23495 (fpclassify_test): Test subnormal input.
23496 (isfinite_test): Likewise.
23497 (isnormal_test): Likewise.
23498 (main): Call the new functions.
23499
55f11534
JN
235002012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23501
23502 [BZ #14660]
23503 * Makerules (%.dynsym): Force C locale when running
23504 $(OBJDUMP) --dynamic-syms.
23505
1ab29350
AS
235062012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23507
23508 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23509 <stdint.h>.
23510
f1ecb7ef
DM
235112012-10-06 David S. Miller <davem@davemloft.net>
23512
23513 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23514 upper 32-bits of the length value in %o2 since we use branch-on-register
23515 tests which consider the entire 64-bit register.
23516
5d41d91a
L
235172012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23518
23519 * string/test-strstr.c (check2): Add a test for page boundary.
23520
3baddb72
DM
235212012-10-05 David S. Miller <davem@davemloft.net>
23522
23523 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23524 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23525 file.
23526 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23527 sysdep_routines.
23528 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23529 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23530 and bzero when HWCAP_SPARC_CRYPTO is present.
23531
9cee5585
L
235322012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23533
d7e0dab9
L
23534 [BZ #14602]
23535 * string/test-strstr.c (check2): New function.
23536 (test_main): Call check2.
23537
03759f47
L
23538 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23539 and bug-strchr1.
23540 * string/bug-strcasestr1.c (do_test): Moved to ...
23541 * string/test-strcasestr.c (check1): Here. New function.
23542 (do_one_test): Break out result checking code into ...
23543 (check_result): This. New function.
23544 (do_one_test): Call check_result.
23545 (test_main): Call check1.
23546 * string/bug-strchr1.c (do_test): Moved to ...
23547 * string/test-strchr.c (check1): Here. New function.
23548 (do_one_test): Break out result checking code into ...
23549 (check_result): This. New function.
23550 (do_one_test): Call check_result.
23551 (test_main): Call check1.
23552 * string/bug-strstr1.c (main): Moved to ...
046f153e 23553 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23554 (do_one_test): Break out result checking code into ...
23555 (check_result): This. New function.
23556 (do_one_test): Call check_result.
23557 (test_main): Call check1.
23558 * string/bug-strcasestr1.c: Removed.
23559 * string/bug-strchr1.c: Likewise.
23560 * string/bug-strstr1.c: Likewise.
23561
53cea63e
L
23562 * elf/Makefile (dl-routines): Add hwcaps.
23563 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23564 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23565 (_dl_important_hwcaps): Moved to ...
23566 * elf/dl-hwcaps.c: Here. New file.
23567 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23568
9cee5585 23569 [BZ #14557]
bb859b06
L
23570 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23571 if IS_IN_rtld isn't defined.
23572
9cee5585
L
23573 * elf/dl-support.c (_dl_sysinfo_map): New.
23574 Include "get-dynamic-info.h" and "setup-vdso.h".
23575 (_dl_non_dynamic_init): Call setup_vdso.
23576 * elf/dynamic-link.h: Don't include <assert.h>.
23577 (elf_get_dynamic_info): Moved to ...
23578 * elf/get-dynamic-info.h: Here. New file.
23579 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23580 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23581 * elf/setup-vdso.h: Here. New file.
23582 * elf/rtld.c: Include "setup-vdso.h".
23583 (dl_main): Call setup_vdso.
23584
23c31b76
JM
235852012-10-05 Joseph Myers <joseph@codesourcery.com>
23586
28234b07
JM
23587 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23588 creal in comment listing functions tested. List finite, isinf,
23589 isnan, isless, islessequal, isgreater, isgreaterequal,
23590 islessgreater, isunordered, lgamma_r and pow10 as functions and
23591 macros not tested. Mention which functions not tested are aliases
23592 for other functions. Fix typo. Note that signs of NaNs are not
23593 tested.
23594
23c31b76
JM
23595 * scripts/config.guess: Update from config.git.
23596 * scripts/config.sub: Likewise.
23597
9043e228
RM
235982012-10-04 Roland McGrath <roland@hack.frob.com>
23599
23600 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23601 * misc/madvise.c (madvise): Renamed to __madvise.
23602 Make madvise a weak alias.
23603 * include/sys/mman.h: Declare __madvise.
23604 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23605 * sysdeps/unix/syscalls.list
23606 (madvise): Make __madvise the strong name, and madvise a weak alias.
23607 * sysdeps/unix/sysv/linux/syscalls.list
23608 (madvise, mmap): Remove redundant entries.
23609 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23610 * malloc/malloc.c (mtrim): Likewise.
23611 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23612
f57f8055
RM
236132012-10-03 Roland McGrath <roland@hack.frob.com>
23614
23615 * sysdeps/mach/hurd/dl-cache.c: File removed.
23616 * config.h.in (USE_LDCONFIG): New #undef.
23617 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23618 * configure: Regenerated.
23619 * elf/Makefile (dl-routines): Add dl-cache only under
23620 [$(use-ldconfig) = yes].
23621 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23622 cache on [USE_LDCONFIG].
23623 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23624 [USE_LDCONFIG].
23625 * elf/rtld.c (dl_main): Likewise.
23626
5bb0c10a
PT
236272012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23628
23629 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23630 _SC_LEVEL4_CACHE_LINESIZE.
23631
010188c6
RM
236322012-10-03 Roland McGrath <roland@hack.frob.com>
23633
23634 * sysdeps/unix/bsd/confstr.h: File removed.
23635
b6c5ec07
AO
236362012-10-02 Alexandre Oliva <aoliva@redhat.com>
23637
23638 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23639 sys/sdt-config.h.
23640
408223d4
RM
236412012-10-02 Roland McGrath <roland@hack.frob.com>
23642
23643 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23644 Make 'mapoff' field ElfW(Off) rather than off_t.
23645
bb9510dc
DL
236462012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23647
fc997c6e
DL
23648 * nscd/Makefile: Remove nscd-cflags and all its users.
23649 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23650 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23651
bb9510dc
DL
23652 [BZ #10631]
23653 * malloc.c (malloc_printerr): Clarify error message.
23654
05699367
L
236552012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23656
23657 [BZ #14648]
23658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23659 Set bit_FMA_Usable if FMA is supported.
23660 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23661 macro.
23662 (bit_FMA4_Usable): Updated.
23663 (index_FMA_Usable): New macro.
23664 (CPUID_FMA): Likewise
23665 (HAS_FMA): Defined with bit_FMA_Usable.
23666
51367701
RM
236672012-10-01 Roland McGrath <roland@hack.frob.com>
23668
23669 * bits/types.h (__swblk_t): Type removed.
23670 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23671 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23673 (__SWBLK_T_TYPE): Likewise.
23674 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23675 (__SWBLK_T_TYPE): Likewise.
23676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23677 (__SWBLK_T_TYPE): Likewise.
23678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23679 (__SWBLK_T_TYPE): Likewise.
23680
4d57bf63 236812012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23682 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23683
23684 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23685 (xdr_mapname): Use YPMAXMAP as maxsize.
23686 (xdr_peername): Use YPMAXPEER as maxsize.
23687 (xdr_keydat): Use YPAXRECORD as maxsize.
23688 (xdr_valdat): Use YPMAXRECORD as maxsize.
23689
93c65d43
RM
236902012-10-01 Roland McGrath <roland@hack.frob.com>
23691
497a03d6
RM
23692 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23693
93c65d43
RM
23694 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23695 * csu/init-first.c: ... here.
23696 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23697 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23698 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23699 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23700 * sysdeps/i386/init-first.c: File removed.
23701 * sysdeps/sh/init-first.c: File removed.
23702
bec749fd
JM
237032012-10-01 Joseph Myers <joseph@codesourcery.com>
23704
23705 [BZ #14645]
23706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23707 if x * y might underflow to zero and z is zero.
23708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23709 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23710 * math/libm-test.inc (min_subnorm_value): New variable.
23711 (fma_test): Add more tests.
23712 (fma_test_towardzero): Likewise.
23713 (fma_test_downward): Likewise
23714 (fma_test_upward): Likewise.
23715 (initialize): Set min_subnorm_value.
23716
8ec5b013
JM
237172012-09-29 Joseph Myers <joseph@codesourcery.com>
23718
23719 [BZ #14638]
23720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23721 0 + 0.
23722 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23723 mode for addition resulting in exact zero.
23724 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23726 exact 0 + 0.
23727 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23728 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23729 * math/libm-test.inc (fma_test): Add more tests.
23730 (fma_test_towardzero): New function.
23731 (fma_test_downward): Likewise.
23732 (fma_test_upward): Likewise.
23733 (main): Call the new functions.
23734
b1fa802e
DM
237352012-09-28 David S. Miller <davem@davemloft.net>
23736
23737 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23738
d3b9fd9e
RM
237392012-09-28 Roland McGrath <roland@hack.frob.com>
23740
ea4d37b3
RM
23741 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23742 instead of SIGALRM.
23743
ac51c949
RM
23744 * sysdeps/gnu/_G_config.h: Moved to ...
23745 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23746 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23747 * sysdeps/generic/_G_config.h: ... here.
23748
28c195f7
RM
23749 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23750
848917f9
RM
23751 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23752
6bacf05b
RM
23753 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23754 Conditionalize target on [libnss_test1.so-version].
23755
91363dbb
RM
23756 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23757
cc87f7d8
RM
23758 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23759 (elfobjdir): Move out of conditionals.
23760
b1c608fe
RM
23761 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23762 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23763 (__nss_lookup_function): Conditionalize label remove_from_tree on
23764 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23765
1d9a6d96
DM
237662012-09-28 David S. Miller <davem@davemloft.net>
23767
23768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23769 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23770 file.
23771 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23772 sysdep_routines.
23773 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23775 when HWCAP_SPARC_CRYPTO is present.
23776
72581615
PT
237772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23778
23779 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23780
715a900c
JL
237812012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23782
23783 [BZ #6530]
23784 * stdio-common/vfprintf.c (process_string_arg): Revert
23785 2000-07-22 change.
23786
237872011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23788
23789 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23790 for testcase.
23791 * stdio-common/tst-sprintf.c: Include <locale.h>
23792 (main): Test sprintf's handling of incomplete multibyte
23793 characters.
23794
9bac1d86
L
237952012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23796
23797 * elf/dl-runtime.c (VERSYMIDX): Removed.
23798 * elf/dl-version.c (VERSYMIDX): Likewise.
23799 * elf/do-rel.h (VERSYMIDX): Likewise.
23800 (VALIDX): Likewise.
23801 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23802 * elf/rtld.c (VALIDX): Likewise.
23803 (ADDRIDX): Likewise.
9bac1d86
L
23804 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23805 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23806 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23807 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23808 (VALIDX): Likewise.
23809 (ADDRIDX): Likewise.
9bac1d86 23810
b31606c0
PT
238112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23812
23813 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23814
11541177
JL
238152012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23816
23817 [BZ #11438]
23818 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23819 to global scope.
23820 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23821 addresses are in the same scope as 192.0.2/24.
23822 * posix/gai.conf: Document new scope table defaults.
23823
adb26fae
SP
238242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23825
23826 [BZ #5298]
23827 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23828 for ftell. Compute offsets from write pointers instead.
23829 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23830
4573c6b0
SP
238312012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23832
23833 [BZ #14543]
23834 * libio/Makefile (tests): New test case tst-fseek.
23835 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23836 combination works in wide mode.
23837 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23838 state when the external buffer state changes.
23839
aa9bbfe6
DM
238402012-09-27 David S. Miller <davem@davemloft.net>
23841
23842 [BZ #14376]
23843 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23844 pass reloc->r_addend in as the 'high' argument to
23845 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23846
784421e7
DM
23847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23848
c39bc8b8
PT
238492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23850
23851 * rt/tst-aio2.c: Include <pthread.h>.
23852 * rt/tst-aio3.c: Likewise.
23853
1ccc2399
SE
238542012-09-27 Steve Ellcey <sellcey@mips.com>
23855
23856 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23857
31ed4153
L
238582012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23859
25f5f885
L
23860 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23861 contents on [SHARED].
31ed4153 23862
b7bfe116
MP
238632012-09-26 Marek Polacek <polacek@redhat.com>
23864
23865 [BZ #14530]
23866 [BZ #13741]
23867 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23868 for C++ and GCC <4.3 as well as for non GCC compilers.
23869
43c4edba
MT
238702012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23871
23872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23873
6a1bf82f
RM
238742012-09-25 Roland McGrath <roland@hack.frob.com>
23875
23876 * Makefile.in (all, install): Declare with .PHONY.
23877 Reported by Michael Hope <michael.hope@linaro.org>.
23878
8ad11b9a
TMQMF
238792012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23880
23881 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23882 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23883 system header.
23884 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23885 Likewise.
23886 (sydep_routines): Add the new and the internal functions.
23887 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23888 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23890 (GLIBC_2.17): Add the new function.
23891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23892 (GLIBC_2.17): Likewise.
23893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23894 (GLIBC_2.17): Likewise.
23895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23896 (GLIBC_2.17): Likewise.
23897 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23898
7e2fca8d
AM
238992012-09-25 Alan Modra <amodra@gmail.com>
23900
23901 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23902 Add release barrier before setting once_control to say
23903 initialisation is done. Add hints on lwarx. Use macro in
23904 place of isync.
23905 (clear_once_control): Add release barrier.
23906
b87c4b24
JM
239072012-09-25 Joseph Myers <joseph@codesourcery.com>
23908
d032e0d2
JM
23909 [BZ #13629]
23910 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23911 specially.
23912 * math/s_clog10.c (__clog10): Likewise.
23913 * math/s_clog10f.c (__clog10f): Likewise.
23914 * math/s_clog10l.c (__clog10l): Likewise.
23915 * math/s_clogf.c (__clogf): Likewise.
23916 * math/s_clogl.c (__clogl): Likewise.
23917 * math/Makefile (libm-calls): Add x2y2m1.
23918 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23919 (__x2y2m1): Likewise.
23920 (__x2y2m1l): Likewise.
23921 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23922 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23925 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23926 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23927 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23928 * sysdeps/i386/fpu/libm-test-ulps: Update.
23929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23930
b87c4b24
JM
23931 [BZ #14621]
23932 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23933 int as type of variable DEPTH.
23934 (glob): Use size_t instead of int as type of variables NEWCOUNT
23935 and OLD_PATHC.
23936
6d3bf199
LD
239372012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23938
22bf5c17
LD
23939 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23940 Add s_sincosf-sse2.
23941 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23942 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23943 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23944 macros for using routine as __sincosf_ia32.
23945 Use macro for function declaration and weak_alias.
23946 * sysdeps/i386/fpu/libm-test-ulps: Update.
23947
23948 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23950
23951 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23952 subnormal argument.
23953 * math/s_cexpf.c (__cexpf): Likewise.
23954 * math/s_csinf.c (__csinf): Likewise.
23955 * math/s_csinhf.c (__csinhf): Likewise.
23956 * math/s_ctanf.c (__ctanf): Likewise.
23957 * math/s_ctanhf.c (__ctanhf): Likewise.
23958 * math/s_ccosh.c (__ccoshf): Likewise.
23959 * math/s_cexp.c (__cexpl): Likewise.
23960 * math/s_csin.c (__csin): Likewise.
23961 * math/s_csinh.c (__csinh): Likewise.
23962 * math/s_ctan.c (__ctan): Likewise.
23963 * math/s_ctanh.c (ctanh): Likewise.
23964 * math/s_ccoshl.c (__ccoshl): Likewise.
23965 * math/s_cexpl.c (__cexpl): Likewise.
23966 * math/s_csinl.c (__csinl): Likewise.
23967 * math/s_csinhl.c (__csinhl): Likewise.
23968 * math/s_ctanl.c (__ctanl): Likewise.
23969 * math/s_ctanhl.c (__ctanhl): Likewise.
23970
203e5603
JM
239712012-09-25 Joseph Myers <joseph@codesourcery.com>
23972
23973 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23974 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23975 (_IO_off_t): Define to __off_t, not _G_off_t.
23976 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23977 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23978 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23979 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23980 type of __dummy and __dummy2 fields.
23981 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23982 (_G_ssize_t): Likewise.
23983 (_G_off_t): Likewise.
23984 (_G_pid_t): Likewise.
23985 (_G_uid_t): Likewise.
23986 (_G_wchar_t): Likewise.
23987 (_G_wint_t): Likewise.
23988 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23989 (_G_ssize_t): Likewise.
23990 (_G_off_t): Likewise.
23991 (_G_pid_t): Likewise.
23992 (_G_uid_t): Likewise.
23993 (_G_wchar_t): Likewise.
23994 (_G_wint_t): Likewise.
23995 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23996 (_G_ssize_t): Likewise.
23997 (_G_off_t): Likewise.
23998 (_G_pid_t): Likewise.
23999 (_G_uid_t): Likewise.
24000 (_G_wchar_t): Likewise.
24001 (_G_wint_t): Likewise.
24002
9fab36eb
SP
240032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24004
24005 * malloc/arena.c: Include malloc-sysdep.h.
24006 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24007 is sufficient to shrink the heap or an unmap is needed.
24008 * sysdeps/generic/malloc-sysdep.h: New file. Define
24009 new function check_may_shrink_heap.
24010 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24011 new function check_may_shrink_heap.
24012
2b4f00d1
SP
240132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24014
24015 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24016 comments.
24017
9a9028b1
DL
240182012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24019
57c69bef
DL
24020 * catgets/test-gencat.sh: Add "set -e".
24021 * elf/tst-pathopt.sh: Likewise.
24022 * grp/tst_fgetgrent.sh: Likewise.
24023 * iconvdata/run-iconv-test.sh: Likewise.
24024 * intl/tst-gettext.sh: Likewise.
24025 * intl/tst-gettext2.sh: Likewise.
24026 * intl/tst-gettext4.sh: Likewise.
24027 * intl/tst-gettext6.sh: Likewise.
24028 * intl/tst-translit.sh: Likewise.
24029 * io/ftwtest-sh: Likewise.
24030 * libio/test-freopen.sh: Likewise.
24031 * malloc/tst-mtrace.sh: Likewise.
24032 * posix/globtest.sh: Likewise.
24033 * posix/tst-getconf.sh: Likewise.
24034 * posix/wordexp-tst.sh: Likewise.
24035 * stdio-common/tst-printf.sh: Likewise.
24036 * stdio-common/tst-unbputc.sh: Likewise.
24037 * stdlib/tst-fmtmsg.sh: Likewise.
24038 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24039 * catgets/Makefile: Do not specify -e option when running
24040 testsuite shell scripts.
24041 * elf/Makefile: Likewise.
24042 * grp/Makefile: Likewise.
24043 * iconvdata/Makefile: Likewise.
24044 * intl/Makefile: Likewise.
24045 * io/Makefile: Likewise.
24046 * libio/Makefile: Likewise.
24047 * malloc/Makefile: Likewise.
24048 * posix/Makefile: Likewise.
24049 * stdio-common/Makefile: Likewise.
24050 * stdlib/Makefile: Likewise.
24051 * sysdeps/x86_64/Makefile: Likewise.
24052
9a9028b1
DL
24053 * io/ftwtest-sh: Add copyright header.
24054 * posix/globtest.sh: Likewise.
24055 * posix/tst-getconf.sh: Likewise.
24056 * posix/wordexp-tst.sh: Likewise.
24057 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24058
ced6f16e
L
240592012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24060
94b32c39
L
24061 [BZ #13679]
24062 * Makeconfig (+link): Defined as $(+link-static) if
24063 $(build-shared) isn't yes.
24064 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24065 isn't yes.
24066 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24067
189e935b
L
24068 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24069
ced6f16e
L
24070 [BZ #14562]
24071 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24072 new chunk size with MALLOC_ALIGN_MASK.
24073
a9f8e53a
JM
240742012-09-24 Joseph Myers <joseph@codesourcery.com>
24075
24076 [BZ #5044]
24077 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24078 <rounding-mode.h>.
24079 (__printf_fphex): Determine rounding using get_rounding_mode and
24080 round_away.
24081 * stdio-common/tst-printf-round.c (struct hex_test): New
24082 structure.
24083 (hex_tests): New variable.
24084 (test_hex_in_one_mode): New function.
24085 (do_test): Also run tests for hex float output.
24086
43153109
JM
240872012-09-21 Joseph Myers <joseph@codesourcery.com>
24088
24089 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24090 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24091 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24092 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24093 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24094 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24095 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24096 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24097
8a26625d
JM
240982012-09-20 Joseph Myers <joseph@codesourcery.com>
24099
24100 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24101 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24102 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24103 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24104
f3fd569c
DL
241052012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24106
24107 [BZ #14579]
24108 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24109 mode only.
24110 * elf/tst-rtld-load-self.sh: New test.
24111 * elf/Makefile: Run it.
24112
63bbedd4
JM
241132012-09-18 Joseph Myers <joseph@codesourcery.com>
24114
24115 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24116 (tst-writev-ENV): Remove.
24117 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24118
626f8b6a
CM
241192012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24120
24121 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24122
b7aaa4d6
JM
241232012-09-17 Joseph Myers <joseph@codesourcery.com>
24124
24125 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24126 unconditional.
24127 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24128 Likewise.
24129 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24130 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24131 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24132 Likewise.
24133
65513990
L
241342012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24135
24136 [BZ #14587]
24137 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24138 * config.make.in (have-cpp-asm-debuginfo): Removed.
24139 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24140 * configure: Regenerated.
24141
784761be
JM
241422012-09-14 Joseph Myers <joseph@codesourcery.com>
24143
24144 [BZ #5044]
24145 * stdio-common/printf_fp.c: Include <stdbool.h> and
24146 <rounding-mode.h>.
24147 (___printf_fp): Determine rounding using get_rounding_mode and
24148 round_away.
24149 * stdio-common/tst-printf-round.c: New file.
24150 * stdio-common/Makefile (tests): Add tst-printf-round.
24151 (link-libm): New variable.
24152 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24153
9503345f
L
241542012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24155
24156 [BZ #14576]
24157 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24158 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24159 Likewise.
24160 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24161 Likewise.
24162
ad35fc00
JM
241632012-09-13 Joseph Myers <joseph@codesourcery.com>
24164
24165 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24166 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24167 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24169
6c9b0f68
JM
241702012-09-12 Joseph Myers <joseph@codesourcery.com>
24171
24172 [BZ #14518]
24173 * include/rounding-mode.h: New file.
24174 * sysdeps/generic/get-rounding-mode.h: Likewise.
24175 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24176 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24177 (MAX_VALUE): New macro.
24178 (MIN_VALUE): Likewise.
24179 (overflow_value): New function.
24180 (underflow_value): Likewise.
24181 (round_and_return): Use overflow_value and underflow_value to
24182 determine return values in overflow and underflow cases. Use
24183 round_away to determine rounding depending on rounding mode.
24184 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24185 determine return values in overflow and underflow cases.
24186 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24187 (struct test_results): New structure.
24188 (struct test): Use struct test_results to store expected results
24189 for all rounding modes.
24190 (TEST): Include expected results for all rounding modes.
24191 (test_in_one_mode): New function.
24192 (do_test): Use test_in_one_mode to compute and check results.
24193 Check results for all rounding modes.
24194 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24195 $(link-libm).
24196
19fcedd5
AM
241972012-12-09 Allan McRae <allan@archlinux.org>
24198
1e9d84cd 24199 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24200
8bbfd2f1
JM
242012012-09-11 Joseph Myers <joseph@codesourcery.com>
24202
24203 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24204 (_G_int32_t): Likewise.
24205 (_G_uint16_t): Likewise.
24206 (_G_uint32_t): Likewise.
24207 (_G_HAVE_BOOL): Likewise.
24208 (_G_HAVE_ATEXIT): Likewise.
24209 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24210 (_G_HAVE_IO_FILE_OPEN): Likewise.
24211 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24212 (_G_int32_t): Likewise.
24213 (_G_uint16_t): Likewise.
24214 (_G_uint32_t): Likewise.
24215 (_G_HAVE_BOOL): Likewise.
24216 (_G_HAVE_ATEXIT): Likewise.
24217 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24218 (_G_HAVE_IO_FILE_OPEN): Likewise.
24219 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24220 (_G_int32_t): Likewise.
24221 (_G_uint16_t): Likewise.
24222 (_G_uint32_t): Likewise.
24223 (_G_HAVE_BOOL): Likewise.
24224 (_G_HAVE_ATEXIT): Likewise.
24225 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24226 (_G_HAVE_IO_FILE_OPEN): Likewise.
24227
b1dc5912
L
242282012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24229
24230 * csu/libc-tls.c: Update copyright years.
24231
0e886ef9
JM
242322012-09-10 Joseph Myers <joseph@codesourcery.com>
24233
28361c5e
JM
24234 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24235 [!_G_USING_THUNKS]: Remove conditional code.
24236 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24237 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24238
0e886ef9
JM
24239 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24240 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24241 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24242 (_G_VTABLE_LABEL_PREFIX): Likewise.
24243 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24244 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24245 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24246 (_G_VTABLE_LABEL_PREFIX): Likewise.
24247 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24248 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24249 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24250 (_G_VTABLE_LABEL_PREFIX): Likewise.
24251 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24252
bcba7aa2
L
242532012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24254
24255 * libio/Makefile: Include ../Makeconfig before tests.
24256 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24257 only if $(build-shared) is yes.
24258
06585ee8
L
24259 * iconv/gconv_db.c: Update copyright years.
24260
80ccd52c
LD
242612012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24262
24263 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24264 unwind info if defined PIC. Fix special cases description.
24265 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24266
24267 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24268 DP_HI_MASK entry.
24269 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24270
691bc9c1
L
242712012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24272
3d9b46b3
L
24273 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24274
de2139a9
L
24275 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24276 is NULL.
24277
5ca78dd0
L
24278 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24279 (LDLIBS-tst-chk4): This.
24280 (LDFLAGS-tst-chk5): Renamed to ...
24281 (LDLIBS-tst-chk5): This.
24282 (LDFLAGS-tst-chk6): Renamed to ...
24283 (LDLIBS-tst-chk6): This.
24284 (LDFLAGS-tst-lfschk4): Renamed to ...
24285 (LDLIBS-tst-lfschk4): This.
24286 (LDFLAGS-tst-lfschk5): Renamed to ...
24287 (LDLIBS-tst-lfschk5): This.
24288 (LDFLAGS-tst-lfschk6): Renamed to ...
24289 (LDLIBS-tst-lfschk6): This.
24290
691bc9c1
L
24291 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24292 on $(common-objpfx)soversions.mk.
24293
65cafb1c
JM
242942012-09-07 Joseph Myers <joseph@codesourcery.com>
24295
24296 [BZ #10014]
24297 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24298 example host name.
24299
c78ab094
SP
243002012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24301
24302 * malloc/arena.c (arena_get_retry): New function that gets
24303 another arena for the caller to try its request on.
24304 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24305 current arena cannot fulfill the request.
24306 (__libc_memalign): Likewise.
24307 (__libc_memalign): Likewise.
24308 (__libc_pvalloc): Likewise.
24309 (__libc_calloc): Likewise.
24310
01f49f59
JT
243112012-09-05 John Tobey <john.tobey@gmail.com>
24312
24313 [BZ #13542]
24314 * manual/arith.texi (Operations on Complex): Fix description
24315 of carg branch cut.
24316
4c23fed5
JM
243172012-09-06 Joseph Myers <joseph@codesourcery.com>
24318
1d3c8572
JM
24319 [BZ #10014]
24320 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24321 host name.
24322
4c23fed5
JM
24323 [BZ #10038]
24324 * manual/memory.texi (Memory): Make order of menu items match
24325 order of sections.
24326
04570aaa
L
243272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24328
24329 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24330 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24331 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24332
b80af2f4
L
243332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24334
24335 * csu/libc-tls.c (static_dtv): Renamed to ...
24336 (_dl_static_dtv): This. Make it global.
24337 (_dl_initial_dtv): Removed.
24338 (__libc_setup_tls): Updated.
24339 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24340 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24341 DL_INITIAL_DTV.
24342
2abe9f15
PM
243432012-09-06 Petr Machata <pmachata@redhat.com>
24344
24345 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24346 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24347 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24348 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24349
0948c3af
L
243502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24351
24352 [BZ #14545]
24353 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24354 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24355 freeing dtv[-1].
24356
a5055ad1
L
243572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24358
24359 [BZ #14544]
24360 * Makeconfig (link-static-before-libc): Replace $(+prector)
24361 with $(+prectorT).
24362 (link-static-after-libc): Replace $(+postctor) with
24363 $(+postctorT).
24364 (link-bounded): Replace $(+prector)/$(+postctor) with
24365 $(+prectorT)/$(+postctorT).
24366 (+prectorT): New macro.
24367 (+postctorT): Likewise.
24368
ed8c2ecd
JM
243692012-09-06 Joseph Myers <joseph@codesourcery.com>
24370
24371 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24372 (round_str): Handle values above the maximum for IBM long double
24373 as inexact.
24374 * stdlib/tst-strtod-round.c (tests): Regenerated.
24375
14c996c8
AK
243762012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24377
24378 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24379 assembler flag.
24380 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24381 zarch_nohighgprs around the zarch optimized routines.
24382 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24383 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24384 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24385 for zarch.
24386
430d6ce6
DM
243872012-09-05 David S. Miller <davem@davemloft.net>
24388
24389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24390
ff04dda4
DM
24391 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24392 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24393 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24394 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24395 entries.
24396
24d4e01b
AO
243972012-09-05 Alexandre Oliva <aoliva@redhat.com>
24398
24399 * malloc/arena.c: Fold copyright years.
24400 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24401
61d58174
AO
244022012-09-05 Alexandre Oliva <aoliva@redhat.com>
24403
24404 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24405
20196a5e
AO
244062012-09-05 Alexandre Oliva <aoliva@redhat.com>
24407
24408 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24409
5c447383
AO
244102012-09-05 Alexandre Oliva <aoliva@redhat.com>
24411
24412 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24413 change internal state upon failure.
24414
fad64255
AO
244152012-09-05 Alexandre Oliva <aoliva@redhat.com>
24416
24417 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24418 * malloc/memusage.c (mmap): Likewise.
24419 (mmap64, mremap): Likewise. Adjust name in comment.
24420
1ffb8c90
SP
244212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24422
24423 * libio/fileops.c: Fix typos in comments.
24424 * libio/oldfileops.c: Likewise.
24425 * libio/wfileops.c: Likewise.
24426
6ef9cc37
SP
244272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24428
24429 [BZ #1349]
24430 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24431 (tst-malloc-usable-ENV): Set environment for test case.
24432 * malloc/hooks.c (malloc_check_get_size): New function to get
24433 requested size.
24434 * malloc/malloc.c (musable): Use malloc_check_get_size.
24435 * malloc/tst-malloc-usable.c: New test case.
24436
4d038ae3
AS
244372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24438
24439 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24440
c4e85184
AM
244412012-09-05 Allan McRae <allan@archlinux.org>
24442
b9dafc56 24443 [BZ #13966]
c4e85184
AM
24444 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24445 determine header location.
24446 * configure: Regenerated.
24447
e1343020
AS
244482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24449
24450 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24451 float format.
24452 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24453 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24454 format.
e1343020
AS
24455 (test): Regenerate.
24456
0a9f1987
DM
244572012-09-04 David S. Miller <davem@davemloft.net>
24458
24459 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24460 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24461 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24462
29237804
FW
244632012-09-04 Florian Weimer <fweimer@redhat.com>
24464
24465 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24466 failures.
24467
edb3cb88
FW
24468 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24469
60160d83
JM
244702012-09-04 Joseph Myers <joseph@codesourcery.com>
24471
24472 [BZ #9914]
24473 * libio/iogetdelim.c: Include <limits.h>.
24474 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24475 + len + 1 would overflow.
24476
bcd6c8dc
AJ
244772012-09-03 Andreas Jaeger <aj@suse.de>
24478
24479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24480 * sysdeps/i386/fpu/libm-test-ulps: Update.
24481
4ffffbd2
LD
244822012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24483
24484 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24485 Add s_sinf-sse2, s_conf-sse2.
24486
24487 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24488 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24489 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24490 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24491
24492 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24493 for using routine as __sinf_ia32.
24494 Use macro for function declaration and weak_alias.
24495 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24496 for using routine as __cosf_ia32.
24497 Use macro for function declaration and weak_alias.
24498
24499 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24500 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24501
24502 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24503 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24505
24506 * math/libm-test.inc (cos_test): Add more test cases.
24507 (sin_test): Likewise.
24508 (sincos_test): Likewise.
24509
511fa286
AK
245102012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24511
24512 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24513 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24514 hidden.
24515 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24516
5f30cfec
L
245172012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24518
24519 [BZ #14538]
24520 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24521 first element of the GOT.
24522 (elf_machine_load_address): Return the difference between
24523 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24524
0786794f
AM
245252012-09-01 Allan McRae <allan@archlinux.org>
24526
5f30cfec
L
24527 [BZ #13412]
24528 * configure.in (AWK): Require gawk version 3.0 or later.
24529 * configure: Regenerated.
0786794f 24530
26889eac
JM
245312012-09-01 Joseph Myers <joseph@codesourcery.com>
24532
24533 * sysdeps/unix/sysv/linux/kernel-features.h
24534 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24535 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24536 [__NR_clock_getres]: Make code unconditional.
24537 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24538 (clock_getcpuclockid): Remove code left unreachable by removal of
24539 conditionals.
24540 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24541 code unconditional.
24542 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24543 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24544 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24545 Make code unconditional.
24546 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24547 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24548 * sysdeps/unix/sysv/linux/clock_settime.c
24549 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24550 conditional code.
24551 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24552 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24553
d22e28b0
L
245542012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24555
24556 [BZ #14476]
24557 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24558 scripts/test-installation.pl.
24559
24560 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24561 and $ld_so_version if it is set.
24562
050af9c4
SP
245632012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24564
24565 [BZ #14516]
24566 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24567 failure if reading from procfs failed.
24568 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24569
ad845c0b
JM
245702012-08-27 Joseph Myers <joseph@codesourcery.com>
24571
24572 * sysdeps/unix/sysv/linux/kernel-features.h
24573 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24574 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24575 Remove conditional code.
24576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24577 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24578 Remove conditional code.
24579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24580 * sysdeps/unix/sysv/linux/i386/fxstat.c
24581 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24583 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24584 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24586 * sysdeps/unix/sysv/linux/i386/lxstat.c
24587 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24589 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24590 Remove conditional code.
24591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24592 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24593 Remove conditional code.
24594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24595 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24596 <kernel-features.h>.
24597 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24598 Remove.
24599 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24600 Remove conditional code.
24601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24602 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24603 Remove conditional.
24604
5dbf56af
MF
246052012-08-27 Mike Frysinger <vapier@gentoo.org>
24606
24607 [BZ #5400]
24608 * NEWS: Add fixed bug number.
24609
d6e70f43
JM
246102012-08-27 Joseph Myers <joseph@codesourcery.com>
24611
7efb4737
JM
24612 [BZ #14519]
24613 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24614 underflowing exponent in case of negative sign.
24615 * stdlib/tst-strtod-round-data: Add more tests.
24616 * stdlib/tst-strtod-round.c (tests): Regenerated.
24617
af92131a
JM
24618 [BZ #3479]
24619 * stdlib/strtod_l.c (NDIG): Remove.
24620 (HEXNDIG): Likewise.
24621 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24622 smallest representable value.
24623 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24624 lie within an exact representation of 1/2 ulp of the result.
24625 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24626 unconditionally.
24627 (TENS_P9_IDX): Define unconditionally.
24628 (TENS_P9_SIZE): Likewise.
24629 (TENS_P10_IDX): Likewise.
24630 (TENS_P10_SIZE): Likewise.
24631 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24632 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24633 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24634 entries for 10^2^13 and 10^2^14.
24635 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24636 (TENS_P13_IDX): Define.
24637 (TENS_P13_SIZE): Likewise.
24638 (TENS_P14_IDX): Likewise.
24639 (TENS_P14_SIZE): Likewise.
24640 (_fpioconst_pow10): Change array size to
24641 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24642 unconditional.
24643 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24644 1024]: Add entries for 10^2^13 and 10^2^14.
24645 [LAST_POW10 > _LAST_POW10]: Remove #error.
24646 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24647 (_fpioconst_pow10): Change array size to
24648 FPIOCONST_POW10_ARRAY_SIZE.
24649 * stdlib/gen-fpioconst.c: New file.
24650 * stdlib/gen-tst-strtod-round.c: Likewise.
24651 * stdlib/tst-strtod-round-data: Likewise.
24652 * stdlib/tst-strtod-round.c: Likewise.
24653 * stdlib/Makefile (tests): Add tst-strtod-round.
24654
d6e70f43
JM
24655 [BZ #14459]
24656 * stdlib/strtod_l.c: Include <stdint.h>.
24657 (NDEBUG): Do not define.
24658 (round_and_return): Change EXPONENT parameter to type intmax_t.
24659 Rearrange calculations to avoid internal overflow possibilities.
24660 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24661 Rearrange calculations to avoid internal overflow possibilities.
24662 Assert that number fits inside MPNSIZE limbs.
24663 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24664 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24665 calculations and add assertions to avoid internal overflow
24666 possibilities. Add casts to avoid signed/unsigned operations.
24667 * stdlib/tst-strtod-overflow.c: New file.
24668 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24669
1f529f7d
MP
246702012-08-25 Marek Polacek <polacek@redhat.com>
24671
24672 * time/time.h: Fix some typos in comments.
24673
59a629f1
RM
246742012-08-23 Roland McGrath <roland@hack.frob.com>
24675
24676 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24677 * posix/tst-rfc3484-2.c: Likewise.
24678 * posix/tst-rfc3484-3.c: Likewise.
24679
d3bafbc9
SM
246802012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24681
24682 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24683 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24684
4efcc022
JM
246852012-08-23 Joseph Myers <joseph@codesourcery.com>
24686
24687 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24688 #include of fxstatat64.c.
24689
3cc3ef96
RM
246902012-08-22 Roland McGrath <roland@hack.frob.com>
24691
f04e2132
RM
24692 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24693 * shadow/getspent_r.c: Likewise.
24694 * shadow/getspnam.c: Likewise.
24695 * shadow/getspnam_r.c: Likewise.
24696 * gshadow/getsgent.c: Likewise.
24697 * gshadow/getsgent_r.c: Likewise.
24698 * gshadow/getsgnam.c: Likewise.
24699 * gshadow/getsgnam_r.c: Likewise.
24700 * inet/getnetbyad.c: Likewise.
24701 * inet/getnetbyad_r.c: Likewise.
24702 * inet/getnetbynm.c: Likewise.
24703 * inet/getnetbynm_r.c: Likewise.
24704 * inet/getnetent.c: Likewise.
24705 * inet/getnetent_r.c: Likewise.
24706 * inet/getproto.c: Likewise.
24707 * inet/getproto_r.c: Likewise.
24708 * inet/getprtent.c: Likewise.
24709 * inet/getprtent_r.c: Likewise.
24710 * inet/getprtname.c: Likewise.
24711 * inet/getprtname_r.c: Likewise.
24712 * inet/getrpcbyname.c: Likewise.
24713 * inet/getrpcbyname_r.c: Likewise.
24714 * inet/getrpcbynumber.c: Likewise.
24715 * inet/getrpcbynumber_r.c: Likewise.
24716 * inet/getrpcent.c: Likewise.
24717 * inet/getrpcent_r.c: Likewise.
24718 * inet/getaliasent.c: Likewise.
24719 * inet/getaliasent_r.c: Likewise.
24720 * inet/getaliasname.c: Likewise.
24721 * inet/getaliasname_r.c: Likewise.
24722 * nscd/getgrgid_r.c: Likewise.
24723 * nscd/getgrnam_r.c: Likewise.
24724 * nscd/gethstbyad_r.c: Likewise.
24725 * nscd/gethstbynm3_r.c: Likewise.
24726 * nscd/getpwnam_r.c: Likewise.
24727 * nscd/getpwuid_r.c: Likewise.
24728 * nscd/getsrvbynm_r.c: Likewise.
24729 * nscd/getsrvbypt_r.c: Likewise.
24730 * nscd/gai.c: Likewise.
24731
c53d909c
RM
24732 * configure.in (build_nscd): New substituted variable, set
24733 by --disable-build-nscd and defaults to $use_nscd.
24734 * configure: Regenerated.
24735 * config.make.in (build-nscd): New substituted variable.
24736 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24737 Change conditional to require [$(build-nscd) = yes] as well.
24738 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24739
3cc3ef96
RM
24740 [BZ# 13696]
24741 * configure.in (use_nscd): New substituted variable, set by
24742 --disable-nscd. If enabled, define USE_NSCD.
24743 * configure: Regenerated.
24744 * config.h.in: Add USE_NSCD.
24745 * config.make.in (use-nscd): New substituted variable.
24746 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24747 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24748 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24749 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24750 (CFLAGS-getgrnam_r.c): Likewise.
24751 (CFLAGS-initgroups.c): Likewise.
24752 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24753 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24754 Variables removed.
24755 * inet/getnetgrent_r.c
24756 (nscd_setnetgrent): New function, broken out of ...
24757 (setnetgrent): ... here. Call it.
24758 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24759 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24760 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24761 * nscd/Makefile (routines, aux): Move definitions after include of
24762 Makeconfig. Conditionalize on [$(use-nscd) != no].
24763 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24764 Conditionalize on [USE_NSCD].
24765 (is_nscd, nscd_init_cb): Likewise.
24766 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24767 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24768 * nss/nss_db/db-init.c: Likewise.
24769 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24770 [USE_NSCD].
24771 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24772 (make_request): Use it.
24773 (cache_valid_p): New function.
24774 (__check_pf): Use it.
24775 * NEWS: Add item for --disable-nscd.
24776
07e51550
DL
247772012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24778
24779 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24780 to support sed >= 4.2.1-20-ga9bf076.
24781 * configure: Regenerated.
24782
35a5b08b
RM
247832012-08-22 Roland McGrath <roland@hack.frob.com>
24784
24785 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24786 Conditionalize whole body on [IREL].
24787
8479f23a
JL
247882012-08-22 Jeff Law <law@redhat.com>
24789
24790 [BZ #14505]
24791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24792 if the family is PF_UNSPEC.
24793
48da0b21
MF
247942012-08-22 Mike Frysinger <vapier@gentoo.org>
24795
24796 * Makerules (lib-version): Rename from V.
24797 (install-lib-nosubdir): Change V to lib-version.
24798
15d0da8c
WS
247992012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24800
24801 [BZ #14252]
24802 * powerpc32/power6/wcschr.c: New file.
24803 * powerpc32/power6/wcscpy.c: New file.
24804 * powerpc32/power6/wcsrchr.c: New file.
24805 * powerpc64/power6/wcschr.c: New file.
24806 * powerpc64/power6/wcscpy.c: New file.
24807 * powerpc64/power6/wcsrchr.c: New file.
24808
bcca0895
MK
248092012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24810
24811 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24812 (two_way_short_needle): Use it.
5a4aaa33
RM
24813 * string/strstr.c (AVAILABLE1_USES_J): Define.
24814 * string/strcasestr.c: Likewise.
99677e57
MK
24815
24816 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24817 array references.
24818 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24819
400726de
MK
24820 [BZ #11607]
24821 * NEWS: Add an entry.
24822 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24823 define their defaults.
24824 (two_way_short_needle): Detect end-of-string on-the-fly.
24825 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24826 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24827 * string/bug-strcasestr1.c: New test.
24828 * string/Makefile: Run it.
24829
20a71f2c
MK
248302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24831
24832 [BZ #11607]
24833 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24834 the first character.
24835
21ad0558
RM
248362012-08-21 Roland McGrath <roland@hack.frob.com>
24837
24838 * csu/elf-init.c (__libc_csu_irel): Function removed.
24839 * csu/libc-start.c (apply_irel): New function.
24840 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24841
0e1d9911
JM
248422012-08-21 Joseph Myers <joseph@codesourcery.com>
24843
24844 * sysdeps/unix/sysv/linux/kernel-features.h
24845 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24846 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24847 <kernel-features.h>.
24848 [__NR_fadvise64_64]: Make code unconditional.
24849 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24850 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24851 !__NR_fadvise64_64)]: Likewise.
24852 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24853 !__NR_fadvise64_64))]: Likewise.
24854 [__NR_fadvise64]: Make code unconditional.
24855 [!__NR_fadvise64]: Remove conditional code.
24856 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24857 <kernel-features.h>.
24858 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24859 unconditional.
24860 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24861 conditional code.
24862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24863 not include <kernel-features.h>.
24864 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24865 unconditional.
24866 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24867 conditional code.
24868 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24869 include <kernel-features.h>.
24870 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24871 unconditional.
24872 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24873 conditional code.
24874
14a50c9d
WS
248752012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24876
24877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24878 slight instruction rearrangements per scrollpipe analysis.
24879 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24880
c0f4faf0
RM
248812012-08-20 Roland McGrath <roland@hack.frob.com>
24882
696da859
RM
24883 * manual/syslog.texi (syslog; vsyslog, closelog):
24884 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24885 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24886
c0f4faf0
RM
24887 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24888 DSOCAPS to match condition on defining it.
24889
348363b2
JM
248902012-08-20 Joseph Myers <joseph@codesourcery.com>
24891
a35cbf28
JM
24892 * sysdeps/unix/sysv/linux/kernel-features.h
24893 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24895 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24896 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24898 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24899 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24901 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24902 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24903
445f7ecd
JM
24904 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24905 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24906
348363b2
JM
24907 * sysdeps/unix/sysv/linux/kernel-features.h
24908 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24909 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24910 unconditional.
24911 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24912 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24913 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24914 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24915 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24916 Make code unconditional.
24917 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24918 (__mmap64) [!__NR_mmap2]: Likewise.
24919 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24920 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24921 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24922 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24923 [__NR_mmap2]: Make code unconditional.
24924 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24925 (__mmap64) [!__NR_mmap2]: Likewise.
24926
bc5bc0e5
AK
249272012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24928
24929 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24930
88d506de
AJ
249312012-08-18 Andreas Jaeger <aj@suse.de>
24932
24933 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24934
493387d2
MF
249352012-08-18 Mike Frysinger <vapier@gentoo.org>
24936
24937 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24938 * include/unistd.h (__have_sock_cloexec): Likewise.
24939 (__have_pipe2): Likewise.
24940 (__have_dup3): Likewise.
24941
a277af22
MF
249422012-08-18 Mike Frysinger <vapier@gentoo.org>
24943
24944 [BZ #9685]
24945 * include/unistd.h (__have_pipe2): Change define into an extern int.
24946 (__have_dup3): Likewise.
24947 * socket/have_sock_cloexec.c: Include fcntl.h.
24948 (__have_pipe2): New variable.
24949 (__have_dup3): Likewise.
24950
fdab8fd3
MF
249512012-08-17 Mike Frysinger <vapier@gentoo.org>
24952
24953 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24954
31035e80
MP
249552012-08-17 Marek Polacek <polacek@redhat.com>
24956
24957 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24958 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24959
3bd9e993
RM
249602012-08-17 Roland McGrath <roland@hack.frob.com>
24961
c91c505f
RM
24962 * configure.in: Add AC_SUBST for sysheaders.
24963 * configure: Regenerated.
24964 * config.make.in (sysheaders): New substituted variable.
24965
7c6f9d53
RM
24966 * sysdeps/unix/mkfifo.c: Moved ...
24967 * sysdeps/posix/mkfifo.c: ... here.
24968 * sysdeps/unix/mkfifoat.c: Moved ...
24969 * sysdeps/posix/mkfifoat.c: ... here.
24970
24971 * sysdeps/unix/utime.c: Moved ...
24972 * sysdeps/posix/utime.c: ... here.
24973
24974 * sysdeps/unix/time.c: Moved ...
24975 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24976 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24977 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24978
24979 * sysdeps/unix/nice.c: Moved ...
24980 * sysdeps/posix/nice.c: ... here.
24981
24982 * sysdeps/unix/alarm.c: Moved ...
24983 * sysdeps/posix/alarm.c: ... here.
24984
3bd9e993
RM
24985 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24986
d1f09384
JL
249872012-08-17 Jeff Law <law@redhat.com>
24988
24989 * intl/Makefile (codeset_mo): New variable.
24990 ($(codeset_mo)): New target.
24991 (tst-codeset.out): Depend on that. Remove explicit rule.
24992 (tst-gettext3.out, tst-gettext5.out): Likewise.
24993 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24994 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24995 * intl/tst-codeset.sh: Remove.
24996 * intl/tst-gettext3.sh: Likewise.
24997 * intl/tst-gettext5.sh: Likewise.
24998
2ae1ae5c
RM
249992012-08-17 Roland McGrath <roland@hack.frob.com>
25000
c31fdb83
RM
25001 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25002 * sysdeps/unix/syscalls.list: ... here.
25003
a0844057
RM
25004 * sysdeps/posix/getaddrinfo.c
25005 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25006 (gaiconf_init, gaiconf_reload): Use them.
25007 [!_STATBUF_ST_NSEC]
25008 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25009 Define using time_t rather than struct timespec.
25010
750c1f2a
RM
25011 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25012 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25013 Macros removed.
25014 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25015 [!NO_THREADS].
25016 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25017 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25018 Likewise.
25019
2ae1ae5c
RM
25020 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25021 __libc_cleanup_push argument.
25022
e66a42f5
RM
25023 * bits/param.h: New file.
25024 * misc/sys/param.h: New file.
25025 * include/sys/param.h: New file.
25026 * misc/Makefile (headers): Add bits/param.h.
25027 * sysdeps/generic/sys/param.h: File removed.
25028 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25029 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25030 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25031 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25032
b7c08a66
RM
25033 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25034 last change.
25035
b2e1c562
RM
25036 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25037 [_IO_MTSAFE_IO].
25038 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25039 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25040 New macros.
25041
c75ccd4c
RM
25042 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25043 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25044 rather than -D_IO_MTSAFE_IO conditionally.
25045 * stdio-common/Makefile (CPPFLAGS): Likewise.
25046 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25047 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25048 Use $(libio-mtsafe).
25049 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25050 of -D_IO_MTSAFE_IO.
25051 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25052 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25053 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25054 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25055 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25056 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25057 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25058 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25059 (CFLAGS-fread_u_chk.c): Likewise.
25060 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25061 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25062 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25063 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25064 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25065 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25066 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25067 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25068 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25069
25070 * libio/Makefile: Test [$(libc-reentrant) = yes]
25071 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25072
25073 * Makeconfig
25074 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25075 * sysdeps/pthread/configure: File removed.
25076 * sysdeps/pthread/Makeconfig: New file.
25077 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25078 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25079
d9195db8
GB
250802012-08-16 Gary Benson <gbenson@redhat.com>
25081
25082 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25083 unmapping the first object in a namespace.
25084
86466cd9
RM
250852012-08-16 Roland McGrath <roland@hack.frob.com>
25086
25087 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25088 (__internal_setnetgrent): ... this. Add internal_function to
25089 definition. Add libc_hidden_def.
25090 (setnetgrent): Update caller.
25091 (internal_endnetgrent): Renamed to ...
25092 (__internal_endnetgrent): ... this. Add internal_function to
25093 definition. Add libc_hidden_def.
25094 (endnetgrent): Update caller.
25095 (internal_getnetgrent_r): Renamed to ...
25096 (__internal_getnetgrent_r): ... this. Add internal_function to
25097 definition. Add libc_hidden_def.
25098 (__getnetgrent_r): Update caller.
25099 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25100
c3c8283c
JM
251012012-08-16 Joseph Myers <joseph@codesourcery.com>
25102
25103 * stdlib/longlong.h: Update from GCC.
25104
db1ee0a8
RM
251052012-08-16 Roland McGrath <roland@hack.frob.com>
25106
25107 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25108 on _QL, which is set by umul_ppmm but never used.
25109 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25110 variables, which are set by GMP macros but never used.
25111 * stdio-common/_itowa.c (_itowa): Likewise.
25112 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25113 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25114
30f69637
CD
251152012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25116
25117 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25118 struct La_sh_regs is not constant.
25119 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25120 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25121 and struct La_sparc64_regs are not constant.
25122
93a78ac4
JM
251232012-08-16 Joseph Myers <joseph@codesourcery.com>
25124
25125 * sysdeps/unix/sysv/linux/kernel-features.h
25126 (__ASSUME_POSIX_TIMERS): Remove.
25127 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25128 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25129 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25130 Make code unconditional.
25131 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25132 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25133 Make code unconditional.
25134 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25135 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25136 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25137 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25138 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25139 Make code unconditional.
25140 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25141 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25142 (__libc_missing_posix_timers): Remove.
25143
dd924cd7
RM
251442012-08-15 Roland McGrath <roland@hack.frob.com>
25145
4b4f2771
RM
25146 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25147 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25148
601c888b
RM
25149 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25150
176790a7
RM
25151 * elf/dl-sym.c: Include <stdlib.h>.
25152
329bc018
RM
25153 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25154 constants, which avoids warnings in 32-bit builds.
25155
e04e272d
RM
25156 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25157 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25158
952bf94a
RM
25159 * misc/lseek.c: File moved to ...
25160 * io/lseek.c: ... here.
25161
7c99b50a
RM
25162 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25163
dd924cd7
RM
25164 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25165 shifting LEN more than 31 bits at once.
25166
b3f479a8
LD
251672012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25168
25169 [BZ #14195]
8c4ae0d4
RM
25170 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25171 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25172 * string/test-strncasecmp.c (check1): Renamed to...
25173 (bz12205): ...this.
25174 (bz14195): Add new testcase for two empty input strings and N > 0.
25175 (test_main): Call new testcase, adapt for renamed function.
25176
9c55864e
AJ
251772012-08-15 Andreas Jaeger <aj@suse.de>
25178
25179 [BZ #14090]
25180 * crypt/md5test2.c: New test, based on test supplied by Serge
25181 Belyshev <belyshev@depni.sinp.msu.ru>.
25182 * crypt/Makefile (xtests): Add md5test-giant..
25183 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25184
02dcb6c5
PE
251852012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25186
25187 [BZ #14090]
25188 * crypt/md5.c (md5_process_block): Don't assume the buffer
25189 length is less than 2**32.
25190 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25191 length is less than 2**64.
25192
a3f95dcc
RM
251932012-08-15 Roland McGrath <roland@hack.frob.com>
25194
be75d758
RM
25195 * string/str-two-way.h: Include <sys/param.h>.
25196 (MAX): Macro removed.
25197
7312ca90
RM
25198 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25199 Move #define and #undef of memmove to just before and after
25200 including <string.h>.
25201
9a0a5486
RM
25202 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25203 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25204 and after including <string.h>. Move declarations of
25205 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25206 to before #include "string/memmove.c".
25207
67cc348d
RM
25208 * include/dirent.h: Declare __getdirentries.
25209
a3f95dcc
RM
25210 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25211 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25212
ca98e171
MF
252132012-08-14 Mike Frysinger <vapier@gentoo.org>
25214
25215 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25216 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25217 * sysdeps/i386/configure: Regenerated.
25218 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25219 STABS_CURRENT_FILE, and STABS_FUN.
25220 (END): Remove call to STABS_FUN_END.
25221 (STABS_CURRENT_FILE1): Delete.
25222 (STABS_CURRENT_FILE): Likewise.
25223 (STABS_FUN): Likewise.
25224 (STABS_FUN_END): Likewise.
25225 (STABS_FUN2): Likewise.
25226 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25227 * sysdeps/x86_64/configure: Regenerated.
25228
5908bf46
RM
252292012-08-14 Roland McGrath <roland@hack.frob.com>
25230
25231 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25232 * elf/dl-lookup.c: Likewise.
5908bf46 25233
f2c05b9e
JM
252342012-08-14 Joseph Myers <joseph@codesourcery.com>
25235
25236 * sysdeps/unix/sysv/linux/kernel-features.h
25237 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25238 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25239 unconditionally.
25240 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25241 unconditionally.
25242 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25243 condition on __ASSUME_CLONE_THREAD_FLAGS.
25244
e11f5155
AJ
252452012-08-14 Andreas Jaeger <aj@suse.de>
25246
25247 * sysdeps/i386/fpu/libm-test-ulps: Update.
25248
51a9ba86
MK
252492012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25250
2fdd4f78
AJ
25251 * include/atomic.h (atomic_exchange_and_add): Split into ...
25252 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25253 New atomic macros.
51a9ba86 25254
ba6cba9e
MT
252552012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25256
25257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25258
42443a47
JL
252592012-08-13 Jeff Law <law@redhat.com>
25260
25261 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25262 null byte in the output string.
25263
121dce05
JM
252642012-08-10 Joseph Myers <joseph@codesourcery.com>
25265
25266 * sysdeps/unix/sysv/linux/kernel-features.h
25267 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25268 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25269 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25270 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25271 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25272 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25273 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25274
bf51f568
JL
252752012-08-09 Jeff Law <law@redhat.com>
25276
25277 [BZ #13939]
25278 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25279 When avoid_arena is set, don't retry in the that arena. Pick the
25280 next one, whatever it might be.
25281 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25282 (arena_lock): Pass in new parameter to arena_get2.
25283 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25284 arena_get2.
25285 (__libc_malloc): Unify retrying after main arena failure with
25286 __libc_memalign version.
25287 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25288
f85fa270
L
252892012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25290
25291 [BZ #14166]
25292 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25293 to __redirect_strstr.
25294 (__strstr_sse42): Use typeof __redirect_strstr.
25295 (__strstr_ia32): Likewise.
25296 (__libc_strstr): New prototype.
25297 (strstr): Renamed to ...
25298 (__libc_strstr): This.
25299 (strstr): New strong alias of __libc_strstr.
25300 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25301 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25302 __redirect_time.
25303 Include <time.h>.
25304 (__libc_time): New prototype.
25305 (time_ifunc): Replace time with __libc_time.
25306 (time): New strong alias and hidden definition of __libc_time.
25307 (__GI_time): Remove strong alias.
25308 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25309 Include <stddef.h>.
25310 (memmove): Redefined to __redirect_memmove.
25311 (__memmove_sse2): Use typeof __redirect_memmove.
25312 (__memmove_ssse3): Likewise.
25313 (__memmove_ssse3_back): Likewise.
25314 (__libc_memmove): New prototype.
25315 (memmove): Renamed to ...
25316 (__libc_memmove): This.
25317 (memmove): New strong alias of __libc_memmove.
25318
33b4a91e
MS
253192012-08-08 Mark Salter <msalter@redhat.com>
25320
25321 * elf/elf.h
25322 (R_MN10300_TLS_GD): Define.
25323 (R_MN10300_TLS_LD): Likewise.
25324 (R_MN10300_TLS_LDO): Likewise.
25325 (R_MN10300_TLS_GOTIE): Likewise.
25326 (R_MN10300_TLS_IE): Likewise.
25327 (R_MN10300_TLS_LE): Likewise.
25328 (R_MN10300_TLS_DTPMOD): Likewise.
25329 (R_MN10300_TLS_DTPOFF): Likewise.
25330 (R_MN10300_TLS_TPOFF): Likewise.
25331 (R_MN10300_SYM_DIFF): Likewise.
25332 (R_MN10300_ALIGN): Likewise.
25333 (R_MN10300_NUM): Update.
25334
b36137f1
JM
253352012-08-08 Joseph Myers <joseph@codesourcery.com>
25336
25337 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25338 Remove.
25339
cdd915fd
RM
253402012-08-08 Roland McGrath <roland@hack.frob.com>
25341
a2433aac
RM
25342 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25343
cdd915fd
RM
25344 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25345 sysdeps/unix -> sysdeps/posix move.
25346 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25347
bf9b740a
AM
253482012-08-07 Allan McRae <allan@archlinux.org>
25349
25350 [BZ #14303]
25351 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25352 (SUNOS_CPP): Likewise.
25353 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25354 not found.
25355 (open_input): Call CPP using execvp.
25356
93df14ee
JM
253572012-08-07 Joseph Myers <joseph@codesourcery.com>
25358
25359 * sysdeps/unix/sysv/linux/kernel-features.h
25360 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25361 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25362 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25363 (__ASSUME_WAITID_SYSCALL): Likewise.
25364 * sysdeps/unix/sysv/linux/dl-execstack.c
25365 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25366 code unconditional.
25367 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25368 conditional code.
25369 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25370 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25371 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25372 code.
25373 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25374 unconditional.
25375 [__ASSUME_WAITID_SYSCALL]: Likewise.
25376 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25377
d34689de
RM
253782012-08-07 Roland McGrath <roland@hack.frob.com>
25379
a281decc
RM
25380 * sysdeps/unix/closedir.c: Renamed to ...
25381 * sysdeps/posix/closedir.c: ... here.
25382 * sysdeps/unix/dirfd.c: Renamed to ...
25383 * sysdeps/posix/dirfd.c: ... here.
25384 * sysdeps/unix/dirstream.h: Renamed to ...
25385 * sysdeps/posix/dirstream.h: ... here.
25386 * sysdeps/unix/fdopendir.c: Renamed to ...
25387 * sysdeps/posix/fdopendir.c: ... here.
25388 * sysdeps/unix/opendir.c: Renamed to ...
25389 * sysdeps/posix/opendir.c: ... here.
25390 * sysdeps/unix/readdir.c: Renamed to ...
25391 * sysdeps/posix/readdir.c: ... here.
25392 * sysdeps/unix/readdir_r.c: Renamed to ...
25393 * sysdeps/posix/readdir_r.c: ... here.
25394 * sysdeps/unix/rewinddir.c: Renamed to ...
25395 * sysdeps/posix/rewinddir.c: ... here.
25396 * sysdeps/unix/seekdir.c: Renamed to ...
25397 * sysdeps/posix/seekdir.c: ... here.
25398 * sysdeps/unix/telldir.c: Renamed to ...
25399 * sysdeps/posix/telldir.c: ... here.
25400 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25401 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25402 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25403 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25404
22895b47
RM
25405 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25406 * bits/fcntl.h: ... here.
25407
707a53b6
RM
25408 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25409 not 0.
25410 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25411 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25412 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25413 (struct flock): Move l_start, l_len to the beginning.
25414 Use __pid_t for l_pid.
25415 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25416 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25417 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25418 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25419 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25420 [__USE_LARGEFILE64] (struct flock64): New type.
25421 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25422
f0bd3e25
RM
25423 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25424 * bits/dirent.h: ... here.
25425
d34689de
RM
25426 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25427 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25428
6dad2c06
JM
254292012-08-07 Joseph Myers <joseph@codesourcery.com>
25430
25431 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25432 Change from 2.6.0 to 2.6.16.
25433 * sysdeps/unix/sysv/linux/configure: Regenerated.
25434 * sysdeps/unix/sysv/linux/kernel-features.h
25435 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25436 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25437 version.
25438 (__ASSUME_UTIMES): Likewise.
25439 (__ASSUME_CLONE_STOPPED): Remove.
25440 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25441 architectures, not kernel version.
25442 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25443 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25444 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25445 (__ASSUME_WAITID_SYSCALL): Likewise.
25446 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25447 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25448 * README: State 2.6.16 as minimum Linux kernel version. Do not
25449 refer to older versions.
25450
03af9520
RM
254512012-08-06 Roland McGrath <roland@hack.frob.com>
25452
8e49df1d
RM
25453 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25454 Define alphasort64 as an alias.
25455 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25456 Define versionsort64 as an alias.
25457 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25458 Define scandir64 as an alias.
25459 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25460 Define scandirat64 as an alias.
25461 * dirent/alphasort64.c (alphasort64):
25462 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25463 * dirent/versionsort64.c: Likewise.
25464 * dirent/scandir64.c: Likewise.
25465 * dirent/scandirat64.c: Likewise.
25466 * sysdeps/wordsize-64/alphasort.c: File removed.
25467 * sysdeps/wordsize-64/alphasort64.c: File removed.
25468 * sysdeps/wordsize-64/scandir.c: File removed.
25469 * sysdeps/wordsize-64/scandir64.c: File removed.
25470 * sysdeps/wordsize-64/scandirat.c: File removed.
25471 * sysdeps/wordsize-64/scandirat64.c: File removed.
25472 * sysdeps/wordsize-64/versionsort.c: File removed.
25473 * sysdeps/wordsize-64/versionsort64.c: File removed.
25474 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25475 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25477 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25479 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25480 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25481 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25482
25483 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25485 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25487 [defined __arch64__ || defined __sparcv9]
25488 (__INO_T_MATCHES_INO64_T): New macro.
25489 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25490 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25491 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25492 * sysdeps/unix/sysv/linux/bits/dirent.h
25493 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25494 (_DIRENT_MATCHES_DIRENT64): New macro.
25495
03af9520
RM
25496 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25497 Define lockf64 as an alias.
25498 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25499 Define fseeko64 as an alias.
25500 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25501 Define ftello64 as an alias.
25502 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25503 Define _IO_fgetpos64 and fgetpos64 as aliases.
25504 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25505 Define _IO_fsetpos64 and fsetpos64 as aliases.
25506 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25507 Conditionalize body on this.
25508 * libio/fseeko64.c: Likewise.
25509 * libio/ftello64.c: Likewise.
25510 * libio/iofgetpos64.c: Likewise.
25511 * libio/iofsetpos64.c: Likewise.
25512 * sysdeps/wordsize-64/lockf.c: File removed.
25513 * sysdeps/wordsize-64/lockf64.c: File removed.
25514 * sysdeps/wordsize-64/fseeko.c: File removed.
25515 * sysdeps/wordsize-64/fseeko64.c: File removed.
25516 * sysdeps/wordsize-64/ftello.c: File removed.
25517 * sysdeps/wordsize-64/ftello64.c: File removed.
25518 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25519 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25520 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25521 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25522 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25523 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25524 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25525 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25526 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25527 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25528 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25529 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25530 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25531 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25532
25533 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25535 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25537 [defined __arch64__ || defined __sparcv9]
25538 (__OFF_T_MATCHES_OFF64_T): New macro.
25539 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25540 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25542 (__OFF_T_MATCHES_OFF64_T): New macro.
25543
c5757acd
L
255442012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25545
25546 * stdlib/secure-getenv.c (__secure_getenv): Replace
25547 GLIBC_2_16 with GLIBC_2_17.
25548
3a31811e
L
255492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25550
25551 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25552 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25553
faa2bccb
DM
255542012-08-03 David S. Miller <davem@davemloft.net>
25555
25556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25557
85fe1997
JM
255582012-08-03 Joseph Myers <joseph@codesourcery.com>
25559
25560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25561 Remove.
25562 (__ASSUME_CORRECT_SI_PID): Likewise.
25563 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25564 (__ASSUME_TMPFS_NAME): Likewise.
25565 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25566 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25567 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25568 (HAVE_AUX_SECURE): Make definition unconditional.
25569 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25570 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25571
4f75b7a0
RM
255722012-08-03 Roland McGrath <roland@hack.frob.com>
25573
25574 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25575 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25576 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25577 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25578 __eloop_threshold instead of SYMLOOP_MAX.
25579
25580 * sysdeps/generic/eloop-threshold.h: New file.
25581 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25582 of MAXSYMLINKS.
25583 * elf/chroot_canon.c (chroot_canon): Likewise.
25584
7aab07e4
JM
255852012-08-03 Joseph Myers <joseph@codesourcery.com>
25586
25587 [BZ #13717]
25588 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25589 Change to 2.6.0 everywhere.
25590 * sysdeps/unix/sysv/linux/configure: Regenerated.
25591 * sysdeps/unix/sysv/linux/kernel-features.h
25592 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25593 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25594 kernel versions.
25595 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25596 (__ASSUME_FUTEX_REQUEUE): Remove.
25597 (__ASSUME_STATFS64): Define unconditionally.
25598 (__ASSUME_AT_SECURE): Likewise.
25599 (__ASSUME_CORRECT_SI_PID): Likewise.
25600 (__ASSUME_TGKILL): Define without depending on kernel version for
25601 i386.
25602 (__ASSUME_UTIMES): Likewise.
25603 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25604 kernel version.
25605 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25606 (__ASSUME_TMPFS_NAME): Likewise.
25607 * README: Update reference to Linux kernel versions.
25608
b67e9372
MP
256092012-08-02 Marek Polacek <polacek@redhat.com>
25610
1f529f7d 25611 [BZ# 14150]
b67e9372
MP
25612 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25613 libc_cv_asm_type_prefix with %.
25614 * configure: Regenerated.
d2441631
RM
25615 * include/libc-symbols.h: Remove comment about
25616 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25617 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25618 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25619 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25620 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25621 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25622 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25623 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25624 * elf/tst-unique2mod1.c: Likewise.
25625 * elf/tst-unique1mod2.c: Likewise.
25626 * elf/tst-unique1mod1.c: Likewise.
25627 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25628 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25629 Replace ASM_TYPE_DIRECTIVE with .type.
25630 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25631 * sysdeps/i386/sysdep.h: Likewise.
25632 * sysdeps/x86_64/sysdep.h: Likewise.
25633 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25635 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25636 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25637 * sysdeps/powerpc/powerpc32/sysdep.h:
25638 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25639 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25640 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25641 * sysdeps/i386/fpu/e_powf.S: Likewise.
25642 * sysdeps/i386/fpu/e_expl.S: Likewise.
25643 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25645 * sysdeps/i386/fpu/e_pow.S: Likewise.
25646 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25647 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25648 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25649 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25650 * sysdeps/i386/fpu/e_log2.S: Likewise.
25651 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25652 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25653 * sysdeps/i386/fpu/e_powl.S: Likewise.
25654 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25655 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25656 * sysdeps/i386/fpu/e_logl.S: Likewise.
25657 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25658 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25659 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25660 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25661 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25662 * sysdeps/i386/fpu/e_log.S: Likewise.
25663 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25664 * sysdeps/i386/fpu/e_logf.S: Likewise.
25665 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25666 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25667 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25668 * sysdeps/i386/fpu/e_log10.S: Likewise.
25669 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25670 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25671 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25672 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25673 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25674 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25675 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25676 * sysdeps/i386/i686/strtok.S: Likewise.
25677 * sysdeps/i386/i386-mcount.S: Likewise.
25678 * sysdeps/i386/strtok.S: Likewise.
25679 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25680 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25681 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25682 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25683 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25684 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25685 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25686 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25687 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25688 * sysdeps/x86_64/_mcount.S: Likewise.
25689 * sysdeps/x86_64/strtok.S: Likewise.
25690 * sysdeps/sh/_mcount.S: Likewise.
25691
2747bf9a
RM
256922012-08-01 Roland McGrath <roland@hack.frob.com>
25693
25694 * libio/iofopen.c: Include <fcntl.h>.
25695 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25696 (_IO_fopen64, fopen64): Define as aliases.
25697 * libio/iofopen64.c: Include <fcntl.h>.
25698 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25699 Conditionalize body on this.
25700 * sysdeps/wordsize-64/iofopen.c: File removed.
25701 * sysdeps/wordsize-64/iofopen64.c: File removed.
25702
3fb791b8
MP
257032012-08-01 Marek Polacek <polacek@redhat.com>
25704
25705 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25706 Use dlfcn directly instead of a variable.
25707 (binfmt-subdir): Do not define.
25708 (dlfcn): Likewise.
25709
a9f1039f
JM
257102012-08-01 Joseph Myers <joseph@codesourcery.com>
25711
23bddc06
JM
25712 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25713 Remove all definitions.
25714 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25715 <kernel-features.h>.
25716 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25717 (miss_F_GETOWN_EX): Remove all definitions.
25718 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25719 macro definition.
25720 [!__ASSUME_FCNTL64]: Remove conditional code.
25721 [__ASSUME_FCNTL64]: Make code unconditional.
25722 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25723 <kernel-features.h>.
25724 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25725 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25726 (lockf64) [__NR_fcntl64]: Make code unconditional.
25727 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25728
a9f1039f
JM
25729 * sysdeps/unix/sysv/linux/kernel-features.h
25730 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25731 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25732 Make code unconditional.
25733 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25734 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25736 [__NR_vfork]: Make code unconditional.
25737 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25738 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25740 [__NR_vfork]: Make code unconditional.
25741 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25742 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25743
09c0ee5f
RM
257442012-08-01 Roland McGrath <roland@hack.frob.com>
25745
48aec5b9
RM
25746 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25747 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25748
cd97c966
RM
25749 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25750 Define mkstemp64 as an alias.
3f55550c
RM
25751 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25752 Define mkstemps64 as an alias.
cd97c966
RM
25753 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25754 Define mkostemp64 as an alias.
b8625cfc
RM
25755 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25756 Define mkostemps64 as an alias.
cd97c966
RM
25757 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25758 Conditionalize body on this.
25759 * misc/mkostemp64.c: Likewise.
b8625cfc 25760 * misc/mkostemps64.c: Likewise.
3f55550c 25761 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25762 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25763 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25764 * sysdeps/wordsize-64/mkostemp.c: File removed.
25765 * sysdeps/wordsize-64/mkstemp.c: File removed.
25766 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25770
09c0ee5f
RM
25771 [BZ #14138]
25772 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25773 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25774 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25775 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25776
25777 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25778 compat_symbol macros from <shlib-compat.h> rather than the underlying
25779 default_symbol_version and symbol_version macros, so that DEFAULT
25780 lines in shlib-versions are respected.
25781 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25782
7e66ee51
FW
257832012-08-01 Florian Weimer <fweimer@redhat.com>
25784
25785 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25786 Declare with warn_unused_result.
25787 (setgid, setregid, setegid, setresgid): Likewise.
25788 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25789 Likewise.
25790 * WUR-REPORT: Remove set*id functions.
25791
d2a54255
PT
257922012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25793
25794 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25795
7ecdb005
RM
257962012-07-31 Roland McGrath <roland@hack.frob.com>
25797
b4180a5e 25798 [BZ #10191]
789bd351
RM
25799 * include/sys/socket.h (__libc_accept, __libc_accept4):
25800 Add attribute_hidden.
25801 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25802
40ce302d
RM
25803 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25804 use of PTR_MANGLE.
25805 * inet/getnetgrent_r.c (setup): Likewise.
25806
7ecdb005
RM
25807 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25808
e2eabb2c
DM
258092012-07-31 David S. Miller <davem@davemloft.net>
25810
25811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25812
d0419dbf
JM
258132012-07-31 Joseph Myers <joseph@codesourcery.com>
25814
25815 [BZ #13629]
25816 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25817 value between 1.0 and 2.0 and smaller part has absolute value less
25818 than 1.0.
25819 * math/s_clog10.c (__clog10): Likewise.
25820 * math/s_clog10f.c (__clog10f): Likewise.
25821 * math/s_clog10l.c (__clog10l): Likewise.
25822 * math/s_clogf.c (__clogf): Likewise.
25823 * math/s_clogl.c (__clogl): Likewise.
25824 * math/libm-test.inc (clog_test): Add more tests.
25825 (clog10_test): Likewise.
25826 * sysdeps/i386/fpu/libm-test-ulps: Update.
25827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25828
2bc13872
FW
258292012-07-31 Florian Weimer <fweimer@redhat.com>
25830
25831 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25832 Exit with zero in case no suitable GID is found, and write a
25833 message to standard error.
25834
bea9b193
RM
258352012-07-30 Roland McGrath <roland@hack.frob.com>
25836
25837 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25838 rather than to 1.
25839 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25840 (MAXPATHLEN): Removed.
25841 (NOGROUP, NODEV): New macros.
25842 (setbit, clrbit, isset, isclr): New macros.
25843 (howmany, roundup, powerof2): New macros.
25844 (DEV_BSIZE): New macro.
25845
25846 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25847 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25848
25849 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25850 definition on [!__NO_LONG_DOUBLE_MATH].
25851
25852 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25853 PTR_MANGLE and PTR_DEMANGLE.
25854
25855 * socket/accept4.c (accept4): Rename to __libc_accept4.
25856 Define accept4 as a weak alias.
25857
25858 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25859 on [_DIRENT_HAVE_D_TYPE].
25860 * io/ftw.c (ftw_dir): Likewise.
25861
25862 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25863
25864 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25865
25866 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25867 Use the BSD numbers rather than the arbitrary ones we had.
25868 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25869 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25870 (SIGXCPU, SIGXFSZ): New macros.
25871 (_NSIG): Now 32.
25872
25873 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25874 initializer on [_LIBC_REENTRANT].
25875
25876 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25877 definitions inside [_POSIX_MAPPED_FILES].
25878
25879 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25880
25881 * dirent/opendir.c: Include <fcntl.h>.
25882
25883 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25884 (__libc_getspecific): Likewise.
25885 (__libc_key_create): Likewise.
25886
25887 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25888 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25889 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25890 (tmpfile64): Define as alias.
25891 * sysdeps/wordsize-64/tmpfile.c: File removed.
25892 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25893 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25894 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25895
25896 * stdio-common/vfscanf.c: Include <stdbool.h>.
25897 * nss/makedb.c: Likewise.
25898 * stdio-common/_i18n_number.h: Likewise.
25899 * argp/argp-help.c: Likewise.
25900 * posix/wordexp.c: Likewise.
25901 * sysdeps/posix/spawni.c: Likewise.
25902 * nss/nss_files/files-initgroups.c: Likewise.
25903 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25904 * nss/nss_files/files-initgroups.c: Likewise.
25905 * nss/nss_db/db-netgrp.c: Likewise.
25906 * nss/nss_db/db-initgroups.c: Likewise.
25907 * io/fchmodat.c: Include <sys/stat.h>.
25908
25909 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25910 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25911
25912 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25913 [HAVE_MMAP].
25914
25915 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25916 Add multiple inclusion protection.
25917
e5abc686
DM
259182012-07-27 David S. Miller <davem@davemloft.net>
25919
25920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25921
815e6fa3
GB
259222012-07-27 Gary Benson <gbenson@redhat.com>
25923
25924 [BZ #14298]
25925 * elf/rtld.c: Include <stap-probe.h>.
25926 (dl_main): Added static probes "init_start" and "init_complete".
25927 * elf/dl-load.c: Include <stap-probe.h>.
25928 (lose): Take new parameter "nsid".
25929 Added static probe "map_failed".
25930 (_dl_map_object_from_fd): Pass namespace id to lose.
25931 Added static probe "map_start".
25932 (open_verify): Pass namespace id to lose.
25933 * elf/dl-open.c: Include <stap-probe.h>.
25934 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25935 and "reloc_complete".
25936 * elf/dl-close.c: Include <stap-probe.h>.
25937 (_dl_close_worker): Added static probes "unmap_start" and
25938 "unmap_complete".
25939 * elf/rtld-debugger-interface.txt: New file documenting the above.
25940
9f98c16c
RM
259412012-07-26 Roland McGrath <roland@hack.frob.com>
25942
25943 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25944 rather than a string variable.
25945 * sunrpc/rpc_main.c (h_output): Likewise.
25946 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25947
f3c22df3
PT
259482012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25949
25950 * inet/check_native.c: New file.
25951
3129cfc6
JM
259522012-07-26 Joseph Myers <joseph@codesourcery.com>
25953
da865e95
JM
25954 [BZ #13629]
25955 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25956 if larger part has absolute value 1.0.
25957 * math/s_clog10.c (__clog10): Likewise.
25958 * math/s_clog10f.c (__clog10f): Likewise.
25959 * math/s_clog10l.c (__clog10l): Likewise.
25960 * math/s_clogf.c (__clogf): Likewise.
25961 * math/s_clogl.c (__clogl): Likewise.
25962 * math/libm-test.inc (clog_test): Add more tests.
25963 (clog10_test): Likewise.
25964 * sysdeps/i386/fpu/libm-test-ulps: Update.
25965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25966
3129cfc6
JM
25967 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25968 (pltexit): Likewise.
25969 (La_regs): Likewise.
25970 (La_retval): Likewise.
25971 (int_retval): Likewise.
25972 Update #error for removed macros to refer only to definitions in
25973 tst-audit.h.
25974 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25975 macro.
25976 (pltexit): Likewise.
25977 (La_regs): Likewise.
25978 (La_retval): Likewise.
25979 (int_retval): Likewise.
25980 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25981 macro.
25982 (pltexit): Likewise.
25983 (La_regs): Likewise.
25984 (La_retval): Likewise.
25985 (int_retval): Likewise.
25986 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25987 macro.
25988 (pltexit): Likewise.
25989 (La_regs): Likewise.
25990 (La_retval): Likewise.
25991 (int_retval): Likewise.
25992 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25993 macro.
25994 (pltexit): Likewise.
25995 (La_regs): Likewise.
25996 (La_retval): Likewise.
25997 (int_retval): Likewise.
25998 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25999 macro.
26000 (pltexit): Likewise.
26001 (La_regs): Likewise.
26002 (La_retval): Likewise.
26003 (int_retval): Likewise.
26004 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26005 macro.
26006 (pltexit): Likewise.
26007 (La_regs): Likewise.
26008 (La_retval): Likewise.
26009 (int_retval): Likewise.
26010 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26011 macro definitions in tst-audit.h.
26012 * sysdeps/i386/tst-audit.h: New file.
26013 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26014 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26015 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26016 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26017 * sysdeps/sh/tst-audit.h: Likewise.
26018 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26019 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26020 * sysdeps/x86_64/tst-audit.h: Likewise.
26021
bfc07087
AJ
260222012-07-26 Andreas Jaeger <aj@suse.de>
26023
b1b2aaf8
AJ
26024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26025 ptrace.
26026
26027 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26028 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26029 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26030 PTRACE_O_MASK.
26031 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26032 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26033 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26034
bfc07087
AJ
26035 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26036 value.
26037
26038 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26039 _sigsys.
26040 (si_call_addr, si_syscall, si_arch): Define new macro.
26041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26042 _sigsys.
26043 (si_call_addr, si_syscall, si_arch): Define new marcro.
26044 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26045 _sigsys.
26046 (si_call_addr, si_syscall, si_arch): Define new macro.
26047 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26048 _sigsys.
26049 (si_call_addr, si_syscall, si_arch): Define new macro.
26050
89b4b02f
JM
260512012-07-25 Joseph Myers <joseph@codesourcery.com>
26052
26053 [BZ #13717]
26054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26055 Change to 2.4.21 where previously 2.4.1.
26056 * sysdeps/unix/sysv/linux/configure: Regenerated.
26057 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26058 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26059 Linux kernel version.
26060 (__ASSUME_STD_AUXV): Remove.
26061 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26062 kernel version.
26063 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26064 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26065 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26066 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26067 (__ASSUME_NETLINK_SUPPORT): Likewise.
26068 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26069 (__no_netlink_support): Remove conditional definition.
26070 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26071 Remove.
26072 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26073 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26074 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26075 (if_nameindex_ioctl): Remove.
26076 (if_nameindex_netlink): Do not handle __no_netlink_support.
26077 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26078 code.
26079 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26080 Remove conditional code.
26081 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26082 code.
26083 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26084 unconditional.
26085 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26086 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26087 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26088 Remove.
26089 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26090 [!__ASSUME_STD_AUXV]: Remove conditional code.
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26092 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26093 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26095 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26096 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26097 code.
26098 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26100 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26101 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26102 conditional code.
26103 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26105 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26106 code.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26108 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26109 conditional code.
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26111 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26112 code unconditional.
26113 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26114 conditional code.
26115 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26116 unconditional.
26117 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26118 conditional code.
26119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26120 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26121 unconditional.
26122 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26123 conditional code.
26124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26125 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26126 code unconditional.
26127 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26128 conditional code.
26129 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26130 unconditional.
26131 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26132 conditional code.
26133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26134 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26135 code unconditional.
26136 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26137 conditional code.
26138 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26139 unconditional.
26140 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26141 conditional code.
26142
842a39cd
AS
261432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26144
26145 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26146 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26147 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26148 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26149 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26150 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26151 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26152 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26153 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26154 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26155 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26156 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26157 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26158 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26159 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26160 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26161 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26162 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26163 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26165 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26166 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26167 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26168
84b3fd84
FW
261692012-07-25 Florian Weimer <fweimer@redhat.com>
26170
26171 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26172 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26173 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26174 Introduce __libc_secure_getenv.
0c7936d5
FW
26175 * stdlib/Versions (2.17): Add secure_getenv
26176 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26177 * stdlib/secure-getenv.c: Rename __secure_getenv to
26178 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26179 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26180 * stdlib/tst-secure-getenv.c: New.
26181 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26182 * manual/startup.texi (Environment Access): Document
26183 secure_getenv.
84b3fd84
FW
26184 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26185 __libc_secure_getenv.
26186 * inet/ruserpass.c (ruserpass): Likewise.
26187 * malloc/mtrace.c (mtrace): Likewise.
26188 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26189 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26190 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26191 * sysdeps/posix/tempname.c: Likewise. Evaluate
26192 HAVE_SECURE_GETENV.
26193 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26194 __secure_getenv to __libc_secure_getenv.
84b3fd84 26195 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26197 Likewise.
26198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26199 Likewise.
26200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26207
56e49b71
JM
262082012-07-25 Joseph Myers <joseph@codesourcery.com>
26209
26210 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26211 (struct La_i86_retval): Likewise.
26212 (struct La_x86_64_regs): Likewise.
26213 (struct La_x86_64_retval): Likewise.
26214 (struct La_x32_regs): Likewise.
26215 (struct La_x32_retval): Likewise.
26216 (struct La_ppc32_regs): Likewise.
26217 (struct La_ppc32_retval): Likewise.
26218 (struct La_ppc64_regs): Likewise.
26219 (struct La_ppc64_retval): Likewise.
26220 (struct La_sh_regs): Likewise.
26221 (struct La_sh_retval): Likewise.
26222 (struct La_s390_32_regs): Likewise.
26223 (struct La_s390_32_retval): Likewise.
26224 (struct La_s390_64_regs): Likewise.
26225 (struct La_s390_64_retval): Likewise.
26226 (struct La_sparc32_regs): Likewise.
26227 (struct La_sparc32_retval): Likewise.
26228 (struct La_sparc64_regs): Likewise.
26229 (struct La_sparc64_retval): Likewise.
26230 (struct audit_ifaces): Remove architecture-specific pltenter and
26231 pltexit members.
26232 * sysdeps/i386/ldsodefs.h: New file.
26233 * sysdeps/powerpc/ldsodefs.h: Likewise.
26234 * sysdeps/s390/ldsodefs.h: Likewise.
26235 * sysdeps/sh/ldsodefs.h: Likewise.
26236 * sysdeps/sparc/ldsodefs.h: Likewise.
26237 * sysdeps/x86_64/ldsodefs.h: Likewise.
26238
354691b7
MP
262392012-07-25 Marek Polacek <polacek@redhat.com>
26240
26241 [BZ #6808]
26242 * math/libm-test.inc (yn_test): Add another test.
26243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26244 to ERANGE when the result is +-Inf.
26245 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26246 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26247 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26248 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26249
bf9e2071
JM
262502012-07-24 Joseph Myers <joseph@codesourcery.com>
26251
26252 * conform/data/time.h-data (NULL): Use macro-constant. Require
26253 equal to 0.
26254 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26255 clock_t.
26256 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26257
57633811
TS
262582012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26259
26260 * configure.in <sysdeps resolving>: Correct printing
26261 Implies_before.
26262 * configure: Regenerate.
26263
c23c33b0
TS
262642012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26265
26266 * math/w_ilogb.c: Include <limits.h>.
26267 * math/w_ilogbl.c: Likewise.
26268
b5982523
JM
262692012-07-20 Joseph Myers <joseph@codesourcery.com>
26270
26271 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26272 va_copy. Document allowing for unavailable va_copy only as
26273 pre-C99 compatibility.
26274 * manual/string.texi (Copying and Concatenation): Use va_copy
26275 instead of __va_copy in concat example.
26276
ac4ea442
PT
262772012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26278
26279 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26280 (__sendto): Use create_address_port. Initialize APORT and deallocate
26281 it if not null.
26282
f98eafbd
PT
26283 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26284 with O_NOLINK passed to __file_name_lookup.
26285
898c7aab
PT
26286 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26287 with O_NOLINK passed to __file_name_lookup.
26288
0ced335a
PT
26289 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26290 negative N or less than NGIDS.
26291
b3404dbd
PT
26292 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26293 type to string_t. Set ERANGE as errno and return it if NAME is not big
26294 enough. Use memcpy instead of strncpy.
26295
0f48659e
JM
262962012-07-20 Joseph Myers <joseph@codesourcery.com>
26297
26298 * elf/Makefile (check-data): Remove.
26299 (localplt.data): New vpath directive.
26300 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26301 instead of $(check-data).
26302 * scripts/data/localplt-generic.data: Move to ...
26303 * sysdeps/generic/localplt.data: ... here.
26304 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26305 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26306 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26308 ... here.
26309 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26311 ... here.
26312 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26314 ... here.
26315 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26317 ... here.
26318 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26320 ... here.
26321 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26323 ... here.
26324
d37cbdaa
AZ
263252012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26326
26327 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26328 PPC32 and PPC64 files.
26329 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26330 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26331
46f85fc2
AK
263322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26333
26334 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26335 __makecontext_ret to ...
26336 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26337 ... here and call exit if uc_link is NULL. New file.
26338 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26339 __makecontext_ret.S.
26340 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26341 __makecontext_ret to ...
26342 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26343 ... here and call exit if uc_link is NULL. New file.
26344 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26345 __makecontext_ret.S.
26346
08f43f9b
AK
263472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26348
26349 * elf/elf.h (R_390_IRELATIVE): New definition.
26350 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26351 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26352 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26353 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26354 (elf_machine_lazy_rel): Likewise.
26355 * sysdeps/s390/dl-irel.h: New file.
26356 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26357 * sysdeps/s390/s390-64/memset.S: New asm code.
26358 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26359 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26360 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26361 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26362 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26363 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26364 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26365 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26366 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26367 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26368 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26369 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26370 * sysdeps/s390/s390-32/memset.S: New asm code.
26371 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26372
3b05db33
MP
263732012-07-17 Marek Polacek <polacek@redhat.com>
26374
26375 [BZ #14349]
26376 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26377 * sysdeps/s390/s390-64/configure.in: Likewise.
26378 * sysdeps/sparc/configure.in: Likewise.
26379 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26380 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26381 * sysdeps/i386/configure.in: Likewise.
26382 * sysdeps/x86_64/configure.in: Likewise.
26383 * sysdeps/sh/configure.in: Likewise.
26384 * sysdeps/s390/s390-32/configure: Regenerated.
26385 * sysdeps/s390/s390-64/configure: Likewise.
26386 * sysdeps/x86_64/configure: Likewise.
26387 * sysdeps/sh/configure: Likewise.
26388 * sysdeps/powerpc/powerpc64/configure: Likewise.
26389 * sysdeps/powerpc/powerpc32/configure: Likewise.
26390 * sysdeps/sparc/configure: Likwise.
26391 * sysdeps/i386/configure: Likewise.
26392
a66877c6
MP
26393 * elf/dl-open.c: Comment fixes.
26394
cfc82fd8
JM
263952012-07-17 Joseph Myers <joseph@codesourcery.com>
26396
bd29910a
JM
26397 * Makefile [CXX] (check-data): Remove.
26398 [CXX] (c++-types.data): New vpath directive.
26399 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26400 vpath. Do not allow for C++ type data being missing.
26401 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26402 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26403 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26404 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26405 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26406 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26407 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26409 ... here.
26410 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26412 ... here.
26413 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26415 ... here.
26416 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26418 ... here.
26419 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26421 ... here.
26422 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26424 ... here.
26425 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26427 ... here.
26428 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26430
cfc82fd8
JM
26431 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26432 definitions to architecture-specific files.
26433 (TLS_IE): Likewise.
26434 (TLS_LD): Likewise.
26435 (TLS_GD): Likewise.
26436 * sysdeps/i386/tls-macros.h: New file.
26437 * sysdeps/powerpc/tls-macros.h: Likewise.
26438 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26439 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26440 * sysdeps/sh/tls-macros.h: Likewise.
26441 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26442 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26443 * sysdeps/x86_64/tls-macros.h: Likewise.
26444
f7db3170
TS
264452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26446
07cbfc23
TS
26447 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26448 zero value for regular exit case.
26449
f7db3170
TS
26450 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26451 (__start_context): Preserve zero value for regular exit case.
26452
dc97c227
TS
264532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26454 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26455
26456 * manual/setjmp.texi (setcontext): Clarify normal process
26457 termination when uc_link is the null pointer.
26458 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26459 exit call.
26460
d0cd7d02
AS
264612012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26462
26463 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26464 preprocessor. Test for each exception mask separately.
26465
dd318934
AJ
264662012-07-16 Andreas Jaeger <aj@suse.de>
26467
26468 * po/ru.po: Update from translation team.
26469
8048311a
JM
264702012-07-15 Joseph Myers <joseph@codesourcery.com>
26471
26472 * conform/data/string.h-data (NULL): Use macro-constant. Require
26473 equal to 0.
26474 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26475 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26476 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26477 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26478 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26479
b637d46e
AJ
264802012-07-13 Andreas Jaeger <aj@suse.de>
26481
26482 * po/fr.po: Update from translation team.
26483
541428fe
MP
264842012-07-12 Marek Polacek <polacek@redhat.com>
26485
26486 [BZ #14173]
26487 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26488 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26489 loop condition.
26490
ec332e94
JM
264912012-07-12 Joseph Myers <joseph@codesourcery.com>
26492
26493 [BZ #13717]
26494 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26495 Change to 2.4.1 where previously 2.4.0.
26496 * sysdeps/unix/sysv/linux/configure: Regenerated.
26497 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26498 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26499 version.
26500 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26501 (__ASSUME_AT_CLKTCK): Remove.
26502 (__ASSUME_AT_PAGESIZE): Likewise.
26503 (__ASSUME_AT_XID): Likewise.
26504 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26505 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26506 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26507 unconditionally.
26508 (HAVE_AUX_PAGESIZE): Likewise.
26509 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26510 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26511 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26512
7b6e99be
JB
265132012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26514
26515 [BZ #14307]
26516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26517 the temporary buffer used to invoke __gethostbyname2_r,
26518 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26519 host_data / struct gaih_addrtuple.
26520 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26521 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26522 header file nss/nsswitch.h.
26523 * nss/nsswitch.h (global scope): Add definition of implementation
26524 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26525 resolv/nss_dns/dns-host.c).
26526
608404eb
AJ
265272012-07-11 Andreas Jaeger <aj@suse.de>
26528
26529 * po/fr.po: Update from translation team.
26530
71220aca
AJ
26531 * po/sv.po: Update from translation team
26532 * po/fr.po: Another update from translation team.
26533
28cfe843
AZ
265342012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26535
26536 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26537 for subnormals or multiply small sinh result by itself.
26538 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26540
6b90f981
DM
265412012-07-11 David S. Miller <davem@davemloft.net>
26542
26543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26544
c6825772
AS
265452012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26546
26547 [BZ #14347]
26548 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26549 (INTERNAL_MARK): Shift it here.
26550
7b8e0d49
MP
265512012-07-10 Marek Polacek <polacek@redhat.com>
26552
26553 [BZ #14151]
26554 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26555 libc_cv_asm_global_directive with .globl.
26556 * configure: Regenerated.
26557 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26558 with .globl.
26559 * sysdeps/i386/configure: Regenerated.
26560 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26561 with .globl.
26562 * sysdeps/x86_64/configure: Regenerated.
26563 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26564 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26565 * elf/tst-unique2mod2.c: Likewise.
26566 * elf/tst-unique2mod1.c: Likewise.
26567 * elf/tst-unique1mod2.c: Likewise.
26568 * elf/tst-unique1mod1.c: Likewise.
26569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26570 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26571 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26572 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26573 * sysdeps/mach/sysdep.h: Likewise.
26574 * sysdeps/i386/sysdep.h: Likewise.
26575 * sysdeps/i386/i386-mcount.S: Likewise.
26576 * sysdeps/x86_64/_mcount.S: Likewise.
26577 * sysdeps/x86_64/sysdep.h: Likewise.
26578 * sysdeps/sh/_mcount.S: Likewise.
26579 * sysdeps/sh/sysdep.h: Likewise.
26580 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26581 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26582 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26583 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26584 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26585 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26586 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26587 * locale/localeinfo.h: Likewise.
26588 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26589 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26590
6c55cda3
RM
265912012-07-09 Roland McGrath <roland@hack.frob.com>
26592
26593 [BZ #14336]
26594 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26595 system".
26596 * manual/message.texi (The Uniforum approach): Likewise.
26597 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26598 (glibc iconv Implementation): Likewise.
26599
638a572e
JM
266002012-07-09 Joseph Myers <joseph@codesourcery.com>
26601
26602 [BZ #14337]
26603 * math/s_clog.c (__clog): Avoid scaling a value down where that
26604 could result in underflow.
26605 * math/s_clog10.c (__clog10): Likewise.
26606 * math/s_clog10f.c (__clog10f): Likewise.
26607 * math/s_clog10l.c (__clog10l): Likewise.
26608 * math/s_clogf.c (__clogf): Likewise.
26609 * math/s_clogl.c (__clogl): Likewise.
26610 * math/libm-test.inc (clog_test): Add more tests.
26611 (clog10_test): Likewise.
26612 * sysdeps/i386/fpu/libm-test-ulps: Update.
26613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26614
261f4859
AS
266152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26616
0abaf3e4
AS
26617 [BZ #14283]
26618 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26619 by 7 not 8 to examine high bit of fractional part.
26620
261f4859
AS
26621 [BZ #14042]
26622 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26623 for call to __mcount_internal.
26624 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26625 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26626 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26627
f17ac40d
JM
266282012-07-06 Joseph Myers <joseph@codesourcery.com>
26629
9ad63c23
JM
26630 [BZ #14154]
26631 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26632 approximation for values within 0x1p-13f of an odd multiple of
26633 pi/4.
26634 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26635 exception. Add more tests.
26636 * sysdeps/i386/fpu/libm-test-ulps: Update.
26637
f17ac40d
JM
26638 [BZ #6778]
26639 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26640 inputs and return -1 for them. Do not check for +Inf in case not
26641 reachable for +Inf.
26642 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26643 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26645 and return -1 for them. Do not check for +Inf in case not
26646 reachable for +Inf.
26647 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26648 define.
26649 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26650 and return -1 for them. Do not check for +Inf in case not
26651 reachable for +Inf.
26652 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26653 spurious underflow.
26654 * sysdeps/i386/fpu/libm-test-ulps: Update.
26655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26656
fb21f89b
MF
266572012-07-06 Mike Frysinger <vapier@gentoo.org>
26658
26659 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26660
cdfe2c5e
JM
266612012-07-05 Joseph Myers <joseph@codesourcery.com>
26662
26663 [BZ #14157]
26664 [BZ #14331]
26665 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26666 could result in spurious underflow. Scale down values above
26667 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26668 * math/s_csqrtf.c (__csqrtf): Likewise.
26669 * math/s_csqrtl.c (__csqrtl): Likewise.
26670 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26671 spurious underflow.
26672 * sysdeps/i386/fpu/libm-test-ulps: Update.
26673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26674
70d35b67
AS
266752012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26676
704bc459
AS
26677 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26678 xopen-msg.sed.
26679 * catgets/xopen-msg.awk: New file.
26680 * catgets/xopen-msg.sed: Removed.
26681
70d35b67
AS
26682 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26683 po2text.sed.
26684 * intl/po2test.awk: New file.
26685 * intl/po2test.sed: Removed.
26686
ca61cf32
JM
266872012-07-04 Joseph Myers <joseph@codesourcery.com>
26688
26689 [BZ #14328]
26690 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26691 or multiply small sinh result by itself.
26692 * math/s_ctanf.c (__ctanf): Likewise.
26693 * math/s_ctanh.c (__ctanh): Likewise.
26694 * math/s_ctanhf.c (__ctanhf): Likewise.
26695 * math/s_ctanhl.c (__ctanhl): Likewise.
26696 * math/s_ctanl.c (__ctanl): Likewise.
26697 * math/libm-test.inc (ctan_test_tonearest): New function.
26698 (ctan_test_towardzero): Likewise.
26699 (ctan_test_downward): Likewise.
26700 (ctan_test_upward): Likewise.
26701 (ctanh_test_tonearest): Likewise.
26702 (ctanh_test_towardzero): Likewise.
26703 (ctanh_test_downward): Likewise.
26704 (ctanh_test_upward): Likewise.
26705 (main): Call these new functions.
26706 * sysdeps/i386/fpu/libm-test-ulps: Update.
26707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26708
ca48a46a
MF
267092012-07-03 Mike Frysinger <vapier@gentoo.org>
26710
26711 * .gitignore: Delete /ports entry.
26712
9d63d37d
AJ
267132012-07-03 Andreas Jaeger <aj@suse.de>
26714
26715 * po/bg.po: Update from translation team.
26716 * po/cs.po: Likewise.
26717 * po/de.po: Likewise.
26718 * po/hr.po: Likewise.
26719 * po/nl.pl: Likewise.
26720 * po/pl.po: Likewise.
26721 * po/vi.po: Likewise.
26722
370ca3d2
JM
267232012-07-03 Joseph Myers <joseph@codesourcery.com>
26724
95f5a9a8
JM
26725 * Makeconfig [!+link] (+link-before-libc): New variable.
26726 [!+link] (+link-after-libc): Likewise.
26727 [!+link] (+link-tests): Likewise.
26728 [!+link] (+link): Define in terms of $(+link-before-libc) and
26729 $(+link-after-libc).
26730 [!+link-static] (+link-static-before-libc): New variable.
26731 [!+link-static] (+link-static-after-libc): Likewise.
26732 [!+link-static] (+link-static-tests): Likewise.
26733 [!+link-static] (+link-static): Define in terms of
26734 $(+link-static-before-libc) and $(+link-static-after-libc).
26735 [build-shared] (link-libc-before-gnulib): New variable.
26736 [build-shared] (link-libc-tests): Likewise.
26737 [build-shared] (link-libc): Define in terms of
26738 $(link-libc-before-gnulib).
26739 [!build-shared] (link-libc-tests): New variable.
26740 (link-libc-static-tests): New variable.
26741 [!gnulib] (gnulib-arch): New variable.
26742 [!gnulib] (gnulib-tests): Likewise.
26743 [!gnulib] (static-gnulib-arch): Likewise.
26744 [!gnulib] (static-gnulib-tests): Likewise.
26745 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26746 Define with "=" instead of ":=".
26747 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26748 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26749 * Rules (binaries-all-notests): New variable.
26750 (binaries-all-tests): Likewise.
26751 (binaries-static-notests): Likewise.
26752 (binaries-static-tests): Likewise.
26753 (binaries-all): Define using $(binaries-all-notests) and
26754 $(binaries-all-tests).
26755 (binaries-static): Define using $(binaries-static-notests) and
26756 $(binaries-static-tests).
26757 (binaries-shared-tests): New variable.
26758 (binaries-shared-notests): Likewise.
26759 (binaries-shared): Remove variable.
26760 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26761 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26762 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26763 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26764 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26765 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26766 * elf/Makefile (sln-modules): New variable.
26767 (extra-objs): Add $(sln-modules:=.o).
26768 (ldconfig-modules): Add static-stubs.
26769 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26770 * elf/static-stubs.c: New file.
26771
7a845b2c
JM
26772 [BZ #14283]
26773 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26774 by 7 not 8 to examine high bit of fractional part. Use volatile
26775 variables when splitting into final array of floats if
26776 __FLT_EVAL_METHOD__ != 0.
26777 * math/libm-test.inc (cos_test): Add another test.
26778 (sin_test): Likewise.
26779 * sysdeps/i386/fpu/libm-test-ulps: Update.
26780
e2283f38
JM
26781 [BZ #14273]
26782 * math/libm-test.inc (cosh_test): Add more tests.
26783
370ca3d2
JM
26784 * version.h (RELEASE): Set to "development".
26785 (VERSION): Set to "2.16.90".
26786
ee9247c3
CD
267872012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26788
26789 * NEWS: Update copyright. Remove last-updated date.
26790 Mention math library bug fixes and timezone data changes.
26791 * README: Mention GNU/Hurd, x32, and HPPA support status.
26792
4648c381
TS
267932012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26794
26795 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26796
aac78a43
AJ
267972012-06-27 Andreas Jaeger <aj@suse.de>
26798
26799 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26800
ed3dbfad
AJ
268012012-06-25 Andreas Jaeger <aj@suse.de>
26802
26803 * sysdeps/s390/fpu/libm-test-ulps: Update.
26804
4d0ee855
AS
268052012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26806 Thomas Schwinge <thomas@codesourcery.com>
26807
26808 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26809 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26811 fanotify_mark.
26812
af1bce34
TS
268132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26814
a9fa33ba
TS
26815 * sysdeps/mach/start.c: Remove file.
26816 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26817 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26818 * sysdeps/sh/init-first.c: Likewise.
26819
58f902b8
TS
26820 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26821 registers for frame unwinding purposes, add CFI directives.
26822 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26824 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26825 Likewise.
26826
1518f58b
TS
26827 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26828 __fortify_fail returning.
26829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26830
db9b5059
TS
26831 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26832 sysdeps/sh/____longjmp_chk.S.
26833 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26834 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26835 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26836 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26837
967705fe
TS
26838 * sysdeps/sh/abort-instr.h: New file.
26839 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26840 process in case exit returns.
26841
a9def8c4
TS
26842 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26843 initialize the GOT register before use.
26844
2a649725
TS
26845 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26846 calculation of ARGC > 4.
26847
af1bce34
TS
26848 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26849 meaningful names to some local labels.
26850
d230f50a
KK
268512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26852 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26853
26854 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26855 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26856 (__arch_compare_and_exchange_val_16_acq): Likewise.
26857 (__arch_compare_and_exchange_val_32_acq): Likewise.
26858 (atomic_exchange_and_add): Fix gUSA sequence.
26859 (atomic_add): Likewise.
26860 (atomic_add_negative): Likewise.
26861 (atomic_add_zero): Likewise.
26862 (atomic_bit_test_set): Likewise.
26863
0479b305
AS
268642012-06-22 Andreas Schwab <schwab@redhat.com>
26865
26866 [BZ #13579]
26867 * include/link.h (struct link_map): Add l_free_initfini.
26868 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26869 l_initfini.
26870 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26871 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26872 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26873 set.
26874
0e3933b9
CD
268752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26876
26877 * configure.in: Use AC_LANG_SOURCE.
26878 * configure: Regenerate.
26879
4248b1b1
RM
268802012-06-22 Roland McGrath <roland@hack.frob.com>
26881
26882 * configure.in (libc_cv_localstatedir): New substituted variable.
26883 * configure: Regenerated.
26884 * config.make.in (localstatedir): New variable, substituted from
26885 libc_cv_localstatedir.
26886 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26887 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26888 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26889 * sysdeps/gnu/configure: Regenerated.
26890
006dd861
JL
268912012-06-21 Jeff Law <law@redhat.com>
26892
26893 [BZ #14277]
26894 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26895 free. Simplify list management for _LIBC case.
26896
79662d42
JM
268972012-06-21 Joseph Myers <joseph@codesourcery.com>
26898
b7abb4bf
JM
26899 [BZ #14273]
26900 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26901 Clear sign bit of 64-bit integer value before comparing against
26902 overflow value.
26903
79662d42
JM
26904 * sysdeps/mach/configure: Regenerated.
26905
1f150908
L
269062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26907
26908 [BZ #14278]
26909 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26910
28363bbf
JL
269112012-06-21 Jeff Law <law@redhat.com>
26912
26913 [BZ #13882]
26914 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26915 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26916 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26917 * elf/dl-open.c (dl_open_worker): Likewise.
26918
09615db4
CD
269192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26920
26921 * scripts/list-sources.sh: Scan PORTS for translations.
26922 * po/libc.pot: Regenerated.
26923
2174c6dd
AJ
269242012-06-21 Andreas Jaeger <aj@suse.de>
26925
26926 [BZ #12194]
26927 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26928 warning.
26929 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26930 * bits/byteswap-16.h (__bswap_16): Likewise.
26931 * bits/byteswap.h (__bswap_constant_16): Likewise.
26932
3ee947b1
L
269332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26934
26935 [BZ #14117]
a2f34833
L
26936 * sysdeps/i386/fpu_control.h: Removed.
26937 * sysdeps/x86_64/fpu_control.h: Moved to ...
26938 * sysdeps/x86/fpu_control.h: Here.
26939
3ee947b1
L
26940 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26941 (_FPU_SETCW): Likewise.
26942
ed1825f8
L
269432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26944
25f1282a
L
26945 [BZ #14117]
26946 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26947 * sysdeps/x86/fpu/bits/mathinline.h: This.
26948 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26949
ed1825f8
L
26950 [BZ #14050]
26951 [BZ #14117]
26952 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26953 functions if __x86_64__ is defined.
26954
36d54b74
CLT
269552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26956
26957 * string/endian.h: Add !__ASSEMBLER__ condition for including
26958 conversion interfaces.
26959
10285c21
JM
269602012-06-15 Joseph Myers <joseph@codesourcery.com>
26961
26962 [BZ #14241]
26963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26964 of ABS(x) in calculating zero to negative powers other than odd
26965 integers.
26966 * math/libm-test.inc (pow_test): Add more tests.
26967
06c5abbd
AJ
269682012-06-15 Andreas Jaeger <aj@suse.de>
26969
26970 * manual/contrib.texi (Contributors): Update entry of Liubov
26971 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26972 Machado Filho.
26973
a3aeac40
CH
269742012-06-15 Cyril Hrubis <metan@ucw.cz>
26975
26976 * string/string.h: Add __wur to GNU version of strerror_r.
26977
49bdf4c1
L
269782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26979
26980 [BZ #14229]
26981 * string/Makefile (tests): Add tst-strtok_r.
26982 * string/tst-strtok_r.c: New file.
26983 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26984 RAX_LP/RDX_LP on SAVE_PTR.
26985
834f9b8d
RM
269862012-06-14 Roland McGrath <roland@hack.frob.com>
26987
26988 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26989
75fa1921
JM
269902012-06-14 Joseph Myers <joseph@codesourcery.com>
26991
26992 * libm_test.inc (csqrt_test): Allow more spurious underflow
26993 exceptions.
26994 (j0_test): Likewise.
26995 (j1_test): Likewise.
26996 (y0_test): Likewise.
26997 (y1_test): Likewise.
26998
771766df
CD
269992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27000
27001 * po/Makefile (libc.pot): Use UTF-8 charset.
27002
ceb9e56b
PP
270032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27004
27005 [BZ #14210]
27006 Suppress sign-conversion warning from FD_SET.
27007 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27008 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27009 not unsigned long int.
27010 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27011
ddb28975
L
270122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27013
27014 [BZ #14050]
27015 [BZ #14117]
27016 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27017 __extern_always_inline instead of __extern_inline.
27018 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27019 (__signbit): Likewise.
27020 (__signbitl): Support C++ namespace.
27021 (lrintf): New inline function.
27022 (lrint): Likewise.
27023 (llrintf): Likewise.
27024 (llrint): Likewise.
27025 (fmaxf): Likewise.
27026 (fmax): Likewise.
27027 (fminf): Likewise.
27028 (fmin): Likewise.
27029 (rint): Likewise.
27030 (rintf): Likewise.
27031 (ceil): Likewise.
27032 (ceilf): Likewise.
27033 (floor): Likewise.
27034 (floorf): Likewise.
27035 (nearbyint): Likewise.
27036 (nearbyintf): Likewise.
27037
d7b4fb26
TS
270382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27039
27040 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27041 non-default versions.
27042
eb55f5c2
RM
270432012-06-11 Roland McGrath <roland@hack.frob.com>
27044
27045 [BZ #14218]
27046 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27047
366af02c
TS
270482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27049
99ff6e5c
TS
27050 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27051 (FE_UPWARD, FE_DOWNWARD): Don't define.
27052 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27053 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27054
366af02c
TS
27055 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27056 reading it.
27057 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27058 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27059
793ea851
KK
270602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27061
27062 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27064 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27065 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27066
a728a38f
L
270672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27068
27069 [BZ #14117]
c08010c7
L
27070 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27071 * sysdeps/i386/fpu/Implies: New file.
27072 * sysdeps/x86_64/fpu/Implies: Likewise.
27073 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27074 * sysdeps/x86/fpu/bits/fenv.h: This.
27075
a728a38f
L
27076 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27077 __SSE_MATH__.
27078
6e230d11
SP
270792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27080
27081 [BZ #14134]
27082 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27083 character 0xffff that matches the last element of the
27084 conversion table.
27085
1b671feb
AZ
270862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27087
27088 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27089 fmodl commit.
27090
6043738b
AZ
270912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27092
27093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27094 values higher than 25.6283.
27095
34ae0b32
AZ
270962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27097
27098 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27099 subnormal exponent extraction and add some __builtin_expect.
27100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27101 Fix for subnormal mantissa calculation.
27102
1214ec8f
MF
271032012-06-04 Mike Frysinger <vapier@gentoo.org>
27104
27105 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27106 cpu2 is -1 and errno is not ENOSYS.
27107
f3d1f93c
L
271082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27109
27110 [BZ #14117]
0e4a3cd7
L
27111 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27112 * sysdeps/x86/bits/string.h: This.
27113 * sysdeps/x86_64/bits/string.h: Removed.
27114
6704c645
L
27115 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27116 if not compiling for x86-64, but compiling for >= i486.
27117
48495318
L
27118 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27119 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27120
14adcbfc
L
27121 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27122 New macro from Linux kernel 3.4.0.
27123 (FP_XSTATE_MAGIC2): Likewise.
27124 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27125 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27126 (struct _fpx_sw_bytes): New struct.
27127 (struct _xsave_hdr): Likewise.
27128 (struct _ymmh_state): Likewise.
27129 (struct _xstate): Likewise.
27130
68e408ab
L
27131 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27132 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27133 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27134 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27135 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27136 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27137
f3d1f93c
L
27138 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27139 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27140 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27141 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27142 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27143 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27144
d9dc34cd
TMQMF
271452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27146
27147 [BZ #13743]
27148 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27149 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27150 (sysdep_headers): Include sys/platform/ppc.h.
27151 * sysdeps/powerpc/test-gettimebase.c: Test for
27152 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27153 * manual/Makefile (appendices): Include platform.texi.
27154 * manual/contrib.texi (Contributors): Update @node pointers.
27155 * manual/maint.texi (Maintenance): Likewise.
27156 (Platform): New node.
27157 * manual/platform.texi: New file. Document the new features.
27158
4af3879c
SP
271592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27160 Jakub Jelinek <jakub@redhat.com>
27161
27162 [BZ #14188]
27163 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27164 where __builtin_expect is unavailable.
27165
2fd6ff13
DM
271662012-06-03 David S. Miller <davem@davemloft.net>
27167
27168 * stdlib/longlong.h: Updated from GCC.
27169
173f7220
AS
271702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27171
27172 [BZ #14042]
27173 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27174 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27175 __mcount_internal.
27176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27177 (GLIBC_2.16): Likewise.
27178
f34a1c6f
L
271792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27180
27181 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27182
88a4576f
JM
271832012-06-01 Joseph Myers <joseph@codesourcery.com>
27184
ea32bcdd
JM
27185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27186 (default-abi): New variable.
27187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27188 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27189 variable.
27190 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27191 Likewise.
27192 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27193 Likewise.
27194 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27195 Likewise.
27196
88a4576f
JM
27197 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27198 definition. Document in comment.
27199
402fe938
DM
272002012-06-01 David S. Miller <davem@davemloft.net>
27201
27202 * stdlib/longlong.h: Updated from GCC.
27203
3553723f
L
272042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27205
27206 [BZ #14117]
3bd872c4
L
27207 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27208 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27209 sys/debugreg.h sys/io.h here.
27210 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27211 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27212 sys/io.h.
27213 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27214 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27215 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27216 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27217 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27218 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27219
3553723f
L
27220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27221 Define only if __x86_64__ is defined.
27222
4842e4fe
JM
272232012-06-01 Joseph Myers <joseph@codesourcery.com>
27224
c5bfe3d5
JM
27225 [BZ #14048]
27226 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27227 Use int64_t for variable i.
27228 * math/libm-test.inc (fmod_test): Add more tests.
27229
4842e4fe
JM
27230 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27231 z computation is not scheduled after fetestexcept.
27232 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27233 Use math_force_eval instead of asm to ensure calculation scheduled
27234 before exception test.
27235 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27236 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27237
efb73488
AJ
272382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27239
27240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27241 computation is not scheduled after fetestexcept.
27242
29bcce7c
L
272432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27244
27245 [BZ #14117]
27246 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27247 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27248
73a68f94
AZ
272492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27250
27251 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27252 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27253
67b6df78
L
272542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27255
edf2933a 27256 [BZ #14117]
ebc64a18
L
27257 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27258 <bits/wordsize.h>.
27259 (__WCHAR_MIN): Support __WORDSIZE == 64.
27260 (__WCHAR_MAX): Likewise.
27261
edf2933a
L
27262 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27263 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27264
57c6cf40
L
27265 [BZ #14183]
27266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27267 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27268
67b6df78 27269 [BZ #14117]
8eb6281e
L
27270 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27271 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27272
aac639f4
L
27273 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27274 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27275
67b6df78
L
27276 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27277 Defined to 1 if __x86_64__ isn't defined.
27278 (_STAT_VER_LINUX_OLD): New.
27279 (st_atime): Remove duplicate.
27280 (st_mtime): Likewise.
27281 (st_ctime): Likewise.
27282
1c2cfe81
DM
272832012-05-31 David S. Miller <davem@davemloft.net>
27284
27285 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27286 entries.
27287
5be8418c
AS
272882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27289
e7725326
AS
27290 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27291 gen-libm-test.pl.
27292
5be8418c
AS
27293 [BZ #14132]
27294 * elf/dl-reloc.c: Include <_itoa.h>.
27295 (_dl_reloc_bad_type): Remove use of INTUSE.
27296 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27297 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27298 * stdio-common/psiginfo.c (psiginfo): Likewise.
27299 * stdio-common/psignal.c (psignal): Likewise.
27300 * string/strsignal.c (strsignal): Likewise.
27301 * include/signal.h (_sys_siglist): Declare hidden proto.
27302 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27303 INTVARDEF with libc_hidden_data_def.
27304 * stdio-common/itoa-udigits.c: Likewise.
27305 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27306 (_itoa_lower_digits_internal): Remove declaration.
27307 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27308 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27309 (_sys_sigabbrev_internal): Remove aliases.
27310 (_sys_siglist): Define hidden alias.
27311
507352f1
MT
273122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27313
27314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27315 bits/sysctl.h.
27316
42bbb1c3
L
273172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27318
27319 [BZ #14117]
6bd784b6
L
27320 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27321 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27322
8bca20f0
L
27323 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27324 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27325 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27326 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27327 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27328 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27329
f9e890a9
L
27330 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27331 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27332 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27333
471101a1
L
27334 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27335 with __addr.
27336 (insw): Likewise.
27337 (insl): Likewise.
27338 (outsb): Likewise.
27339 (outsw): Likewise.
27340 (outsl): Likewise.
27341
6451c862
L
27342 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27343 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27344 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27345
a254b8c9
L
27346 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27347 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27348 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27349 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27350 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27351 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27352
b8dfdd92
L
27353 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27354 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27355
578cd270
L
27356 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27357 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27358
de662f5f
L
27359 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27360 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27361 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27362
25653439
L
27363 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27364 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27365 to ...
27366 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27367
6bad24a0
L
27368 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27369 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27370 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27371
42bbb1c3
L
27372 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27373 for x86-64.
27374 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27375
2d10d547
JM
273762012-05-31 Joseph Myers <joseph@codesourcery.com>
27377
27378 * math/math.h (M_El): Use two more decimal places.
27379 (M_LOG2El): Likewise.
27380 (M_LOG10El): Likewise.
27381 (M_LN2l): Likewise.
27382 (M_LN10l): Likewise.
27383 (M_PIl): Likewise.
27384 (M_PI_2l): Likewise.
27385 (M_PI_4l): Likewise.
27386 (M_1_PIl): Likewise.
27387 (M_2_PIl): Likewise.
27388 (M_2_SQRTPIl): Likewise.
27389 (M_SQRT2l): Likewise.
27390 (M_SQRT1_2l): Likewise.
27391
f230c29b
DM
273922012-05-31 David S. Miller <davem@davemloft.net>
27393
27394 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27395 values between float registers.
27396 * sysdeps/sparc/sparc64/memset.S: Likewise.
27397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27398
fed806c3
MF
273992012-05-31 Mike Frysinger <vapier@gentoo.org>
27400
27401 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27402 -D_FORTIFY_SOURCE=1.
27403 (CPPFLAGS-tst-longjmp_chk.c): Define.
27404 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27405 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27406 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27407 CFLAGS-tst-wchar-h.c.
27408
30917259
MP
274092012-05-31 Marek Polacek <polacek@redhat.com>
27410
27411 [BZ #14132]
27412 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27413 __endmntent_internal): Remove declaration.
27414 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27415 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27416 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27417
1c58d5dc
DM
274182012-05-30 David S. Miller <davem@davemloft.net>
27419
27420 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27421 (___Q_simulate_exceptions): Use real FP ops rather than writing
27422 into the %fsr.
27423 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27424 Likewise.
27425
7dc00e0d
L
274262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27427
27428 [BZ #14117]
0bd53985
L
27429 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27430 * sysdeps/x86/bits/xtitypes.h: This.
27431
3a257e66
L
27432 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27433 * sysdeps/x86/bits/wordsize.h: This.
27434
62f62904
L
27435 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27436 * sysdeps/x86/bits/huge_vall.h: This.
27437
404fe9d9
L
27438 * sysdeps/i386/bits/select.h: Removed.
27439 * sysdeps/x86_64/bits/select.h: Renamed to ...
27440 * sysdeps/x86/bits/select.h: This.
27441
d48d0446
L
27442 * sysdeps/i386/bits/setjmp.h: Removed.
27443 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27444 * sysdeps/x86/bits/setjmp.h: This.
27445
7dc00e0d
L
27446 * sysdeps/i386/bits/mathdef.h: Removed.
27447 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27448 * sysdeps/x86/bits/mathdef.h: This.
27449
03277f8f
AS
274502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27451
27452 [BZ #14132]
27453 * include/sys/socket.h (__connect_internal)
27454 (__libc_sa_len_internal): Remove declaration.
27455 (__connect, __libc_sa_len): Declare hidden_proto.
27456 (SA_LEN): Remove use of INTUSE.
27457 * socket/connect.c: Add libc_hidden_def.
27458 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27459 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27460 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27461 alias.
27462 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27463 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27464 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27465 of adding _internal alias.
27466
13764867
L
274672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27468
27469 [BZ #14117]
6bd97696
L
27470 * sysdeps/i386/bits/link.h: Removed.
27471 * sysdeps/i386/bits/linkmap.h: Likewise.
27472 * sysdeps/x86_64/bits/link.h: Renamed to ...
27473 * sysdeps/x86/bits/link.h: This.
27474 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27475 * sysdeps/x86/bits/linkmap.h: This.
27476
f726f0bb
L
27477 * sysdeps/i386/bits/endian.h: Removed.
27478 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27479 * sysdeps/x86/bits/endian.h: This.
27480
13764867
L
27481 * sysdeps/i386/bits/byteswap.h: Removed.
27482 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27483 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27484 * sysdeps/x86/bits/byteswap.h: This.
27485 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27486 * sysdeps/x86/bits/byteswap-16.h: This.
27487 * sysdeps/i386/Implies: Add x86.
27488 * sysdeps/x86_64/Implies: Likewise.
27489
ae251b0b
DM
274902012-05-30 David S. Miller <davem@davemloft.net>
27491
27492 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27493 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27494 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27495 (FP_TRAPPING_EXCEPTIONS): Define.
27496 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27497 (FP_TRAPPING_EXCEPTIONS): Define.
27498 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27499 subnormals only when inexact has been signalled or underflow
27500 exceptions are enabled.
27501 (_FP_PACK_CANONICAL): Likewise.
27502
d5c90867
L
275032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27504
27505 [BZ #14183]
27506 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27507 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27508
63f1549e
RH
275092012-05-30 Richard Henderson <rth@twiddle.net>
27510
8d8f2279
RH
27511 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27512 with #ifndef NOT_IN_libc.
27513
63f1549e
RH
27514 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27515 marked to avoid plt entry.
27516
0ab0291b
L
275172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27518
27519 [BZ #14112]
27520 * Makeconfig (default-abi): New macro.
27521 (abi-includes): Likewise.
27522 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27523 $(abi-$(default-abi)-lib-soname) for soname if defined.
27524 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27525 abi-variants.
27526 * Makefile (installed-stubs): Likewise.
27527 * include/stubs-biarch.h: Removed.
27528 * scripts/lib-names.awk: Only handle one library at a time.
27529 * scripts/soversions.awk: Remove WORDSIZE support.
27530 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27531 entries.
27532 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27533 Removed.
27534 (syscall-list-default-condition): Likewise.
27535 (syscall-list-default-condition): Likewise.
27536 (syscall-list-includes): Likewise.
27537 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27538 syscall-list-* with abi-*. Handle undefined abi-variants.
27539 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27540 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27541 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27542 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27543 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27544 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27545 Removed.
27546 (syscall-list-32-options): Likewise.
27547 (syscall-list-32-condition): Likewise.
27548 (syscall-list-64-options): Likewise.
27549 (syscall-list-64-condition): Likewise.
27550 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27551 macro.
27552 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27553 Renamed to ...
27554 (abi-*): This.
27555 (abi-64-ld-soname): New macro.
27556 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27557 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27558 Renamed to ...
27559 (abi-*): This.
27560 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27561 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27562
4da0431d
JM
275632012-05-30 Joseph Myers <joseph@codesourcery.com>
27564
3a85279c
JM
27565 * sysdeps/unix/sysv/linux/kernel-features.h
27566 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27567 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27568 include <kernel-features.h>.
27569 [!__NR_ftruncate64]: Remove conditional code.
27570 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27571 [__NR_ftruncate64]: Make code unconditional.
27572 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27573 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27574 include <kernel-features.h>.
27575 [!__NR_ftruncate64]: Remove conditional code.
27576 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27577 [__NR_ftruncate64]: Make code unconditional.
27578 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27580 include <kernel-features.h>.
27581 [!__NR_ftruncate64]: Remove conditional code.
27582 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27583 [__NR_ftruncate64]: Make code unconditional.
27584 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27586 include <kernel-features.h>.
27587 [!__NR_ftruncate64]: Remove conditional code.
27588 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27589 [__NR_ftruncate64]: Make code unconditional.
27590 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27591
4da0431d
JM
27592 * configure.in (libc_cv_fpie): Weaken to a compile test using
27593 LIBC_TRY_CC_OPTION.
27594 * configure: Regenerated.
27595
11ef492c
AK
275962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27597
27598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27602 Refreshed.
27603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27609 Refreshed.
27610
d66ef399
DM
276112012-05-27 David S. Miller <davem@davemloft.net>
27612
27613 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27614 (___Q_zero): New.
27615 (__Q_simulate_exceptions): Return void. Change to simulate
27616 exceptions by writing into the %fsr.
27617 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27618 (__Qp_handle_exceptions): Likewise.
27619 (numbers): Delete.
27620 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27621 __Qp_handle_exceptions.
27622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27623 __Qp_handle_exceptions.
27624 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27625 as unused and give dummy FP_RND_NEAREST initializer.
27626 (FP_INHIBIT_RESULTS): Define.
27627 (___Q_simulate_exceptions): Update declaration.
27628 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27629 formatting.
27630 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27631 as unused and give dummy FP_RND_NEAREST initializer.
27632 (__Qp_handle_exceptions): Update declaration.
27633 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27634 formatting.
27635
04fb54b5
TS
276362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27637
27638 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27639 the temporary FPU control word.
27640 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27641 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27642 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27643 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27644 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27645 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27646 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27647 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27648 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27649 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27651
3f99608f
KK
276522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27653
27654 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27655 fields.
27656
65a4de4e
CLT
276572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27658
27659 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27660 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27661 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27662 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27663 Likewise.
27664 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27665 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27666 Likewise.
27667
15749d40
UD
276682012-05-27 Ulrich Drepper <drepper@gmail.com>
27669
27670 * po/h.po: Update from translation team.
27671
25dbcb27
AS
276722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27673
3d3f8e55
AS
27674 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27675
25dbcb27
AS
27676 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27677 handling of denormals.
27678 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27679 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27680 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27681 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27683 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27685 Likewise.
27686
7ad47a80 276872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27688
27689 [BZ #14152]
27690 * math/libm-test.inc (fma_test): Don't always expect underflow
27691 exception.
27692
9c6ea9fa
SP
276932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27694
27695 [BZ #12416]
27696 * elf/tst-execstack.c: Include stackinfo.h.
27697 (do_test): Adjust test case to ensure that pthread_getattr_np
27698 behaviour remains the same after marking stack executable.
27699
a8239222
JM
277002012-05-25 Joseph Myers <joseph@codesourcery.com>
27701
27702 * sysdeps/unix/sysv/linux/kernel-features.h
27703 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27704 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27705 kernel-features.h.
27706 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27707 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27708 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27709 kernel-features.h.
27710 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27711 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27712
918b5606
L
277132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27714
27715 * configure.in: Define the default includes to being none.
27716 * configure: Regenerated.
27717
3a097cc7
RM
277182012-05-25 Roland McGrath <roland@hack.frob.com>
27719
8422c9a5
RM
27720 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27721 * sysdeps/x86_64/setjmp.S: Likewise.
27722 * sysdeps/i386/bsd-setjmp.S: Likewise.
27723 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27724 * sysdeps/i386/setjmp.S: Likewise.
27725 * sysdeps/i386/__longjmp.S: Likewise.
27726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27727 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27728
3a097cc7
RM
27729 * include/stap-probe.h: New file.
27730 * configure.in: Handle --enable-systemtap.
27731 * configure: Regenerated.
27732 * config.h.in (USE_STAP_PROBE): New #undef.
27733 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27734 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27735 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27736
21708942
JM
277372012-05-25 Joseph Myers <joseph@codesourcery.com>
27738
27739 [BZ #13717]
27740 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27741 to 2.4.0 where earlier.
27742 * sysdeps/unix/sysv/linux/configure: Regenerated.
27743 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27744 <kernel-features.h>.
27745 [__ASSUME_32BITUIDS]: Make code unconditional.
27746 [!__ASSUME_32BITUIDS]: Remove conditional code.
27747 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27748 <kernel-features.h>.
27749 [__ASSUME_32BITUIDS]: Make code unconditional.
27750 [!__ASSUME_32BITUIDS]: Remove conditional code.
27751 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27752 [__ASSUME_32BITUIDS]: Make code unconditional.
27753 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27754 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27755 <kernel-features.h>.
27756 [__ASSUME_32BITUIDS]: Make code unconditional.
27757 [!__ASSUME_32BITUIDS]: Remove conditional code.
27758 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27759 <kernel-features.h>.
27760 [__ASSUME_32BITUIDS]: Make code unconditional.
27761 [!__ASSUME_32BITUIDS]: Remove conditional code.
27762 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27763 <kernel-features.h>.
27764 [__ASSUME_32BITUIDS]: Make code unconditional.
27765 [!__ASSUME_32BITUIDS]: Remove conditional code.
27766 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27767 <kernel-features.h>.
27768 [__ASSUME_32BITUIDS]: Make code unconditional.
27769 [!__ASSUME_32BITUIDS]: Remove conditional code.
27770 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27771 <kernel-features.h>.
27772 [__ASSUME_32BITUIDS]: Make code unconditional.
27773 [!__ASSUME_32BITUIDS]: Remove conditional code.
27774 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27775 <kernel-features.h>.
27776 [__ASSUME_32BITUIDS]: Make code unconditional.
27777 [!__ASSUME_32BITUIDS]: Remove conditional code.
27778 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27779 <kernel-features.h>.
27780 [__ASSUME_32BITUIDS]: Make code unconditional.
27781 [!__ASSUME_32BITUIDS]: Remove conditional code.
27782 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27783 <kernel-features.h>.
27784 [__ASSUME_32BITUIDS]: Make code unconditional.
27785 [!__ASSUME_32BITUIDS]: Remove conditional code.
27786 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27787 <kernel-features.h>.
27788 [__ASSUME_32BITUIDS]: Make code unconditional.
27789 [!__ASSUME_32BITUIDS]: Remove conditional code.
27790 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27791 <kernel-features.h>.
27792 [__ASSUME_32BITUIDS]: Make code unconditional.
27793 [!__ASSUME_32BITUIDS]: Remove conditional code.
27794 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27795 <kernel-features.h>.
27796 [__NR_setresgid] (__setresgid): Do not declare.
27797 [__ASSUME_32BITUIDS]: Make code unconditional.
27798 [!__ASSUME_32BITUIDS]: Remove conditional code.
27799 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27800 <kernel-features.h>.
27801 [__NR_setresuid] (__setresuid): Do not declare.
27802 [__ASSUME_32BITUIDS]: Make code unconditional.
27803 [!__ASSUME_32BITUIDS]: Remove conditional code.
27804 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27805 <kernel-features.h>.
27806 [__ASSUME_32BITUIDS]: Make code unconditional.
27807 [!__ASSUME_32BITUIDS]: Remove conditional code.
27808 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27809 <kernel-features.h>.
27810 [__ASSUME_32BITUIDS]: Make code unconditional.
27811 [!__ASSUME_32BITUIDS]: Remove conditional code.
27812 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27813 <kernel-features.h>.
27814 [__ASSUME_32BITUIDS]: Make code unconditional.
27815 [!__ASSUME_32BITUIDS]: Remove conditional code.
27816 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27817 <kernel-features.h>.
27818 [__ASSUME_32BITUIDS]: Make code unconditional.
27819 [!__ASSUME_32BITUIDS]: Remove conditional code.
27820 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27821 <kernel-features.h>.
27822 [__ASSUME_32BITUIDS]: Make code unconditional.
27823 [!__ASSUME_32BITUIDS]: Remove conditional code.
27824 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27825 <kernel-features.h>.
27826 [__ASSUME_32BITUIDS]: Make code unconditional.
27827 [!__ASSUME_32BITUIDS]: Remove conditional code.
27828 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27829 <kernel-features.h>.
27830 [__ASSUME_32BITUIDS]: Make code unconditional.
27831 [!__ASSUME_32BITUIDS]: Remove conditional code.
27832 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27833 <kernel-features.h>.
27834 [__ASSUME_32BITUIDS]: Make code unconditional.
27835 [!__ASSUME_32BITUIDS]: Remove conditional code.
27836 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27837 <kernel-features.h>.
27838 [__ASSUME_32BITUIDS]: Make code unconditional.
27839 [!__ASSUME_32BITUIDS]: Remove conditional code.
27840 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27841 <kernel-features.h>.
27842 [__ASSUME_32BITUIDS]: Make code unconditional.
27843 [!__ASSUME_32BITUIDS]: Remove conditional code.
27844 * sysdeps/unix/sysv/linux/kernel-features.h
27845 (__ASSUME_SETRESUID_SYSCALL): Remove.
27846 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27847 (__ASSUME_32BITUIDS): Likewise.
27848 (__ASSUME_LDT_WORKS): Likewise.
27849 (__ASSUME_O_DIRECTORY): Likewise.
27850 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27851 architecture but not kernel version.
27852 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27853 (__ASSUME_MMAP2_SYSCALL): Likewise.
27854 (__ASSUME_STAT64_SYSCALL): Likewise.
27855 (__ASSUME_IPC64): Likewise.
27856 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27857 <kernel-features.h>.
27858 [__ASSUME_32BITUIDS]: Make code unconditional.
27859 [!__ASSUME_32BITUIDS]: Remove conditional code.
27860 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27861 <kernel-features.h>.
27862 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27863 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27864 132096]: Remove conditional code.
27865 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27866 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27867 <kernel-features.h>.
27868 [__ASSUME_32BITUIDS]: Make code unconditional.
27869 [!__ASSUME_32BITUIDS]: Remove conditional code.
27870 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27871 <kernel-features.h>.
27872 [__ASSUME_32BITUIDS]: Make code unconditional.
27873 [!__ASSUME_32BITUIDS]: Remove conditional code.
27874 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27875 <kernel-features.h>.
27876 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27877 unconditional.
27878 (__setresgid): Do not declare.
27879 [__ASSUME_32BITUIDS]: Make code unconditional.
27880 [!__ASSUME_32BITUIDS]: Remove conditional code.
27881 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27882 <kernel-features.h>.
27883 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27884 unconditional.
27885 (__setresuid): Do not declare.
27886 [__ASSUME_32BITUIDS]: Make code unconditional.
27887 [!__ASSUME_32BITUIDS]: Remove conditional code.
27888 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27889 <kernel-features.h>.
27890 [__ASSUME_32BITUIDS]: Make code unconditional.
27891 [!__ASSUME_32BITUIDS]: Remove conditional code.
27892 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27893 <kernel-features.h>.
27894 [__ASSUME_32BITUIDS]: Make code unconditional.
27895 [!__ASSUME_32BITUIDS]: Remove conditional code.
27896
a386f1cc
RH
278972012-05-25 Richard Henderson <rth@twiddle.net>
27898
27899 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27900 dl_hwcap to ifunc resolver.
27901 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27902 elf_ifunc_invoke.
27903 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27904 dl_hwcap to ifunc resolver.
27905 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27906
b6550497
JM
279072012-05-24 Joseph Myers <joseph@codesourcery.com>
27908
27909 [BZ #14153]
27910 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27911 for |x| <= 2**-26, not 2**-57.
27912 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27913 exception.
27914
b0bc23a1
JL
279152012-05-24 Jeff Law <law@redhat.com>
27916
27917 * stdio-common/Makefile (tests): Add bug25.
27918 * stdio-common/bug25.c: New test.
27919
347c92e9
L
279202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27921
27922 [BZ #13576]
27923 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27924 multiple of MALLOC_ALIGNMENT in size.
27925 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27926
6bcc8b3f
JM
279272012-05-24 Joseph Myers <joseph@codesourcery.com>
27928
27929 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27930 Require >= 256.
27931 (FILENAME_MAX): Use macro-int-constant.
27932 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27933 (_IOFBF): Use macro-int-constant.
27934 (_IOLBF): Likewise.
27935 (_IONBF): Likewise.
27936 (SEEK_CUR): Likewise.
27937 (SEEK_END): Likewise.
27938 (SEEK_SET): Likewise.
27939 (TMP_MAX): Likewise.
27940 (EOF): Use macro-int-constant. Require < 0.
27941 (NULL): Use macro-constant. Require == 0.
27942 (stdin): Require type to be FILE *.
27943 (stdout): Likewise.
27944 (stderr): Likewise.
27945 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27946 macro-int-constant.
27947 (EXIT_SUCCESS): Likewise.
27948 (NULL): Use macro-constant. Require == 0.
27949 (RAND_MAX): Use macro-int-constant.
27950 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27951 [C99-based standards] (strtof): Require function.
27952 [C99-based standards] (strtold): Likewise.
27953 [C99-based standards] (strtoll): Likewise.
27954 [C99-based standards] (strtoull): Likewise.
27955 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27956 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27957 [ISO || ISO99 || ISO11] (math.h): Likewise.
27958 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27959 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27961
d18ea0c5
AS
279622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27963
27964 [BZ #14132]
56d25bb8
AS
27965 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27966 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27967 * intl/dgettext.c (DCGETTEXT): Likewise.
27968 * intl/gettext.c (DCGETTEXT): Likewise.
27969 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27970 * posix/regex_internal.h (gettext): Likewise.
27971 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27972 Remove declaration.
27973 * include/argz.h (__argz_count_internal)
27974 (__argz_stringify_internal): Remove declaration.
27975 (__argz_count, __argz_stringify): Declare hidden proto.
27976 * intl/dcgettext.c: Remove use of INTDEF.
27977 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27978 * string/argz-stringify.c: Likewise.
27979 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27980 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27981 Declare hidden proto.
d18ea0c5
AS
27982 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27983 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27984 Declare hidden proto.
27985 * include/stdio.h (__asprintf_internal): Don't declare.
27986 (__asprintf): Don't define as macro. Declare hidden proto.
27987 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27988 (__fsetlocking): Declare hidden proto.
27989 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27990 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27991 hidden proto.
27992 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27993 (_IO_setlinebuf): Remove use of INTUSE.
27994 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27995 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27996 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27997 Remove declaration.
27998 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27999 (_IO_do_flush): Remove use of INTUSE.
28000 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28001 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28002 (_IO_adjust_column, _IO_least_wmarker)
28003 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28004 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28005 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28006 (_IO_default_doallocate, _IO_wdefault_doallocate)
28007 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28008 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28009 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28010 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28011 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28012 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28013 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28014 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28015 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28016 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28017 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28018 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28019 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28020 proto.
28021 (_IO_flush_all_internal, _IO_adjust_column_internal)
28022 (_IO_default_uflow_internal, _IO_default_finish_internal)
28023 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28024 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28025 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28026 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28027 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28028 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28029 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28030 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28031 (_IO_file_close_internal, _IO_file_close_it_internal)
28032 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28033 (_IO_file_init_internal, _IO_file_attach_internal)
28034 (_IO_file_fopen_internal, _IO_file_read_internal)
28035 (_IO_file_sync_internal, _IO_file_seek_internal)
28036 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28037 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28038 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28039 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28040 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28041 (_IO_list_all_internal, _IO_link_in_internal)
28042 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28043 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28044 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28045 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28046 (_IO_do_write_internal, _IO_padn_internal)
28047 (_IO_getline_info_internal, _IO_getline_internal)
28048 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28049 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28050 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28051 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28052 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28053 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28054 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28055 with libc_hidden_ver, remove use of INTUSE.
28056 * libio/genops.c: Likewise.
28057 * libio/freopen.c: Likewise.
28058 * libio/freopen64.c: Likewise.
28059 * libio/iofclose.c: Likewise.
28060 * libio/iofdopen.c: Likewise.
28061 * libio/iofflush.c: Likewise.
28062 * libio/iofflush_u.c: Likewise.
28063 * libio/iofgets.c: Likewise.
28064 * libio/iofgets_u.c: Likewise.
28065 * libio/iofopen.c: Likewise.
28066 * libio/iofopncook.c: Likewise.
28067 * libio/iofread.c: Likewise.
28068 * libio/iofread_u.c: Likewise.
28069 * libio/ioftell.c: Likewise.
28070 * libio/iofwrite.c: Likewise.
28071 * libio/iogetline.c: Likewise.
28072 * libio/iogets.c: Likewise.
28073 * libio/iogetwline.c: Likewise.
28074 * libio/iopadn.c: Likewise.
28075 * libio/iopopen.c: Likewise.
28076 * libio/ioseekoff.c: Likewise.
28077 * libio/ioseekpos.c: Likewise.
28078 * libio/iosetbuffer.c: Likewise.
28079 * libio/iosetvbuf.c: Likewise.
28080 * libio/ioungetc.c: Likewise.
28081 * libio/ioungetwc.c: Likewise.
28082 * libio/iovdprintf.c: Likewise.
28083 * libio/iovsprintf.c: Likewise.
28084 * libio/iovsscanf.c: Likewise.
28085 * libio/memstream.c: Likewise.
28086 * libio/obprintf.c: Likewise.
28087 * libio/oldfileops.c: Likewise.
28088 * libio/oldiofclose.c: Likewise.
28089 * libio/oldiofdopen.c: Likewise.
28090 * libio/oldiofopen.c: Likewise.
28091 * libio/oldiopopen.c: Likewise.
28092 * libio/oldstdfiles.c: Likewise.
28093 * libio/putc.c: Likewise.
28094 * libio/setbuf.c: Likewise.
28095 * libio/setlinebuf.c: Likewise.
28096 * libio/stdfiles.c: Likewise.
28097 * libio/strops.c: Likewise.
28098 * libio/vasprintf.c: Likewise.
28099 * libio/vscanf.c: Likewise.
28100 * libio/vsnprintf.c: Likewise.
28101 * libio/vswprintf.c: Likewise.
28102 * libio/wfiledoalloc.c: Likewise.
28103 * libio/wfileops.c: Likewise.
28104 * libio/wgenops.c: Likewise.
28105 * libio/wmemstream.c: Likewise.
28106 * libio/wstrops.c: Likewise.
28107 * libio/__fpurge.c: Likewise.
28108 * libio/__fsetlocking.c: Likewise.
28109 * assert/assert.c: Likewise.
28110 * debug/fgets_chk.c: Likewise.
28111 * debug/fgets_u_chk.c: Likewise.
28112 * debug/fread_chk.c: Likewise.
28113 * debug/fread_u_chk.c: Likewise.
28114 * debug/gets_chk.c: Likewise.
28115 * debug/obprintf_chk.c: Likewise.
28116 * debug/vasprintf_chk.c: Likewise.
28117 * debug/vdprintf_chk.c: Likewise.
28118 * debug/vsnprintf_chk.c: Likewise.
28119 * debug/vsprintf_chk.c: Likewise.
28120 * malloc/mtrace.c: Likewise.
28121 * misc/error.c: Likewise.
28122 * misc/syslog.c: Likewise.
28123 * stdio-common/asprintf.c: Likewise.
28124 * stdio-common/fxprintf.c: Likewise.
28125 * stdio-common/getw.c: Likewise.
28126 * stdio-common/isoc99_fscanf.c: Likewise.
28127 * stdio-common/isoc99_scanf.c: Likewise.
28128 * stdio-common/isoc99_vfscanf.c: Likewise.
28129 * stdio-common/isoc99_vscanf.c: Likewise.
28130 * stdio-common/isoc99_vsscanf.c: Likewise.
28131 * stdio-common/printf-prs.c: Likewise.
28132 * stdio-common/printf_fp.c: Likewise.
28133 * stdio-common/printf_fphex.c: Likewise.
28134 * stdio-common/printf_size.c: Likewise.
28135 * stdio-common/putw.c: Likewise.
28136 * stdio-common/scanf.c: Likewise.
28137 * stdio-common/sprintf.c: Likewise.
28138 * stdio-common/tmpfile.c: Likewise.
28139 * stdio-common/vfprintf.c: Likewise.
28140 * stdio-common/vfscanf.c: Likewise.
28141 * stdlib/strfmon_l.c: Likewise.
28142 * sunrpc/openchild.c: Likewise.
28143 * sunrpc/xdr_stdio.c: Likewise.
28144 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28145 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28146
d6c33fda
RM
281472012-05-24 Roland McGrath <roland@hack.frob.com>
28148
c1487492
RM
28149 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28150
28151 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28152 in the third column, to generate for the shared library an IFUNC
28153 that uses _dl_vdso_vsym.
28154 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28155 * Makeconfig (object-suffixes-noshared): New variable.
28156
28157 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28158 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28159 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28160 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28161
d6c33fda
RM
28162 [BZ #14132]
28163 * include/sys/time.h (__gettimeofday): Remove macro.
28164 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28165 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28166 Remove INTDEF.
28167 (__gettimeofday): Add libc_hidden_def.
28168 (gettimeofday): Add libc_hidden_weak.
28169 * sysdeps/mach/gettimeofday.c: Likewise.
28170 * sysdeps/posix/gettimeofday.c: Likewise.
28171 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28172 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28174 (__gettimeofday_internal): Remove strong_alias.
28175 (__gettimeofday): Add libc_hidden_def.
28176 (gettimeofday): Add libc_hidden_weak.
28177 * sysdeps/unix/syscalls.list (gettimeofday):
28178 Remove __gettimeofday_internal alias.
28179
b5a2bbe6
L
281802012-05-24 Daniel Jacobowitz <drow@false.org>
28181 H.J. Lu <hongjiu.lu@intel.com>
28182
28183 [BZ #12495]
28184 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28185 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28186 (largebin_index_32_big): New.
28187 (largebin_index): Use it for 16-byte alignment.
28188 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28189 correction with front_misalign.
28190
cfba4fda
L
281912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28192
7f907421
L
28193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28195 Likewise.
28196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28197 Likewise.
28198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28199 Likewise.
28200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28201 Likewise.
28202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28203 Likewise.
28204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28205 Likewise.
28206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28207 Likewise.
28208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28209 Likewise.
28210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28211 Likewise.
28212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28213 Likewise.
28214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28215 Likewise.
28216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28217 Likewise.
28218
cfba4fda
L
28219 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28220 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28221
80bad0cc
JM
282222012-05-24 Joseph Myers <joseph@codesourcery.com>
28223
7a25eb06
JM
28224 [BZ #10846]
28225 [BZ #14036]
28226 * math/libm-test.inc (exp_test): Add test from bug 14036.
28227 (pow_test): Add test from bug 10846.
28228
795405f9
JM
28229 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28230 and other flags.
28231 (special_function): Do not include flags in test name.
28232 (parse_args): Likewise.
28233 * sysdeps/i386/fpu/libm-test-ulps: Update.
28234 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28235 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28236 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28238
80bad0cc
JM
28239 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28240 exceptions.
28241 * math/libm-test.inc ("Philosophy"): Update comment about
28242 exception testing.
28243 (UNDERFLOW_EXCEPTION): New macro.
28244 (UNDERFLOW_EXCEPTION_OK): Likewise.
28245 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28246 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28247 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28248 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28249 (INVALID_EXCEPTION_OK): Update value.
28250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28251 (OVERFLOW_EXCEPTION_OK): Likewise.
28252 (IGNORE_ZERO_INF_SIGN): Likewise.
28253 (test_exceptions): Handle underflow exceptions.
28254 (acos_test): Update for underflow exception expectations.
28255 (cexp_test): Likewise.
28256 (clog_test): Likewise.
28257 (clog10_test): Likewise.
28258 (csqrt_test): Likewise.
28259 (ctan_test): Likewise.
28260 (ctanh_test): Likewise.
28261 (exp_test): Likewise.
28262 (exp10_test): Likewise.
28263 (exp2_test): Likewise.
28264 (expm1_test): Likewise.
28265 (fma_test): Likewise.
28266 (j0_test): Likewise.
28267 (jn_test): Likewise.
28268 (nexttoward_test): Likewise.
28269 (pow_test): Likewise.
28270 (scalbn_test): Likewise.
28271 (scalbln_test): Likewise.
28272 (tan_test): Likewise.
28273 (y1_test): Likewise.
28274 * sysdeps/i386/fpu/libm-test-ulps: Update.
28275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28276
9e0e3d0b
DM
282772012-05-23 David S. Miller <davem@davemloft.net>
28278
28279 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28280 (__libc_sigaction): Remove unused local variables.
28281
ccd0a08f
L
282822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28283
28284 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28285
62bdf9a6
PE
282862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28287
f8591f80
PE
28288 mktime: avoid signed integer overflow
28289 * time/mktime.c (__mktime_internal): Do not mishandle the case
28290 where diff == INT_MIN.
28291
94c7d826
PE
28292 mktime: simplify computation of average
28293 * time/mktime.c (ranged_convert): Use new time_t_avg function
28294 instead of rolling our own (probably-slower) code.
28295
ce73d683
PE
28296 mktime: do not assume signed right shift propagates sign bit
28297 * time/mktime.c (isdst_differ): New static function.
28298 (__mktime_internal): No need to normalize tm_isdst now.
28299 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28300 tm_isdst values.
28301
72a22e59
PE
28302 mktime: merge another wrapv change from gnulib
28303 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28304 from some compilers.
28305
68605433
PE
28306 mktime: remove incorrect attempt at unusual arithmetics
28307 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28308 The code didn't really work on such machines anyway.
28309 (TYPE_MINIMUM): Assume two's complement.
28310 (twos_complement_arithmetic): Verify that long_int and time_t
28311 are two's complement (or unsigned, in the latter case).
28312
03cf7fe3
PE
28313 mktime: check signed shifts on long_int and time_t, too
28314 * time/mktime.c (SHR): Check that shifts work as desired
28315 on the types long_int and time_t too, as SHR is used on
28316 such types.
28317
f04dfbc2
PE
28318 mktime: do not assume 'long' is wide enough
28319 * time/mktime.c (verify): Move decl up.
28320 (long_int): New type.
28321 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28322 to remove assumption in the code that 'long' is wide enough to
28323 store year values. This assumption is not true on x32 and on
28324 some non-glibc platforms.
28325
62bdf9a6
PE
28326 mktime: merge wrapv change from gnulib
28327 * time/mktime.c (WRAPV): New macro.
28328 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28329 (guess_time_tm, __mktime_internal): Do not assume that signed
28330 integer overflow wraps around; modern compilers generate code
28331 where this assumption is no longer valid.
28332
5e292e4f
L
283332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28334
28335 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28336 Replace "jmp L(pseudo_end)" with "ret".
28337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28338 Likewise.
28339
8caf8c87
AJ
283402012-05-23 Andreas Jaeger <aj@suse.de>
28341
28342 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28343 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28344
1a09dc56
AJ
283452012-05-23 Andreas Jaeger <aj@suse.de>
28346 Maximilian Attems <max@stro.at>
28347
28348 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28349 New macros.
28350
1c87aba0
L
283512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28352
28353 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28354 code so that pseudo_end is just ret and the stack pointer is
28355 correct also for static library in error case.
28356
40e45bd5
JM
283572012-05-23 Joseph Myers <joseph@codesourcery.com>
28358
c2670533
JM
28359 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28360 move to syscalls.list.
28361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28365
40e45bd5
JM
28366 * manual/install.texi (Running make install): Do not mention Linux
28367 kernel version for which pt_chown is not needed.
28368 (Linux): Do not mention problems with nscd with 2.0 kernels.
28369 * INSTALL: Regenerated.
28370
be08eda5
AJ
283712012-05-23 Andreas Jaeger <aj@suse.de>
28372
28373 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28374 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28375 macro.
28376 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28378 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28380 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28382 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28384 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28386 * sysdeps/unix/sysv/linux/bits/in.h
28387 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28388
a6a056bb
RM
283892012-05-22 Roland McGrath <roland@hack.frob.com>
28390
28391 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28392 (PREPARE_VERSION): Just use assert instead, it will be elided
28393 under [NDEBUG] anyway.
28394
c9009328
L
283952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 * sysdeps/unix/sysv/linux/Makefile: Include
28398 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28399 (sysdep_routines): Remove sysctl.
c9009328
L
28400 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28401 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28402 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28403 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28404 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28405
73338355
AJ
284062012-05-22 Andreas Jaeger <aj@suse.de>
28407
28408 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28409 that pseudo_end is just ret and the stack pointer is correct also
28410 for static library in error case.
28411
d44638b0
PP
284122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28413
28414 [BZ #14122]
28415 * nss/nsswitch.c (defconfig_entries): New variable.
28416 (__nss_database_lookup): Don't leak defconfig entries.
28417 (nss_parse_service_list): Don't leak on error paths.
28418 (free_database_entries): New function.
28419 (free_defconfig): New function.
28420 (free_mem): Move common code to free_database_entries.
28421
31a39bd8
L
284222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28423
da0331a8
L
28424 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28425 Add arch_prctl.
28426 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28427
31a39bd8
L
28428 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28429 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28431 New macro.
28432 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28433 (INTERNAL_SYSCALL_TYPES): Likewise.
28434 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28435 (LOAD_REGS_TYPES_[1-6]): Likewise.
28436 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28437 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28438
45470df3
AZ
284392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28440
28441 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28442 copysignl for GLIBC_2_0.
28443 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28444 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28446 logbl for GLIBC_2_0.
28447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28448 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28449
98a61bcb
L
284502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28451
a4f6e481
L
28452 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28453 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28454
f63d5db6
L
28455 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28456 Use "neg %eax".
28457
98a61bcb
L
28458 * time/mktime.c: Update copyright years.
28459
95770f14
PE
284602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28461
6226efbd
PE
28462 mktime: merge comment-quoting-style change from gnulib
28463 * time/mktime.c: Quote 'like this' in comments.
28464 The GNU coding standards suggest that we no longer quote `like this',
28465 as "`" and "'" are typically rendered asymmetrically nowadays.
28466 The typical gnulib style is to quote 'like this' when quoting
28467 code, and "like this" when quoting English.
28468
b99e4f78
PE
28469 * time/mktime.c (compile-command): Add "-I.".
28470
643e01e6
PE
28471 mktime: merge mktime-internal.h change from gnulib
28472 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28473
2554247d
PE
28474 mktime: merge time_r change from gnulib
28475 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28476
826dd0ab
PE
28477 mktime: merge DEBUG change from gnulib
28478 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28479 case system <time.h> has a #define.
28480
bd83aabe
PE
28481 mktime: merge <sys/types.h> change from gnulib
28482 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28483 since <time.t> is now guaranteed to define time_t.
28484
95770f14
PE
28485 mktime: merge HAVE_CONFIG_H change from gnulib
28486 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28487
5e1a27a9
L
284882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28489
0e44a77e
L
28490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28491 Use "neg %eax".
28492
5e1a27a9
L
28493 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28494 __rlim_t cast.
28495 (struct rusage): Use anonymous union to pad each field to
28496 __syscall_slong_t.
28497
46259bec
DM
284982012-05-21 David S. Miller <davem@davemloft.net>
28499
28500 * Makefules (o-iterator): Remove .s cases.
28501 (compile-command.s): Delete.
28502 (COMPILE.s): Delete.
28503 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28504
59f0c22e
JM
285052012-05-21 Joseph Myers <joseph@codesourcery.com>
28506
28507 * configure.in (libc_cv_predef_stack_protector): Only consider
28508 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28509 * configure: Regenerated.
28510
20c07380
L
285112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28512
bbb3154b
L
28513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28514 New macro. Use R*LP on int and pointer.
28515 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28516 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28517 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28518 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28519
20c07380
L
28520 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28521 [__WORDSIZE_TIME64_COMPAT32] instead of
28522 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28523 (struct utmp): Likewise.
28524 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28525 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28526 Renamed to ...
28527 (__WORDSIZE_TIME64_COMPAT32): This.
28528 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28529 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28530 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28531 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28532 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28533 (__WORDSIZE_TIME64_COMPAT32): New macro.
28534
d8d1017e
AJ
285352012-05-21 Andreas Jaeger <aj@suse.de>
28536
28537 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28538 only if [SHARED]. Add prototype for __wcschr_ia32.
28539
6c7fb145
RM
285402012-05-21 Roland McGrath <roland@hack.frob.com>
28541
28542 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28543 of %rbp unmolested in the jmp_buf while mangling the low bits.
28544 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28545 unmolested high bits of %rbp while demangling the low bits.
28546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28547
66274218
AJ
285482012-05-21 Andreas Jaeger <aj@suse.de>
28549
07c58f8f
AJ
28550 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28551 * sunrpc/svc_simple.c: Use it for registerrpc.
28552 * sunrpc/xcrypt.c: Use it for passwd2des.
28553
66274218
AJ
28554 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28555
61f65140
L
285562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28557
28558 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28559 Don't define if [__SYSCALL_WORDSIZE != 32].
28560 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28561 New macro.
28562
5fefb436
AJ
285632012-05-21 Bruno Haible <bruno@clisp.org>
28564 Andreas Jaeger <aj@suse.de>
28565
28566 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28567 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28568 inptr and inend for must_buffer_ch.
28569 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28570 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28571 * stdio-common/Makefile (tests): Remove bug15.
28572 (bug15-ENV): Remove macro.
28573 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28574 anymore.
28575
d8e272ab
AJ
285762012-05-19 Andreas Jaeger <aj@suse.de>
28577 Roland McGrath <roland@hack.frob.com>
28578
28579 * manual/contrib.texi: Completely rewritten. It contains now an
28580 alphabetical list of contributors and their contributions.
28581
4a56a162
RH
285822012-05-21 Richard Henderson <rth@twiddle.net>
28583
28584 * misc/getauxval.c (__getauxval): Use unsigned long int.
28585 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28586 (getauxval): Use unsigned long int.
28587
d024d23c
L
285882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28589
28590 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28591
cbc00a03
RM
285922012-05-21 Roland McGrath <roland@hack.frob.com>
28593
28594 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28595 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28596 __alignof__ (long double).
28597
478143fa
AZ
285982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28599
28600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28601
c7683a6d
RH
286022012-05-20 Richard Henderson <rth@twiddle.net>
28603
28604 * misc/getauxval.c: New file.
28605 * misc/sys/auxv.h: New file.
28606 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28607 (routines): Add getauxval.
28608 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28609 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28610 * elf/dl-sysdep.c (_dl_auxv): Remove.
28611 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28612 * elf/dl-support.c (_dl_auxv): New variable.
28613 (_dl_aux_init): Initialize it.
28614 * manual/startup.texi (Auxiliary Vector): New node.
28615 * sysdeps/generic/bits/hwcap.h: New file.
28616 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28617 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28618 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28619 * sysdeps/sparc/sysdep.h: ... here. Include it.
28620 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28623 Update.
c7683a6d
RH
28624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28632
a6f1845d
AZ
286332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28634
28635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28636
cbcbe830
DM
286372012-05-19 David S. Miller <davem@davemloft.net>
28638
28639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28640
e0b16cc2
JM
286412012-05-19 Joseph Myers <joseph@codesourcery.com>
28642
28643 [BZ #14123]
28644 * math/s_ccosh.c: Include <float.h>
28645 (__ccosh): Avoid internal overflow calculating sinh and cosh
28646 values before multiplying by sin and cos values.
28647 * math/s_ccoshf.c: Likewise.
28648 * math/s_ccoshl.c: Likewise.
28649 * math/s_csin.c: Likewise.
28650 * math/s_csinf.c: Likewise.
28651 * math/s_csinl.c: Likewise.
28652 * math/s_csinh.c: Likewise.
28653 * math/s_csinhf.c: Likewise.
28654 * math/s_csinhl.c: Likewise.
28655 * math/libm-test.inc (ccos_test): Add more tests.
28656 (ccosh_test): Likewise.
28657 (csin_test): Likewise.
28658 (csinh_test): Likewise.
28659 * sysdeps/i386/fpu/libm-test-ulps: Update.
28660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28661
6ad13e08
L
286622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28663
f66f0ce8
L
28664 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28665 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28666
6ad13e08
L
28667 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28668
b1d072a7
JM
286692012-05-19 Joseph Myers <joseph@codesourcery.com>
28670
28671 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28672 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28673 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28674 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28675 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28676 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28677 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28678 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28679 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28680 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28681 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28682 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28683 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28684 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28685 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28686 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28687 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28688 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28689 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28690 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28691 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28692 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28693 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28694 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28695 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28696 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28697 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28698 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28699 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28700 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28701 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28702
9eae47cb
AJ
287032012-05-18 Andreas Jaeger <aj@suse.de>
28704
28705 * csu/.gitignore: Delete.
28706
bb07f69f
L
287072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28708
28709 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28710 (timex): Use __syscall_slong_t.
28711
e6bdb741
AJ
287122012-05-18 Andreas Jaeger <aj@suse.de>
28713 Carlos O'Donell <carlos_odonell@mentor.com>
28714
28715 * manual/install.texi (Configuring and compiling): Update
28716 description about files modified in the source directory.
d6c33fda 28717 * INSTALL: Regenerated.
e6bdb741 28718
1b74487e
L
287192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28720
28721 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28722 value. Use "or" to set return value to -1.
28723 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28724 negate return value.
28725
a88b64b9
TMQMF
287262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28727
28728 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28729 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28730 failure if the compiler has Graphite support disabled.
28731 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28732 Likewise.
28733 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28734 CFLAGS-memmove.c): Likewise.
28735 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28736 Likewise.
28737
3707636e
L
287382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28739
610b8622
L
28740 * sysdeps/x86_64/x32/_itoa.h: New file.
28741
7cd195df
L
28742 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28743 getdents system call only if kernel and user dirents have the
28744 same d_ino and d_off.
28745
94b07d20
L
28746 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28747 LLONG_MAX != LONG_MAX.
28748 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28749 (_fitoa_word): Likewise.
28750
18298070
L
28751 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28752 years.
28753 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28755 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28756
553c7ea4
L
28757 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28758 include <bits/wordsize.h>. Check __x86_64__ instead of
28759 __WORDSIZE.
28760 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28761 if __x86_64__ is defined. Use anonymous union on fpstate.
28762
3707636e
L
28763 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28764 anonymous union.
28765
b53ef01a
AS
287662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28767
37fb1dc0
AS
28768 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28769 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28770 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28771 Refer to _rtld_local_ro instead of _rtld_global_ro.
28772 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28773 Likewise.
28774 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28775 Likewise.
28776 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28777 Likewise.
28778 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28779 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28780 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28781
b53ef01a
AS
28782 * sysdeps/powerpc/powerpc32/dl-machine.c
28783 (__elf_machine_runtime_setup) [PROF]: Don't reference
28784 _dl_prof_resolve.
28785
7a185db2
AJ
287862012-05-18 Andreas Jaeger <aj@suse.de>
28787
28788 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28789 function only available for GCCs before 3.4 since GCC 3.4
28790 introduced a builtin.
28791 (lrint): Likewise.
28792 (llrintf): Likewise.
28793 (llrint): Likewise.
28794 (fmaxf): Likewise.
28795 (fmax): Likewise.
28796 (fminf): Likewise.
28797 (fmin): Likewise.
28798 (rint): Likewise.
28799 (rintf): Likewise.
28800 (nearbyint): Likewise.
28801 (nearbyintf): Likewise.
28802 (ceil): Likewise.
28803 (ceilf): Likewise.
28804 (floor): Likewise.
28805 (floorf): Likewise.
28806
3e5aef87
L
288072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28808
428bd707
L
28809 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28810 on both fields and cast pointer to __syscall_ulong_t.
28811
3e5aef87
L
28812 * bits/types.h (__fsword_t): New type.
28813 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28814 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28816 (__FSWORD_T_TYPE): Likewise.
28817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28818 (__FSWORD_T_TYPE): Likewise.
28819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28820 (__FSWORD_T_TYPE): Likewise.
28821 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28822 (__FSWORD_T_TYPE): Likewise.
28823 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28824 __SWORD_TYPE with __fsword_t.
28825 (statfs64): Likewise.
28826
1ba7c3dc
DM
288272012-05-17 David S. Miller <davem@davemloft.net>
28828
28829 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28830
59910343
AJ
288312012-05-17 Andreas Jaeger <aj@suse.de>
28832
28833 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28834 warning.
28835
2e4c1e9e
L
288362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28837
28838 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28839
de7f5ce7
AJ
288402012-05-17 Andreas Jaeger <aj@suse.de>
28841
28842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28843 when it is used.
28844
286abc3d
CM
288452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28846
28847 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28848
477cc68e
L
288492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28850
28851 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28852 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28853
1a0994f5
CD
288542012-05-17 Andreas Jaeger <aj@suse.de>
28855 Carlos O'Donell <carlos_odonell@mentor.com>
28856
28857 [BZ #14059]
28858 * sysdeps/x86_64/multiarch/init-arch.h
28859 (bit_YMM_Usable): Rename to...
28860 (bit_AVX_Usable): ... this.
28861 (bit_FMA4_Usable): New macro.
28862 (bit_XMM_state): New macro.
28863 (bit_YMM_state): New macro.
28864 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28865 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28866 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28867 (CPUID_OSXSAVE): New macro.
28868 (CPUID_AVX): New macro.
28869 (CPUID_FMA4): New macro.
28870 (index_YMM_Usable): Rename to...
28871 (index_AVX_Usable): ... this.
28872 (HAS_AVX): Use HAS_ARCH_FEATURE.
28873 (HAS_FMA4): Likewise.
28874 (HAS_YMM_USABLE): Remove.
28875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28876 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28877 are present.
28878 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28879 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28880 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28881 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28882 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28883
0af797de
CM
288842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28885
28886 * math/libm-test.c: Support platforms without multiple rounding modes.
28887 * math/bug-nextafter.c: Support platforms without FP exceptions.
28888 * math/bug-nexttoward.c: Likewise.
28889 * math/test-fenv.c: Likewise.
28890 * math/test-misc.c: Likewise.
28891 * stdlib/bug-getcontext.c: Likewise.
28892
e39745ff
AJ
288932012-05-17 Andreas Jaeger <aj@suse.de>
28894
28895 * manual/examples/search.c (critter_cmp): Change signature to
28896 avoid warnings.
28897 * manual/string.texi (Collation Functions): Likewise.
28898
48970aba
L
288992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28900
28901 * bits/types.h: Fold copyright years.
28902 * bits/typesizes.h: Likewise.
28903 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28907 * time/time.h: Likewise.
28908
bedee953
PP
289092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28910
28911 [BZ #208]
28912 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28913 in instead of returning them. Return void.
28914 (__libc_mallinfo): Accumulate over all arenas.
28915 (__malloc_stats): Adjust for change in int_mallinfo interface.
28916
61653dfb
RM
289172012-05-16 Roland McGrath <roland@hack.frob.com>
28918
30b99d79
RM
28919 [BZ #10375]
28920 * configure.in (NM): Add AC_CHECK_TOOL for it.
28921 (libc_extra_cflags): New substituted variable.
28922 Check for -fstack-protector being used implicitly.
28923 * configure: Regenerated.
28924 * config.make.in (config-extra-cflags): New variable,
28925 gets @libc_extra_cflags@.
28926 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28927
61653dfb
RM
28928 [BZ #10375]
28929 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28930 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28931 * configure: Regenerated.
28932 * config.make.in (CPPUNDEFS): New substituted variable.
28933 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28934 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28935 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28936
661768bb
L
289372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28938
28939 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28940 (mq_attr): Use __syscall_slong_t.
28941
d4261567
L
289422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28943
28944 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28945 Check __x86_64__ instead of __WORDSIZE.
28946 (_STAT_VER_LINUX): Likewise.
28947 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28948 __syscall_ulong_t and __syscall_slong_t.
28949 (stat64): Likewise.
28950
cf3ff365
L
289512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28952
28953 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28954
76cf3e4d
L
289552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28956
28957 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28958
a637753a
L
289592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28960
28961 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28962 __syscall_ulong_t.
28963
d5e05119
L
28964 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28965 include <bits/wordsize.h>. Check __x86_64__ instead of
28966 __WORDSIZE.
28967 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28968 defined.
28969 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28970
f62ee380
L
28971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28972 include <bits/wordsize.h>. Check __x86_64__ instead of
28973 __WORDSIZE.
28974 (user_regs_struct): Use "__extension__ unsigned long long"
28975 instead of "unsigned long" if __x86_64__ is defined.
28976 (user): Likewise. Pad after pointer field if __ILP32__ is
28977 defined.
28978
4e124ced
JM
289792012-05-16 Joseph Myers <joseph@codesourcery.com>
28980
6a3951a0
JM
28981 * configure.in (makeinfo): Require version 4.5 or later. Allow
28982 versions 5 to 9.
28983 * configure: Regenerated.
28984 * manual/install.texi (texinfo): Increase version requirement to
28985 4.5 or later.
28986 * INSTALL: Regenerated.
28987
4e124ced
JM
28988 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28989
953ca31a
L
289902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28991
28992 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28993
617aca05
L
28994 * sysdeps/x86_64/x32/ffs.c: New file.
28995
5762f7ae
L
28996 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28997 __syscall_ulong_t.
28998 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28999 defined. Use __syscall_ulong_t.
29000 (shminfo): Use __syscall_ulong_t.
29001 (shm_info): Likewise.
29002
a26b6856
L
29003 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29004 __syscall_ulong_t.
29005
cb2b9ef7
L
29006 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29007 <bits/wordsize.h>.
29008 (msgqnum_t): Use __syscall_ulong_t.
29009 (msglen_t): Likewise.
29010 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29011 __syscall_ulong_t.
29012
34683bb0
L
29013 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29014 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29015
84a68786
L
29016 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29017
48baa5f1
L
29018 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29019 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29020
180be88b
L
29021 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29022 __syscall_slong_t.
29023
5e90c8ad
L
29024 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29025 include <bits/wordsize.h>. Check __x86_64__ instead of
29026 __WORDSIZE.
29027
23dfb58b
L
29028 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29029 "unsigned long long int" if __x86_64__ is defined.
29030 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29031
ce5d54b0
L
29032 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29033 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29034 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29035
13dc9eac
L
29036 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29037 <stdint.h>.
29038 (GET_PC): Cast to uintptr_t first.
29039 (GET_FRAME): Likewise.
29040 (GET_STACK): Likewise.
29041
a7895d15
L
29042 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29043 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29044 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29045 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29046 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29047 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29048 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29050 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29051 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29052 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29053 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29054 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29055 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29056 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29057 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29058 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29059 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29060 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29062 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29064 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29065 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29066 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29067 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29068 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29069 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29070 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29071
656416c9
AS
290722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29073
5bd66283
AS
29074 * Makerules (+depfiles): Also collect depfiles from .oS in
29075 $(extra-objs).
29076 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29077 .oS, $(libnldbl-routines)).
29078
656416c9
AS
29079 * Makerules (native-compile-mkdep-flags): Define.
29080 * sunrpc/Makefile (extra-objs): Add $(addprefix
29081 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29082 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29083 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29084 calling $(make-target-directory).
29085
a46f2169
L
290862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29087
29088 * bits/types.h (__snseconds_t): Removed.
29089 * time/time.h (struct timespec): Replace __snseconds_t with
29090 __syscall_slong_t.
29091 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29092 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29093 Likewise.
29094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29095 (__SNSECONDS_T_TYPE): Likewise.
29096 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29097 (__SNSECONDS_T_TYPE): Likewise.
29098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29099 (__SNSECONDS_T_TYPE): Likewise.
29100
6af6528b
L
291012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/mach/hurd/bits/typesizes.h
29104 (__SYSCALL_SLONG_TYPE): New macro.
29105 (__SYSCALL_ULONG_TYPE): Likewise.
29106
de986b56
L
291072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29108
29109 * bits/types.h (__syscall_slong_t): New type.
29110 (__syscall_ulong_t): Likewise.
29111
29112 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29113 (__SYSCALL_ULONG_TYPE): Likewise.
29114 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29115 (__SYSCALL_SLONG_TYPE): Likewise.
29116 (__SYSCALL_ULONG_TYPE): Likewise.
29117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29118 (__SYSCALL_SLONG_TYPE): Likewise.
29119 (__SYSCALL_ULONG_TYPE): Likewise.
29120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29121 (__SYSCALL_SLONG_TYPE): Likewise.
29122 (__SYSCALL_ULONG_TYPE): Likewise.
29123
85736dc7
L
291242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29125
29126 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29127 Add sigaltstack-offsets.sym.
29128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29129 <sigaltstack-offsets.h>.
29130 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29131 longjmp_msg pointer.
29132 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29133 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29134 signal stack.
29135 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29136
cc03b296
JM
291372012-05-15 Joseph Myers <joseph@codesourcery.com>
29138
a9538892
JM
29139 * elf/stackguard-macros.h: Remove file.
29140 * sysdeps/generic/stackguard-macros.h: New file.
29141 * sysdeps/i386/stackguard-macros.h: Likewise.
29142 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29143 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29144 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29145 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29146 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29147 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29148 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29149 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29150 <elf/stackguard-macros.h>.
29151
cc03b296
JM
29152 [BZ #14109]
29153 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29154 __aligned__ in attribute.
29155 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29156 (gregset_t): Likewise.
29157
93171016
L
291582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29159
29160 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29161 * sysdeps/x86_64/64/Implies-after: Here. New file.
29162 * sysdeps/x86_64/x32/Implies-after: New file.
29163
d86813a0
L
291642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29165
29166 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29167 and access return value for _dl_profile_fixup. Use R10_LP to
29168 load frame size.
29169
2953ec75
L
291702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29173
3b550e9e
L
291742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29175
29176 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29177 * sysdeps/x86_64/x32/sysdep.h: New file.
29178
eda41706
L
291792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29180
29181 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29182 * sysdeps/x86_64/setjmp.S: Likewise.
29183
9ea01d93
AZ
291842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29185
29186 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29187 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29188 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29189 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29190 remove unused global constant.
29191
02a91938
CM
291922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29193
29194 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29195 include of <not-cancel.h>.
29196
6540185f
RM
291972012-05-15 Roland McGrath <roland@hack.frob.com>
29198
29199 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29200
509072a0
AJ
292012012-05-15 Jeff Law <law@redhat.com>
29202 Andreas Jaeger <aj@suse.de>
29203
29204 [BZ #13594]
29205 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29206 out from...
29207 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29208 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29209 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29210 code changing __hst_map_handle.map.
29211
ba75122d
RM
292122012-05-15 Roland McGrath <roland@hack.frob.com>
29213
29214 * configure.in (sysnames): Look for Implies-before and Implies-after
29215 files.
29216 * configure: Regenerated.
29217
890d8bd8
L
292182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29219
29220 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29221 8-byte data alignment with LP_SIZE alignment.
29222
f6ee6623
L
292232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29224
29225 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29226 into R10_LP.
29227
ea2626f6
L
292282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29231
085f715e
L
292322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29233
29234 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29235 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29237 Likewise.
29238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29239
be8498fc
L
292402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29241
29242 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29243 (stackinfo_sub_sp): Likewise.
29244
70bc83b9
L
292452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29246
29247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29248 RAX_LP.
29249
9bc0b730
L
292502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29251
29252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29253 into R*_LP.
29254
6d2850e7
L
292552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29256
29257 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29258 sizes into R*_LP.
29259
3cb84561
L
292602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29261
29262 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29263
54e2ed81
L
292642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29265
29266 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29267 into R11_LP and load __x86_64_shared_cache_size_half into
29268 R8_LP.
29269
8a17f349
L
292702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29271
29272 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29273 R8_LP.
29274
777b1eea
AZ
292752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29276
29277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29278 logb for POWER7.
29279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29280 logbf for POWER7.
29281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29282 logbl for POWER7.
29283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29284 powerpc32/power7/fpu/s_logb.c via #include.
29285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29286 powerpc32/power7/fpu/s_logbf.c via #include.
29287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29288 powerpc32/power7/fpu/s_logbl.c via #include.
29289
d20d4ac2
JM
292902012-05-15 Joseph Myers <joseph@codesourcery.com>
29291
29292 * README.libm: Remove file.
29293
6cdef1ab
L
292942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29295
29296 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29297 count for x32. Use R*_LP and omit operand-size suffix.
29298
0b254d8f
L
292992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29300
29301 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29302 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29303 * sysdeps/x86_64/x32/shlib-versions: New file.
29304
ceb809dc
RM
293052012-05-14 Roland McGrath <roland@hack.frob.com>
29306
29307 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29308 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29309 Use _dl_fatal_printf instead.
29310
37f1abd4
JM
293112012-05-14 Joseph Myers <joseph@codesourcery.com>
29312
29313 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29314 set if not set by the user. Do not allow for being unset.
29315 * sysdeps/unix/sysv/linux/configure: Regenerated.
29316
11de3a33
L
293172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29318
29319 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29320 the `q' suffix from lea and replace .quad with ASM_ADDR.
29321
e02f153a
L
293222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29323
29324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29325 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29326 instead of $17.
29327 (PTR_DEMANGLE): Likewise.
29328
520ae0fd
L
293292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29330
29331 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29332 (LP_OP): Likewise.
29333 (ASM_ADDR): Likewise.
29334 (RAX_LP): Likewise.
29335 (RBP_LP): Likewise.
29336 (RBX_LP): Likewise.
29337 (RCX_LP): Likewise.
29338 (RDI_LP): Likewise.
29339 (RSI_LP): Likewise.
29340 (RSP_LP): Likewise.
29341 (R8_LP): Likewise.
29342 (R9_LP): Likewise.
29343 (R10_LP): Likewise.
29344 (R10_LP): Likewise.
29345 (R11_LP): Likewise.
29346 (R12_LP): Likewise.
29347 (R13_LP): Likewise.
29348 (R14_LP): Likewise.
29349 (R15_LP): Likewise.
29350
b985be81
L
293512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29352
29353 * sysdeps/x86_64/x32/dl-machine.h: New file.
29354
6a4888ff
AJ
293552012-05-14 Andreas Jaeger <aj@suse.de>
29356
29357 * manual/Makefile (subdir): Remove export of subdir.
29358 (all): Remove target.
29359 (.PHONY): Remove all from list.
29360 (mkinstalldirs): Remove.
29361 (.PHONY): Remove installdirs from list.
29362 ($(inst_infodir)/libc.info): Use make-target-directory.
29363 (installdirs): Remove.
29364 (subdir_%): Remove.
29365 (glibc-targets): Remove.
29366 (lib): Remove.
29367 (stubs): Remove.
29368 ($(objpfx)stubs ../po/manual.pot): Remove.
29369 ($(objpfx)stamp%): Remove.
29370 (make-target-directory): Remove.
29371 (subdir_install): Remove.
29372 (routines): Remove.
29373 (aux): Remove.
29374 (sources): Remove.
29375 (objects): Remove.
29376 (headers): Remove.
29377
29378 [BZ #13750]
29379 * manual/.gitignore: Remove, it's not needed anymore.
29380 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29381 all files in it.
29382 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29383 directory.
29384 (texis): Renamed to $(objpfx)texis.
29385 (texis-path): New, contains path to generated files.
29386 (chapters.%): Use texis-path for complete path, add extra argument
29387 libc-texinfo.sh.
29388 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29389 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29390 (summary,texi, stamp-summary): Use complete path of
29391 files. Generate files in build dir.
29392 (dir-add.texi): Build in build dir.
29393 (libm-err.texi,stamp-libm-err): Likewise.
29394 (version.texi, stamp-version): Likewise.
29395 (.%c.texi): Likewise.
29396 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29397 (mostlyclean): Remove target.
29398 (realclean): Remove target.
29399 (generated): Add new variable with contents from mostlyclean and
29400 realclean, remove entries duplicated in common-mostlyclean, add
29401 stamp-libm-err and stamp-version.
29402 (generated-dirs): Add libc directory.
29403 ($(inst_infodir)/libc.info): Install files from build dir.
29404
29405 * manual/install.texi (Configuring and compiling): Adjust since
29406 the info files are not part of the tar ball anymore.
29407
7ac77294
AJ
294082012-05-14 Andreas Jaeger <aj@suse.de>
29409
29410 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29411 variable.
29412
ffb7875d
JM
294132012-05-14 Joseph Myers <joseph@codesourcery.com>
29414
29415 [BZ #13717]
29416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29417 to 2.2.0 where earlier.
29418 * sysdeps/unix/sysv/linux/configure: Regenerated.
29419 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29420 Remove conditional code.
29421 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29422 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29423 Remove conditional code.
29424 [!__NR_lchown]: Likewise.
29425 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29426 [__NR_lchown]: Likewise.
29427 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29428 comment referencing __ASSUME_LCHOWN_SYSCALL.
29429 * sysdeps/unix/sysv/linux/i386/sigaction.c
29430 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29431 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29432 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29433 Remove conditional code.
29434 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29435 (__protocol_available): Remove #if 0 code.
29436 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29437 conditional code.
29438 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29439 * sysdeps/unix/sysv/linux/kernel-features.h
29440 (__ASSUME_GETCWD_SYSCALL): Don't define.
29441 (__ASSUME_REALTIME_SIGNALS): Likewise.
29442 (__ASSUME_PREAD_SYSCALL): Likewise.
29443 (__ASSUME_PWRITE_SYSCALL): Likewise.
29444 (__ASSUME_POLL_SYSCALL): Likewise.
29445 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29446 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29447 non-SPARC.
29448 (__ASSUME_SIOCGIFNAME): Don't define.
29449 (__ASSUME_MSG_NOSIGNAL): Likewise.
29450 (__ASSUME_SENDFILE): Define unconditionally.
29451 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29452 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29453 conditional code.
29454 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29455 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29456 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29457 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29458 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29459 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29460 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29465 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29474 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29477 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29480 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29481 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29483 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29484 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29485 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29486 Remove conditional code.
29487 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29488 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29489 Remove conditional code.
29490 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29491 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29492 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29493 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29494 Remove conditional code.
29495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29496 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29497 Remove conditional code.
29498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29499 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29500 Remove conditional code.
29501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29502 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29503 Remove conditional code.
29504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29505 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29506 Remove conditional code.
29507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29508 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29509 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29511 * sysdeps/unix/sysv/linux/sigaction.c
29512 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29513 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29514 * sysdeps/unix/sysv/linux/sigpending.c
29515 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29516 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29517 * sysdeps/unix/sysv/linux/sigprocmask.c
29518 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29519 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29520 * sysdeps/unix/sysv/linux/sigsuspend.c
29521 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29522 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29524 (__libc_missing_rt_sigs): Remove.
29525 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29526 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29527 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29528 Remove conditional code.
29529 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29530 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29531 return 1.
29532 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29533 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29534 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29535 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29536
1bfb7291
AJ
295372012-05-14 Andreas Jaeger <aj@suse.de>
29538
caae5a81
AJ
29539 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29540 it's not used in glibc.
29541 (__coshm1): Likewise.
29542 (__acosh1p): Likewise.
29543 (__sgn): Likewise.
29544
1bfb7291
AJ
29545 * manual/string.texi (Copying and Concatenation): Add missing
29546 variable in concat example.
29547 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29548
c044d724
L
295492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29550
144c5467 29551 [BZ #14103]
c044d724
L
29552 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29553 __builtin_clzl with __builtin_clzll.
29554
2523c62b
L
295552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29556
29557 [BZ #14104]
29558 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29559 libc_freeres_ptr.
29560
d7bb4c42
LD
295612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29562
29563 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29564 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29565 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29566 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29567
9dc4e1fb
MF
295682012-05-14 Mike Frysinger <vapier@gentoo.org>
29569
29570 * NEWS: Update ia64 info.
29571
c7df0112
AS
295722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29573
29574 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29575 used as bcopy.
29576
dc70356c
TS
295772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29578
29579 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29580 * sysdeps/unix/syscalls.list (dup3): Likewise.
29581 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29582 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29583
9fb1a21f
L
295842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29585
29586 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29587 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29588
4822a2a5
L
295892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29590
29591 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29592 thread pointer.
29593 (TLS_IE): Use mov/add instead of movq/addq to load thread
29594 pointer.
29595 (TLS_GD_PREFIX): New.
29596 (TLS_GD): Use it.
29597
842b81d6
DM
295982012-05-11 David S. Miller <davem@davemloft.net>
29599
29600 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29601 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29602 (_FPU_SETCW): Likewise.
29603
1cf463cd
L
296042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29605
29606 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29607 is 32-byte aligned.
29608
60cc4a18
AS
296092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29610
29611 [BZ #11837]
29612 * iconvdata/gb18030.c: Update tables.
29613 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29614 characters specially.
29615 (BODY for TO_LOOP): Add encoding of missing ranges.
29616
febb44a4
TS
296172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29618
29619 [BZ #13673]
29620 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29621 * sysdeps/mach/hurd/dup3.c: Likewise.
29622 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29623 * sysdeps/powerpc/memmove.c:: Likewise.
29624
0a10fb9e
L
296252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29626
29627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29628 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29629
df8a552f
L
296302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29631
29632 * elf/elf.h (R_X86_64_RELATIVE64): New.
29633 (R_X86_64_NUM): Updated.
29634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29635 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29636 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29637 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29638 tst-quad1pie tst-quad2pie
29639 (modules-names): Add tst-quadmod1 tst-quadmod2.
29640 ($(objpfx)tst-quad1): New dependency.
29641 ($(objpfx)tst-quad2): Likewise.
29642 ($(objpfx)tst-quad1pie): Likewise.
29643 ($(objpfx)tst-quad2pie): Likewise.
29644 * sysdeps/x86_64/tst-quad1.c: New file.
29645 * sysdeps/x86_64/tst-quad1pie.c: New file.
29646 * sysdeps/x86_64/tst-quad2.c: Likewise.
29647 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29648 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29649 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29650 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29651 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29652
f34d6f84
ST
296532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29654
f42d41d1
ST
29655 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29656 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29657 * streams/stropts.h (t_scalar_t): Define type.
29658
3c3571fc
ST
29659 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29660 (_PATH_PRESERVE): Set to "/var/lib".
29661 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29662
61f06bd3
ST
29663 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29664 instead of int.
29665
918d4d71
ST
29666 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29667 if __dir_mkfile succeeded.
29668
f34d6f84
ST
29669 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29670 checking for _hurd_dtablesize. Unlock it right after having
29671 finished _hurd_dtable allocation.
29672
10589b4a
TS
296732012-05-10 Thomas Schwinge <thomas@schwinge.name>
29674
674cdbc7
TS
29675 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29676 * sysdeps/mach/hurd/configure: Regenerated.
29677 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29678 special-casing to...
29679 * sysdeps/gnu/configure.in: ... this new file.
29680 * sysdeps/unix/sysv/linux/configure: Regenerated.
29681 * sysdeps/gnu/configure: New generated file.
29682
8e41b99f
TS
29683 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29684 for Linux: use nsec instead of usec, as well as:
29685 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29686 members of type struct timespec.
29687 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29688 New macros.
29689 (struct stat64): Likewise.
29690 (_STATBUF_ST_NSEC): New macro.
29691 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29692
10589b4a
TS
29693 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29694 __strtoul_internal rather than strtoul.
29695
63643c85
PT
296962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29697
29698 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29699 and reject them.
29700
3faebe6a
ST
297012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29702
29703 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29704 which preserves existing values.
29705 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29706
c6474b07
PT
297072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29708
29709 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29710 TIMEOUT values. Return EINVAL for NFDS values either negative or
29711 greater than FD_SETSIZE.
29712
1043890b
ST
297132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29714
29715 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29716 allocated, call __vm_protect to finish enabling the existing space, and
29717 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29718 allocate the remainder.
29719
37ed8b9b
PT
297202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29721
29722 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29723 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29724
db653660
ST
297252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29726
37ed8b9b
PT
29727 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29728 sysdeps/mach/hurd/readlink.c.
b29d4053 29729
db653660
ST
29730 * posix/tst-sysconf.c (posix_options): Only use
29731 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29732 _POSIX_SYNCHRONIZED_IO when they are defined
29733 * sysdeps/mach/hurd/bits/posix_opt.h:
29734 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29735 (_XOPEN_REALTIME): Undefine macro.
29736 (_XOPEN_REALTIME_THREADS): Undefine macro.
29737 (_XOPEN_SHM): Undefine macro.
29738 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29739 macro to -1.
29740 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29741 macro to -1.
29742 (_POSIX_ASYNC_IO): Undefine macro.
29743 (_POSIX_PRIORITIZED_IO): Undefine macro.
29744 (_POSIX_SPIN_LOCKS): Define macro to -1.
29745
ee16e894
ST
29746 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29747 SA_NODEFER, SA_RESETHAND.
29748 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29749 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29750 F_DUPFD_CLOEXEC.
29751
6103ae3b
TS
297522012-05-10 Thomas Schwinge <thomas@schwinge.name>
29753
29754 * elf/Makefile (pldd-modules): Define unconditionally.
29755
80b4e5f3
TS
297562012-05-10 Thomas Schwinge <thomas@schwinge.name>
29757
29758 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29759
edadcbd6
ST
297602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29761
29762 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29763 Return ENOENT when name is empty.
29764 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29765
80694780
TS
297662012-05-10 Thomas Schwinge <thomas@schwinge.name>
29767
1792c087
TS
29768 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29769
80694780
TS
29770 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29771
6b645f0d
ST
297722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29773
80694780
TS
29774 Fix mlock in all cases except non-readable pages.
29775 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29776 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29777
6b645f0d
ST
29778 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29779 (__mkdir): When path is `/', just fail with EEXIST.
29780 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29781
e468f8a3
TS
297822012-05-10 Thomas Schwinge <thomas@schwinge.name>
29783
29784 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29785 <sys/uio.h> (for writev).
29786 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29787 and <sys/param.h> (for MIN).
29788
a4186cff
PT
297892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29790
29791 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29792 REQUESTED_TIME. Properly set the remaining time and return EINTR
29793 if interrupted.
29794
510bbf14
TS
297952012-05-10 Thomas Schwinge <thomas@schwinge.name>
29796
29797 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29798 Depend on against $(link-rpcuserlibs).
29799
5d5722e8
ST
298002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29801
a4186cff
PT
29802 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29803 (__libc_stack_end): Do not use attribute_relro.
29804 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29805 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29806 to libthread-provided value.
a4186cff
PT
29807 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29808 attribute_relro.
5d5722e8 29809
37233df9
TS
298102012-05-10 Thomas Schwinge <thomas@schwinge.name>
29811
be971a2b
TS
29812 [BZ #3748]
29813 * bits/libc-lock.h (__libc_once_get): New macro.
29814 * sysdeps/mach/bits/libc-lock.h: Likewise.
29815 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29817 instead of using implementation details.
29818
37233df9
TS
29819 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29820 * libio/freopen.c: Likewise.
29821 * libio/freopen64.c: Likewise.
29822 * misc/syslog.c: Likewise.
29823 * nscd/connections.c: Likewise.
29824 * nscd/netgroupcache.c: Likewise.
29825 * sysdeps/posix/getcwd.c: Likewise.
29826
38de94a5
RM
298272012-05-10 Roland McGrath <roland@hack.frob.com>
29828
29829 * math/w_ilogbf.c: Add #include <limits.h>.
29830
67530489
ST
298312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29832
a4186cff 29833 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29834 path instead of returning without unlocking.
29835
67530489
ST
29836 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29837 immediate-write ioctls.
29838 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29839
5aa3a74a
TS
298402012-05-10 Thomas Schwinge <thomas@schwinge.name>
29841
18bad2ae
TS
29842 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29843 __builtin_frame_address instead of making assumptions about the
29844 location of the return address relative to DATA. Force early load of
29845 the return address.
29846 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29847 __builtin_frame_address.
29848
5aa3a74a
TS
29849 dup3 for GNU Hurd.
29850 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29851 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29852 implement dup3 and do some further code clean-ups.
29853 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29854 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29855
ecd0de9a
ST
298562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29857
cd9fa985
ST
29858 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29859
a4186cff
PT
29860 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29861 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29862 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29863 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29864 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29865 d->port.lock.
802ca5a5 29866
a4186cff
PT
29867 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29868 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29869 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29870
bcf55240
TS
298712012-05-10 Thomas Schwinge <thomas@schwinge.name>
29872
6960eb42
TS
29873 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29874 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29875 definitions.
29876
eb43375f
TS
29877 accept4 for GNU Hurd.
29878 * include/sys/socket.h (__libc_accept4): New prototype.
29879 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29880 to implement __libc_accept4.
29881 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29882 __libc_accept4.
29883 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29884
bcf55240
TS
29885 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29886 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29887 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29888 signal-defines.sym.
29889
6178c55b
ST
298902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29891
a4186cff 29892 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29893
6f080c2f
TS
298942012-05-10 Thomas Schwinge <thomas@schwinge.name>
29895
29896 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29897 assertion on O_CLOEXEC flag.
29898 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29899 * hurd/intern-fd.c: Likewise.
29900 * hurd/port2fd.c: Likewise.
29901
bcfe3a54
ST
299022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29903
29904 [BZ #3906]
29905 * bits/in.h (IPV6_PKTINFO): Define new macro.
29906 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29907
89c9aa49
AZ
299082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29909
29910 [BZ #13954]
29911 [BZ #13955]
29912 [BZ #13956]
29913 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29915 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29916 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29917 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29918 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29919 * math/libm-test.inc (logb_test) : Additional logb tests.
29920
021db4be
AJ
299212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29922 Andreas Jaeger <aj@suse.de>
29923
29924 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29925 * configure: Regenerated.
29926 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29927 * config.make.in (link-obsolete-rpc): New substituted variable.
29928 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29929 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29930 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29931 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29932 so that libc.a contains the symbols.
29933 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29934 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29935 * sunrpc/auth_none.c: Likewise.
29936 * sunrpc/auth_unix.c: Likewise.
29937 * sunrpc/authdes_prot.c: Likewise.
29938 * sunrpc/authuxprot.c: Likewise.
29939 * sunrpc/clnt_gen.c: Likewise.
29940 * sunrpc/clnt_perr.c: Likewise.
29941 * sunrpc/clnt_raw.c: Likewise.
29942 * sunrpc/clnt_simp.c: Likewise.
29943 * sunrpc/clnt_tcp.c: Likewise.
29944 * sunrpc/clnt_udp.c: Likewise.
29945 * sunrpc/clnt_unix.c: Likewise.
29946 * sunrpc/des_crypt.c: Likewise.
29947 * sunrpc/des_soft.c: Likewise.
29948 * sunrpc/get_myaddr.c: Likewise.
29949 * sunrpc/key_call.c: Likewise.
29950 * sunrpc/key_prot.c: Likewise.
29951 * sunrpc/netname.c: Likewise.
29952 * sunrpc/pm_getmaps.c: Likewise.
29953 * sunrpc/pm_getport.c: Likewise.
29954 * sunrpc/pmap_clnt.c: Likewise.
29955 * sunrpc/pmap_prot.c: Likewise.
29956 * sunrpc/pmap_prot2.c: Likewise.
29957 * sunrpc/pmap_rmt.c: Likewise.
29958 * sunrpc/publickey.c: Likewise.
29959 * sunrpc/rpc_cmsg.c: Likewise.
29960 * sunrpc/rpc_common.c: Likewise.
29961 * sunrpc/rpc_dtable.c: Likewise.
29962 * sunrpc/rpc_prot.c: Likewise.
29963 * sunrpc/rpc_thread.c: Likewise.
29964 * sunrpc/rtime.c: Likewise.
29965 * sunrpc/svc.c: Likewise.
29966 * sunrpc/svc_auth.c: Likewise.
29967 * sunrpc/svc_raw.c: Likewise.
29968 * sunrpc/svc_run.c: Likewise.
29969 * sunrpc/svc_tcp.c: Likewise.
29970 * sunrpc/svc_udp.c: Likewise.
29971 * sunrpc/svc_unix.c: Likewise.
29972 * sunrpc/svcauth_des.c: Likewise.
29973 * sunrpc/xcrypt.c: Likewise.
29974 * sunrpc/xdr.c: Likewise.
29975 * sunrpc/xdr_array.c: Likewise.
29976 * sunrpc/xdr_float.c: Likewise.
29977 * sunrpc/xdr_intXX_t.c: Likewise.
29978 * sunrpc/xdr_mem.c: Likewise.
29979 * sunrpc/xdr_rec.c: Likewise.
29980 * sunrpc/xdr_ref.c: Likewise.
29981 * sunrpc/xdr_sizeof.c: Likewise.
29982 * sunrpc/xdr_stdio.c: Likewise.
29983
b5c086a2
RM
299842012-05-10 Roland McGrath <roland@hack.frob.com>
29985
29986 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29987 change. Update copyright years.
29988
6d74dd09
JM
299892012-05-10 Joseph Myers <joseph@codesourcery.com>
29990
29991 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29992
28e72501
MK
299932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29994 Joseph Myers <joseph@codesourcery.com>
29995 Paul Pluzhnikov <ppluzhnikov@google.com>
29996
29997 [BZ #14012]
29998 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29999 requiring rpcgen.
30000 [cross-compiling] (extra-libs): Likewise.
30001 [cross-compiling] (extra-libs-others): Likewise.
30002 [cross-compiling] (librpcsvc-routines): Likewise.
30003 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30004 [cross-compiling] (omit-deps): Likewise.
30005 (sunrpc-CPPFLAGS): New variable.
30006 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30007 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30008 (cross-rpcgen-objs): New variable.
30009 (extra-objs): Append $(cross-rpcgen-objs).
30010 ($(cross-rpcgen-objs)): New rule.
30011 ($(objpfx)cross-rpcgen): Likewise.
30012 (rpcgen-cmd): Define to use $(built-program-file). Expand
30013 comment.
30014 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30015 ($(objpfx)x%.stmp): Likewise.
30016 * sunrpc/proto.h [IS_IN_build] (_): Define.
30017 [IS_IN_build] (_libc_intl_domainname): Likewise.
30018
c8c59454
L
300192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30020
30021 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30022 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30023 and R_X86_64_TPOFF64.
30024
6f27cd16
JM
300252012-05-10 Joseph Myers <joseph@codesourcery.com>
30026
30027 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30028 sysdeps/unix/sysv/syscalls.list.
30029 (stime): Likewise.
30030 (utime): Likewise.
30031 * sysdeps/unix/sysv/syscalls.list: Remove file.
30032
02467e1c
PE
300332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30034
30035 [BZ #3440]
30036 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30037 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30038 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30039 (__LC_IDENTIFICATION): Make these macros useful in #if
30040 expressions, as required by C99.
30041
da392631
AS
300422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30043
30044 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30045 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30046 after this.
30047
8115f29b
L
300482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30049
30050 * stdlib/longlong.h: Updated from GCC.
30051
bdd74070
AJ
300522012-05-09 Andreas Jaeger <aj@suse.de>
30053
edfe0dbe
AJ
30054 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30055 default is first entry.
30056 (run_mode): Set type.
30057 (main): Remove informal message about syslog.
30058 (options): Fix typo.
30059
bcfe3a54
ST
30060 [BZ #14053]
30061 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30062 to asm.
bcfe3a54
ST
30063 (lrint): Likewise.
30064 (llrintf): Likewise.
30065 (llrint): Likewise.
30066 (rint): Likewise.
30067 (rintf): Likewise.
30068 (nearbyint): Likewise.
30069 (nearbyintf): Likewise.
bdd74070 30070
91d8d69e
AJ
300712012-05-09 Andreas Jaeger <aj@suse.de>
30072 Pedro Alves <palves@redhat.com>
30073
30074 * nscd/nscd.c (run_mode): Use enum.
30075 (main): Cleanup coding style issue.
30076
bb90b80b
AJ
300772012-05-09 Alexandre Oliva <aoliva@redhat.com>
30078 Andreas Jaeger <aj@suse.de>
30079
bcfe3a54
ST
30080 * nscd/nscd.c (go_background): Replaced with...
30081 (run_mode): ... this.
bb90b80b 30082 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30083 (options): Add -F --foreground.
30084 (main): Implement it.
30085 (parse_opt): Parse it.
bb90b80b 30086
1a4b75a1
AJ
300872012-05-09 Andreas Jaeger <aj@suse.de>
30088
30089 [BZ #14083]
30090 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30091 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30092 -Wconversion warning.
30093 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30094 Likewise.
30095
b1cc2472
JM
300962012-05-09 Joseph Myers <joseph@codesourcery.com>
30097
30098 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30099 == 0.
30100 (LC_ALL): Use macro-int-constant.
30101 (LC_COLLATE): Likewise.
30102 (LC_CTYPE): Likewise.
30103 (LC_MESSAGES): Likewise.
30104 (LC_MONETARY): Likewise.
30105 (LC_NUMERIC): Likewise.
30106 (LC_TIME): Likewise.
30107 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30108 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30110 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30111 Specify type.
30112 [C99-based standards] (float_t): Expect type.
30113 [C99-based standards] (double_t): Expect type.
30114 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30115 type.
30116 [C99-based standards] (HUGE_VALL): Likewise.
30117 [C99-based standards] (INFINITY): Likewise.
30118 [C99-based standards] (NAN): Likewise.
30119 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30120 [C99-based standards] (FP_NAN): Likewise.
30121 [C99-based standards] (FP_NORMAL): Likewise.
30122 [C99-based standards] (FP_SUBNORMAL): Likewise.
30123 [C99-based standards] (FP_ZERO): Likewise.
30124 [C99-based standards] (FP_FAST_FMA): Use
30125 optional-macro-int-constant. Specify type. Require == 1.
30126 [C99-based standards] (FP_FAST_FMAF): Likewise.
30127 [C99-based standards] (FP_FAST_FMAL): Likewise.
30128 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30129 [C99-based standards] (FP_ILOGBNAN): Likewise.
30130 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30131 Specify type.
30132 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30133 [C99-based standards] (math_errhandling): Specify type.
30134 [ISO99 || ISO11] (signgam): Do not allow.
30135 [non-C99-based standards] (copysignf): Do not allow.
30136 [non-C99-based standards] (exp2f): Likewise.
30137 [non-C99-based standards] (log2f): Likewise.
30138 [non-C99-based standards] (modff): Allow.
30139 [non-C99-based standards] (erff): Do not allow.
30140 [non-C99-based standards] (erfcf): Likewise.
30141 [non-C99-based standards] (gammaf): Likewise.
30142 [non-C99-based standards] (hypotf): Likewise.
30143 [non-C99-based standards] (j0f): Likewise.
30144 [non-C99-based standards] (j1f): Likewise.
30145 [non-C99-based standards] (jnf): Likewise.
30146 [non-C99-based standards] (lgammaf): Likewise.
30147 [non-C99-based standards] (tgammaf): Likewise.
30148 [non-C99-based standards] (y0f): Likewise.
30149 [non-C99-based standards] (y1f): Likewise.
30150 [non-C99-based standards] (ynf): Likewise.
30151 [non-C99-based standards] (isnanf): Likewise.
30152 [non-C99-based standards] (acoshf): Likewise.
30153 [non-C99-based standards] (asinhf): Likewise.
30154 [non-C99-based standards] (atanhf): Likewise.
30155 [non-C99-based standards] (cbrtf): Likewise.
30156 [non-C99-based standards] (expm1f): Likewise.
30157 [non-C99-based standards] (ilogbf): Likewise.
30158 [non-C99-based standards] (log1pf): Likewise.
30159 [non-C99-based standards] (logbf): Likewise.
30160 [non-C99-based standards] (nextafterf): Likewise.
30161 [non-C99-based standards] (remainderf): Likewise.
30162 [non-C99-based standards] (rintf): Likewise.
30163 [non-C99-based standards] (scalbf): Likewise.
30164 [non-C99-based standards] (copysignl): Likewise.
30165 [non-C99-based standards] (exp2l): Likewise.
30166 [non-C99-based standards] (log2l): Likewise.
30167 [non-C99-based standards] (modfl): Allow.
30168 [non-C99-based standards] (erfl): Do not allow.
30169 [non-C99-based standards] (erfcl): Likewise.
30170 [non-C99-based standards] (gammal): Likewise.
30171 [non-C99-based standards] (hypotl): Likewise.
30172 [non-C99-based standards] (j0l): Likewise.
30173 [non-C99-based standards] (j1l): Likewise.
30174 [non-C99-based standards] (jnl): Likewise.
30175 [non-C99-based standards] (lgammal): Likewise.
30176 [non-C99-based standards] (tgammal): Likewise.
30177 [non-C99-based standards] (y0l): Likewise.
30178 [non-C99-based standards] (y1l): Likewise.
30179 [non-C99-based standards] (ynl): Likewise.
30180 [non-C99-based standards] (isnanl): Likewise.
30181 [non-C99-based standards] (acoshl): Likewise.
30182 [non-C99-based standards] (asinhl): Likewise.
30183 [non-C99-based standards] (atanhl): Likewise.
30184 [non-C99-based standards] (cbrtl): Likewise.
30185 [non-C99-based standards] (expm1l): Likewise.
30186 [non-C99-based standards] (ilogbl): Likewise.
30187 [non-C99-based standards] (log1pl): Likewise.
30188 [non-C99-based standards] (logbl): Likewise.
30189 [non-C99-based standards] (nextafterl): Likewise.
30190 [non-C99-based standards] (remainderl): Likewise.
30191 [non-C99-based standards] (rintl): Likewise.
30192 [non-C99-based standards] (scalbl): Likewise.
30193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30194 [non-C99-based standards] (FP_*): Do not allow.
30195 [C99-based standards] (FP_*): Change to
30196 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30197 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30198 allow.
30199 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30200 (SIG_ERR): Likewise.
30201 [X/Open-based standards] (SIG_HOLD): Likewise.
30202 (SIG_IGN): Likewise.
30203 (SIGABRT): Use macro-int-constant. Specify type. Require
30204 positive value.
30205 (SIGFPE): Likewise.
30206 (SIGILL): Likewise.
30207 (SIGINT): Likewise.
30208 (SIGSEGV): Likewise.
30209 (SIGTER): Likewise.
30210 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30211 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30212 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30213 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30214 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30215 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30216 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30217 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30218 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30219 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30220 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30221 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30222 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30223 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30224 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30225 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30226 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30227 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30228 [X/Open-based standards] (SIGTRAP): Likewise.
30229 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30230 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30231 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30232 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30233 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30234 allow.
30235
b9f1922d
IW
302362012-05-08 Ian Wienand <ianw@vmware.com>
30237
30238 [BZ #14080]
30239 * time/tzset.c (__tzset_parse_tz): Update default rules for
30240 daylight time changes in the Energy Policy Act of 2005.
30241
1db86e88
AJ
302422012-05-09 Andreas Jaeger <aj@suse.de>
30243
30244 [BZ #13983]
30245 * elf/ldconfig.c (parse_conf): Change string to make clear that
30246 ldconfig only issued a warning if ld.so.conf does not exist.
30247
dee4a4e3
DM
302482012-05-08 David S. Miller <davem@davemloft.net>
30249
ee0db190
DM
30250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30251 movxtod instead of popping the value on the stack.
30252
dee4a4e3
DM
30253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30254
6a43ec98
CD
302552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30256
30257 * config.h.in: Add HAVE_ARM_PCS_VFP.
30258
05c2c961
RMG
302592012-05-08 Roland Mc Grath <roland@hack.frob.com>
30260
bcfe3a54
ST
30261 [BZ #13979]
30262 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30263 checking but the checks are disabled for any reason.
05c2c961 30264
4b30f61a
L
302652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30266
30267 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30268 and ELF64_R_TYPE with ELFW(R_TYPE).
30269
eee2bc67
JM
302702012-05-08 Joseph Myers <joseph@codesourcery.com>
30271
7ea5391a
JM
30272 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30273 (ulimit): Likewise.
30274
eee2bc67
JM
30275 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30276 (settimeofday): Likewise.
30277
abb66a67
MF
302782012-05-08 Mike Frysinger <vapier@gentoo.org>
30279
30280 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30281 a struct th_u2 inside the union, and move tu_block/tu_code into
30282 a new th_u3 union of tu_block/tu_code inside of that. Move
30283 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30284 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30285 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30286 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30287 (th_stuff): Change to th_u1.tu_stuff.
30288 (th_data): Define.
30289 (th_msg): Change to th_u1.th_u2.tu_data.
30290
7f18b530
DM
302912012-05-07 David S. Miller <davem@davemloft.net>
30292
05760585
DM
30293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30294
7f18b530
DM
30295 [BZ #14074]
30296 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30297 (SETUP_PIC_REG): Use it.
30298 (SETUP_PIC_REG_LEAF): Use it.
30299
495fd99f
JM
303002012-05-07 Joseph Myers <joseph@codesourcery.com>
30301
30302 [BZ #13885]
30303 [BZ #13923]
30304 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30305 USE_AS_EXPM1L.
30306 (EXPL_FINITE): Likewise.
30307 (FLDLOG): Likewise.
30308 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30309 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30310 e_expl.S.
30311 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30312 USE_AS_EXPM1L.
30313 (EXPL_FINITE): Likewise.
30314 (FLDLOG): Likewise.
30315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30316 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30317 e_expl.S.
30318 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30319 test of -max_value argument for long double.
30320 * sysdeps/i386/fpu/libm-test-ulps: Update.
30321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30322
6693d694
DM
303232012-05-06 David S. Miller <davem@davemloft.net>
30324
30325 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30326 quad soft-float symbols whose references which are compiler
30327 generated.
30328 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30329
6c23e11c
JM
303302012-05-06 Joseph Myers <joseph@codesourcery.com>
30331
d8b82cad
JM
30332 [BZ #13884]
30333 [BZ #13914]
30334 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30335 USE_AS_EXP10L.
30336 (EXPL_FINITE): Likewise.
30337 (FLDLOG): Likewise.
30338 (c0): Likewise.
30339 (c1): Likewise.
30340 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30341 Adjust comments for base varying.
30342 (__expl_finite): Change alias to EXPL_FINITE.
30343 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30344 e_expl.S.
30345 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30346 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30348 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30349 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30350 USE_AS_EXP10L.
30351 (EXPL_FINITE): Likewise.
30352 (FLDLOG): Likewise.
30353 (c0): Likewise.
30354 (c1): Likewise.
30355 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30356 Adjust comments for base varying.
30357 (__expl_finite): Change alias to EXPL_FINITE.
30358 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30359 tests for bugs.
30360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30361
6c23e11c
JM
30362 [BZ #14064]
30363 * math/libm-test.inc (check_float_internal): Correct ulp
30364 calculation for subnormal expected results.
30365
29ba805c
AJ
303662012-05-06 Andreas Jaeger <aj@suse.de>
30367
30368 * Makeconfig (+math-flags): New, set to -frounding-math.
30369 (+cflags): Add +math-flags so that all of glibc gets compiled with
30370 it.
30371
30372 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30373
7b17aeda
JM
303742012-05-05 Joseph Myers <joseph@codesourcery.com>
30375
5779f134
JM
30376 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30377 Disable one test.
30378
41498f4d
JM
30379 [BZ #13787]
30380 [BZ #13922]
30381 [BZ #14036]
30382 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30383 (__ieee754_expl): Allow for and saturate large arguments.
30384 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30385 (u_threshold): Likewise.
30386 (__exp): Call __ieee754_exp before checking for overflow and
30387 underflow.
30388 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30389 (u_threshold): Likewise.
30390 (__expf): Call __ieee754_expf before checking for overflow and
30391 underflow.
30392 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30393 (u_threshold): Likewise.
30394 (__expl): Call __ieee754_expl before checking for overflow and
30395 underflow.
30396 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30397 (__ieee754_expl): Allow for and saturate large arguments.
30398 * math/libm-test.inc (exp_test): Add another test. Do not allow
30399 missing overflow exception on overflow.
30400 (expm1_test): Do not allow missing overflow exception on overflow.
30401
6698b8bf
JM
30402 * sysdeps/i386/fpu/e_expl.c: Move to ...
30403 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30404 rather than using inline asm.
30405 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30406 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30407 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30408
7b17aeda
JM
30409 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30410 (nice): Likewise.
30411 (poll): Likewise.
30412 (signal): Likewise.
30413 (time): Likewise.
30414 (times): Likewise.
30415
f7c85819
JM
304162012-05-04 Joseph Myers <joseph@codesourcery.com>
30417
30418 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30419 sysdeps/unix/common/syscalls.list.
30420 (fchmod): Likewise.
30421 (fchown): Likewise.
30422 (ftruncate): Likewise.
30423 (getrusage): Likewise.
30424 (gettimeofday): Likewise.
30425 (setpgid): Likewise.
30426 (setregid): Likewise.
30427 (setreuid): Likewise.
30428 (sigaction): Likewise.
30429 (truncate): Likewise.
30430 (vhangup): Likewise.
30431 * sysdeps/unix/common/syscalls.list: Remove file.
30432 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30433 * sysdeps/unix/sysv/linux/Implies: Likewise.
30434
336270d0
L
304352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30436
30437 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30439 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30440 Moved to ...
30441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30442 Here.
30443 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30444 to ...
30445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30446 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30447 to ...
30448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30449 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30450 to ...
30451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30452 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30453 to ...
30454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30455 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30456 to ...
30457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30458 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30459 to ...
30460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30461 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30462 to ...
30463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30464 Here.
30465 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30466 to ...
30467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30468 Here.
30469 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30470 to ...
30471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30472 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30473 Moved to ...
30474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30475 Here.
30476 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30477 to ...
30478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30479
d128e450
JM
304802012-05-04 Joseph Myers <joseph@codesourcery.com>
30481
fa8ee516
JM
30482 * sysdeps/unix/common/bits/dirent.h: Remove file.
30483 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30484
d128e450
JM
30485 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30486 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30487 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30488 * sysdeps/unix/bsd/isatty.c: Likewise.
30489 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30490 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30491 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30492
ff8faaf0 304932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30494
62881be4 30495 [BZ #13563]
31dc8730
AZ
30496 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30497 long double comparison inaccuracies.
30498 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30500
6fef930c
AS
305012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30502
30503 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30504 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30505
8f203e6c
JM
305062012-05-04 Joseph Myers <joseph@codesourcery.com>
30507
30508 [BZ #14049]
30509 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30510 nonzero digits before rounding a hex value.
30511 * stdlib/tst-strtod.c (tests): Add another test.
30512
5197d9c2
AK
305132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30514
30515 * sysdeps/s390/fpu/libm-test-ulps: Update.
30516
f0c1dedf
AJ
305172012-05-03 Andreas Jaeger <aj@suse.de>
30518
30519 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30520 does not get optimized out.
30521 (malloc_opt_barrier): New.
30522
a65ef2ae 305232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30524 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30525
2b942cb7 30526 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30527 intermediate file deletion.
2b942cb7 30528 (generated): Add .symlist files.
a65ef2ae 30529
54b71e02
JM
305302012-05-03 Joseph Myers <joseph@codesourcery.com>
30531
30532 [BZ #13775]
30533 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30534 Redirect under this condition.
30535 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30536 [__USE_GNU] (__dprintf_chk): Not under this condition.
30537 [__USE_GNU] (__vdprintf_chk): Likewise.
30538 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30539 under this condition.
30540 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30541 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30542 [__USE_XOPEN2K8] (vdprintf): Likewise.
30543 [__USE_GNU] (__dprintf_chk): Not under this condition.
30544 [__USE_GNU] (__vdprintf_chk): Likewise.
30545 [__USE_GNU] (dprintf): Likewise.
30546 [__USE_GNU] (vdprintf): Likewise.
30547
d3dfcc41
RM
305482012-05-03 Roland McGrath <roland@hack.frob.com>
30549
30550 * elf/Makefile (common-generated): Set this instead of generated for
30551 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30552 $(all-built-dso)-derived lists.
30553
7ac30cc5
AJ
305542012-05-03 Andreas Jaeger <aj@suse.de>
30555
0c51e550
AJ
30556 * sysdeps/i386/fpu/libm-test-ulps: Update.
30557
7ac30cc5
AJ
30558 * FAQ: Removed.
30559 * FAQ.in: Likewise.
30560 * scripts/gen-FAQ.pl: Likewise.
30561 * manual/install.texi (Installation): Point to online location of
30562 FAQ.
30563 * Makefile (files-for-dist): Remove FAQ.
30564 (FAQ): Remove.
30565
d4c2917f
AM
305662012-05-02 Allan McRae <allan@archlinux.org>
30567
30568 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30569 (LDFLAGS-reldepmod5.so): Likewise.
30570 (LDFLAGS-reldep6mod1.so): Likewise.
30571 (LDFLAGS-reldep6mod4.so): Likewise.
30572 (LDFLAGS-reldep8mod3.so): Likewise.
30573 (LDFLAGS-unload4mod1.so): Likewise.
30574 (LDFLAGS-unload4mod2.so): Likewise.
30575 (LDFLAGS-tst-initorder): Likewise.
30576 (LDFLAGS-tst-initordera2.so): Likewise.
30577 (LDFLAGS-tst-initordera3.so): Likewise.
30578 (LDFLAGS-tst-initordera4.so): Likewise.
30579 (LDFLAGS-tst-initorderb2.so): Likewise.
30580 (LDFLAGS-noload): Likewise.
30581 (LDFLAGS-next): Likewise.
30582 (LDFLAGS-order2mod1.so): Likewise.
30583 (LDFLAGS-order2mod2.so): Likewise.
30584 (LDFLAGS-tst-initorder2): Likewise.
30585 (LDFLAGS-tst-initorder2a.so): Likewise.
30586 (LDFLAGS-tst-initorder2b.so): Likewise.
30587 (LDFLAGS-tst-initorder2c.so): Likewise.
30588 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30589
d77f993f
DM
305902012-05-02 David S. Miller <davem@davemloft.net>
30591
30592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30593
171a70b4
PP
305942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30595
30596 [BZ #14055]
30597 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30598
0be196ad
AJ
305992012-05-02 Andreas Jaeger <aj@suse.de>
30600
30601 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30602 since we manipulate rounding mode.
30603 (CPPFLAGS-test-idouble.c): Likewise.
30604 (CPPFLAGS-test-ifloat.c): Likewise.
30605 (CFLAGS-test-ldouble.c): Likewise.
30606 (CFLAGS-test-double.c): Likewise.
30607 (CFLAGS-test-float.c): Likewise.
30608 (CFLAGS-test-misc.c): Likewise.
30609 (CFLAGS-test-test-fenv.c): Likewise.
30610
4f9d04aa
AZ
306112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30612
2b942cb7
RM
30613 [BZ #2550]
30614 [BZ #2570]
30615 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30616 comparisons to determine direction to adjust input.
4f9d04aa 30617
82a79e7d
RM
306182012-05-01 Roland McGrath <roland@hack.frob.com>
30619
f5a01ca9
RM
30620 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30621 output to the target.
30622
90fe4186
RM
30623 * scripts/localplt.awk: New file.
30624 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30625 (check-localplt-CFLAGS): Variable removed.
30626 ($(all-built-dso:=.jmprel)): New static pattern rule.
30627 (generated): Add those targets.
30628 (localplt-built-dso): New variable.
30629 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30630
30631 * elf/check-localplt.c: File removed.
30632
82397ed6
RM
30633 * scripts/check-execstack.awk: New file.
30634 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30635 (check-execstack-CFLAGS): Variable removed.
30636 ($(objpfx)check-execstack.h): Target removed.
30637 ($(objpfx)execstack-default): New target.
30638 (generated): Add that instead of check-execstack.h.
30639 ($(all-built-dso:=.phdr)): New static pattern rule.
30640 (generated): Add those targets.
30641 * elf/check-execstack.c: File removed.
30642
82a79e7d
RM
30643 * scripts/check-textrel.awk: New file.
30644 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30645 (check-textrel-CFLAGS): Variable removed.
30646 (all-built-dso): Use := to define.o
30647 ($(all-built-dso:=.dyn)): New static pattern rule.
30648 (generated): Add those targets.
30649 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30650 * config.make.in (READELF): New substituted variable.
30651 * elf/check-textrel.c: File removed.
30652
62fde54f 306532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30654
615605c9
JM
30655 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30656 allow.
30657 * conform/data/ctype.h-data [C99-based standards] (isblank):
30658 Expect function.
30659 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30660 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30661 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30662 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30663 Specify type. Require positive value.
30664 (EILSEQ): Likewise.
30665 (ERANGE): Likewise.
30666 [ISO || POSIX] (EILSEQ): Do not expect.
30667 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30668 Specify type. Require positive value.
30669 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30682 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30683 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30684 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30685 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30686 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30687 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30688 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30689 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30690 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30691 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30692 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30693 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30694 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30695 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30696 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30697 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30698 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30699 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30700 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30701 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30702 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30703 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30704 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30705 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30706 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30707 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30711 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30712 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30713 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30714 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30715 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30716 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30717 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30718 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30719 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30720 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30721 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30723 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30724 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30725 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30726 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30727 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30728 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30729 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30730 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30731 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30732 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30733 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30734 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30735 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30739 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30743 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30744 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30745 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30746 Require >= 2.
30747 (FLT_ROUNDS): Expect as macro, not constant.
30748 (FLT_MANT_DIG): Use macro-int-constant.
30749 (DBL_MANT_DIG): Likewise.
30750 (LDBL_MANT_DIG): Likewise.
30751 (FLT_DIG): Likewise.
30752 (DBL_DIG): Likewise.
30753 (LDBL_DIG): Likewise.
30754 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30755 (DBL_MIN_EXP): Likewise.
30756 (LDBL_MIN_EXP): Likewise.
30757 (FLT_MAX_EXP): Use macro-int-constant.
30758 (DBL_MAX_EXP): Likewise.
30759 (LDBL_MAX_EXP): Likewise.
30760 (FLT_MAX_10_EXP): Likewise.
30761 (DBL_MAX_10_EXP): Likewise.
30762 (LDBL_MAX_10_EXP): Likewise.
30763 (FLT_MAX): Use macro-constant.
30764 (DBL_MAX): Likewise.
30765 (LDBL_MAX): Likewise.
30766 (FLT_EPSILON): Use macro-constant. Give upper bound.
30767 (DBL_EPSILON): Likewise.
30768 (LDBL_EPSILON): Likewise.
30769 (FLT_MIN): Likewise.
30770 (DBL_MIN): Likewise.
30771 (LDBL_MIN): Likewise.
30772 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30773 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30774 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30775 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30776 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30777 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30778 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30779 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30780 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30781 [ISO11] (FLT_TRUE_MIN): Likewise.
30782 [ISO11] (LDBL_TRUE_MIN): Likewise.
30783 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30784 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30785 (SCHAR_MIN): Use macro-int-constant. Specify type.
30786 (SCHAR_MAX): Likewise.
30787 (UCHAR_MAX): Likewise.
30788 (CHAR_MIN): Likewise.
30789 (CHAR_MAX): Likewise.
30790 (MB_LEN_MAX): Use macro-int-constant.
30791 (SHRT_MIN): Use macro-int-constant. Specify type.
30792 (SHRT_MAX): Likewise.
30793 (USHRT_MAX): Likewise.
30794 (INT_MAX): Likewise.
30795 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30796 bound negative.
30797 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30798 bound with "U".
30799 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30800 bound with "L".
30801 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30802 bound negative. Suffix upper bound with "L".
30803 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30804 bound with "UL".
30805 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30806 Specify type.
30807 [C99-based standards] (LLONG_MAX): Likewise.
30808 [C99-based standards] (ULLONG_MAX): Likewise.
30809 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30810 == 0.
30811 [ISO11] (max_align_t): Require type.
30812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30813
c9140a62
JM
30814 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30815 from $CFLAGS, without defining away __attribute__ calls.
30816 (checknamespace): Use $CFLAGS_namespace.
30817
9af0bf29
JM
30818 * conform/conformtest.pl (@keywords): Only include C99 keywords
30819 for standards based on C99 or C11.
30820
343222a2
JM
30821 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30822 Disable tests.
30823 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30824 UNIX98]: Likewise.
30825
661f8cf0
JM
30826 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30827 usability of symbols in #if.
30828
ee74b9cb
JM
30829 * conform/conformtest.pl: If macro or constant types start
30830 "promoted:", expect the symbol to be of the following type
30831 promoted by the integer promotions.
62fde54f 30832
aafc49b3
JM
30833 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30834 in one place. Also handle "macro-constant".
30835
fefdf574
JM
30836 * conform/conformtest.pl: Only accept expected macro values with
30837 "==". Parse all "macro" lines in one place.
30838 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30839
f2d922fe
JM
30840 * conform/conformtest.pl: Handle braced types on "constant" lines
30841 instead of handling "typed-constant".
30842 * conform/data/signal.h-data: Use "constant" instead of
30843 "typed-constant".
30844
d22956c9
JM
30845 * conform/conformtest.pl: Handle "optional-" at start of lines in
30846 one place rather than duplicating several cases. Handle each
30847 format of "macro" line with initial "optional-".
30848
028e2e38
JM
30849 * conform/conformtest.pl: Only accept expected constant or
30850 optional-constant values with "==". Parse all "constant" lines in
30851 one place. Parse all "optional-constant" lines in one place.
30852 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30853 * conform/data/fmtmsg.h-data: Likewise.
30854 * conform/data/netinet/in.h-data: Likewise.
30855 * conform/data/tar.h-data: Likewise.
30856 * conform/data/limits.h-data: Use "==" form on "constant" and
30857 "optional-constant" lines.
30858
1b8f2850
JM
30859 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30860 Use -std=c99 for XOPEN2K.
30861 (@knownproblems): Remove.
30862 (newtoken): Don't check %isknown.
30863
a05a144b
JM
30864 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30865 Do not expect macro.
30866 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30878 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30879 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30896 [XPG3] (acosh): Likewise.
30897 [XPG3] (asinh): Likewise.
30898 [XPG3] (atanh): Likewise.
30899 [XPG3] (cbrt): Likewise.
30900 [XPG3] (expm1): Likewise.
30901 [XPG3] (ilogb): Likewise.
30902 [XPG3] (log1p): Likewise.
30903 [XPG3] (logb): Likewise.
30904 [XPG3] (nextafter): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30907 [XPG3] (remainder): Likewise.
30908 [XPG3] (rint): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30916 [UNIX98 || XOPEN2K] (scalb): Expect.
30917 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30918 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31054
73c5ebe3
JM
31055 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31056 _XOPEN_SOURCE_EXTENDED for XPG4.
31057
39c33b6c
JM
31058 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31059
62fde54f
JM
31060 * Makeconfig (localtime): Remove variable.
31061 (inst_localtime-file): Likewise.
31062
0741d64c
AS
310632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31064
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31066 Update.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31068 Update.
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31070 Update.
31071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31072 Update.
31073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31074 Update.
31075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31076 Update.
31077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31078 Update.
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31080 Update.
31081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31082 Update.
31083
7cb029ee
JM
310842012-05-01 Joseph Myers <joseph@codesourcery.com>
31085
31086 [BZ #2550]
31087 [BZ #2570]
31088 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31089 comparisons to determine direction to adjust input.
31090 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31091 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31092 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31093 Likewise.
31094 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31095 Likewise.
31096 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31097 Likewise.
31098 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31099 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31100 Likewise.
31101 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31102 Likewise.
31103 * math/libm-test.inc (nexttoward_test): Add more tests.
31104
412bd966
AS
311052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31106
31107 [BZ #14040]
31108 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31109 in version GLIBC_2.1, not GLIBC_2.0.
31110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31111 Likewise.
31112
9568c0c2
JM
311132012-04-30 Joseph Myers <joseph@codesourcery.com>
31114
adfbc8ac
JM
31115 [BZ #13942]
31116 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31117 (1 - x) * (1 + x).
31118 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31119 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31120 * math/libm-test.inc (acos_test): Add more tests.
31121 (asin_test): Likewise.
31122 * sysdeps/i386/fpu/libm-test-ulps: Update.
31123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31124
5ba3cc69
JM
31125 [BZ #14034]
31126 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31127 of square root.
31128 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31129 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31130 * math/libm-test.inc (acos_test_tonearest): New function.
31131 (acos_test_towardzero): Likewise.
31132 (acos_test_downward): Likewise.
31133 (acos_test_upward): Likewise.
31134 (asin_test_tonearest): Likewise.
31135 (asin_test_towardzero): Likewise.
31136 (asin_test_downward): Likewise.
31137 (asin_test_upward): Likewise.
31138 (main): Call the new functions.
31139 * sysdeps/i386/fpu/libm-test-ulps: Update.
31140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31141
9568c0c2
JM
31142 [BZ #13884]
31143 [BZ #13924]
31144 * math/e_exp10.c: Include <float.h>.
31145 (__ieee754_exp10): Handle underflow here rather than multiplying
31146 large negative argument by M_LN10.
31147 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31148 of __ieee754_expf.
31149 * math/e_exp10l.c: Include <float.h>.
31150 (__ieee754_exp10l): Handle underflow here rather than multiplying
31151 large negative argument by M_LN10l.
31152 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31153 spurious overflow exception on underflow.
31154
5ac3ea17
MP
311552012-04-29 Marek Polacek <polacek@redhat.com>
31156
31157 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31158 (__fortify_function): New macro.
31159 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31160 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31161 __extern_always_inline.
31162 * libio/bits/stdio2.h: Likewise.
31163 * libio/bits/stdio.h: Likewise.
31164 * string/string.h: Likewise.
31165 * string/bits/string3.h: Likewise.
31166 * include/stdio.h: Likewise.
31167 * stdlib/bits/stdlib.h: Likewise.
31168 * stdlib/stdlib.h: Likewise.
31169 * rt/bits/mqueue2.h: Likewise.
31170 * rt/mqueue.h: Likewise.
31171 * posix/bits/unistd.h: Likewise.
31172 * posix/unistd.h: Likewise.
31173 * io/bits/poll2.h: Likewise.
31174 * io/bits/fcntl2.h: Likewise.
31175 * io/fcntl.h: Likewise.
31176 * io/sys/poll.h: Likewise.
31177 * misc/bits/syslog.h: Likewise.
31178 * misc/bits/syslog-ldbl.h: Likewise.
31179 * misc/sys/syslog.h: Likewise.
31180 * socket/bits/socket2.h: Likewise.
31181 * socket/sys/socket.h: Likewise.
31182 * debug/tst-chk1.c: Likewise.
31183 * wcsmbs/bits/wchar2.h: Likewise.
31184 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31185 * wcsmbs/wchar.h: Likewise.
31186
ecf0ebfb
AJ
311872012-04-29 Andreas Jaeger <aj@suse.de>
31188
31189 * Makerules (tests): Remove enable-check-abi protection.
31190 (check-abi-warn): Remove.
31191 (check-abi-%): Remove check-abi-warn usage.
31192
31193 * configure.in: Remove check-abi configure option.
31194 * configure: Regenerated.
31195 * config.make.in (enable-check-abi): Remove.
31196
6d5c57fa
AS
311972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31198
24c5d07e 31199 [BZ #14033]
ded5180a
AS
31200 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31201 double functions to double *_finite functions.
31202
7e0d315d
AS
31203 [BZ #13941]
31204 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31205 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31206 LDBL_MIN_EXP.
31207 * stdio-common/Makefile (tests): Add tst-sprintf3.
31208 * stdio-common/tst-sprintf3.c: New file.
31209
6d5c57fa
AS
31210 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31211 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31212
0749ff8b
JM
312132012-04-28 Joseph Myers <joseph@codesourcery.com>
31214
31215 * conform/conformtest.pl: Remove duplicate typed-constant
31216 handling.
31217
8dbd5d7b
DM
312182012-04-28 David S. Miller <davem@davemloft.net>
31219
31220 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31221 (check-abi-%): Remove AWK script prerequisite and explicit
31222 abilist directory.
31223 (check-abi): Rewrite to just diff the symlist with the abilist.
31224 (config-tls, config-abi-config): Delete, no longer used.
31225 (update-abi-%): Remove AWK script and explicit abilist directory.
31226 (update-abi): Rewrite to simply compare and conditionally copy the
31227 symlist and the sysdep abilist file. Remove update-abi-config
31228 checks.
31229 * abilist/ld.abilist: Remove.
31230 * abilist/libBrokenLocale.abilist: Remove.
31231 * abilist/libanl.abilist: Remove.
31232 * abilist/libcrypt.abilist: Remove.
31233 * abilist/libdl.abilist: Remove.
31234 * abilist/librt.abilist: Remove.
31235 * abilist/libthread_db.abilist: Remove.
31236 * abilist/libutil.abilist: Remove.
31237 * scripts/extract-abilist.awk: Remove.
31238 * scripts/merge-abilist.awk: Remove.
31239 * sysdeps/generic/libcidn.abilist: New file.
31240 * sysdeps/generic/libnss_compat.abilist: New file.
31241 * sysdeps/generic/libnss_db.abilist: New file.
31242 * sysdeps/generic/libnss_dns.abilist: New file.
31243 * sysdeps/generic/libnss_files.abilist: New file.
31244 * sysdeps/generic/libnss_hesiod.abilist: New file.
31245 * sysdeps/generic/libnss_nis.abilist: New file.
31246 * sysdeps/generic/libnss_nisplus.abilist: New file.
31247 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31248 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31249 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31250 file.
31251 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31252 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31253 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31254 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31255 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31256 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31257 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31258 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31259 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31260 file.
31261 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31262 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31263 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31264 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31265 file.
31266 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31267 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31268 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31269 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31270 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31271 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31272 file.
31273 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31274 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31275 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31276 file.
31277 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31279 New file.
31280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31281 New file.
31282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31283 New file.
31284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31285 New file.
31286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31287 New file.
31288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31289 New file.
31290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31291 New file.
31292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31293 New file.
31294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31295 New file.
31296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31297 New file.
31298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31299 New file.
31300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31301 New file.
31302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31303 New file.
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31305 file.
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31307 New file.
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31309 New file.
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31311 file.
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31313 New file.
31314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31315 New file.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31317 file.
31318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31319 New file.
31320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31321 New file.
31322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31323 New file.
31324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31325 New file.
31326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31327 New file.
31328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31329 New file.
31330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31332 file.
31333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31334 New file.
31335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31336 file.
31337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31338 file.
31339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31340 file.
31341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31342 file.
31343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31344 file.
31345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31346 New file.
31347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31348 file.
31349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31350 file.
31351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31352 New file.
31353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31354 file.
31355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31357 file.
31358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31359 New file.
31360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31361 file.
31362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31363 file.
31364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31365 file.
31366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31367 file.
31368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31369 file.
31370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31371 New file.
31372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31373 file.
31374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31375 file.
31376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31377 New file.
31378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31379 file.
31380 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31381 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31382 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31383 file.
31384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31385 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31386 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31387 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31388 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31389 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31390 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31391 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31392 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31393 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31396 file.
31397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31398 New file.
31399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31400 file.
31401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31402 file.
31403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31404 file.
31405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31406 file.
31407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31408 file.
31409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31410 New file.
31411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31412 New file.
31413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31414 file.
31415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31416 New file.
31417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31418 file.
31419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31421 file.
31422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31423 New file.
31424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31425 file.
31426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31427 file.
31428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31429 file.
31430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31431 file.
31432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31433 file.
31434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31435 New file.
31436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31437 New file.
31438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31439 file.
31440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31441 New file.
31442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31443 file.
31444
41d73a1b
JM
314452012-04-28 Joseph Myers <joseph@codesourcery.com>
31446
31447 * conform/conformtest.pl: Fix typo in handling typed-constant from
31448 allow-header.
31449
28aeeda4
JM
314502012-04-27 Joseph Myers <joseph@codesourcery.com>
31451
adae8f5e
JM
31452 * README: Cut down references to pre-2.6 Linux kernels and
31453 Linuxthreads. Update lists of configurations in libc and ports
31454 and sort alphabetically. Say "or newer" with Linux kernel version
31455 requirements.
31456
28aeeda4
JM
31457 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31458
a462cb63
RA
314592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31460
31461 [BZ #887]
31462 * math/libm-test.inc (logb_test_downward): New test to expose
31463 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31464 rounding mode.
31465
6ad3493e
JM
314662012-04-27 Joseph Myers <joseph@codesourcery.com>
31467
31468 [BZ #14027]
31469 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31470 to be done.
31471 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31472 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31473
2ce4f015
JM
314742012-04-26 Joseph Myers <joseph@codesourcery.com>
31475
5aeb141a
JM
31476 * sysdeps/unix/i386/brk.S: Remove file.
31477 * sysdeps/unix/i386/dl-brk.S: Likewise.
31478 * sysdeps/unix/i386/pipe.S: Likewise.
31479 * sysdeps/unix/i386/sigreturn.S: Likewise.
31480 * sysdeps/unix/i386/syscall.S: Likewise.
31481 * sysdeps/unix/i386/vfork.S: Likewise.
31482 * sysdeps/unix/i386/wait.S: Likewise.
31483
7143acae
JM
31484 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31485 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31486
2ce4f015
JM
31487 * configure.in (arm*-none*): Do not allow without
31488 --enable-hacker-mode.
31489 (netbsd*): Remove case setting base_os.
31490 (386bsd*): Likewise.
31491 (freebsd*): Likewise.
31492 (bsdi*): Likewise.
31493 (osf*): Likewise.
31494 (sunos*): Likewise.
31495 (ultrix*): Likewise.
31496 (newsos*): Likewise.
31497 (dynix*): Likewise.
31498 (*bsd*): Likewise.
31499 (sysv*): Likewise.
31500 (isc*): Likewise.
31501 (esix*): Likewise.
31502 (sco*): Likewise.
31503 (minix*): Likewise.
31504 (irix4*): Likewise.
31505 (irix6*): Likewise.
31506 (solaris[2-9]*): Likewise.
31507 (none): Likewise.
31508 * configure: Regenerated.
31509
0ac229c8
AZ
315102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31511
31512 [BZ #11521]
31513 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31514 overflow or cancellation in calculating denominator.
31515 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31516 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31517 down expression to avoid unexpected rounding in newer GCCs.
31518 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31519
33f244f4
DM
315202012-04-26 David S. Miller <davem@davemloft.net>
31521
31522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31523 long-double compat symbols.
31524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31537
cfa1f3e8
DM
315382012-04-25 David S. Miller <davem@davemloft.net>
31539
31540 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31541 HWCAP_* values only after the memory barriers have been defined.
31542 (atomic_full_barrier): Define.
31543 (atomic_read_barrier): Define.
31544 (atomic_write_barrier): Define.
31545
6e236b92
SP
315462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31547
31548 * shlib-versions: Add libgcc_s version information.
31549 * sysdeps/generic/libgcc_s.h: Remove.
31550 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31551 libgcc_s.h.
31552 * sysdeps/gnu/unwind-resume.c: Likewise.
31553 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31554
aab39a09
DM
315552012-04-25 David S. Miller <davem@davemloft.net>
31556
31557 * sysdeps/unix/sparc/brk.S: Delete.
31558 * sysdeps/unix/sparc/dl-brk.S: Delete.
31559 * sysdeps/unix/sparc/pipe.S: Delete.
31560 * sysdeps/unix/sparc/sysdep.S: Delete.
31561 * sysdeps/unix/sparc/sysdep.h: Delete.
31562 * sysdeps/unix/sparc/vfork.S: Delete.
31563 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31564 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31565 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31566 ret_ERRVAL, r0, r1, MOVE): Define.
31567 (JUMPTARGET): Remove.
31568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31569 sysdeps/unix/sparc/sysdep.h
31570 (ENTRY, END): Remove.
31571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31572
a3cc4f48
JM
315732012-04-25 Joseph Myers <joseph@codesourcery.com>
31574
2ed8cda2
JM
31575 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31576 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31577 -DIS_IN_build.
31578
35d76d59
JM
31579 * timezone/README: Update upstream location and email address for
31580 tzcode and tzdata.
31581 * timezone/zdump.c: Update from tzcode 2012b.
31582 * timezone/zic.c: Likewise.
31583
a3cc4f48
JM
31584 * configure.in (libc_cv_as_needed): Remove test.
31585 * configure: Regenerated.
31586 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31587 conditional definition.
31588 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31589 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31590 * config.make.in (have-as-needed): Remove variable.
31591
ceab42c3
SP
315922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31593 Paul Pluzhnikov <ppluzhnikov@google.com>
31594
31595 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31596 strings correctly.
31597
3ce2865f
CLT
315982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31599
31600 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31601 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31602 * sysdeps/sh/strlen.S: Likewise.
31603
f37e0d68
JM
316042012-04-24 Joseph Myers <joseph@codesourcery.com>
31605
ae186e9a
JM
31606 * sysdeps/unix/fork.S: Remove file.
31607 * sysdeps/unix/i386/fork.S: Likewise.
31608 * sysdeps/unix/sparc/fork.S: Likewise.
31609
b96914af
JM
31610 * sysdeps/unix/system.c: Remove file.
31611 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31612
f37e0d68
JM
31613 * sysdeps/unix/getegid.S: Remove file.
31614 * sysdeps/unix/geteuid.S: Likewise.
31615
87ef29ca
RM
316162012-04-24 Roland McGrath <roland@hack.frob.com>
31617
83bcd236
RM
31618 * scripts/check-localplt.awk: New file.
31619 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31620 of diff.
31621 * scripts/data/localplt-generic.data: Add a comment.
31622
87ef29ca
RM
31623 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31624 NODE when __dir_mkfile failed.
31625 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31626 Reported by Ludovic Courtès <ludo@gnu.org>.
31627
e5a6e567
AJ
316282012-04-24 Andreas Jaeger <aj@suse.de>
31629
31630 * Makerules (common-clean): Also remove gen-as-const-headers
31631 files.
31632
c1820385
JM
316332012-04-24 Joseph Myers <joseph@codesourcery.com>
31634
31635 * Makerules (native-compile): Do not change working directory for
31636 build. Use $(OUTPUT_OPTION) in command.
31637 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31638
94e02fc4
AZ
316392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31640
31641 [BZ #13886]
31642 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31643 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31644 * math/libm-test.inc (floor_test): Add more tests.
31645 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31646
3a533ca3
JM
316472012-04-24 Joseph Myers <joseph@codesourcery.com>
31648
940ab4b3
JM
31649 * sysdeps/unix/getdents.c: Remove file.
31650 * sysdeps/unix/sysv/getdents.c: Likewise.
31651 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31652
90e037bd
JM
31653 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31654 sysdeps/unix/mman/syscalls.list.
31655 (mmap): Likewise.
31656 (mprotect): Likewise.
31657 (msync): Likewise.
31658 (munmap): Likewise.
31659 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31660 * sysdeps/unix/mman/syscalls.list: Remove.
31661 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31662
3a533ca3
JM
31663 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31664 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31665 * configure: Regenerated.
31666 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31667 $(libgcc_s_suffix).
31668 * config.make.in (libgcc_s_suffix): Remove variable.
31669
1ad743de
JM
316702012-04-23 Joseph Myers <joseph@codesourcery.com>
31671
4ad451e2
JM
31672 * sysdeps/unix/sysv/gethostname.c: Move to ...
31673 * sysdeps/posix/gethostname.c: ... here.
31674
5e37ce39
JM
31675 * sysdeps/unix/execve.S: Remove file.
31676
1ad743de
JM
31677 * sysdeps/unix/_exit.S: Remove file.
31678
4e681b5b
AJ
316792012-04-23 Andreas Jaeger <aj@suse.de>
31680
31681 [BZ #13739]
31682 * manual/Makefile: Remove make dist support, there's no
31683 need for a stand-alone documentation tar ball.
31684 (TEXI2DVI): Define always, it's not in Makeconfig.
31685 (dist): Removed.
31686 (tar-it): Removed.
31687 (edition): Removed.
31688 (glibc-doc-$(edition).tar): Removed
31689 (%.Z): Removed.
31690 (%.gz): Removed.
31691 (%.uu): Removed.
31692 (ETAGS): Remove, it's in Makeconfig.
31693 (move-if-change): Remove, it's in Makeconfig.
31694
38686a03 316952012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31696
31697 [BZ #13970]
31698 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31699 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31700 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31701 (strtod_l, strtof_l, strtold_l): Remove __wur.
31702 It is not necessarily an error to ignore strtol's return value.
31703 One can reliably look at the stored endptr to decide whether
31704 the number had valid syntax.
31705
7c0616fa
AJ
317062012-04-21 Andreas Jaeger <aj@suse.de>
31707
803cb6b7 31708 [BZ #13739]
7c0616fa
AJ
31709 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31710
b0fe253f
JM
317112012-04-21 Joseph Myers <joseph@codesourcery.com>
31712
31713 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31714 * sysdeps/unix/sysv/Versions: Remove file.
31715
8280f22d
MT
317162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31717
31718 [BZ #13927]
31719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31720
75ce411f 317212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31722
31723 [BZ #7064]
31724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31725 version from __vm86.
31726
097d59fa
JM
317272012-04-20 Joseph Myers <joseph@codesourcery.com>
31728
a90f3bcb
JM
31729 * sysdeps/unix/common/lxstat.c: Remove file.
31730 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31731
edc7ea78
JM
31732 * sysdeps/unix/sysv/Makefile: Remove file.
31733
cb78c221
JM
31734 * sysdeps/unix/sysv/direct.h: Remove file.
31735
efa6a45f
JM
31736 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31737 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31738 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31739 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31740 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31741 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31742 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31743
9c9f2d0c
JM
31744 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31745
4541c83b
JM
31746 * sysdeps/unix/xmknod.c: Remove file.
31747 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31748
f5d153a0
JM
31749 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31750
aa746595
JM
31751 * sysdeps/unix/sysv/i386/time.S: Remove file.
31752
cce5905e
JM
31753 * sysdeps/unix/fxstat.c: Remove file.
31754 * sysdeps/unix/xstat.c: Likewise.
31755 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31756
37fa3841
JM
31757 * sysdeps/unix/sysv/sigaction.c: Remove file.
31758
ff1962a3
JM
31759 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31760 (sysdep_headers): Remove variable.
31761 [termio.h not in sysdep_headers] (generated): Likewise.
31762 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31763 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31764 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31765 * sysdeps/unix/sysv/tcflow.c: Likewise.
31766 * sysdeps/unix/sysv/tcflush.c: Likewise.
31767 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31768 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31769 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31770 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31771 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31772
e7740d31
JM
31773 * sysdeps/unix/siglist.c: Remove file.
31774
ee06f18b
JM
31775 * sysdeps/unix/getppid.S: Remove file.
31776
097d59fa
JM
31777 * sysdeps/unix/mkdir.c: Remove file.
31778 * sysdeps/unix/rmdir.c: Likewise.
31779
ff3d51ec
AS
317802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31781
31782 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31783 ERR_MAX value.
31784 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31785 errlist-compat value.
31786
50f81fd7
DM
317872012-04-18 David S. Miller <davem@davemloft.net>
31788
31789 * sysdeps/generic/memcopy.h (reg_char): Delete.
31790 * debug/strcat_chk.c: Use char, not reg_char.
31791 * debug/strcpy_chk.c: Likewise.
31792 * debug/strncat_chk.c: Likewise.
31793 * debug/strncpy_chk.c: Likewise.
31794 * string/memchr.c: Likewise.
31795 * string/memrchr.c: Likewise.
31796 * string/rawmemchr.c: Likewise.
31797 * string/strcat.c: Likewise.
31798 * string/strchr.c: Likewise.
31799 * string/strchrnul.c: Likewise.
31800 * string/strcmp.c: Likewise.
31801 * string/strcpy.c: Likewise.
31802 * string/strncat.c: Likewise.
31803 * string/strncmp.c: Likewise.
31804 * string/strncpy.c: Likewise.
31805
8ff41c46
WS
318062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31807
31808 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31809 __builtin_memcopy is called when src and dest ranges are known to not
31810 overlap.
31811
6b652f46
WS
318122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31813
31814 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31815 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31816 fwd_align_merge macro call.
31817 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31818 bwd_align_merge macro call.
31819 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31820
b282631e
WS
318212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31822
31823 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31824 bwd_align_merge macros.
31825 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31826 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31827 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31828
95aa737c
DM
318292012-04-18 David S. Miller <davem@davemloft.net>
31830
31831 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31832
7a99a614
AJ
318332012-04-18 Andreas Jaeger <aj@suse.de>
31834
31835 [BZ# 6794]
31836 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31837 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31838 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31839
31840 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31841 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31842 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31843
31844 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31845 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31846 Adjust for changed ldbl-128 files.
31847
31848 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31849 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31850 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31851
e5270c23
DM
318522012-04-17 David S. Miller <davem@davemloft.net>
31853
31854 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31855
fb5e92c9
AS
318562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31857
31858 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31859 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31860 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31861 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31862 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31863 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31864
76da7265
AZ
318652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31866
31867 [BZ #6794]
31868 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31869 * math/libm-test.inc: Add ilogb errno and exception tests.
31870 * math/w_ilogb.c: New file: ilogb wrapper.
31871 * math/w_ilogbf.c: New file: ilogbf wrapper.
31872 * math/w_ilogbl.c: New file: ilogbl wrapper.
31873 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31874 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31875 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31876 exception being thrown with 0.0 as argument.
31877 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31878 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31879 exception being thrown with 0.0 as argument.
31880 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31881 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31882 exception being thrown with 0.0 as argument.
31883 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31884 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31885 exception being thrown with 0.0 as argument.
31886 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31887 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31888 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31889 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31890 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31891 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31892 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31893 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31894 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31895
0396e69d
PB
318962012-04-17 Petr Baudis <pasky@ucw.cz>
31897
31898 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31899 with altivec.
31900
750b5926
MP
319012012-04-16 Marek Polacek <polacek@redhat.com>
31902
31903 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31904
751728a1
MP
319052012-04-16 Marek Polacek <polacek@redhat.com>
31906
31907 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31908 operands of fdivp instruction.
31909
34a27407
L
319102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31911
31912 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31913 * elf/tst-auditmod3b.c: Likewise.
31914 * elf/tst-auditmod4b.c: Likewise.
31915 * elf/tst-auditmod5b.c: Likewise.
31916 * elf/tst-auditmod6b.c: Likewise.
31917 * elf/tst-auditmod6c.c: Likewise.
31918 * elf/tst-auditmod7b.c: Likewise.
31919 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31920 * sysdeps/x86_64/preconfigure.in: Likewise.
31921 * sysdeps/x86_64/preconfigure: Regenerated.
31922
7e73e17d
L
319232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31924
31925 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31926 __ILP32__.
31927
c7a6ab72
AB
319282012-04-13 Antoine Balestrat <merkil33@gmail.com>
31929
31930 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31931 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31932
a9e8e0e0
CL
319332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31934
31935 [BZ #13973]
31936 * locale/iso-639.def: Fix gl language name. Spotted by
31937 Yaron Shahrabani.
31938
ec98af7d
RM
319392012-04-12 Roland McGrath <roland@hack.frob.com>
31940
31941 [BZ #2074]
31942 * libio/libio.h (__io_write_fn): Update comment.
31943
247c3ede
PB
319442012-04-12 Petr Baudis <pasky@ucw.cz>
31945
31946 [BZ #2074]
31947 * stdio.texi (Hook Functions): The user provided writer function
31948 is not allowed to return -1.
31949
55939d6d
DM
319502012-04-11 David S. Miller <davem@davemloft.net>
31951
31952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31953
90020f5a
MF
319542012-04-11 Mike Frysinger <vapier@gentoo.org>
31955
31956 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31957 Add a leading slash to rtkaio.
31958
288f9098
JM
319592012-04-11 Jim Meyering <meyering@redhat.com>
31960
90020f5a
MF
31961 [BZ #11959]
31962 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31963 It is not necessarily an error to ignore fwrite's return
31964 value. One can reliably use ferror to test for errors after
31965 the fact.
288f9098 31966
4be2b570
L
319672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31968
31969 * bits/types.h (__snseconds_t): New type.
31970 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31971
31972 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31974 (__SNSECONDS_T_TYPE): Likewise.
31975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31976 (__SNSECONDS_T_TYPE): Likewise.
31977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31978 (__SNSECONDS_T_TYPE): Likewise.
31979
288f9098 319802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31981
31982 [BZ #2636]
31983 * manual/time.texi (Processor Time): Return type of times is
31984 elapsed real time since an arbitrary point in the past.
31985 (CPU Time): Move CLK_TCK from here...
31986 (Processor Time): ...to here. Correct description.
31987 * manual/conf.texi (Constants for Sysconf): Correct description of
31988 _SC_CLK_TCK.
31989
d7dd4413
DM
319902012-04-10 David S. Miller <davem@davemloft.net>
31991
31992 [BZ #13967]
31993 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31994 where the is a gap between DT_REL(A) and DT_JMPREL.
31995
b46068fc
L
319962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31997
31998 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31999 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32000 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32001
73d65cc3
SP
320022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32003
32004 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32005 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32006 (dl_main): Handle --inhibit-cache.
32007 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32008 _dl_inhibit_cache.
32009 * elf/dl-load.c (_dl_map_object): Use it.
32010 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32011
bcc8d661
JM
320122012-04-09 Joseph Myers <joseph@codesourcery.com>
32013
8f9a2fae
JM
32014 [BZ #13872]
32015 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32016 (__ieee754_powl): Saturate large exponents rather than testing for
32017 overflow of y*log2(x).
32018 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32019 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32020 exceptions.
32021
bcc8d661
JM
32022 [BZ #11521]
32023 * math/s_ctan.c: Include <float.h>.
32024 (__ctan): Avoid internal overflow or cancellation in calculating
32025 denominator.
32026 * math/s_ctanf.c: Likewise.
32027 * math/s_ctanl.c: Likewise.
32028 * math/s_ctanh.c: Likewise.
32029 * math/s_ctanhf.c: Likewise.
32030 * math/s_ctanhl.c: Likewise.
32031 * math/libm-test.inc (ctan_test): Add more tests.
32032 (ctanh_test): Likewise.
32033 * sysdeps/i386/fpu/libm-test-ulps: Update.
32034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32035
823fbbb4
AJ
320362012-04-09 Andreas Jaeger <aj@suse.de>
32037
03879793
AJ
32038 [BZ #6894]
32039 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32040 is an optional BSD extension.
32041
823fbbb4
AJ
32042 [BZ #10254]
32043 * manual/stdio.texi (Opening Streams): Document additional fopen
32044 parameters.
32045
8de131cb
RM
320462012-04-09 Roland McGrath <roland@hack.frob.com>
32047
32048 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32049 %eax without telling the compiler.
32050
c0ed9d7d
CD
320512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32052
32053 [BZ # 13963]
32054 * manual/install.texi: Use sourceware.org.
32055
c483f6b4
JM
320562012-04-09 Joseph Myers <joseph@codesourcery.com>
32057
d7dd9453
JM
32058 [BZ #13873]
32059 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32060 (__ieee754_pow): Generate overflow and underflow using huge*huge
32061 and tiny*tiny rather than just returning constant infinity or zero
32062 for large exponents.
32063 * math/libm-test.inc (pow_test): Require overflow exceptions for
32064 applicable cases of large exponents.
32065
c483f6b4
JM
32066 [BZ #706]
32067 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32068 (__ieee754_pow): Use iterative multiplication algorithm only for
32069 integer exponents with absolute value below 1024. Check for odd
32070 integer exponents when using algorithm for real exponents.
32071 * math/libm-test.inc (pow_test): Add more tests.
32072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32073
d2de7579
JM
320742012-04-08 Joseph Myers <joseph@codesourcery.com>
32075
32076 [BZ #13705]
32077 * math/libm-test.inc (exp_test): Do not allow overflow exception
32078 on underflow test.
32079
f77f1232
AJ
320802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32081
32082 [BZ #13705]
32083 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32084 instead of __kernel_standard_f.
32085
3884932b
MF
320862012-04-08 Mike Frysinger <vapier@gentoo.org>
32087
32088 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32089 * sysdeps/x86_64/memset_chk.S: Likewise.
32090
54472e9c
AJ
320912012-04-08 Andreas Jaeger <aj@suse.de>
32092
6ab0fbfc
AJ
32093 [BZ #10153]
32094 * manual/startup.texi (Environment Access): Describe return value
32095 for putenv and setenv.
32096
61efba8c
AJ
32097 [BZ #6895]
32098 * manual/filesys.texi (Directory Entries): Add description for
32099 DT_LNK.
32100
95c3f29a
AJ
32101 [BZ #6890]
32102 * manual/filesys.texi (Directory Entries): Clarify that it's file
32103 system not operating system in the description of DT_UNKNOWN.
32104
54472e9c
AJ
32105 [BZ #6578]
32106 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32107
624254b1
SC
321082012-04-08 Stephen Compall <s11@member.fsf.org>
32109
32110 [BZ #6649]
32111 * manual/llio.texi (Opening and Closing Files): Add cross
32112 reference to explain mode argument.
32113
1e4920e0
MF
321142012-04-07 Mike Frysinger <vapier@gentoo.org>
32115
32116 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32117 * sysdeps/x86_64/memset_chk.S: Likewise.
32118
5ed848f3
DM
321192012-04-07 David S. Miller <davem@davemloft.net>
32120
32121 * elf/elf.h (R_SPARC_WDISP10): Define.
32122 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32123 R_SPARC_SIZE32.
32124 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32125 R_SPARC_SIZE64 and R_SPARC_H34.
32126
96154cd8
CD
321272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32128
32129 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32130 conditions and remove no longer applicable assertion.
32131
9904dc47
L
321322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32133
32134 * bits/byteswap.h: Include <features.h>.
32135 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32136 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32137
f8887d0a
L
321382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32139
32140 * bits/byteswap.h (__bswap_16): Removed.
32141 Include <bits/byteswap-16.h> to get __bswap_16.
32142 * sysdeps/i386/bits/byteswap.h: Likewise.
32143 * sysdeps/s390/bits/byteswap.h: Likewise.
32144 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32145 * bits/byteswap-16.h: New file.
32146 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32147 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32148 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32149 * string/Makefile (headers): Add bits/byteswap-16.h.
32150
62470f60
PP
321512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32152
32153 [BZ #13895]
32154 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32155 extra indirection.
32156 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32157 * nss/tst-nss-static.c: New.
32158
4dad7bab
RM
321592012-04-06 Robert Millan <rmh@gnu.org>
32160
32161 [BZ #6486]
32162 * manual/llio.texi (File Position Primitive): lseek
32163 refers to WHENCE when it really means OFFSET.
32164
e9142a17
AJ
321652012-04-06 Andreas Jaeger <aj@suse.de>
32166
2c040eff
AJ
32167 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32168 strncmp declarations.
32169
e9142a17
AJ
32170 * abilist/libc.abilist: Add __poll and __ppoll.
32171
ff9f1c5f
DM
321722012-04-05 David S. Miller <davem@davemloft.net>
32173
dcd2ae90
DM
32174 * scripts/check-local-headers.sh: Accept a host triplet in the
32175 path matched by the exclude regexp.
32176
993eb054
DM
32177 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32178 definition.
32179 * sysdeps/powerpc/powerpc32/dl-machine.h
32180 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32181 * sysdeps/s390/s390-32/dl-machine.h
32182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32183 * sysdeps/sparc/sparc32/dl-machine.h
32184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32185 * sysdeps/sparc/sparc64/dl-machine.h
32186 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32187
ff9f1c5f
DM
32188 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32189 lazy binding.
48e2e132 32190 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32191 undefined symbol errors.
32192
48e2e132 32193 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32194 DT_NEEDED entries.
32195
e80d6f94
MM
321962012-04-05 Michael Matz <matz@suse.de>
32197
32198 [BZ #13592]
32199 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32200
349fa79f
AJ
322012012-04-05 Andreas Jaeger <aj@suse.de>
32202
32203 [BZ #13908]
32204 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32205 comment.
32206
f402708f
KK
322072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32208
32209 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32210 which ROUND is no valid rounding mode.
32211
2ecccfc9
KK
322122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32213
32214 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32215 read again.
32216 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32217
8a53f50f
KK
322182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32219
32220 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32221 an exception using FPU order intentionally.
32222
322232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32224
32225 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32226 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32227 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32228 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32229
d653abb7
SJ
322302012-04-05 Simon Josefsson <simon@josefsson.org>
32231
32232 [BZ #12340]
32233 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32234 EINVAL when BUFLEN is too smal.
32235
c3b1bf7d
TS
322362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32237
32238 [BZ #13553]
32239 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32240 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32241
b1aa60f3
AJ
322422012-04-03 Andreas Jaeger <aj@suse.de>
32243
c3b1bf7d 32244 [BZ #13938]
67f60a26
AJ
32245 * manual/setjmp.texi (System V contexts): Fix sentence.
32246
b1aa60f3
AJ
32247 [BZ #13926]
32248 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32249 New macro for this case.
32250 [!__GNUC__] (__bswap_64): New inline function for this case.
32251 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32252 * bits/byteswap.h: Likewise.
32253 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32254 ull, guard with __GLIBC_HAVE_LONG_LONG.
32255
32256 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32257 __GLIBC_HAVE_LONG_LONG.
32258
32259 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32260 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32261
39c59c35
TMQMF
322622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32263
32264 [BZ #13691]
32265 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32266 inptr and inend, rather than using last_ch.
32267
135ffda8
DM
322682012-04-02 David S. Miller <davem@davemloft.net>
32269
32270 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32271 * stdio-common/printf-parse.h (read_int): Change return type to
32272 'int', return -1 on INT_MAX overflow.
32273 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32274 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32275 overflows INT_MAX. Check for overflow of in-format-string precision
32276 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32277 SIZE_MAX not INT_MAX for integer overflow test.
32278 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32279 skip the construct in the format string but do not record anything.
32280 * stdio-common/bug22.c: Adjust to test both width/prevision
32281 INT_MAX overflow as well as total length INT_MAX overflow. Check
32282 explicitly for proper errno values.
32283
228c019e
TS
322842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32285
302cadd3
TS
32286 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32287 CHAR_MAX.
32288 * string/test-strcmp.c [! WIDE]: Likewise.
32289 * time/tst-mktime2.c: Likewise for INT_MAX.
32290 * string/test-string.h: #include <sys/param.h> for MIN.
32291
228c019e
TS
32292 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32293 * sysdeps/i386/init-first.c (init): Likewise.
32294 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32295 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32296 * sysdeps/sh/init-first.c (init): Likewise.
32297
cfa633f5
UD
322982012-04-01 Ulrich Drepper <drepper@gmail.com>
32299
32300 * po/ru.po: Update from translation team.
d1635ef8 32301 * po/vi.po: Likewise.
cfa633f5 32302
6cd0a5ea
SP
323032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32304
32305 * resolv/nss_dns/dns-host.c: Merge copyright years.
32306
4b43400f
LD
323072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32308
32309 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32310 Optimize memcpy with prefetch if
32311 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32312 src, dst pointers have unequal 16 byte alignments.
32313
48c41d04
SP
323142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32315
32316 [BZ #13928]
32317 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32318 from a CNAME entry and return the minimum ttl for the query.
32319 (gaih_getanswer_slice): Likewise.
32320
b8dc394d
JL
323212012-03-30 Jeff Law <law@redhat.com>
32322
32323 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32324 due to long keys.
32325 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32326 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32327
2f5a5ed0
JL
32328 * resolv/nss_dns/dns-host.c: Update copyright year.
32329
1d39e359
UD
323302012-03-30 Ulrich Drepper <drepper@gmail.com>
32331
c030f70c 32332 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32333 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32334
1d39e359
UD
32335 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32336 comments for sendmmsg.
32337
323382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32339
32340 [BZ #13691]
32341 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32342 with only 1 character between 0x0041 and 0x01b0.
32343 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32344 * wcsmbs/tst-mbsnrtowcs.c: New file.
32345
20fde227
DM
323462012-03-29 David S. Miller <davem@davemloft.net>
32347
32348 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32349 small copies by hand.
32350
984a4237
JL
323512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32352
32353 [BZ #13761]
32354 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32355 _nss_compat_initgroups_dyn): Fall back to malloc/free
32356 for large group memberships.
32357
18c9d62b
DM
323582012-03-28 David S. Miller <davem@davemloft.net>
32359
88d85d4f
DM
32360 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32361 that branches into memcpy.
32362 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32364 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32365 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32367 bits.
32368 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32369 implementation too.
32370 * sysdeps/sparc/mempcpy.S: New file.
32371
e5aa83e1
DM
32372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32373 the IFUNC routine in the libc case.
32374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32375
88570753
DM
32376 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32377 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32378 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32379 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32380 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32381 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32382 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32383 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32384
249d7567
DM
32385 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32386 loop to 256 bytes instead of 64 bytes and fix test signedness.
32387
18c9d62b
DM
32388 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32389 * sysdeps/sparc/sparc32/Makefile: rather than here...
32390 * sysdeps/sparc/sparc64/Makefile: and here.
32391
05f3d1f6
UD
323922012-03-28 Ulrich Drepper <drepper@gmail.com>
32393
32394 * malloc/mallocbug.c: Avoid warnings about unused variables.
32395
86ae07a8
JL
323962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32397
32398 [BZ #13760]
32399 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32400 in the right place. Discard and retry query if response is
32401 larger than input buffer size.
32402
41bf21a1
JM
324032012-03-28 Joseph Myers <joseph@codesourcery.com>
32404
d6270972
JM
32405 [BZ #369]
32406 [BZ #2678]
32407 [BZ #3866]
32408 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32409 x for large integer exponent.
32410 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32411 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32412 sign of result as needed afterwards.
32413 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32414 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32415 result for underflowing pow the same as for overflow.
32416 (__kernel_standard_l): Handle powl overflow and underflow here
32417 rather than calling __kernel_standard.
32418 * math/libm-test.inc (pow_test): Add more tests.
32419
414fca03 32420 [BZ #3868]
41bf21a1
JM
32421 [BZ #13879]
32422 [BZ #13910]
32423 [BZ #13911]
32424 [BZ #13912]
32425 [BZ #13913]
32426 [BZ #13915]
32427 [BZ #13916]
32428 [BZ #13917]
32429 [BZ #13918]
32430 [BZ #13919]
32431 [BZ #13920]
32432 [BZ #13921]
32433 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32434 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32435 (__kernel_standard_l): New function.
32436 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32437 __kernel_standard.
32438 * math/w_acosl.c (__acosl): Likewise.
32439 * math/w_asinl.c (__asinl): Likewise.
32440 * math/w_atan2l.c (__atan2l): Likewise.
32441 * math/w_atanhl.c (__atanhl): Likewise.
32442 * math/w_coshl.c (__coshl): Likewise.
32443 * math/w_exp10l.c (__exp10l): Likewise.
32444 * math/w_exp2l.c (__exp2l): Likewise.
32445 * math/w_fmodl.c (__fmodl): Likewise.
32446 * math/w_hypotl.c (__hypotl): Likewise.
32447 * math/w_j0l.c (__j0l, __y0l): Likewise.
32448 * math/w_j1l.c (__j1l, __y1l): Likewise.
32449 * math/w_jnl.c (__jnl, __ynl): Likewise.
32450 * math/w_lgammal.c (__lgammal): Likewise.
32451 * math/w_log10l.c (__log10l): Likewise.
32452 * math/w_log2l.c (__log2l): Likewise.
32453 * math/w_logl.c (__logl): Likewise.
32454 * math/w_powl.c (__powl): Likewise.
32455 * math/w_remainderl.c (__remainderl): Likewise.
32456 * math/w_scalbl.c (sysv_scalbl): Likewise.
32457 * math/w_sinhl.c (__sinhl): Likewise.
32458 * math/w_sqrtl.c (__sqrtl): Likewise.
32459 * math/w_tgammal.c (__tgammal): Likewise.
32460 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32461 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32462 * math/libm-test.inc (acos_test): Add more tests.
32463 (acosh_test): Likewise.
32464 (asin_test): Likewise.
32465 (atanh_test): Likewise.
32466 (exp_test): Likewise.
32467 (exp10_test): Likewise.
32468 (exp2_test): Likewise.
32469 (expm1_test): Likewise.
32470 (lgamma_test): Likewise.
32471 (log_test): Likewise.
32472 (log10_test): Likewise.
32473 (log1p_test): Likewise.
32474 (log2_test): Likewise.
32475 (pow_test): Do not allow some spurious overflow exceptions.
32476 (sqrt_test): Add more tests.
32477 (tgamma_test): Likewise.
32478 (y0_test): Likewise.
32479 (y1_test): Likewise.
32480 (yn_test): Likewise.
32481
dd62fda6
AB
324822012-03-27 Anton Blanchard <anton@samba.org>
32483
32484 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32485 MAP_HUGETLB.
32486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32489
1e3cdfda
AJ
324902012-03-27 David S. Miller <davem@davemloft.net>
32491
b855ab85
DM
32492 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32493
1e3cdfda
AJ
32494 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32495 have-as-vis3 check.
32496
324972012-03-27 Andreas Jaeger <aj@suse.de>
32498
32499 * sysdeps/x86_64/elf/configure.in: Moved to ...
32500 * sysdeps/x86_64/configure.in: ... here.
32501 * sysdeps/x86_64/elf/start.S: Moved to ...
32502 * sysdeps/x86_64/start.S: ... here.
32503 * sysdeps/x86_64/elf/configure: Delete.
32504
32505 * sysdeps/x86_64/configure.in: Merge contents from
32506 sysdeps/i386/configure.in (without i686 check).
32507
32508 * sysdeps/i386/elf/Versions: Merge into ...
32509 * sysdeps/i386/Versions: ... this.
32510 * sysdeps/i386/elf/Versions: Delete file.
32511 * sysdeps/i386/elf/start.S: Moved to ...
32512 * sysdeps/i386/start.S: ...here.
32513 * sysdeps/i386/elf/configure.in: Merge into...
32514 * sysdeps/i386/configure.in: ...here.
32515 * sysdeps/i386/elf/configure.in: Delete file.
32516 * sysdeps/i386/elf/configure: Delete file.
32517
32518 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32519 * debug/backtracesyms.c: ... here.
32520 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32521 * debug/backtracesymsfd.c: ... here.
32522 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32523 * sysdeps/generic/ifunc-sel.h: ... here.
32524
32525 * sysdeps/unix/i386/start.c: Delete file.
32526 * sysdeps/unix/sparc/start.c: Delete file.
32527 * sysdeps/unix/start.c: Delete file.
32528
32529 * sysdeps/sh/elf/configure.in: Moved to ...
32530 * sysdeps/sh/configure.in: ... here.
32531 * sysdeps/sh/elf/start.S: Moved to ...
32532 * sysdeps/sh/start.S: ... here.
32533 * sysdeps/sh/elf/configure: Delete file.
32534
32535 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32536 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32537 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32538 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32539 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32540 * sysdeps/powerpc/powerpc64/start.S: here.
32541 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32542 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32543 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32544 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32545 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32546
32547 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32548 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32549 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32550 * sysdeps/powerpc/powerpc32/start.S: ... here.
32551 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32552 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32553 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32554
32555 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32556 * sysdeps/powerpc/ifunc-sel.h: ... here.
32557 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32558 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32559
32560 * sysdeps/sparc/elf/configure.in: Moved to ...
32561 * sysdeps/sparc/configure.in: ... here.
32562 * sysdeps/sparc/elf/configure: Delete file.
32563 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32564 * sysdeps/sparc/sparc32/start.S: ... here.
32565 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32566 * sysdeps/sparc/sparc64/start.S: ... here.
32567 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32568 * sysdeps/sparc/sparc32/Makefile: ... this.
32569 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32570 * sysdeps/sparc/sparc64/Makefile: ... this.
32571
32572 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32573 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32574 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32575 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32576 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32577 * sysdeps/s390/s390-32/setjmp.S: ... here.
32578 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32579 * sysdeps/s390/s390-32/configure.in: ... here.
32580 * sysdeps/s390/s390-32/elf/configure: Delete file.
32581 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32582 * sysdeps/s390/s390-32/start.S: ... here.
32583
32584 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32585 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32586 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32587 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32588 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32589 * sysdeps/s390/s390-64/setjmp.S: ... here.
32590 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32591 * sysdeps/s390/s390-64/configure.in: ... here
32592 * sysdeps/s390/s390-64/elf/configure: Delete file.
32593 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32594 * sysdeps/s390/s390-64/start.S: ... here.
32595 * sysdeps/s390/s390-64/elf/configure: Delete.
32596
32597 * configure.in: Remove support for elf directories in sysdeps.
32598
32599 * configure: Regenerated.
32600 * sysdeps/i386/configure: Regenerated.
32601 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32602 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32603 * sysdeps/s390/s390-32/configure: Regenerated.
32604 * sysdeps/s390/s390-64/configure: Regenerated.
32605 * sysdeps/sh/configure: Regenerated.
32606 * sysdeps/sparc/configure: Regenerated.
32607 * sysdeps/x86_64/configure: Regenerated.
32608
a3f61311
AS
326092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32610
c876e002
AS
32611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32612
a3f61311
AS
32613 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32614 denormal result into account.
32615
ac4c54f0
RM
326162012-03-25 Roland McGrath <roland@hack.frob.com>
32617
32618 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32619 Reported by Allan McRae <allan@archlinux.org>.
32620
6a9b9c02
JL
326212012-03-23 Jeff Law <law@redhat.com>
32622
32623 * nss/getnssent.c (__nss_getent): Fix typo.
32624
4c42a0c1
DM
326252012-03-23 David S. Miller <davem@davemloft.net>
32626
32627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32628
1532c7ac
L
326292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32630
32631 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32632 to pad to uint64_t for each field.
32633 (dl_tls_index): Replace unsigned long with uint64_t.
32634
3ff42526
PP
326352012-03-23 Daniel Jacobowitz <dmj@google.com>
32636 Paul Pluzhnikov <ppluzhnikov@google.com>
32637
32638 [BZ #6528]
32639 * grp/Makefile (otherlibs): Don't set it.
32640 * inet/Makefile (otherlibs): Likewise.
32641 * login/Makefile (otherlibs): Likewise.
32642 * nscd/Makefile (otherlibs): Likewise.
32643 * posix/Makefile (otherlibs): Likewise.
32644 * pwd/Makefile (otherlibs): Likewise.
32645 * rt/Makefile (otherlibs): Likewise.
32646 * sunrpc/Makefile (otherlibs): Likewise.
32647 * nss/Makefile (otherlibs): Likewise.
32648 Add libnss_files to routines and static-only-routines.
32649 ($(objpfx)getent): Remove rule.
32650 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32651 static-only-routines.
32652
7c69cd14
JM
326532012-03-22 Joseph Myers <joseph@codesourcery.com>
32654
32655 [BZ #13892]
32656 * math/s_cexp.c: Include <float.h>.
32657 (__cexp): Handle exp result overflowing not necessarily
32658 overflowing both real and imaginary parts of result.
32659 * math/s_cexpf.c: Likewise.
32660 * math/s_cexpl.c: Likewise.
32661 * math/libm-test.inc (cexp_test): Add more tests.
32662 * sysdeps/i386/fpu/libm-test-ulps: Update.
32663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32664
81b035fe
L
326652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32666
32667 * include/link.h (ELFW): New macro.
32668 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32669 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32670
1da7940c
L
326712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32672
32673 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32674 with uint64_t.
32675
b749dbb9
L
326762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32677
32678 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32679 declaration.
32680 (struct La_x32_retval): Likewise.
32681
2ff87f3f
L
326822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32683
32684 * sysdeps/x86_64/preconfigure.in: New file.
32685 * sysdeps/x86_64/preconfigure: New generated file.
32686
c0df8e69
JM
326872012-03-22 Joseph Myers <joseph@codesourcery.com>
32688
48e44791
JM
32689 [BZ #13824]
32690 * math/e_exp2l.c: Include <float.h>.
32691 (__ieee754_exp2l): Handle overflow and underflow cases
32692 separately. Only pass fractional part of argument to
32693 __ieee754_expl.
32694 * math/libm-test.inc (exp2_test): Add more tests.
32695
c0df8e69
JM
32696 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32697 negating x to take absolute value.
32698 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32699 Likewise.
32700 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32701 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32702 Likewise.
32703 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32704 computing low part if x was negated.
32705 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32706
c8e43ba7
L
327072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32708
32709 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32710 la_x32_gnu_pltexit.
32711 (pltexit): Cast int_retval to ptrdiff_t.
32712 * elf/tst-auditmod3b.c: Likewise.
32713 * elf/tst-auditmod4b.c: Likewise.
32714 * elf/tst-auditmod5b.c: Likewise.
32715 * elf/tst-auditmod6b.c: Likewise.
32716 * elf/tst-auditmod6c.c: Likewise.
32717 * elf/tst-auditmod7b.c: Likewise.
32718
32719 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32720 and x32_gnu_pltexit.
32721
32722 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32723 __ELF_NATIVE_CLASS.
32724 (La_x32_regs): New macro.
32725 (La_x32_retval): Likewise.
32726 (la_x32_gnu_pltenter): New function prototype.
32727 (la_x32_gnu_pltexit): Likewise.
32728
7998fa78
AS
327292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32730
dcb33988
AS
32731 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32732 exponent.
32733
233fc563
AS
32734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32735
7998fa78
AS
32736 * configure.in (libc_cv_cc_nofma): Check for option to disable
32737 generation of FMA instructions.
32738 * configure: Regenerate.
32739 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32740 * sysdeps/ieee754/dbl-64/Makefile: New file.
32741 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32742 Remove brandred-fma4.
32743 (CFLAGS-brandred-fma4.c): Remove.
32744 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32745 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32746 define.
32747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32748 define.
32749
8e95c99a
L
327502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32751
32752 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32753 LLONG_MAX != LONG_MAX.
32754 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32755 (_fitoa_word): Likewise.
32756 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32757 LLONG_MAX != LONG_MAX.
32758 * stdio-common/_itowa.h: Include <_itoa.h>.
32759 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32760 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32761 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32762 only if not defined.
32763 (_ITOA_WORD_TYPE): Likewise.
32764 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32765 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32766
6f4db457
DM
327672012-03-21 David S. Miller <davem@davemloft.net>
32768
32769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32770
7785fe5a
L
327712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32772
32773 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32774 of x86_64 when setting libc_cv_slibdir, libdir and
32775 libc_cv_localedir.
32776 * sysdeps/unix/sysv/linux/configure: Regenerated.
32777
4535cd55
JM
327782012-03-21 Joseph Myers <joseph@codesourcery.com>
32779
32780 * manual/lang.texi (Old Varargs): Remove section.
32781 (How Variadic): Update menu.
32782 (va_start): Do not mention varargs.h.
32783
17228132
TS
327842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32785 Joseph Myers <joseph@codesourcery.com>
32786
32787 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32788 link test.
32789 * configure: Regenerated.
32790
8149f976
TS
327912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32792
05f3d1f6
UD
32793 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32794 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32795 conformtest.pl
8149f976 32796
1a4ac776
JM
327972012-03-21 Joseph Myers <joseph@codesourcery.com>
32798
be22ce65
JM
32799 * NOTES: Remove.
32800 * Makefile (files-for-dist): Remove NOTES.
32801 (NOTES): Remove rule.
32802 * README: Don't refer to NOTES.
32803 * manual/creature.texi: Don't include macros.texi.
32804 * manual/intro.texi (creature.texi): Remove comment referring to
32805 NOTES.
32806
40b601fb
JM
32807 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32808 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32809 * configure: Regenerated.
32810 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32811 LIBC_TRY_CC_OPTION.
32812 (libc_cv_as_i686): Likewise.
32813 (libc_cv_cc_avx): Likewise.
32814 (libc_cv_cc_sse2avx): Likewise.
32815 (libc_cv_cc_fma4): Likewise.
32816 (libc_cv_cc_novzeroupper): Likewise.
32817 * sysdeps/i386/configure: Regenerated.
32818
1a4ac776
JM
32819 [BZ #13883]
32820 * sysdeps/i386/fpu/s_cexp.S: Remove.
32821 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32822 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32823 * math/libm-test.inc (cexp_test): Add more tests.
32824 * sysdeps/i386/fpu/libm-test-ulps: Update.
32825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32826
a458e7fe
AM
328272012-03-21 Allan McRae <allan@archlinux.org>
32828
32829 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32830
0cb7efc5
JM
328312012-03-21 Joseph Myers <joseph@codesourcery.com>
32832
32833 [BZ #13871]
32834 * math/w_exp2.c: Do not include <float.h>.
32835 (o_threshold, u_threshold): Remove.
32836 (__exp2): Calculate result before checking finiteness and calling
32837 __kernel_standard.
32838 * math/w_exp2f.c: Likewise.
32839 * math/w_exp2l.c: Likewise.
32840 * math/libm-test.inc (exp2_test): Require overflow exception for
32841 1e6 input.
2460d3aa
JM
32842
32843 [BZ #3866]
32844 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32845 range of signed 64-bit integers before using fistpll. Remove
32846 checks for whether integers fit in mantissa bits.
32847 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32848 the range of signed 32-bit integers before using fistpl. Remove
32849 checks for whether integers fit in mantissa bits.
32850 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32851 (__ieee754_powl): Test for y outside the range of signed 64-bit
32852 integers before using fistpll. Reduce 64-bit values to 63-bit
32853 ones as needed.
32854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32855 divide-by-zero is raised for zero to large negative powers.
32856 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32857 (__ieee754_powl): Test for y outside the range of signed 64-bit
32858 integers before using fistpll. Reduce 64-bit values to 63-bit
32859 ones as needed.
32860 * math/libm-test.inc (pow_test): Add more tests.
32861
eb96ffb0
L
328622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32863
32864 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32865 <stdio-common/_itoa.h>.
32866 * debug/segfault.c: Likewise.
32867 * elf/dl-cache.c: Likewise.
32868 * elf/dl-minimal.c: Likewise.
32869 * elf/dl-misc.c: Likewise.
32870 * elf/dl-sysdep.c: Likewise.
32871 * elf/dl-version.c: Likewise.
32872 * elf/rtld.c: Likewise.
32873 * hurd/hurdsock.c: Likewise.
32874 * hurd/lookup-retry.c: Likewise.
32875 * malloc/malloc.c: Likewise.
32876 * malloc/mtrace.c: Likewise.
32877 * nscd/nscd_getgr_r.c: Likewise.
32878 * nscd/nscd_getpw_r.c: Likewise.
32879 * nscd/nscd_getserv_r.c: Likewise.
32880 * posix/getopt_init.c: Likewise.
32881 * posix/wordexp.c: Likewise.
32882 * stdio-common/_itoa.c: Likewise.
32883 * stdio-common/printf_fphex.c: Likewise.
32884 * stdio-common/vfprintf.c: Likewise.
32885 * string/_strerror.c: Likewise.
32886 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32887 * sysdeps/i386/i686/hp-timing.h: Likewise.
32888 * sysdeps/mach/_strerror.c: Likewise.
32889 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32890 * sysdeps/mach/hurd/sethostid.c: Likewise.
32891 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32892 * sysdeps/mach/xpg-strerror.c: Likewise.
32893 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32894 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32895 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32896 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32897 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32898 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32899 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32900 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32901 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32902 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32903 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32904 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32905 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32906 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32907 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32908 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32909 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32910 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32911 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32912 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32913 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32914
32915 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32916
32917 * stdio-common/_itoa.h: Moved to ...
32918 * sysdeps/generic/_itoa.h: Here.
32919
32920 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32921
32922 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32923 instead of "_itoa.h" and "_itowa.h".
32924 * stdio-common/vfprintf.: Likewise.
32925
d1af992d
L
329262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32927
32928 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32929 <bits/wordsize.h>.
32930 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32931 (__signbit): Likwise.
32932 (llrintf): Likwise.
32933 (llrint): Likwise.
32934
114883e0
L
329352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32936
32937 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32938 __WORDSIZE != 64.
32939
c135cc1b
JM
329402012-03-20 Joseph Myers <joseph@codesourcery.com>
32941
32942 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32943 OVERFLOW_EXCEPTION_OK.
32944 * math/libm-test.inc ("Philosophy"): Update comment about
32945 exception testing.
32946 (OVERFLOW_EXCEPTION): Define.
32947 (OVERFLOW_EXCEPTION_OK): Likewise.
32948 (INVALID_EXCEPTION_OK): Renumber.
32949 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32950 (IGNORE_ZERO_INF_SIGN): Likewise.
32951 (test_exceptions): Handle FE_OVERFLOW.
32952 (exp10_test): Expect overflow exceptions.
32953 (exp2_test): Likewise.
32954 (expm1_test): Likewise.
32955 (nextafter_test): Likewise.
32956 (pow_test): Likewise.
32957 (scalbn_test): Likewise.
32958 (scalbln_test): Likewise.
32959
95443d88
L
329602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32961
32962 * sysdeps/x86_64/bits/atomic.h
32963 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32964 64bit integer.
32965 (atomic_exchange_acq): Likewise.
32966 (__arch_exchange_and_add_body): Likewise.
32967 (__arch_add_body): Likewise.
32968 (atomic_add_negative): Likewise.
32969 (atomic_add_zero): Likewise.
32970
490df6c4
L
329712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32972
c2722551 32973 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32974 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32975
5e52b189
L
329762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32977
32978 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32979 Check __x86_64__ instead of __WORDSIZE.
32980
a9879d4c
L
329812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32982
32983 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32984
5df98260
DM
329852012-03-19 David S. Miller <davem@davemloft.net>
32986
e1497744
DM
32987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32988
5df98260
DM
32989 * sysdeps/sparc/fpu/fenv_private.h: New file.
32990 * sysdeps/sparc/fpu/math_private.h: Use it.
32991 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32992 Remove.
32993 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32994 (libc_feholdexcept_setroundl): Remove.
32995 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32996 Remove.
32997 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32998 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32999
b4c35121
L
330002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33001
33002 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33003 int64_t instead of long int.
33004 (INSERT_WORDS64): Likwise.
33005
56965fd7
L
330062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33007
33008 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33009 _Unwind_GetCFA return to _Unwind_Ptr first.
33010
83d1aec8
JM
330112012-03-19 Joseph Myers <joseph@codesourcery.com>
33012
1897ad44
JM
33013 [BZ #13629]
33014 * math/s_clog.c: Include <float.h>.
33015 (__clog): Scale large or subnormal inputs.
33016 * math/s_clogf.c: Likewise.
33017 * math/s_clogl.c: Likewise.
33018 * math/s_clog10.c: Include <float.h>.
33019 (M_LOG10_2): Define.
33020 (__clog10): Scale large or subnormal inputs.
33021 * math/s_clog10f.c: Likewise.
33022 * math/s_clog10l.c: Likewise.
33023 * math/libm-test.inc (clog_test): Add more tests.
33024 (clog10_test): Likewise.
33025 * sysdeps/i386/fpu/libm-test-ulps: Update.
33026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33027
7726d6a9
JM
33028 [BZ #11451]
33029 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33030 x and y.
33031 * math/libm-test.inc (atan2_test): Add another test.
33032
83d1aec8
JM
33033 * Makerules (common-objdir-compile): Remove.
33034 * sysdeps/unix/Makefile (config-generated): Do not add
33035 $(unix-generated) to variable.
33036 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33037 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33038 Remove rule.
33039 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33040 Likewise.
33041 [generic bits/local_lim.h] (before-compile): Do not append to
33042 variable.
33043 [generic bits/local_lim.h] (common-generated): Likewise.
33044 [generic sys/param.h] (before-compile): Do not append to variable.
33045 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33046 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33047 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33048 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33049 include.
33050 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33051 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33052 [generic sys/param.h] ($(addprefix
33053 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33054 [generic sys/param.h] (common-generated): Do not append to
33055 variable.
33056 [generic sys/param.h] (sysdep_headers): Likewise.
33057 [generic bits/errno.h] (before-compile): Do not append to
33058 variable.
33059 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33060 rule.
33061 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33062 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33063 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33064 [generic bits/errno.h] (common-generated): Do not append to
33065 variable.
33066 [generic bits/ioctls.h] (before-compile): Do not append to
33067 variable.
33068 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33069 rule.
33070 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33071 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33072 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33073 rule.
33074 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33075 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33076 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33077 [generic bits/ioctls.h] (common-generated): Do not append to
33078 variable.
33079 [generic sys/syscall.h] (syscall.h): Remove variable.
33080 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33081 rule.
33082 [generic sys/syscall.h] (before-compile): Do not append to
33083 variable.
33084 [generic sys/syscall.h] (common-generated): Likewise.
33085 * sysdeps/unix/errnos-tmpl.c: Remove file.
33086 * sysdeps/unix/errnos.awk: Likewise.
33087 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33088 * sysdeps/unix/ioctls.awk: Likewise.
33089 * sysdeps/unix/mk-local_lim.c: Likewise.
33090 * sysdeps/unix/snarf-ioctls: Likewise.
33091
4851a949
RH
330922012-03-19 Richard Henderson <rth@twiddle.net>
33093
bd37f2ee
RH
33094 * sysdeps/i386/fpu/fenv_private.h: New file.
33095 * sysdeps/i386/fpu/math_private.h: Use it.
33096 (math_opt_barrier, math_force_eval): Remove.
33097 (libc_feholdexcept_setround_53bit): Remove.
33098 (libc_feupdateenv_53bit): Remove.
33099 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33100 (math_opt_barrier, math_force_eval): Remove.
33101 (libc_feholdexcept): Remove.
33102 (libc_feholdexcept_setround): Remove.
33103 (libc_fetestexcept, libc_fesetenv): Remove.
33104 (libc_feupdateenv_test): Remove.
33105 (libc_feupdateenv, libc_feholdsetround): Remove.
33106 (libc_feresetround): Remove.
33107
d0adc922
RH
33108 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33109 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33110
0fe0f1f8
RH
33111 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33112 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33113 (libc_feupdateenv_testl): New.
33114 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33115 (libc_feupdateenv_testf): New.
33116 (libc_feupdateenv): Use libc_feupdateenv_test.
33117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33118 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33119
eb92c487
RH
33120 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33121 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33122 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33123 (libc_feresetround_noex): New.
33124 (libc_feresetround_noexf): New.
33125 (libc_feresetround_noexl): New.
33126 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33127 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33128 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33129 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33130 SET_RESTORE_ROUND.
33131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33132 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33133 (__cos): Likewise.
33134 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33135 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33136 SET_RESTORE_ROUND_NOEX.
33137 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33138 SET_RESTORE_ROUND_NOEXF.
33139 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33140 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33141 (libc_feholdsetroundf): New.
33142 (libc_feresetround, libc_feresetroundf): New.
33143
7d2e8012
RH
33144 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33145 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33146 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33147
b4dabbb4
RH
33148 * sysdeps/generic/math_private.h: Include <fenv.h>.
33149 (default_libc_feholdexcept): New.
33150 (default_libc_feholdexcept_setround): New.
33151 (default_libc_fesetenv, default_libc_feupdateenv): New.
33152 (libc_feholdexcept): Only define if undefined.
33153 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33154 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33155 (libc_feholdexcept_setroundl): Likewise.
33156 (libc_feholdexcept_setround_53bit): Likewise.
33157 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33158 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33159 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33160 (libc_feupdateenv_53bit): Likewise.
33161 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33162 (libc_feholdexcept): Convert from macro to inline function.
33163 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33164 (libc_fesetenv, libc_feupdateenv): Likewise.
33165
4851a949
RH
33166 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33167 not previously defined.
33168 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33169 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33170 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33171 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33172 * sysdeps/ieee754/flt-32/math_private.h: New file.
33173 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33174 math_private.h below SET_FLOAT_WORD.
33175 (__isnan, __isinf_ns, __finite): Remove.
33176 (__isnanf, __isinf_nsf, __finitef): Remove.
33177
e79d442e
AS
331782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33179
33180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33181
90b80344
DM
331822012-03-17 David S. Miller <davem@davemloft.net>
33183
33184 [BZ #6471]
33185 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33186 for 2.16.
33187
edc21804
DM
331882012-03-16 David S. Miller <davem@davemloft.net>
33189
77e927af
DM
33190 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33191 warnings.
33192
374976dd
DM
33193 [BZ #6471]
33194 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33195 properly.
33196 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33197 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33198 sysdep_routines when subdir is sysvipc.
33199 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33200 __getshmlba helper.
33201
edc21804
DM
33202 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33203
473c3ef3
L
332042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33205
33206 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33207 [__LP64__].
33208
eb0f39b6
L
332092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33210
33211 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33212 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33213 (__lround): Renamed to ...
33214 (__llround): This. Replace long int with long long int.
33215 Define lround functions as aliases of llround functions.
33216 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33217
6b6cd74b
L
332182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33219
33220 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33221 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33222 adresses to uintptr_t. Replace "long int" and "unsigned long
33223 int" with "greg_t" on va_arg.
33224
f1a77b01
L
332252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33226
33227 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33228 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33229
33230 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33231 Move e_machine check before EI_CLASS check. Handle x32
33232 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33233 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33234 SKIP_EM_IA_64 and include
33235 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33236
33237 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33238 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33239 (add_system_dir): New macro.
33240
33241 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33242 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33243
11b90b9f
JM
332442012-03-16 Joseph Myers <joseph@codesourcery.com>
33245
c36e1d23
JM
33246 [BZ #2551]
33247 [BZ #2552]
33248 [BZ #2553]
33249 [BZ #2554]
33250 [BZ #2562]
33251 [BZ #2563]
33252 [BZ #2565]
33253 [BZ #2566]
33254 [BZ #2576]
33255 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33256 (y0): Likewise.
33257 * math/w_j0f.c (j0f): Likewise.
33258 (y0f): Likewise.
33259 * math/w_j0l.c (__j0l): Likewise.
33260 (__y0l): Likewise.
33261 * math/w_j1.c (j1): Likewise.
33262 (y1): Likewise.
33263 * math/w_j1f.c (j1f): Likewise.
33264 (y1f): Likewise.
33265 * math/w_j1l.c (__j1l): Likewise.
33266 (__y1l): Likewise.
33267 * math/w_jn.c (jn): Likewise.
33268 (yn): Likewise.
33269 * math/w_jnf.c (jnf): Likewise.
33270 (ynf): Likewise.
33271 * math/w_jnl.c (__jnl): Likewise.
33272 (__ynl): Likewise.
33273 * math/libm-test.inc (j0_test): Add more tests.
33274 (j1_test): Likewise.
33275 (jn_test): Likewise. Add trailing semicolon to existing test.
33276 (y0_test): Likewise.
33277 (y1_test): Likewise.
33278 * sysdeps/i386/fpu/libm-test-ulps: Update.
33279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33280
11b90b9f
JM
33281 [BZ #13851]
33282 [BZ #13854]
33283 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33284 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33285 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33286 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33287 (__tanl): Set errno for infinite argument.
33288 * sysdeps/i386/fpu/mptan.c: Remove.
33289 * sysdeps/i386/fpu/s_tan.S: Likewise.
33290 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33291 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33292 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33293 * math/libm-test.inc (tan_test): Add more tests and enable more
33294 tests for double and long double.
33295 * sysdeps/i386/fpu/libm-test-ulps: Update.
33296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33297
6a1bd2a1
JK
332982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33299
33300 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33301 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33302
10a803e0
RM
333032012-03-16 Roland McGrath <roland@hack.frob.com>
33304
33305 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33306 * configure.in: Use it for both main tree and add-ons.
33307 * configure: Regenerated.
33308
f196c7f7
L
333092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33310
33311 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33312
8848d99d
JM
333132012-03-16 Joseph Myers <joseph@codesourcery.com>
33314
96cbe7f4
JM
33315 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33316 in comment.
33317
8848d99d
JM
33318 [BZ #13851]
33319 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33320 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33321 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33322 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33323 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33324 infinite argument.
33325 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33326 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33327 != 0 for prec == 2.
33328 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33329 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33330 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33331 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33332 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33333 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33334 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33335 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33336 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33337 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33338 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33339 * math/libm-test.inc (cos_test): Add more tests and enable more
33340 tests for long double.
33341 (sin_test): Likewise.
33342 (sincos_test): Likewise.
33343 * sysdeps/i386/fpu/libm-test-ulps: Update.
33344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33345
dd7f4703
DM
333462012-03-16 David S. Miller <davem@davemloft.net>
33347
33348 * sysdeps/sparc/fpu/math_private.h: New file.
33349
006f1daa
DM
333502012-03-15 David S. Miller <davem@davemloft.net>
33351
c0c83bc8
DM
33352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33353 file.
e6a62e18 33354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33356 file.
e6a62e18
DM
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33363 sysdep routines.
33364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33365
88cb87d9
DM
33366 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33367 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33368
006f1daa 33369 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33371 sparc-ifunc.h
006f1daa 33372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33374 Likewise.
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33376 Likewise.
006f1daa
DM
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33381 Likewise.
006f1daa
DM
33382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33387 Likewise.
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33389 Likewise.
006f1daa
DM
33390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33414
11e0098e
AS
334152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33416
33417 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33418 scaling.
33419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33420
e85b09d0
AJ
334212012-03-15 Andreas Jaeger <aj@suse.de>
33422
33423 [BZ #13852]
33424 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33425 ieee754/flt-32 implementation for sin, cos and sincos.
33426 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33427 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33428 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33429 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33430 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33431 ieee754/flt-32 implementation for tan.
33432
33433 * math/libm-test.inc (cos_test): Enable some large input tests for
33434 float as well
33435 (sin_test): Likewise.
33436 (sincos_test): Likewise.
33437 (tan_test): Add tests for large input.
33438
33439 * sysdeps/i386/fpu/libm-test-ulps: Update.
33440
81c64153
AJ
334412012-03-15 Andreas Jaeger <aj@suse.de>
33442
33443 [BZ #13658]
33444 * math/libm-test.inc (cos_test): Add more test cases.
33445 (sin_test): Likewise.
33446 (sincos_test): Likewise.
33447
7bbfa5c6
AJ
334482012-03-15 Andreas Jaeger <aj@suse.de>
33449
33450 [BZ #13837]
33451 * math/libm-test.inc (cos_test): Add a test case for large input
33452 value.
33453 (sin_test): Likewise.
33454 (sincos_test): Likewise.
33455
334562012-03-15 Andreas Jaeger <aj@suse.de>,
33457 Joseph Myers <joseph@codesourcery.com>
33458
33459 [BZ #13658]
0671f479 33460 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33461 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33462 * sysdeps/i386/fpu/branred.c: Likewise.
33463 * sysdeps/i386/fpu/dosincos.c: Likewise.
33464 * sysdeps/i386/fpu/mpa.c: Likewise.
33465 * sysdeps/i386/fpu/s_cos.S: Likewise.
33466 * sysdeps/i386/fpu/s_sin.S: Likewise.
33467 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33468 * sysdeps/i386/fpu/sincos32.c: Likewise.
33469
33470 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33471 Define.
33472 (libc_feupdateenv_53bit): Define.
33473 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33474 Define.
33475 (libc_feupdateenv_53bit): Define.
33476
33477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33478 53 bit (without extend i386 double precision).
33479
33480 * math/libm-test.inc (sincos_test): Add tests for large input.
33481 (sin): Likewise.
33482 (cos): Likewise.
33483
33484 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33485
9cad04ea
AS
334862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33487
33488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33489
f7062b9a
DM
334902012-03-15 David S. Miller <davem@davemloft.net>
33491
33492 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33493 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33494 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33495 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33508 file.
f7062b9a 33509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33511 file.
f7062b9a 33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33514 file.
f7062b9a 33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33517 file.
f7062b9a
DM
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33520 fmin/fmax sysdep routines.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33522
7bd951ff
DM
335232012-03-14 David S. Miller <davem@davemloft.net>
33524
559398ab
DM
33525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33554 routines.
33555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33556 file.
559398ab 33557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33559 file.
559398ab 33560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33562 file.
559398ab 33563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33565 file.
559398ab 33566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33568 file.
559398ab 33569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33571 file.
33572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33573 file.
33574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33575 file.
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33577 file.
33578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33579 New file.
33580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33581 file.
33582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33583 file.
559398ab 33584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33586 file.
559398ab 33587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33589 file.
559398ab 33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33592 file.
559398ab 33593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33595 VIS3 routines.
559398ab
DM
33596
33597 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33598 New file.
33599
5a1c1e32
DM
33600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33601
eae47a36
DM
33602 * sysdeps/sparc/configure.in: New file.
33603 * sysdeps/sparc/configure: Generate.
33604 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33605 * configure: Regenerate.
33606 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33607 * config.make.in (have-as-vis3): New.
33608 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33609 available use -Av9d instead of -Av9a.
33610 * sysdeps/sparc/sparc64/Makefile: Likewise.
33611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33613 New file.
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33615 file.
33616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33617 New file.
33618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33619 file.
eae47a36
DM
33620 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33625
c0c83bc8
DM
33626 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33627 fzeros/fnegs to load 0x80000000 into a float register instead of
33628 using the stack.
7bd951ff
DM
33629 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33630
bd951ccb
JM
336312012-03-14 Joseph Myers <joseph@codesourcery.com>
33632
33633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33634 bits/syscall.h.
33635 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33636 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33637 ($(inst_includedir)/bits/syscall.h): Remove rule.
33638 ($(objpfx)bits/syscall.d): Include instead of
33639 $(objpfx)syscall-list.d.
33640 (generated): Change syscall-list.h and syscall-list.d to
33641 bits/syscall.h and bits/syscall.d.
33642
bb4e6db2
RM
336432012-03-14 Roland McGrath <roland@hack.frob.com>
33644
33645 [BZ #13846]
33646 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33647
aa4a2ae1
JM
336482012-03-14 Joseph Myers <joseph@codesourcery.com>
33649
e456826d
JM
33650 [BZ #13841]
33651 * math/s_csqrt.c: Include <float.h>.
33652 (__csqrt): Scale large or subnormal inputs.
33653 * math/s_csqrtf.c: Likewise.
33654 * math/s_csqrtl.c: Likewise.
33655 * math/libm-test.inc (csqrt_test): Add more tests.
33656 * sysdeps/i386/fpu/libm-test-ulps: Update.
33657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33658
aa4a2ae1
JM
33659 [BZ #13840]
33660 * math/libm-test.inc (hypot_test): Add more tests.
33661
7c10fd35
DM
336622012-03-13 David S. Miller <davem@davemloft.net>
33663
33664 [BZ #13840]
33665 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33666 double-precision for the calculation instead of scaling.
33667
f453b98b
JM
336682012-03-13 Joseph Myers <joseph@codesourcery.com>
33669
33670 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33671 manipulate bits before adding and subtracting TWO52[sx].
33672 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33673 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33674 Likewise.
33675 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33676
09a3453f
DM
336772012-03-13 David S. Miller <davem@davemloft.net>
33678
8e59da90
DM
33679 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33680 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33682 rtld-global-offsets.h
33683 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33684
2a8ab7f2
DM
33685 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33686 large parameters.
33687
10f62770
DM
33688 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33689
5f0bdb18
DM
33690 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33691 'err' in the ifdef scope in which it is actually used.
33692
09a3453f
DM
33693 * nss/nss_db/db-init.c: Include string.h
33694
b4b2eb5e
DM
336952012-03-12 David S. Miller <davem@davemloft.net>
33696
98bb2f1c
DM
33697 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33698 masking out of the most significant byte of random value used.
33699 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33700 Fix coding style in previous change.
33701
b4b2eb5e
DM
33702 * sysdeps/unix/sysv/linux/kernel-features.h
33703 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33704 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33705 expression.
33706 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33707 later.
33708
6e226b09
DM
337092012-03-11 David S. Miller <davem@davemloft.net>
33710
a1bcbd40
DM
33711 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33712 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33713 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33714 for 'resultvar' otherwise things get truncated on 64-bit.
33715
cb9d6174
DM
33716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33717 Fix masking out of the most significant byte of random value used.
33718
6e226b09
DM
33719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33720
058c132d
AS
337212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33722
33723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33724
2d2cd515
DM
337252012-03-09 David S. Miller <davem@davemloft.net>
33726
33727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33728 variables with appropriate CPP guards.
33729 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33730 frame pointer, not the stack pointer. Correct layout comments. Fix test
33731 on resulting framesize and the management of the outregs buffer for pltexit.
33732 Preserve floating point return values across _dl_call_pltexit call.
33733 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33734 framesize and the management of the outregs buffer for pltexit.
33735 Preserve floating point return values across _dl_call_pltexit
33736 call.
33737 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33738 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33739 (print_exit): Fix format string for return register value.
33740
9a07f9d0
JM
337412012-03-10 Joseph Myers <joseph@codesourcery.com>
33742
33743 * sunrpc/Makefile (others): Add rpcgen.
33744 ($(objpfx)rpcgen): Remove special build rule and dependency on
33745 libc.
33746 * sunrpc/rpcgen.c: New file.
33747
547b5e30
PE
337482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33749
c524201a
PE
33750 [BZ #13673]
33751 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33752 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33753 * sysdeps/i386/crti.S: Likewise.
33754 * sysdeps/i386/crtn.S: Likewise.
33755 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33756 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33757 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33758 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33759 * sysdeps/sh/crti.S: Likewise.
33760 * sysdeps/sh/crtn.S: Likewise.
33761 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33762
7b6235f2
PE
33763 [BZ #13673]
33764 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33765 with URL.
33766 * locale/programs/locfile-kw.gperf: Likewise.
33767 * locale/programs/charmap-kw.h: Regenerated.
33768 * locale/programs/locfile-kw.h: Likewise.
33769
547b5e30
PE
33770 [BZ #13673]
33771 * intl/plural.y: Replace FSF snail mail address with URL.
33772 * intl/plural.c: Regenerated.
33773
5f0a5dae
RH
337742012-03-09 Richard Henderson <rth@twiddle.net>
33775
33776 * include/math_private.h: Remove file.
33777 * math/math_private.h: Move file ...
33778 * sysdeps/generic/math_private.h: ... here.
33779
b8c03620
RH
33780 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33781 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33782 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33783
4e234f5d 33784 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33785 and <math_private.h>.
33786 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33787 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33788 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33789 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33790 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33812 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33822 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33824 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33829 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33830 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33831 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33832 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33833 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33834 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33835 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33836 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33837 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33838 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33839 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33840 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33841 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33842 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33843 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33844 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33845 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33846 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33847 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33848 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33849 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33850 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33851 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33852 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33853 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33854 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33855 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33856 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33868 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33869 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33874 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33875 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33876 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33877 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33879 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33880 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33881 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33882 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33883 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33884 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33885 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33886 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33887 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33888 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33889 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33890 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33891 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33892 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33893 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33894 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33895 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33896 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33897 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33898 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33899 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33900 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33901 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33902 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33903 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33904 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33905 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33906 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33907 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33908 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33909 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33910 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33911 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33912 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33913 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33914 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33915 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33916 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33917 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33918 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33919 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33920 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33921 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33922 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33923 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33924 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33925 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33926 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33927 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33928 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33929 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33930 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33931 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33932 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33933 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33934 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33935 * sysdeps/ieee754/k_standard.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33986 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33987 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33991 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33993 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33994 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34003 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34029 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34034 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34035 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34040 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34041 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34046 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34051 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34052 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34053 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34054 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34055 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34056 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34058 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34059 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34061 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34063 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34068 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34069 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34073 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34075 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34076 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34080 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34081 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34084 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34085 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34086 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34090 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34093 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34095 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34096 * sysdeps/ieee754/s_lib_version.c: Likewise.
34097 * sysdeps/ieee754/s_matherr.c: Likewise.
34098 * sysdeps/ieee754/s_signgam.c: Likewise.
34099 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34100 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34101 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34102 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34103 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34104 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34105 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34106 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34107 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34108 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34109 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34110 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34111 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34112 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34113 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34114 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34115 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34116 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34117 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34118 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34119 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34120
1991fa03
JM
341212012-03-09 Joseph Myers <joseph@codesourcery.com>
34122
34123 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34124 * sunrpc/rpc_main.c: Likewise.
34125 * sunrpc/rpc_svcout.c: Likewise.
34126
60d6f5a6
DM
341272012-03-09 David S. Miller <davem@davemloft.net>
34128
34129 * include/math_private.h: New file.
34130
4962050e
JM
341312012-03-09 Joseph Myers <joseph@codesourcery.com>
34132
02a6f887
JM
34133 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34134 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34135 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34136 from <bits/socket_type.h>.
34137 (enum __socket_type): Don't define here.
34138 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34140 bits/socket_type.h.
34141
c6e013c1
JM
34142 [BZ #13566]
34143 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34144 checking __USE_GNU.
34145
4962050e
JM
34146 * Makerules ($(inst_includedir)/%.h): New rule.
34147 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34148 (install-others): Remove variable setting.
34149 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34150
38842f45
RH
341512012-03-08 Richard Henderson <rth@twiddle.net>
34152
67bb6da6
RH
34153 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34154 from macro to inline function; merge with the
34155 !__LIBC_INTERNAL_MATH_INLINES version.
34156 (__ieee754_sqrtf): Likewise.
34157
15194b4b
RH
34158 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34159 to inline function.
34160 (__rintf, __floor, __floorf): Likewise.
34161
64e21ede
RH
34162 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34163 macro to inline function.
34164 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34165
38842f45
RH
34166 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34167 not <math/math_private.h>.
34168
c64bf5fe
DM
341692012-03-08 David S. Miller <davem@davemloft.net>
34170
34171 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34172 copyright year.
34173 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34174
82d86f28
TS
341752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34176
34177 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34178 normalization.
34179 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34180 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34181
aea5d727
UD
341822012-03-08 Ulrich Drepper <drepper@gmail.com>
34183
34184 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34185 be defined individually, they must be defined as a block. Define
34186 S for printing a string instead of hidint the different by using a
34187 macro for adding the 'l'.
34188 * stdio-common/tst-fphex-wide.c: Adjust.
34189
70bca0a3
MP
341902012-03-07 Marek Polacek <polacek@redhat.com>
34191
34192 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34193
65b81130
MP
341942012-03-08 Marek Polacek <polacek@redhat.com>
34195
34196 [BZ #13806]
34197 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34198 * stdio-common/tst-fphex.c: Define a few macros to make the
34199 test reusable. Use them.
34200 * stdio-common/tst-fphex-wide.c: New file.
34201
07037eeb
JM
342022012-03-08 Joseph Myers <joseph@codesourcery.com>
34203
a7a93d50
JM
34204 [BZ #6911]
34205 * manual/macros.texi (gnusystems): New macro.
34206 (nongnusystems): Likewise.
34207 (gnulinuxhurdsystems): Likewise.
34208 (gnuhurdsystems): Likewise..
34209 (gnulinuxsystems): Likewise.
34210 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34211 variants of the GNU system, not "GNU system".
34212 * manual/conf.texi: Likewise.
34213 * manual/errno.texi: Likewise. Update example of errno macro
34214 expansion.
34215 * manual/filesys.texi: Likewise.
34216 (getumask): Document as specific to GNU/Hurd.
34217 * manual/install.texi: Likewise. Reword some references to
34218 GNU/Linux.
34219 * manual/intro.texi: Likewise.
34220 * manual/io.texi: Likewise.
34221 (File Name Portability): Detail which constraints are inapplicable
34222 to all GNU systems and which are only inapplicable to GNU/Hurd.
34223 * manual/job.texi: Likewise.
34224 * manual/llio.texi: Likewise.
34225 (O_NOCTTY): Document as present on GNU/Linux.
34226 * manual/maint.texi: Likewise.
34227 * manual/memory.texi: Likewise.
34228 * manual/pattern.texi: Likewise.
34229 * manual/pipe.texi: Likewise.
34230 * manual/process.texi: Likewise.
34231 * manual/resource.texi: Likewise.
34232 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34233 child on GNU/Hurd.
34234 * manual/setjmp.texi: Likewise.
34235 * manual/signal.texi: Likewise.
34236 * manual/startup.texi: Likewise.
34237 * manual/stdio.texi: Likewise.
34238 * manual/terminal.texi: Likewise.
34239 (ONLCR): Document as POSIX.
34240 (OXTABS): Document availability on GNU/Linux as XTABS.
34241 (ONOEOT): Document availability separately from other bits.
34242 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34243 * manual/time.texi: Likewise.
34244 * manual/users.texi: Likewise.
34245 * INSTALL: Regenerated.
34246 * sysdeps/gnu/errlist.c: Regenerated.
34247
07037eeb
JM
34248 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34249 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34250 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34251 puts.
34252 * configure: Regenerated.
34253
d1d3431a
JM
342542012-03-07 Joseph Myers <joseph@codesourcery.com>
34255
af6a1e37
JM
34256 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34257 default includes instead of AC_HEADER_CHECK.
34258 * sysdeps/i386/configure: Regenerated.
34259
d1d3431a
JM
34260 [BZ #10716]
34261 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34262 * math/s_cacoshf.c (__cacoshf): Likewise.
34263 * math/s_cacoshl.c (__cacoshl): Likewise.
34264 * math/s_casinh.c (__casinh): Set signs of result from argument.
34265 * math/s_casinhf.c (__casinhf): Likewise.
34266 * math/s_casinhl.c (__casinhl): Likewise.
34267 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34268 (casinh_test): Add more tests.
34269 * sysdeps/i386/fpu/libm-test-ulps: Update.
34270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34271
482ff4da
UD
342722012-03-07 Ulrich Drepper <drepper@gmail.com>
34273
872fda05
UD
34274 * po/zh_TW.po: Update from translation team.
34275
a4300c7a
UD
34276 * login/Makefile (distribute): Remove variable.
34277 * catgets/Makefile: Likewise.
34278 * mach/Makefile: Likewise.
34279 * malloc/Makefile: Likewise.
34280 * misc/Makefile: Likewise.
34281 * iconv/Makefile: Likewise.
34282 * nscd/Makefile: Likewise.
34283 * hurd/Makefile: Likewise.
34284 * manual/Makefile: Likewise.
34285 * locale/Makefile: Likewise.
34286 * intl/Makefile: Likewise.
34287 * conform/Makefile: Likewise.
34288 * nss/Makefile: Likewise.
34289 * time/Makefile: Likewise.
34290 * soft-fp/Makefile: Likewise.
34291 * dirent/Makefile: Likewise.
34292 * gmon/Makefile: Likewise.
34293 * po/Makefile: Likewise.
34294 * rt/Makefile: Likewise.
34295 * socket/Makefile: Likewise.
34296 * math/Makefile: Likewise.
34297 * signal/Makefile: Likewise.
34298 * debug/Makefile: Likewise.
34299 * elf/Makefile: Likewise.
34300 * timezone/Makefile: Likewise.
34301 * stdlib/Makefile: Likewise.
34302 * iconvdata/Makefile: Likewise.
34303 * sunrpc/Makefile: Likewise.
34304 * io/Makefile: Likewise.
34305 * argp/Makefile: Likewise.
34306 * inet/Makefile: Likewise.
34307 * hesiod/Makefile: Likewise.
34308 * grp/Makefile: Likewise.
34309 * csu/Makefile: Likewise.
34310 * wctype/Makefile: Likewise.
34311 * crypt/Makefile: Likewise.
34312 * libio/Makefile: Likewise.
34313 * string/Makefile: Likewise.
34314 * nis/Makefile: Likewise.
34315 * resolv/Makefile: Likewise.
34316 * stdio-common/Makefile: Likewise.
34317 * wcsmbs/Makefile: Likewise.
34318 * dlfcn/Makefile: Likewise.
34319 * posix/Makefile: Likewise.
34320
3b7c4e74 34321 [BZ #6959]
482ff4da
UD
34322 * timezone/Makefile: Don't install timezone files, just the programs
34323 and scripts.
34324
f72ed77d
UD
343252012-03-06 Ulrich Drepper <drepper@gmail.com>
34326
a000466f
UD
34327 * nss/databases.def: Add missing gshadow entry.
34328
f72ed77d
UD
34329 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34330
a53b7a4e
MP
343312012-03-06 Marek Polacek <polacek@redhat.com>
34332
34333 [BZ #13726]
34334 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34335 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34336 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34337 * stdio-common/tst-long-dbl-fphex.c: New file.
34338
e9258400
DM
343392012-03-06 David S. Miller <davem@davemloft.net>
34340
34341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34342 (set_obp_int): New function.
34343 (get_obp_int): New function.
34344 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34345 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34346 Avoid unused variable warnings on 'val' and use builtin_expect.
34347 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34348 __builtin_expect.
e9258400
DM
34349 (INLINE_CLONE_SYSCALL): Likewise.
34350
3bd2c723
DM
343512012-03-05 David S. Miller <davem@davemloft.net>
34352
34353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34354
bbb78d03
AS
343552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34356
884c5db4
AS
34357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34358
bbb78d03
AS
34359 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34360 only for |x| >= 40.
34361 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34362
1c9f702a 343632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34364
34365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34366 Replace gettimeofday with __vdso_gettimeofday.
34367
7be16f82
RM
34368 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34369 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34370 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34371
34372 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34373 time with __vdso_time.
34374
ed58a00f
JM
343752012-03-05 Joseph Myers <joseph@codesourcery.com>
34376
34377 * manual/lang.texi (size_t): Note types to which size_t may be
34378 equivalent with the GNU C Library, but do not describe when
34379 differences between them are significant.
34380
30ee4ced
AJ
343812012-03-05 Andreas Jaeger <aj@suse.de>
34382
34383 * sysdeps/i386/fpu/libm-test-ulps: Update.
34384
b7cd39e8
JM
343852012-03-05 Joseph Myers <joseph@codesourcery.com>
34386
34387 [BZ #3976]
34388 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34389 (__ieee754_pow): Save and restore rounding mode and use
34390 round-to-nearest for main computations.
34391 * math/libm-test.inc (pow_test_tonearest): New function.
34392 (pow_test_towardzero): Likewise.
34393 (pow_test_downward): Likewise.
34394 (pow_test_upward): Likewise.
34395 (main): Call the new functions.
34396 * sysdeps/i386/fpu/libm-test-ulps: Update.
34397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34398
34399 [BZ #3976]
34400 * math/libm-test.inc (cosh_test_tonearest): New function.
34401 (cosh_test_towardzero): Likewise.
34402 (cosh_test_downward): Likewise.
34403 (cosh_test_upward): Likewise.
34404 (sinh_test_tonearest): Likewise.
34405 (sinh_test_towardzero): Likewise.
34406 (sinh_test_downward): Likewise.
34407 (sinh_test_upward): Likewise.
34408 (main): Call the new functions.
34409 * sysdeps/i386/fpu/libm-test-ulps: Update.
34410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34411
6c6a98c9
TV
344122012-03-05 Tom de Vries <tom@codesourcery.com>
34413
34414 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34415 default stack guard is set in last bytes.
34416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34417
21bb2d2e 344182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34419
21bb2d2e 34420 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34421
21bb2d2e
AJ
34422 [BZ #13656]
34423 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34424 possibly allocate from heap instead of stack.
34425 * stdio-common/bug-vfprintf-nargs.c: New file.
34426 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34427
c6922934
AS
344282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34429
34430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34431
bc957d53
MP
344322012-03-03 Marek Polacek <polacek@redhat.com>
34433
34434 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34435 * math/math_private.h: Likewise.
34436 * stdlib/tst-strtod.c: Likewise.
34437 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34438 * sysdeps/x86_64/bits/atomic.h: Likewise.
34439
6358490d
DM
344402012-03-02 David S. Miller <davem@davemloft.net>
34441
34442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34446 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34447 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34448 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34449 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34450
01ae168d
RM
344512012-03-02 Roland McGrath <roland@hack.frob.com>
34452
d9a17c07
RM
34453 [BZ #13792]
34454 * manual/examples/README: New file, says the example source files
34455 can be used under GPL>=2.
34456 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34457 line containing just "*/".
34458 * manual/examples/add.c: Add copyright header (GPL>=2).
34459 * manual/examples/argp-ex1.c: Likewise.
34460 * manual/examples/argp-ex2.c: Likewise.
34461 * manual/examples/argp-ex3.c: Likewise.
34462 * manual/examples/argp-ex4.c: Likewise.
34463 * manual/examples/atexit.c: Likewise.
34464 * manual/examples/db.c: Likewise.
34465 * manual/examples/dir.c: Likewise.
34466 * manual/examples/dir2.c: Likewise.
34467 * manual/examples/execinfo.c: Likewise.
34468 * manual/examples/filecli.c: Likewise.
34469 * manual/examples/filesrv.c: Likewise.
34470 * manual/examples/fmtmsgexpl.c: Likewise.
34471 * manual/examples/genpass.c: Likewise.
34472 * manual/examples/inetcli.c: Likewise.
34473 * manual/examples/inetsrv.c: Likewise.
34474 * manual/examples/isockad.c: Likewise.
34475 * manual/examples/longopt.c: Likewise.
34476 * manual/examples/memopen.c: Likewise.
34477 * manual/examples/memstrm.c: Likewise.
34478 * manual/examples/mkfsock.c: Likewise.
34479 * manual/examples/mkisock.c: Likewise.
34480 * manual/examples/mygetpass.c: Likewise.
34481 * manual/examples/pipe.c: Likewise.
34482 * manual/examples/popen.c: Likewise.
34483 * manual/examples/rprintf.c: Likewise.
34484 * manual/examples/search.c: Likewise.
34485 * manual/examples/select.c: Likewise.
34486 * manual/examples/setjmp.c: Likewise.
34487 * manual/examples/sigh1.c: Likewise.
34488 * manual/examples/sigusr.c: Likewise.
34489 * manual/examples/stpcpy.c: Likewise.
34490 * manual/examples/strdupa.c: Likewise.
34491 * manual/examples/strftim.c: Likewise.
34492 * manual/examples/strncat.c: Likewise.
34493 * manual/examples/subopt.c: Likewise.
34494 * manual/examples/swapcontext.c: Likewise.
34495 * manual/examples/termios.c: Likewise.
34496 * manual/examples/testopt.c: Likewise.
34497 * manual/examples/testpass.c: Likewise.
34498 * manual/examples/timeval_subtract.c: Likewise.
34499
01ae168d
RM
34500 [BZ #13792]
34501 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34502 function to ...
34503 * manual/timeval_subtract.c.texi: ... here, new file.
34504
49efa33d
DM
345052012-03-02 David S. Miller <davem@davemloft.net>
34506
34507 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34508
28afd92d
JM
345092012-03-02 Joseph Myers <joseph@codesourcery.com>
34510
804360ed
JM
34511 [BZ #3976]
34512 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34513 (__sin): Save and restore rounding mode and use round-to-nearest
34514 for all computations.
34515 (__cos): Save and restore rounding mode and use round-to-nearest
34516 for all computations.
34517 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34518 <fenv.h>.
34519 (tan): Save and restore rounding mode and use round-to-nearest for
34520 all computations.
34521 * math/libm-test.inc (cos_test_tonearest): New function.
34522 (cos_test_towardzero): Likewise.
34523 (cos_test_downward): Likewise.
34524 (cos_test_upward): Likewise.
34525 (sin_test_tonearest): Likewise.
34526 (sin_test_towardzero): Likewise.
34527 (sin_test_downward): Likewise.
34528 (sin_test_upward): Likewise.
34529 (tan_test_tonearest): Likewise.
34530 (tan_test_towardzero): Likewise.
34531 (tan_test_downward): Likewise.
34532 (tan_test_upward): Likewise.
34533 (main): Call the new functions.
34534 * sysdeps/i386/fpu/libm-test-ulps: Update.
34535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34536
a6d06d7b
JM
34537 [BZ #10135]
34538 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34539 small n, then large n, before computing and testing k+n.
34540 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34542 Likewise.
34543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34544 Likewise.
34545 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34546 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34547 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34548 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34549 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34550 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34553 * math/libm-test.inc (scalbn_test): Add more tests.
34554 (scalbln_test): Likewise.
34555
07e12bb3
JM
34556 * manual/filesys.texi (mode_t): Describe constraints on size and
34557 signedness, not exact equivalence to a particular type.
34558 (ino_t): Likewise.
34559 (ino64_t): Likewise.
34560 (dev_t): Likewise.
34561 (nlink_t): Likewise.
34562 (blkcnt_t): Likewise.
34563 (blkcnt64_t): Likewise.
34564 * manual/llio.texi (off_t): Likewise.
34565
28afd92d
JM
34566 [BZ #3976]
34567 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34568 (__ieee754_exp): Save and restore rounding mode and use
34569 round-to-nearest for all computations.
34570 * math/libm-test.inc (exp_test_tonearest): New function.
34571 (exp_test_towardzero): Likewise.
34572 (exp_test_downward): Likewise.
34573 (exp_test_upward): Likewise.
34574 (main): Call the new functions.
34575 * sysdeps/i386/fpu/libm-test-ulps: Update.
34576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34577
b1eeb65d
CD
345782012-03-01 Chris Demetriou <cgd@google.com>
34579
34580 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34581 have predictable order.
34582
53362a4b
DM
345832012-03-01 David S. Miller <davem@davemloft.net>
34584
3c969083
DM
34585 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34586
759707de
DM
34587 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34588 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34589 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34590 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34591
dfdb8ff2
DM
34592 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34593 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34594 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34596 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34597 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34598 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34599 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34600 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34601
ead89f96
DM
34602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34603
7f66bd07
DM
34604 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34605 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34606 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34607
53362a4b
DM
34608 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34609 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34610 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34611 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34612 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34613 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34614 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34615 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34616 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34617 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34618 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34619 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34620 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34621 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34622 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34623 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34624 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34625 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34626 * sysdeps/sparc/elf/configure: Regenerated.
34627
7b1902cb
JM
346282012-03-01 Joseph Myers <joseph@codesourcery.com>
34629
bec039bc
JM
34630 * configure.in (AS, LD): Require binutils 2.20 or later.
34631 * configure: Regenerated.
34632 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34633 as required minimum version.
34634 * INSTALL: Regenerated.
34635
7b1902cb
JM
34636 [BZ #2541]
34637 [BZ #4108]
34638 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34639 before squaring exponent.
34640 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34641 bottom long double and 27 bits of top long double before squaring
34642 exponent.
34643 * math/libm-test.inc (erfc_test): Add more tests.
34644 * sysdeps/i386/fpu/libm-test-ulps: Update.
34645 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34647
f775c276
KT
346482012-03-01 Kai Tietz <ktietz@redhat.com>
34649
34650 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34651 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34652 containing bit-fields.
34653 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34654 * soft-fp/single.h (_FP_UNION_S): Likewise.
34655 * soft-fp/double.h (_FP_UNION_D): Likewise.
34656
5b8a4d4a
JM
346572012-02-29 Joseph Myers <joseph@codesourcery.com>
34658
0bab47b6
JM
34659 [BZ #13786]
34660 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34661 not include ../strcmp.S.
34662 [USE_AS_STRNCASECMP_L]: Likewise.
34663 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34664 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34665 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34666 (__strncasecmp_l_ia32): Define as alias to
34667 __strncasecmp_l_nonascii.
34668
0fcad3e2
JM
34669 [BZ #5794]
34670 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34671 * sysdeps/i386/fpu/libm-test-ulps: Update.
34672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34673
5b8a4d4a
JM
34674 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34676
8fdceb2e
JL
346772012-02-29 Jeff Law <law@redhat.com>
34678
34679 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34680 out of bounds read.
34681
1f393a11
MP
346822012-02-29 Marek Polacek <polacek@redhat.com>
34683
34684 [BZ #13706]
34685 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34686 * elf/Makefile: Add rules to run tst-unused-dep.out.
34687
8847f037
DM
346882012-02-28 David S. Miller <davem@davemloft.net>
34689
34690 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34691 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34692 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34693 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34694 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34695 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34696
169d7f11
JM
346972012-02-29 Joseph Myers <joseph@codesourcery.com>
34698
34699 * math/libm-test.inc (llround_test): Move one test from
34700 lround_test. Use TEST_f_L in moved test.
34701 (lround_test): Move misplaced test to llround_test. Add testcase
34702 from bug 2561.
34703
39adf059
UD
347042012-02-28 Ulrich Drepper <drepper@gmail.com>
34705
34706 * sysdeps/x86_64/fpu/e_expf.S: New file.
34707 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34708
71b5d1c5
SB
347092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34710
34711 [BZ #13637]
34712 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34713 of remain_len that may cause incomplete multi-byte character and
34714 false match.
34715 * posix/bug-regex33.c: New file.
34716 * posix/Makefile (tests): Add bug-regex33.
34717
1f77f049
JM
347182012-02-28 Joseph Myers <joseph@codesourcery.com>
34719
34720 * manual/macros.texi: New file.
34721 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34722 * manual/libc.texinfo: Include macros.texi.
34723 * manual/creatute.texi: Likewise.
34724 * manual/install.texi: Likewise.
34725 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34726 @glibcadj{} in references to the GNU C Library.
34727 * manual/charset.texi: Likewise.
34728 * manual/conf.texi: Likewise.
34729 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34730 when not using those macros.
34731 * manual/creature.texi: Likewise.
34732 * manual/crypt.texi: Likewise.
34733 * manual/errno.texi: Likewise.
34734 * manual/filesys.texi: Likewise.
34735 * manual/header.texi: Likewise.
34736 * manual/install.texi: Likewise.
34737 * manual/intro.texi: Likewise.
34738 * manual/io.texi: Likewise.
34739 * manual/job.texi: Likewise.
34740 * manual/lang.texi: Likewise.
34741 * manual/libc.texiinfo: Likewise.
34742 * manual/llio.texi: Likewise.
34743 * manual/locale.texi: Likewise.
34744 * manual/maint.texi: Likewise.
34745 * manual/math.texi: Likewise.
34746 * manual/memory.texi: Likewise.
34747 * manual/message.texi: Likewise.
34748 * manual/nss.texi: Likewise.
34749 * manual/pattern.texi: Likewise.
34750 * manual/process.texi: Likewise.
34751 * manual/resource.texi: Likewise.
34752 * manual/search.texi: Likewise.
34753 * manual/setjmp.texi: Likewise.
34754 * manual/signal.texi: Likewise.
34755 * manual/socket.texi: Likewise.
34756 * manual/startup.texi: Likewise.
34757 * manual/stdio.texi: Likewise.
34758 * manual/string.texi: Likewise.
34759 * manual/sysinfo.texi: Likewise.
34760 * manual/syslog.texi: Likewise.
34761 * manual/terminal.texi: Likewise.
34762 * manual/time.texi: Likewise.
34763 * manual/users.texi: Likewise.
34764 * INSTALL: Regenerated.
34765 * NOTES: Regenerated.
d40c5d54 34766 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34767
450bf206
AS
347682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34769
34770 * include/dirent.h: Include <dirstream.h> before
34771 <dirent/dirent.h>.
34772
741a235b
DM
347732012-02-28 David S. Miller <davem@davemloft.net>
34774
34775 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34776 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34777 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34778 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34779
d6b5aa58
DM
347802012-02-27 David S. Miller <davem@davemloft.net>
34781
1aff59a3
DM
34782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34784 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34785 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34786
d6b5aa58
DM
34787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34788 frame pointer instead of stack pointer relative arg slot.
34789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34790 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34791 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34792
433f48bf
CD
347932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34794
34795 [BZ #3992]
34796 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34797
d674b76d
DM
347982012-02-27 David S. Miller <davem@davemloft.net>
34799
34800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34804 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34805 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34806 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34807 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34808
0e7727f7
JM
348092012-02-27 Joseph Myers <joseph@codesourcery.com>
34810
34811 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34812 later. Allow versions 5-9.
43be4ca2 34813 * configure: Regenerated.
0e7727f7
JM
34814 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34815 required minimum version and 4.6 as recommended version. Do not
34816 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34817 * INSTALL: Regenerated.
0e7727f7 34818
a78bc654
DM
348192012-02-27 David S. Miller <davem@davemloft.net>
34820
428d5830
DM
34821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34825 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34826 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34827 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34828 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34829
a78bc654
DM
34830 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34831 manipulate bits before adding and subtracting TWO112[sx].
34832 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34833
4579f81c
RM
348342012-02-27 Roland McGrath <roland@hack.frob.com>
34835
36c8acb4
RM
34836 [BZ #13775]
34837 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34838 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34839 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34840 being in POSIX, because they are in 1003.1-2008.
34841
84ad622b
RM
34842 * rt/tst-aio.c: Include <fcntl.h>.
34843 * rt/tst-aio7.c: Likewise.
34844 * rt/tst-aio64.c: Likewise.
34845
4579f81c
RM
34846 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34847
abd923db
JM
348482012-02-27 Joseph Myers <joseph@codesourcery.com>
34849
34850 * manual/install.texi (--with-headers): Describe headers as
34851 interface headers, not private headers.
34852 (Specific advice for GNU/Linux systems): Describe use of headers
34853 from "make headers_install", not private headers from older
34854 kernels.
43be4ca2 34855 * INSTALL: Regenerated.
abd923db
JM
34856 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34857 Change to 2.6.19.
34858 * sysdeps/unix/sysv/linux/configure: Regenerated.
34859
6664049b
JM
34860 * manual/llio.texi (fclean): Remove documentation.
34861
bb8b6697
JM
34862 * manual/Makefile (libc-texi-generated): New variable. Include
34863 version.texi.
34864 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34865 $(libc-texi-generated), not duplicated list of files.
34866 (version.texi, stamp-version): New rules.
34867 (realclean): Remove $(libc-texi-generated), not individual files
34868 from that list. Do not remove dir-add.texinfo.
34869 * manual/libc.texinfo: Comment out uses of edition numbers and
34870 references to printed manual. Remove last-updated dates.
34871 (EDITION): Comment out.
34872 (ISBN): Likewise.
34873 (VERSION, UPDATED): Remove.
34874 (version.texi): Include.
34875
12e5c3b9
AS
348762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34877
34878 * sysdeps/posix/spawni.c: Include <signal.h>.
34879 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34880 * sysdeps/pthread/aio_fsync.c: Likewise.
34881
4efeffc1 348822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34883
ba63ba08
UD
34884 * conform/Makefile (tests): Run only when not cross-compiling and
34885 when fast-check is not defined.
34886
d94a4670
UD
34887 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34888 * conform/data/limits.h-data: Fixes for POSIX2008.
34889 * conform/run-conformtest.sh: Run all tests.
34890 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34891 headers.
34892 * include/bits/dlfcn.h: Likewise.
34893 * include/langinfo.h: Likewise.
34894 * include/monetary.h: Likewise.
34895 * include/sys/poll.h: Likewise.
34896
34897 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34898 for __USE_GNU.
34899 * posix/spawn.h: Define __need_sigset_t.
34900 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34901 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34902 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34903 to get sigevent_t only.
34904 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34905 only for __USE_GNU.
34906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34907 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34908 process_vm_writev only for __USE_GNU.
34909 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34910
34911 * conform/Makefile: For now ignore errors from run-conformtest.
34912 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34913 POSIX to avoid namespace pollution. Don't prepend headers.
34914 * conform/data/aio.h-data: Fixes for POSIX testing.
34915 * conform/data/fcntl.h-data: Likewise.
34916 * conform/data/glob.h-data: Likewise.
34917 * conform/data/grp.h-data: Likewise.
34918 * conform/data/pthread.h-data: Likewise.
34919 * conform/data/pwd.h-data: Likewise.
34920 * conform/data/signal.h-data: Likewise.
34921 * conform/data/spawn.h-data: Likewise.
34922 * conform/data/stdio.h-data: Likewise.
34923 * conform/data/stdlib.h-data: Likewise.
34924 * conform/data/stropts.h-data: Likewise.
34925 * conform/data/sys/mman.h-data: Likewise.
34926 * conform/data/sys/stat.h-data: Likewise.
34927 * conform/data/sys/types.h-data: Likewise.
34928 * conform/data/sys/wait.h-data: Likewise.
34929 * conform/data/time.h-data: Likewise.
34930 * conform/data/unistd.h-data: Likewise.
34931 * conform/data/utime.h-data: Likewise.
34932
34933 * io/sys/stat.h: fchmod was always in POSIX.
34934 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34935 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34936 * rt/aio.h: Define __need_timespec before including <time.h>.
34937 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34938 struct. Add forward declaration of pthread_attr_t and use it in
34939 sigevent.
34940 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34942 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34943 always remove CLK_TCK definition.
34944
c20105c3
AS
349452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34946
34947 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34948
7a270350
UD
349492012-02-25 Ulrich Drepper <drepper@gmail.com>
34950
31341567
UD
34951 * conform/run-conformtest.sh: New file.
34952 * conform/Makefile: Run run-conformtest for tests.
34953 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34954 support.
34955
34956 * conform/data/uchar.h-data: New file.
34957 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34958 * conform/data/arpa/inet.h-data: Likewise.
34959 * conform/data/assert.h-data: Likewise.
34960 * conform/data/complex.h-data: Likewise.
34961 * conform/data/cpio.h-data: Likewise.
34962 * conform/data/ctype.h-data: Likewise.
34963 * conform/data/dirent.h-data: Likewise.
34964 * conform/data/dlfcn.h-data: Likewise.
34965 * conform/data/errno.h-data: Likewise.
34966 * conform/data/fcntl.h-data: Likewise.
34967 * conform/data/float.h-data: Likewise.
34968 * conform/data/fmtmsg.h-data: Likewise.
34969 * conform/data/fnmatch.h-data: Likewise.
34970 * conform/data/ftw.h-data: Likewise.
34971 * conform/data/glob.h-data: Likewise.
34972 * conform/data/grp.h-data: Likewise.
34973 * conform/data/iconv.h-data: Likewise.
34974 * conform/data/inttypes.h-data: Likewise.
34975 * conform/data/langinfo.h-data: Likewise.
34976 * conform/data/libgen.h-data: Likewise.
34977 * conform/data/limits.h-data: Likewise.
34978 * conform/data/locale.h-data: Likewise.
34979 * conform/data/math.h-data: Likewise.
34980 * conform/data/monetary.h-data: Likewise.
34981 * conform/data/mqueue.h-data: Likewise.
34982 * conform/data/ndbm.h-data: Likewise.
34983 * conform/data/net/if.h-data: Likewise.
34984 * conform/data/netdb.h-data: Likewise.
34985 * conform/data/netinet/in.h-data: Likewise.
34986 * conform/data/nl_types.h-data: Likewise.
34987 * conform/data/poll.h-data: Likewise.
34988 * conform/data/pthread.h-data: Likewise.
34989 * conform/data/pwd.h-data: Likewise.
34990 * conform/data/regex.h-data: Likewise.
34991 * conform/data/sched.h-data: Likewise.
34992 * conform/data/search.h-data: Likewise.
34993 * conform/data/semaphore.h-data: Likewise.
34994 * conform/data/setjmp.h-data: Likewise.
34995 * conform/data/signal.h-data: Likewise.
34996 * conform/data/spawn.h-data: Likewise.
34997 * conform/data/stdarg.h-data: Likewise.
34998 * conform/data/stdio.h-data: Likewise.
34999 * conform/data/stdlib.h-data: Likewise.
35000 * conform/data/string.h-data: Likewise.
35001 * conform/data/strings.h-data: Likewise.
35002 * conform/data/stropts.h-data: Likewise.
35003 * conform/data/sys/ipc.h-data: Likewise.
35004 * conform/data/sys/mman.h-data: Likewise.
35005 * conform/data/sys/msg.h-data: Likewise.
35006 * conform/data/sys/resource.h-data: Likewise.
35007 * conform/data/sys/select.h-data: Likewise.
35008 * conform/data/sys/sem.h-data: Likewise.
35009 * conform/data/sys/shm.h-data: Likewise.
35010 * conform/data/sys/socket.h-data: Likewise.
35011 * conform/data/sys/stat.h-data: Likewise.
35012 * conform/data/sys/statvfs.h-data: Likewise.
35013 * conform/data/sys/time.h-data: Likewise.
35014 * conform/data/sys/timeb.h-data: Likewise.
35015 * conform/data/sys/times.h-data: Likewise.
35016 * conform/data/sys/types.h-data: Likewise.
35017 * conform/data/sys/uio.h-data: Likewise.
35018 * conform/data/sys/un.h-data: Likewise.
35019 * conform/data/sys/utsname.h-data: Likewise.
35020 * conform/data/sys/wait.h-data: Likewise.
35021 * conform/data/syslog.h-data: Likewise.
35022 * conform/data/tar.h-data: Likewise.
35023 * conform/data/termios.h-data: Likewise.
35024 * conform/data/utime.h-data: Likewise.
35025 * conform/data/utmpx.h-data: Likewise.
35026 * conform/data/varargs.h-data: Likewise.
35027 * conform/data/wchar.h-data: Likewise.
35028 * conform/data/wctype.h-data: Likewise.
35029 * conform/data/wordexp.h-data: Likewise.
35030
35031 * include/stropts.h: New file.
35032 * include/uchar.h: New file.
35033 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35034 * include/assert.h: Likewise.
35035 * include/ctype.h: Likewise.
35036 * include/dirent.h: Likewise.
35037 * include/dlfcn.h: Likewise.
35038 * include/fcntl.h: Likewise.
35039 * include/fnmatch.h: Likewise.
35040 * include/glob.h: Likewise.
35041 * include/grp.h: Likewise.
35042 * include/libio.h: Likewise.
35043 * include/locale.h: Likewise.
35044 * include/math.h: Likewise.
35045 * include/net/if.h: Likewise.
35046 * include/netdb.h: Likewise.
35047 * include/netinet/in.h: Likewise.
35048 * include/pthread.h: Likewise.
35049 * include/pwd.h: Likewise.
35050 * include/regex.h: Likewise.
35051 * include/sched.h: Likewise.
35052 * include/search.h: Likewise.
35053 * include/setjmp.h: Likewise.
35054 * include/signal.h: Likewise.
35055 * include/stdio.h: Likewise.
35056 * include/stdlib.h: Likewise.
35057 * include/string.h: Likewise.
35058 * include/sys/cdefs.h: Likewise.
35059 * include/sys/mman.h: Likewise.
35060 * include/sys/msg.h: Likewise.
35061 * include/sys/resource.h: Likewise.
35062 * include/sys/select.h: Likewise.
35063 * include/sys/socket.h: Likewise.
35064 * include/sys/stat.h: Likewise.
35065 * include/sys/statvfs.h: Likewise.
35066 * include/sys/time.h: Likewise.
35067 * include/sys/times.h: Likewise.
35068 * include/sys/uio.h: Likewise.
35069 * include/sys/utsname.h: Likewise.
35070 * include/sys/wait.h: Likewise.
35071 * include/termios.h: Likewise.
35072 * include/time.h: Likewise.
35073 * include/ulimit.h: Likewise.
35074 * include/unistd.h: Likewise.
35075 * include/utime.h: Likewise.
35076 * include/wchar.h: Likewise.
35077 * include/wctype.h: Likewise.
35078 * include/wordexp.h: Likewise.
35079
35080 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35081
7a270350
UD
35082 * time/time.h: TIME_UTC must be a macro.
35083 Make timespec_get available for ISO C11 only as well.
35084
7724defc
UD
350852012-02-24 Ulrich Drepper <drepper@gmail.com>
35086
35087 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35088 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35089
6b1d1d46
JM
350902012-02-24 Joseph Myers <joseph@codesourcery.com>
35091
35092 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35093
0f8bbd69
JM
350942012-02-24 Joseph Myers <joseph@codesourcery.com>
35095
35096 * manual/texinfo.tex: Update to version 2012-01-19.16.
35097
66ab80bc
JM
350982012-02-24 Joseph Myers <joseph@codesourcery.com>
35099
35100 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35101
74981cc5
RM
351022012-02-24 Roland McGrath <roland@hack.frob.com>
35103
ee968201
RM
35104 [BZ #13738]
35105 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35106 * manual/fdl-1.3.texi: New file.
35107 * manual/fdl-1.1.texi: File removed.
35108
74981cc5
RM
35109 [BZ #13738]
35110 * manual/libc.texinfo (FDL_VERSION): New @set.
35111 Use it for mention of FDL in cover text.
35112 (Documentation License): Use it in @include file name.
35113
7bb764bc
JM
351142012-02-22 Joseph Myers <joseph@codesourcery.com>
35115 Roland McGrath <roland@hack.frob.com>
35116
35117 [BZ #5461]
35118 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
35119 not LONG_LONG_MAX and LONG_LONG_MIN.
35120 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35121 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35122 name.
35123 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35124
6cbeae47
JM
351252012-02-22 Joseph Myers <joseph@codesourcery.com>
35126
35127 [BZ #2547]
35128 [BZ #11365]
35129 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35130 manipulate bits before adding and subtracting TWO23[sx].
35131 * math/libm-test.inc (nearbyint_test): Add more tests.
35132
fe45ce09
JM
351332012-02-22 Joseph Myers <joseph@codesourcery.com>
35134
35135 [BZ #2548]
35136 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35137 bits before adding and subtracting TWO23[sx].
35138 * math/libm-test.inc (rint_test): Add more tests.
35139 (rint_test_tonearest): Likewise.
35140 (rint_test_towardzero): Likewise.
35141 (rint_test_downward): Likewise.
35142 (rint_test_upward: Likewise.
35143
ff3b3d82
JM
351442012-02-22 Joseph Myers <joseph@codesourcery.com>
35145
35146 [BZ #10110]
35147 * include/stdc-predef.h: New file. Extracted from features.h.
35148 * include/features.h: Include stdc-predef.h.
35149 * Makefile (headers): Add stdc-predef.h.
35150 * CONFORMANCE (Compiler limitations): Update.
35151
ef0aab35
JM
351522012-02-22 Joseph Myers <joseph@codesourcery.com>
35153
35154 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35155
58639409
DM
351562012-02-21 David S. Miller <davem@davemloft.net>
35157
35158 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35159 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35160
c0e70b25
DM
351612012-02-20 David S. Miller <davem@davemloft.net>
35162
35163 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35164 using a normal save/restore sequence, rather than allocating a
35165 dummy stack frame just to store a frame pointer and restore.
35166 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35167
fb06851d
JM
351682012-02-21 Joseph Myers <joseph@codesourcery.com>
35169
35170 * manual/install.texi: Fix stray word in line-wrapped comment.
35171
7a8b71c3
DM
351722012-02-20 David S. Miller <davem@davemloft.net>
35173
d510c123
DM
35174 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35175 both binutils and gcc support GOTDATA.
35176
0722d7c2
DM
35177 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35178 "rd %pc" in the PIC register setup sequences.
35179
3d2b3019
DM
35180 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35181 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35182 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35183 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35184 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35186 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35187 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35188 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35189 (SYSCALL_ERROR_HANDLER): Likewise.
35190 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35191 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35193 (SYSCALL_ERROR_HANDLER): Likewise.
35194
c80098a9
DM
35195 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35196 (HAVE_GCC_GOTDATA): New.
35197 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35198 relocation support in both binutils and gcc.
35199 * sysdeps/sparc/elf/configure: Regenerate.
35200
3a2545a0
DM
35201 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35202 * sysdeps/sparc/sparc32/elf/configure: Delete.
35203 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35204 * sysdeps/sparc/sparc64/elf/configure: Delete.
35205 * sysdeps/sparc/elf/configure.in: New file.
35206 * sysdeps/sparc/elf/configure: Generate.
35207
7a8b71c3
DM
35208 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35209 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35210 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35211 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35212 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35213
f1e86fca
JM
352142012-02-21 Joseph Myers <joseph@codesourcery.com>
35215
35216 * manual/install.texi: Do not mention specific glibc version
35217 numbers.
35218 * manual/libc.texinfo (VERSION, UPDATED): Update.
35219 (@copying): Use @copyright{} and range of years.
35220
0e7dfaef
JM
352212012-02-21 Joseph Myers <joseph@codesourcery.com>
35222
35223 [BZ #13695]
35224 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35225 [crti.S not in sysdirs] (generated): Do not append.
35226 [crti.S not in sysdirs] (omit-deps): Likewise.
35227 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35228 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35229 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35230 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35231 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35232 Likewise.
35233 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35234 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35235 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35236 * csu/defs.awk: Remove file.
35237 * sysdeps/generic/initfini.c: Likewise.
35238 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35239 variable.
35240 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35241 Likewise.
35242
599af3ca
JM
352432012-02-20 Joseph Myers <joseph@codesourcery.com>
35244
35245 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35246 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35247 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35250 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35251 <bits/epoll.h>.
35252 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35253 (__EPOLL_PACKED): Define to empty if not defined by
35254 <bits/epoll.h>.
35255 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35257 bits/epoll.h.
35258
0e499750
JM
352592012-02-20 Joseph Myers <joseph@codesourcery.com>
35260
35261 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35262 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35263 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35264 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35265 <bits/timerfd.h>.
35266 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35268 bits/timerfd.h.
35269
5ad91f6e
JM
352702012-02-20 Joseph Myers <joseph@codesourcery.com>
35271
35272 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35273 in C locale.
35274 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35275 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35276 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35278
06b99b02
AJ
352792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35280
35281 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35282 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35283
7638c0fd
AS
352842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35285
35286 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35287 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35288 defined.
35289 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35290 Likewise.
35291 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35292 entry for 2.16.
35293
92221550
AJ
352942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35295
35296 * math/w_acos.c: Use non-signaling floating-point comparisons.
35297 * math/w_acosf.c: Likewise.
35298 * math/w_acosh.c: Likewise.
35299 * math/w_acoshf.c: Likewise.
35300 * math/w_acoshl.c: Likewise.
35301 * math/w_acosl.c: Likewise.
35302 * math/w_asin.c: Likewise.
35303 * math/w_asinf.c: Likewise.
35304 * math/w_asinl.c: Likewise.
35305 * math/w_atanh.c: Likewise.
35306 * math/w_atanhf.c: Likewise.
35307 * math/w_atanhl.c: Likewise.
35308 * math/w_exp2.c: Likewise.
35309 * math/w_exp2f.c: Likewise.
35310 * math/w_exp2l.c: Likewise.
35311 * math/w_j0.c: Likewise.
35312 * math/w_j0f.c: Likewise.
35313 * math/w_j0l.c: Likewise.
35314 * math/w_j1.c: Likewise.
35315 * math/w_j1f.c: Likewise.
35316 * math/w_j1l.c: Likewise.
35317 * math/w_jn.c: Likewise.
35318 * math/w_jnf.c: Likewise.
35319 * math/w_log.c: Likewise.
35320 * math/w_log10.c: Likewise.
35321 * math/w_log10f.c: Likewise.
35322 * math/w_log10l.c: Likewise.
35323 * math/w_log2.c: Likewise.
35324 * math/w_log2f.c: Likewise.
35325 * math/w_log2l.c: Likewise.
35326 * math/w_logf.c: Likewise.
35327 * math/w_logl.c: Likewise.
35328 * math/w_sqrt.c: Likewise.
35329 * math/w_sqrtf.c: Likewise.
35330 * math/w_sqrtl.c: Likewise.
35331 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35332 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35333 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35334 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35335 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35336
ebaf36eb
JM
353372012-02-19 Joseph Myers <joseph@codesourcery.com>
35338
35339 [BZ #9739]
35340 * manual/string.texi (strnlen): Use correct parameter name in
35341 equivalent expression.
35342
71c254a6
JM
353432012-02-19 Joseph Myers <joseph@codesourcery.com>
35344
35345 [BZ #11174]
35346 * manual/users.texi (seteuid): Consistently use neweuid for
35347 argument name.
35348
16d2c631
JM
353492012-02-19 Joseph Myers <joseph@codesourcery.com>
35350
35351 [BZ #13704]
35352 * manual/nss.texi (Services in the NSS configuration): Correct
35353 list of services in example configuration file.
35354
cd837b09
NB
353552012-02-19 Nick Bowler <nbowler@draconx.ca>
35356
35357 [BZ #11322]
35358 * manual/arith.texi: Remove statements about negative zero
35359 behaving identically to zero.
35360
02c4bbad
JM
353612012-02-18 Joseph Myers <joseph@codesourcery.com>
35362
35363 [BZ #5993]
35364 * manual/install.texi: Do not document upgrading from libc5.
35365
366842e7
JM
353662012-02-18 Joseph Myers <joseph@codesourcery.com>
35367
35368 [BZ #4596]
35369 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35370
dd54084d
DM
353712012-02-18 David S. Miller <davem@davemloft.net>
35372
35373 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35374 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35375 %o7 across the call.
35376 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35377 instead.
35378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35379 SETUP_PIC_REG_LEAF.
35380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35381 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35382 * sysdeps/sparc/crtn.S: Likewise.
35383
2bcc53a3
UD
353842012-02-17 Ulrich Drepper <drepper@gmail.com>
35385
35386 * aout/Makefile: Remove.
35387
09c093b5
RK
353882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35389
35390 [BZ #13058]
35391 * manual/examples/argp-ex1.c (main): Format definition in GNU
35392 style.
35393 * manual/examples/argp-ex2.c (main): Likewise.
35394 * manual/examples/argp-ex3.c (main): Likewise.
35395 * manual/examples/argp-ex4.c (main): Likewise.
35396 * manual/examples/longopt.c (main): Use new-style prototype
35397 definition.
35398 * manual/examples/strncat.c (main): Specify return type and use
35399 (void) for arguments.
35400 * manual/examples/subopt.c (main): Use char **argv argument.
35401
2ee633a2
JM
354022012-02-17 Joseph Myers <joseph@codesourcery.com>
35403
35404 [BZ #5077]
35405 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35406 rounding modes.
35407
0520adde
FB
354082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35409
35410 [BZ #6907]
35411 * manual/string.texi (strchr): Change when strchrnul is
35412 recommended.
35413
3f4081cd
DGM
354142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35415
35416 [BZ #174]
35417 * manual/locale.texi (setlocale): Document LOCPATH.
35418
d1b10e78
JM
354192012-02-17 Joseph Myers <joseph@codesourcery.com>
35420
35421 [BZ #10210]
35422 * manual/process.texi (execle): Move @dots{} before last argument.
35423
79c6869c
PB
354242012-02-17 Paul Bolle <pebolle@tiscali.nl>
35425
35426 [BZ #12047]
35427 * manual/charset.texi (Generic Charset Conversion): Fix typo
35428 (LC_TYPE -> LC_CTYPE).
35429
cc6e48bc
NB
354302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35431
35432 [BZ #5805]
35433 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35434 (scalbnf): Likewise.
35435 (scalbnl): Likewise.
35436 (scalbln): Likewise.
35437 (scalblnf): Likewise.
35438 (scalblnl): Likewise.
35439 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35440 (vwarnx): Likewise.
35441 (verr): Likewise.
35442 (verrx): Likewise.
35443 * manual/filesys.texi (telldir): Use braces around return type.
35444 * manual/llio.texi (mmap): Add space after comma.
35445 (mmap64): Likewise.
35446 * manual/math.texi (jn): Use @var{} on parameter names.
35447 (jnf): Likewise.
35448 (jnl): Likewise.
35449 (yn): Likewise.
35450 (ynf): Likewise.
35451 (ynl): Likewise.
35452 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35453 line.
35454 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35455 "...".
35456 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35457 (sched_get_priority_max): Likewise.
35458 * manual/signal.texi (sigvec): Add space after comma.
35459 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35460 names.
35461 (if_indextoname): Likewise.
35462 (if_freenameindex): Likewise.
35463 (sendto): Use ',' instead of '.' in prototype.
35464 * manual/startup.texi (syscall): Use @dots{} instead of literal
35465 "...".
35466 * manual/stdio.texi (__fpending): Separate initial words of
35467 paragraph from @deftypefun line.
35468 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35469 "...".
35470 (vsyslog): Use @var{} on parameter names.
35471 * manual/terminal.texi (stty): Use @var{} on parameter names.
35472 * manual/users.texi (getutmp): Use @var{} on parameter names.
35473 (getutmpx): Likewise.
35474
5b23062f
JM
354752012-02-17 Joseph Myers <joseph@codesourcery.com>
35476
35477 [BZ #6884]
35478 * manual/stdio.texi (fopen): Fix typos in description of
35479 ",ccs=STRING".
35480
8dee4833
AJ
354812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35482
35483 [BZ #4026]
35484 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35485 get clock_id definition.
35486
9078ce93
TS
354872012-02-17 Thomas Schwinge <thomas@schwinge.name>
35488
35489 [BZ #4822]
35490 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35491 (madvise): Cast every argument to void on its own.
35492
3835c55f
JM
354932012-02-17 Joseph Myers <joseph@codesourcery.com>
35494
35495 [BZ #9902]
35496 * manual/startup.texi (Exit Status): Fix typo.
35497
35c47e37
JM
354982012-02-17 Joseph Myers <joseph@codesourcery.com>
35499
35500 [BZ #10140]
35501 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35502 * manual/examples/argp-ex2.c: Likewise.
35503 * manual/examples/argp-ex3.c: Likewise.
35504
e3b69ca7
RH
355052012-02-16 Richard Henderson <rth@redhat.com>
35506
35507 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35508 * sysdeps/s390/s390-32/initfini.c: Remove.
35509 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35510 * sysdeps/s390/s390-64/initfini.c: Remove.
35511
df83af67
KK
355122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35513
35514 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35515 compiler output for sysdeps/generic/initfini.c.
35516 * sysdeps/sh/elf/initfini.c: Remove file.
35517
f63f3380
DM
355182012-02-16 David S. Miller <davem@davemloft.net>
35519
fb59b3a4
DM
35520 [BZ #11494]
35521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35522
f63f3380
DM
35523 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35524 * sysdeps/sparc/crti.S: New file.
35525 * sysdeps/sparc/crtn.S: New file.
35526 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35527 * sysdeps/sparc/sparc64/Makefile: Likewise.
35528
df6a4a4a
MF
355292012-02-15 Mike Frysinger <vapier@gentoo.org>
35530
6dd8f3dc 35531 [BZ #3335]
df6a4a4a
MF
35532 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35533
1cac7236
RM
355342012-02-15 Roland McGrath <roland@hack.frob.com>
35535
d2c736f8
RM
35536 [BZ #4822]
35537 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35538
1cac7236
RM
35539 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35540 (write, read, close): Likewise.
35541 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35542
8e475601
JM
355432012-02-15 Joseph Myers <joseph@codesourcery.com>
35544
35545 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35546 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35547 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35548 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35549 <bits/signalfd.h>.
35550 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35552 bits/signalfd.h.
35553
ed656b40
MP
355542012-02-14 Marek Polacek <polacek@redhat.com>
35555
35556 * sysdeps/x86_64/crti.S: New file.
35557 * sysdeps/x86_64/crtn.S: New file.
35558 * sysdeps/x86_64/elf/initfini.c: Remove file.
35559
2a979d3a
JM
355602012-02-13 Joseph Myers <joseph@codesourcery.com>
35561
35562 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35563 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35564 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35565 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35566 <bits/inotify.h>.
35567 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35569 bits/inotify.h.
35570
2a418ac3
JM
355712012-02-13 Joseph Myers <joseph@codesourcery.com>
35572
35573 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35574 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35575 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35576 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35577 <bits/eventfd.h>.
35578 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35580 bits/eventfd.h.
35581
fb779be7
TS
355822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35583
e19e83c5
RM
35584 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35585 __feraiseexcept instead of feraiseexcept.
7c35ffed 35586
fb779be7
TS
35587 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35588 nanosleep invocations.
35589 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35590 strings, and add error checking for a nanosleep invocations.
35591
59ba27a6
PE
355922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35593
35594 Replace FSF snail mail address with URLs, as per GNU coding standards.
35595 Most of the snail mail addresses were wrong anyway, and omitting
35596 them makes the source code easier to maintain. Almost all of the
35597 changes are to license notices and to locale LC_IDENTIFICATION
35598 addresses, except for this one:
35599 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35600 not its snail mail address.
35601
57b957eb
RH
356022012-02-09 Richard Henderson <rth@twiddle.net>
35603
af850b1c
RH
35604 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35605 of kernel-features.h.
35606
57b957eb
RH
35607 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35608
6b73181a
MP
356092012-02-08 Marek Polacek <polacek@redhat.com>
35610
35611 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35612 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35613 * sysdeps/gnu/_G_config.h: Likewise.
35614 * sysdeps/generic/_G_config.h: Likewise.
35615
26ecc33a
AS
356162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35617
6c6dbc63
AS
35618 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35619 tests.
35620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35621
e216c012
AS
35622 * sysdeps/powerpc/powerpc32/crti.S: New file.
35623 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35624 * sysdeps/powerpc/powerpc64/crti.S: New file.
35625 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35626
26ecc33a
AS
35627 * Makeconfig (have-initfini): Don't set.
35628 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35629 * configure.in (nopic_initfini): Don't substitute.
35630 * config.h.in (HAVE_INITFINI): Don't #undef.
35631 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35632 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35633
3add8e13
JM
356342012-02-08 Joseph Myers <joseph@codesourcery.com>
35635
35636 Support crti.S and crtn.S provided directly by architectures.
35637 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35638 [crti.S in sysdirs] (omit-deps): Likewise.
35639 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35640 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35641 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35642 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35643 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35644 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35645 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35646 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35647 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35648 compiler output for sysdeps/generic/initfini.c.
35649 * sysdeps/i386/elf/Makefile: Remove file.
35650 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35651
a22f12b4
MP
356522012-02-07 Marek Polacek <polacek@redhat.com>
35653
35654 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35655 * sysdeps/gnu/_G_config.h: Likewise.
35656 * sysdeps/mach/hurd/_G_config.h: Likewise.
35657
148cf100
MP
356582012-02-07 Marek Polacek <polacek@redhat.com>
35659
35660 * math/Makefile (tests): Add tst-CMPLX2.
35661 * math/tst-CMPLX2.c: New file.
35662
cfdc0dd7
AS
356632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35664
84ba42c4
AS
35665 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35666
cfdc0dd7
AS
35667 * math/libm-test.inc (jn_test): Add missing L suffix.
35668
622c86f4
MP
356692012-02-06 Marek Polacek <polacek@redhat.com>
35670
35671 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35672 * sysdeps/i386/fpu/e_powf.S: Likewise.
35673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35674 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35675 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35676 * sysdeps/i386/fpu/e_pow.S: Likewise.
35677 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35678 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35679 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35680 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35681 * sysdeps/i386/fpu/e_log2.S: Likewise.
35682 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35683 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35684 * sysdeps/i386/fpu/e_powl.S: Likewise.
35685 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35686 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35687 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35688 * sysdeps/i386/fpu/e_logl.S: Likewise.
35689 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35690 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35691 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35692 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35693 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35694 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35695 * sysdeps/i386/fpu/e_log.S: Likewise.
35696 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35697 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35698 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35699 * sysdeps/i386/fpu/e_logf.S: Likewise.
35700 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35701 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35702 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35703 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35704 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35705 * sysdeps/i386/fpu/e_log10.S: Likewise.
35706 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35707 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35708 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35709 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35710 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35711 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35712 * sysdeps/i386/asm-syntax.h: Likewise.
35713 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35714 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35715 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35716 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35717 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35718 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35719 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35720 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35721 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35722 * sysdeps/powerpc/sysdep.h: Likewise.
35723 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35724 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35725
d4a54ac6
JM
357262012-02-06 Joseph Myers <joseph@codesourcery.com>
35727
35728 [BZ #411]
35729 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35730
314054ea
JM
357312012-02-06 Joseph Myers <joseph@codesourcery.com>
35732
35733 * sysdeps/i386/sysdep.h: Include <features.h>.
35734 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35735 version.
35736
d8e0ca50
JM
357372012-02-05 Joseph Myers <joseph@codesourcery.com>
35738
35739 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35740 Define.
35741 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35742 LOAD_PIC_REG_STR.
35743
b1da7dd9
JM
357442012-02-03 Joseph Myers <joseph@codesourcery.com>
35745
35746 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35747 (SETUP_PIC_REG): Use GET_PC_THUNK.
35748 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35749 macro.
35750
9a1d9254
JM
357512012-02-03 Joseph Myers <joseph@codesourcery.com>
35752
35753 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35754 for non-PIC compilation.
35755 (SETUP_PIC_REG): Add .p2align directive.
35756 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35757 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35758 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35759 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35760 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35761 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35762 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35763 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35764 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35765 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35766 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35767 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35768 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35769 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35771 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35774 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35775 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35776 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35778 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35779 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35780 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35782 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35783 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35784 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35785 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35786 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35787 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35788 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35789 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35790 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35791 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35792 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35793 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35794 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35795 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35796 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35797
65dc3b75
JM
357982012-02-03 Joseph Myers <joseph@codesourcery.com>
35799
35800 * math/tst-CMPLX.c: Include <stdio.h>.
35801
d55bf177
JM
358022012-01-31 Joseph Myers <joseph@codesourcery.com>
35803
35804 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35805 float.
35806 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35807 * sysdeps/sparc/bits/mathdef.h: Likewise.
35808
69db4f8f
MP
358092012-01-31 Marek Polacek <polacek@redhat.com>
35810
35811 * libio/libio.h: Don't define _PARAMS.
35812 * locale/programs/config.h: Don't define PARAMS.
35813 * stdlib/strtol_l.c: Likewise.
35814 (__strtol_l): Remove PARAMS from the prototype.
35815
41b81892
UD
358162012-01-31 Ulrich Drepper <drepper@gmail.com>
35817
3b49edc0
UD
35818 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35819 names. Just use the correct names. Remove unnecessary wrapper
35820 functions.
35821 * malloc/arena.c: Likewise.
35822 * malloc/hooks.c: Likewise.
35823
41b81892
UD
35824 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35825 ARENA_TEST says not to. Simplify test for creation of a new arena.
35826 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35827
27a25b6e
UD
358282012-01-30 Ulrich Drepper <drepper@gmail.com>
35829
35830 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35831 into tail calls.
35832 (update_get_addr): New function.
35833 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35834 GET_ADDR_MODULE parameter.
35835
c8a89e7d
JM
358362012-01-30 Joseph Myers <joseph@codesourcery.com>
35837
35838 * crypt/cert.c: Remove __STDC__ conditionals.
35839 * crypt/crypt-entry.c: Likewise.
35840 * crypt/crypt_util.c: Likewise.
35841 * libio/filedoalloc.c: Likewise.
35842 * libio/fileops.c: Likewise.
35843 * libio/genops.c: Likewise.
35844 * libio/iofclose.c: Likewise.
35845 * libio/iofdopen.c: Likewise.
35846 * libio/iofopen.c: Likewise.
35847 * libio/iofopen64.c: Likewise.
35848 * libio/iogetdelim.c: Likewise.
35849 * libio/iopopen.c: Likewise.
35850 * libio/obprintf.c: Likewise.
35851 * libio/oldfileops.c: Likewise.
35852 * libio/oldiofclose.c: Likewise.
35853 * libio/oldiofdopen.c: Likewise.
35854 * libio/oldiofopen.c: Likewise.
35855 * libio/oldiopopen.c: Likewise.
35856 * libio/wfiledoalloc.c: Likewise.
35857 * libio/wgenops.c: Likewise.
35858 * locale/programs/xmalloc.c: Likewise.
35859 * misc/syslog.c: Likewise.
35860 * stdio-common/xbug.c: Likewise.
35861 * string/memchr.c: Likewise.
35862 * string/memcmp.c: Likewise.
35863 * string/memrchr.c: Likewise.
35864 * string/rawmemchr.c: Likewise.
35865 * sysdeps/posix/getcwd.c: Likewise.
35866 * time/strftime_l.c: Likewise.
35867
3b100462
JM
358682012-01-30 Joseph Myers <joseph@codesourcery.com>
35869
35870 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35871 * config.make.in (config-cflags-sse2avx): Define.
35872 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35873 Fix typo.
35874
607998af
CM
358752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35876
35877 * scripts/config.guess: Update from upstream config git repository.
35878 * scripts/config.sub: Likewise.
35879
3601428f
CM
358802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35881
3ac8b282
CM
35882 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35883 (EM_NUM): Update.
35884 (R_TILEPRO_*, R_TILEGX_*): New macros.
35885
e034841e
CM
35886 * scripts/firstversions.awk: Fix bug in version range handling.
35887
540d7568
CM
35888 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35889
3601428f
CM
35890 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35891
463de862
CM
35892 * include/sys/epoll.h: New file.
35893 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35894 libc_hidden_def.
35895
73139a76
UD
358962012-01-28 Ulrich Drepper <drepper@gmail.com>
35897
96bc5b45
UD
35898 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35899 Avoid unnecessary __WORDSIZE == 64 test.
35900 (fmaxf): Use VEX format if possible.
35901 (fmax): Likewise.
35902 (fminf): Likewise.
35903 (fmin): Likewise.
35904
56f6f6a2
UD
35905 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35906 * math/math_private.h: Remove libc_fegetround* and
35907 libc_fesetround*.
35908 * sysdeps/i386/configure.in: Check for -msse2avx.
35909 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35910 also if SSE2AVX is defined.
35911 Remove libc_fegetround* and libc_fesetround*.
35912 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35913 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35914 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35915 of HAS_YMM_USABLE.
35916 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35917 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35918 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35919 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35920 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35921
73139a76
UD
35922 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35923
d73f93a4
AZ
359242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35925
35926 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35927 size is not set.
35928 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35929
6ee65ed6
UD
359302012-01-27 Ulrich Drepper <drepper@gmail.com>
35931
35932 [BZ #13618]
35933 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35934 relocation.
35935 * Makeconfig (libm): Define.
35936 * elf/Makefile: Add rules to build and run tst-relsort1.
35937 * elf/tst-relsort1.c: New file.
35938 * elf/tst-relsort1mod1.c: New file.
35939 * elf/tst-relsort1mod2.c: New file.
35940
8db21882
JM
359412012-01-27 Joseph Myers <joseph@codesourcery.com>
35942
35943 * math/s_ldexp.c: Remove __STDC__ conditionals.
35944 * math/s_ldexpf.c: Likewise.
35945 * math/s_ldexpl.c: Likewise.
35946 * math/s_nextafter.c: Likewise.
35947 * math/s_nexttowardf.c: Likewise.
35948 * math/s_significand.c: Likewise.
35949 * math/s_significandf.c: Likewise.
35950 * math/s_significandl.c: Likewise.
35951 * math/w_jnl.c: Likewise.
35952 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35953 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35954 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35955 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35956 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35957 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35958 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35959 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35960 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35961 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35962 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35963 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35964 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35965 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35966 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35967 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35968 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35969 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35970 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35971 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35972 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35973 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35974 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35976 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35977 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35978 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35979 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35980 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35981 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35982 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35983 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35984 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35985 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35986 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35987 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35988 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35989 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35990 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35991 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35992 * sysdeps/ieee754/k_standard.c: Likewise.
35993 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35995 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35996 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35997 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35998 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35999 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36002 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36005 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36006 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36007 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36009 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36010 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36011 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36012 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36013 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36014 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36015 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36016 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36017 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36022 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36023 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36030 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36033 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36035 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36037 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36038 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36039 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36052 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36053 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36054 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36055 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36057 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36058 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36059 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36067 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36068 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36072 * sysdeps/ieee754/s_matherr.c: Likewise.
36073 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36074 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36077
965a54a4
JM
360782012-01-26 Joseph Myers <joseph@codesourcery.com>
36079
36080 * crypt/md5.h: Remove __STDC__ conditionals.
36081 * libio/libioP.h: Likewise.
36082 * locale/programs/config.h: Likewise.
36083 * sysdeps/generic/sysdep.h: Likewise.
36084 * sysdeps/i386/asm-syntax.h: Likewise.
36085 * sysdeps/s390/asm-syntax.h: Likewise.
36086 * sysdeps/unix/sysdep.h: Likewise.
36087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36089
7071ad79
JM
360902012-01-26 Joseph Myers <joseph@codesourcery.com>
36091
36092 * libio/libio.h: Remove __STDC__ conditionals.
36093 * malloc/obstack.h: Likewise.
36094 * math/complex.h: Likewise.
36095 * math/math.h: Likewise.
36096 * sysdeps/generic/_G_config.h: Likewise.
36097 * sysdeps/gnu/_G_config.h: Likewise.
36098 * sysdeps/mach/hurd/_G_config.h: Likewise.
36099 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36100 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36101 * sysdeps/sparc/bits/mathdef.h: Likewise.
36102
afc5ed09
UD
361032012-01-26 Ulrich Drepper <drepper@gmail.com>
36104
36105 [BZ #13583]
36106 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36107 Clean up HAS_* macros.
afc5ed09 36108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36109 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36110 possible.
36111 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36112 HAS_AVX.
36113 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36114 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36115 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36116 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36117 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36118
bdb6de1d
JM
361192012-01-25 Joseph Myers <joseph@codesourcery.com>
36120
36121 * elf/tst-unique3.cc (gets): Remove declaration.
36122 * elf/tst-unique3lib.cc (gets): Likewise.
36123 * elf/tst-unique3lib2.cc (gets): Likewise.
36124 * elf/tst-unique4.cc (gets): Likewise.
36125
b15549e6
UD
361262012-01-24 Ulrich Drepper <drepper@gmail.com>
36127
36128 * include/stdio.h: Add C++ protection. Add gets declarations and
36129 definitions.
36130 * debug/tst-chk1.c: Don't declare gets here.
36131 * stdio-common/tst-gets.c: Likewise.
36132
a037381f
JM
361332012-01-24 Joseph Myers <joseph@codesourcery.com>
36134
36135 * posix/glob: Remove directory.
36136
f1d4aa75
JM
361372012-01-24 Joseph Myers <joseph@codesourcery.com>
36138
36139 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36140
81c0c964
PT
361412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36142
36143 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36144 of the non-standard EPFNOSUPPORT.
36145
0ea698ae
ST
361462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36147
36148 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36149 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36150 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36151
d220b117
UD
361522012-01-21 Ulrich Drepper <drepper@gmail.com>
36153
36154 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36155
3e1aa84e
UD
361562012-01-20 Ulrich Drepper <drepper@gmail.com>
36157
36158 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36159 transient errors.
36160 * nscd/grpcache.c (cache_addgr): Likewise.
36161 * nscd/hstcache.c (cache_addhst): Likewise.
36162 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36163 * nscd/pwdcache.c (cache_addpw): Likewise.
36164 * nscd/servicescache.c (cache_addserv): Likewise.
36165
400aa020
UD
361662012-01-16 Ulrich Drepper <drepper@gmail.com>
36167
d77e7869
UD
36168 * malloc/malloc.c: Various cleanups.
36169 * malloc/hooks.c: Likewise.
36170
400aa020
UD
36171 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36172 * stdlib/bug-fmtmsg1.c: New file.
36173
36174 * stdlib/fmtmsg.c (init): Add missing unlock.
36175 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36176
e0a309cf
MP
361772012-01-12 Marek Polacek <polacek@redhat.com>
36178
36179 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36180 and _GNU_SOURCE.
36181
929d11c7
WS
361822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36183
36184 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36185 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36186 macro to ensure uniqueness of label name.
36187 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36188 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36189
41d0e869
UD
361902012-01-11 Ulrich Drepper <drepper@gmail.com>
36191
0cc5ed3b
UD
36192 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36193
41d0e869
UD
36194 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36195 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36196 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36198
a47a831a
UD
361992012-01-10 Ulrich Drepper <drepper@gmail.com>
36200
daa891c0
UD
36201 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36202
36203 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36204 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36205 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36206
e58ef0f2
UD
36207 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36208
a47a831a 36209 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36210 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36211 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36213
36214 * math/bits/math-finite.h: Add ldexp support.
36215
a0bfc9c7
MP
362162012-01-10 Marek Polacek <polacek@redhat.com>
36217
36218 * locale/programs/localedef.h (show_archive_content): Add noreturn
36219 attribute.
36220
d6e97a1d
UD
362212012-01-09 Ulrich Drepper <drepper@gmail.com>
36222
36223 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36224
d5835c26
UD
362252012-01-08 Ulrich Drepper <drepper@gmail.com>
36226
e5f484c6
UD
36227 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36228
d5835c26
UD
36229 * io/Makefile (headers): Add bits/poll2.h.
36230
d1f741e9
WS
362312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36232
36233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36234 typo #include statement.
36235
ec09c1c4
UD
362362012-01-08 Ulrich Drepper <drepper@gmail.com>
36237
36238 * include/sys/cdefs.h: Define __attribute_alloc_size.
36239 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36240 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36241 * elf/pldd.c: Likewise.
36242 * iconv/iconv_charmap.c: Likewise.
36243 * iconv/iconvconfig.c: Likewise.
36244 * iconv/strtab.c: Likewise.
36245 * locale/programs/locale.c: Likewise.
36246 * locale/programs/localedef.h: Likewise.
36247 * locale/programs/simple-hash.c: Likewise.
36248 * nscd/nscd.h: Likewise.
36249 * nss/makedb.c: Likewise.
36250 * sysdeps/generic/ldconfig.h: Likewise.
36251 * locale/programs/localedef.c: Remove xmalloc prototype.
36252 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36253
20b38e03
PP
362542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36255
36256 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36257 appropriate.
36258
a0da5fe1
UD
362592012-01-08 Ulrich Drepper <drepper@gmail.com>
36260
1d5a644a 36261 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36262 * math/tst-CMPLX.c: New file.
1d5a644a 36263
8784a6db
UD
36264 * math/complex.h (CMPLXL): Fix typo.
36265
d9a216c0
UD
36266 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36267 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36268 GLIBC_2.16.
36269 * debug/tst-chk1.c: Add poll and ppoll tests.
36270 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36271 * include/sys/poll.h: Add hidden proto for ppoll.
36272 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36273 * sysdeps/mach/hurd/ppoll.c: Likewise.
36274 * io/ppoll.c: Likewise.
36275 * debug/poll_chk.c: New file.
36276 * debug/ppoll_chk.c: New file.
36277 * include/bits/poll2.h: New file.
36278 * io/bits/poll2.h: New file.
36279
ac097f5c
UD
36280 [BZ #1350]
36281 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36282
2119dcfa
UD
36283 * configure.in: static is always set to yes. Remove.
36284 * config.make.in: Don't set build-static.
36285 * Makeconfig: Remove use of build-static.
36286 * dlfcn/Makefile: Likewise.
36287 * elf/Makefile: Likewise.
36288 * math/Makefile: Likewise.
36289 * misc/Makefile: Likewise.
36290 * nptl/Makefile: Likewise.
36291 * sysdeps/mach/hurd/Makefile: Likewise.
36292
121766a9
UD
36293 * configure.in: PWD_P is not used anymore.
36294 * config.make.in: Remove PWD_P entry.
36295
51a1d39c 36296 * configure.in: Remove last remnants of RANLIB.
8720d066 36297 No need to check for signed size_t anymore.
215f4bdc
UD
36298 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36299 and IA-64.
3857022a 36300 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36301 * aclocal.m4: Likewise.
36302
d3ed7225
UD
36303 * wcsmbs/mbrtoc16.c: Implement using towc function.
36304 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36305 * wcsmbs/wcsmbsload.c: Likewise.
36306 * iconv/gconv_simple.c: Likewise.
36307 * iconv/gconv_int.h: Likewise.
36308 * iconv/gconv_builtin.h: Likewise.
36309 * iconv/iconv_prog.c: Remove CHAR16 handling.
36310
36311 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36312
36313 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36314
a0da5fe1
UD
36315 * configure.in: Remove --with-elf and --enable-bounded options.
36316 Dont set base_machine for ia64. More non-ELF conditions removed.
36317 Remove testing and setting of leading underscore information.
36318 * config.make.in (build-bounded): Set to no.
36319 * config.h.in: Remove NO_UNDERSCORES entry.
36320 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36321 them.
36322 * csu/start.c: Remove !NO_UNDERSCORE code.
36323 * locale/localeinfo.h: Likewise.
36324 * sysdeps/generic/machine-gmon.h: Likewise.
36325 * sysdeps/generic/sysdep.h: Likewise.
36326 * sysdeps/i386/sysdep.h: Likewise.
36327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36328 * sysdeps/mach/sysdep.h: Likewise.
36329 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36330 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36331 * sysdeps/sh/sysdep.h: Likewise.
36332 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36333 * sysdeps/unix/i386/sysdep.S: Likewise.
36334 * sysdeps/unix/sparc/start.c: Likewise.
36335 * sysdeps/unix/sparc/sysdep.S: Likewise.
36336 * sysdeps/unix/sparc/sysdep.h: Likewise.
36337 * sysdeps/unix/start.c: Likewise.
36338 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36339 * sysdeps/x86_64/sysdep.h: Likewise.
36340
df78418a
UD
363412012-01-07 Ulrich Drepper <drepper@gmail.com>
36342
a784e502
UD
36343 [BZ #13553]
36344 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36345 for non-gcc.
36346 * argp/argp-fmtstream.h: Use const instead __const.
36347 * argp/argp.h: Likewise.
36348 * assert/assert.h: Likewise.
36349 * bits/fenv.h: Likewise.
36350 * bits/sched.h: Likewise.
36351 * bits/sigset.h: Likewise.
36352 * bits/sigthread.h: Likewise.
36353 * catgets/nl_types.h: Likewise.
36354 * conform/data/pthread.h-data: Likewise.
36355 * crypt/crypt-private.h: Likewise.
36356 * crypt/crypt.h: Likewise.
36357 * crypt/crypt_util.c: Likewise.
36358 * ctype/ctype.h: Likewise.
36359 * debug/execinfo.h: Likewise.
36360 * debug/mbsnrtowcs_chk.c: Likewise.
36361 * debug/mbsrtowcs_chk.c: Likewise.
36362 * debug/wcsnrtombs_chk.c: Likewise.
36363 * debug/wcsrtombs_chk.c: Likewise.
36364 * debug/wcstombs_chk.c: Likewise.
36365 * dirent/dirent.h: Likewise.
36366 * dlfcn/dlfcn.h: Likewise.
36367 * elf/neededtest4.c: Likewise.
36368 * grp/grp.h: Likewise.
36369 * gshadow/gshadow.h: Likewise.
36370 * iconv/gconv.h: Likewise.
36371 * iconv/gconv_int.h: Likewise.
36372 * iconv/gconv_simple.c: Likewise.
36373 * iconv/iconv.h: Likewise.
36374 * iconv/loop.c: Likewise.
36375 * iconv/skeleton.c: Likewise.
36376 * include/aio.h: Likewise.
36377 * include/aliases.h: Likewise.
36378 * include/argz.h: Likewise.
36379 * include/arpa/inet.h: Likewise.
36380 * include/assert.h: Likewise.
36381 * include/dirent.h: Likewise.
36382 * include/dlfcn.h: Likewise.
36383 * include/execinfo.h: Likewise.
36384 * include/fcntl.h: Likewise.
36385 * include/fenv.h: Likewise.
36386 * include/glob.h: Likewise.
36387 * include/grp.h: Likewise.
36388 * include/libintl.h: Likewise.
36389 * include/mntent.h: Likewise.
36390 * include/netdb.h: Likewise.
36391 * include/pwd.h: Likewise.
36392 * include/rpc/netdb.h: Likewise.
36393 * include/sched.h: Likewise.
36394 * include/search.h: Likewise.
36395 * include/shadow.h: Likewise.
36396 * include/signal.h: Likewise.
36397 * include/stdio.h: Likewise.
36398 * include/stdlib.h: Likewise.
36399 * include/string.h: Likewise.
36400 * include/sys/socket.h: Likewise.
36401 * include/sys/stat.h: Likewise.
36402 * include/sys/statfs.h: Likewise.
36403 * include/sys/statvfs.h: Likewise.
36404 * include/sys/syslog.h: Likewise.
36405 * include/sys/time.h: Likewise.
36406 * include/sys/uio.h: Likewise.
36407 * include/time.h: Likewise.
36408 * include/unistd.h: Likewise.
36409 * include/utmp.h: Likewise.
36410 * include/wchar.h: Likewise.
36411 * include/wctype.h: Likewise.
36412 * inet/aliases.h: Likewise.
36413 * inet/arpa/inet.h: Likewise.
36414 * inet/netinet/ether.h: Likewise.
36415 * inet/netinet/in.h: Likewise.
36416 * intl/libintl.h: Likewise.
36417 * io/bits/fcntl2.h: Likewise.
36418 * io/fcntl.h: Likewise.
36419 * io/ftw.h: Likewise.
36420 * io/sys/poll.h: Likewise.
36421 * io/sys/stat.h: Likewise.
36422 * io/sys/statfs.h: Likewise.
36423 * io/sys/statvfs.h: Likewise.
36424 * io/utime.h: Likewise.
36425 * libio/bits/stdio.h: Likewise.
36426 * libio/bits/stdio2.h: Likewise.
36427 * libio/libio.h: Likewise.
36428 * libio/libioP.h: Likewise.
36429 * libio/stdio.h: Likewise.
36430 * locale/lc-ctype.c: Likewise.
36431 * locale/locale.h: Likewise.
36432 * login/utmp.h: Likewise.
36433 * malloc/arena.c: Likewise.
36434 * malloc/malloc.c: Likewise.
36435 * malloc/malloc.h: Likewise.
36436 * malloc/mcheck.c: Likewise.
36437 * malloc/mtrace.c: Likewise.
36438 * math/bits/mathcalls.h: Likewise.
36439 * math/fenv.h: Likewise.
36440 * math/math_private.h: Likewise.
36441 * misc/bits/error.h: Likewise.
36442 * misc/bits/syslog.h: Likewise.
36443 * misc/err.h: Likewise.
36444 * misc/error.h: Likewise.
36445 * misc/fstab.h: Likewise.
36446 * misc/mntent.h: Likewise.
36447 * misc/regexp.h: Likewise.
36448 * misc/search.h: Likewise.
36449 * misc/sgtty.h: Likewise.
36450 * misc/sys/mman.h: Likewise.
36451 * misc/sys/syslog.h: Likewise.
36452 * misc/sys/uio.h: Likewise.
36453 * misc/sys/xattr.h: Likewise.
36454 * misc/ttyent.h: Likewise.
36455 * nis/rpcsvc/ypclnt.h: Likewise.
36456 * nss/nss.h: Likewise.
36457 * posix/bits/unistd.h: Likewise.
36458 * posix/fnmatch.h: Likewise.
36459 * posix/glob.h: Likewise.
36460 * posix/sched.h: Likewise.
36461 * posix/spawn.h: Likewise.
36462 * posix/sys/wait.h: Likewise.
36463 * posix/unistd.h: Likewise.
36464 * posix/wordexp.h: Likewise.
36465 * pwd/pwd.h: Likewise.
36466 * resolv/netdb.h: Likewise.
36467 * resource/sys/resource.h: Likewise.
36468 * rt/aio.h: Likewise.
36469 * rt/bits/mqueue2.h: Likewise.
36470 * rt/mqueue.h: Likewise.
36471 * shadow/shadow.h: Likewise.
36472 * signal/signal.h: Likewise.
36473 * socket/send.c: Likewise.
36474 * socket/sendto.c: Likewise.
36475 * socket/sys/socket.h: Likewise.
36476 * stdio-common/printf.h: Likewise.
36477 * stdlib/bits/stdlib.h: Likewise.
36478 * stdlib/fmtmsg.h: Likewise.
36479 * stdlib/monetary.h: Likewise.
36480 * stdlib/stdlib.h: Likewise.
36481 * stdlib/ucontext.h: Likewise.
36482 * streams/stropts.h: Likewise.
36483 * string/argz.h: Likewise.
36484 * string/bits/string2.h: Likewise.
36485 * string/string.h: Likewise.
36486 * string/strings.h: Likewise.
36487 * sunrpc/rpc/auth.h: Likewise.
36488 * sunrpc/rpc/auth_des.h: Likewise.
36489 * sunrpc/rpc/clnt.h: Likewise.
36490 * sunrpc/rpc/netdb.h: Likewise.
36491 * sunrpc/rpc/pmap_clnt.h: Likewise.
36492 * sunrpc/rpc/xdr.h: Likewise.
36493 * sysdeps/generic/inttypes.h: Likewise.
36494 * sysdeps/generic/net/if.h: Likewise.
36495 * sysdeps/generic/sys/swap.h: Likewise.
36496 * sysdeps/gnu/net/if.h: Likewise.
36497 * sysdeps/gnu/utmpx.h: Likewise.
36498 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36499 * sysdeps/i386/i486/bits/string.h: Likewise.
36500 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36501 * sysdeps/s390/bits/string.h: Likewise.
36502 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36503 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36504 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36505 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36506 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36507 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36508 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36509 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36510 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36511 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36512 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36513 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36514 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36515 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36516 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36517 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36518 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36520 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36521 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36522 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36523 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36524 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36525 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36526 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36527 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36528 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36529 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36530 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36531 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36532 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36533 * sysvipc/sys/ipc.h: Likewise.
36534 * sysvipc/sys/msg.h: Likewise.
36535 * sysvipc/sys/sem.h: Likewise.
36536 * sysvipc/sys/shm.h: Likewise.
36537 * termios/termios.h: Likewise.
36538 * time/sys/time.h: Likewise.
36539 * time/time.h: Likewise.
36540 * wcsmbs/bits/wchar2.h: Likewise.
36541 * wcsmbs/uchar.h: Likewise.
36542 * wcsmbs/wchar.h: Likewise.
36543 * wctype/wctype.h: Likewise.
36544
0269750c
UD
36545 [BZ #13551]
36546 * Makeconfig: Remove all but ELF support including AIX support.
36547 * Makerules: Likewise.
36548 * config.h.in: Likewise.
36549 * config.make.in: Likewise.
36550 * configure: Likewise.
36551 * configure.in: Likewise.
36552 * csu/Makefile: Likewise.
36553 * csu/version.c: Likewise.
36554 * debug/Makefile: Likewise.
36555 * dlfcn/Makefile: Likewise.
36556 * elf/Makefile: Likewise.
36557 * extra-lib.mk: Likewise.
36558 * iconv/Makefile: Likewise.
36559 * include/libc-symbols.h: Likewise.
36560 * include/shlib-compat.h: Likewise.
36561 * resolv/Makefile: Likewise.
36562 * resolv/res_libc.c: Likewise.
36563 * rt/Makefile: Likewise.
36564 * sysdeps/i386/asm-syntax.h: Likewise.
36565 * sysdeps/i386/sysdep.h: Likewise.
36566 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36567 * sysdeps/mach/sysdep.h: Likewise.
36568 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36569 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36570 * sysdeps/s390/asm-syntax.h: Likewise.
36571 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36572 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36573 * sysdeps/sh/sysdep.h: Likewise.
36574 * sysdeps/unix/sparc/sysdep.h: Likewise.
36575 * sysdeps/wordsize-32/divdi3.c: Likewise.
36576 * sysdeps/x86_64/sysdep.h: Likewise.
36577
00bbd29b
UD
36578 * argp/Versions: Remove _argp_unlock_xxx.
36579
36580 [BZ #13559]
36581 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36582 * abilist/libBrokenLocale.abilist: Likewise.
36583 * abilist/libanl.abilist: Likewise.
36584 * abilist/libc.abilist: Likewise.
36585 * abilist/libcrypt.abilist: Likewise.
36586 * abilist/libdl.abilist: Likewise.
36587 * abilist/libm.abilist: Likewise.
36588 * abilist/libnsl.abilist: Likewise.
36589 * abilist/libpthread.abilist: Likewise.
36590 * abilist/libresolv.abilist: Likewise.
36591 * abilist/librt.abilist: Likewise.
36592 * abilist/libthread_db.abilist: Likewise.
36593 * abilist/libutil.abilist: Likewise.
36594 * abilist/libnss_db.abilist: New file.
36595
36596 * scripts/abilist.awk: Add support for indirect functions.
36597
a2693a0e
UD
36598 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36599
3f05895f
UD
36600 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36601
ecb6fb48
UD
36602 * shlib-versions: Remove entries for ports architectures.
36603
664f8cb9
UD
36604 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36605 files in ports.
36606 * elf/stackguard-macros.h: Remove support for IA-64.
36607 * elf/tst-auditmod1.c: Likewise.
36608 * sysdeps/generic/ldsodefs.h: Likewise.
36609
7ae81d88
UD
36610 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36611 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36612 configure files.
36613
bdeba135
UD
36614 [BZ #13552]
36615 * configure.in: Remove --enable-omitfp support.
36616 * FAQ.in: Adjust.
36617 * config.make.in: Likewise.
36618 * Makeconfig: Likewise.
36619 * manual/install.texi: Likewise.
36620
d75a0a62
UD
36621 In case anyone cares, the IA-64 architecture could move to ports.
36622 * sysdeps/ia64/*: Removed.
36623 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36624 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36625
dcc9756b
UD
36626 [BZ #13555]
36627 * configure.in: Remove entries for unsupported architectures.
36628
d3761ebc 36629 [BZ #13533]
9954432e
UD
36630 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36631 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36632 routines.
36633 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36634 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36635 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36636 fall back to using wcrtomb.
36637 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36638 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36639 renaming.
36640 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36641 * wcsmbs/tst-c16c32-1.c: New file.
36642
36643 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36644 local variable.
36645
c3a87236
UD
36646 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36647
28926a1b
UD
36648 * elf/tst-unique3.cc: Add explicit declaration of gets.
36649 * elf/tst-unique3lib.cc: Likewise.
36650 * elf/tst-unique3lib2.cc: Likewise.
36651 * elf/tst-unique4.cc: Likewise.
36652
df78418a
UD
36653 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36654
8ecd6b2a
JM
366552012-01-06 Joseph Myers <joseph@codesourcery.com>
36656
36657 [BZ #13566]
36658 * assert/assert.h (static_assert): Don't define for C++.
36659 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36660 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36661
9f115170
UD
366622012-01-03 Ulrich Drepper <drepper@gmail.com>
36663
5e0d0300
UD
36664 * iconv/loop.c (single loop): Fix assertion in storing of
36665 remaining bytes.
36666
9f115170
UD
36667 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36668
81fb02b0
UD
366692012-01-01 Ulrich Drepper <drepper@gmail.com>
36670
36671 * posix/getconf.c: Update copyright year.
36672 * nss/getent.c: Likewise.
a316c1f6 36673 * nss/makedb.c: Likewise.
81fb02b0
UD
36674 * iconv/iconvconfig.c: Likewise.
36675 * iconv/iconv_prog.c: Likewise.
36676 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36677 * elf/pldd.c: Likewise.
36678 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36679 * catgets/gencat.c: Likewise.
36680 * csu/version.c: Likewise.
36681 * elf/ldd.bash.in: Likewise.
36682 * elf/sprof.c (print_version): Likewise.
36683 * locale/programs/locale.c: Likewise.
36684 * locale/programs/localedef.c: Likewise.
a316c1f6 36685 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36686 * nscd/nscd.c (print_version): Likewise.
36687 * debug/xtrace.sh: Likewise.
36688 * malloc/memusage.sh: Likewise.
36689 * malloc/mtrace.pl: Likewise.
36690 * debug/catchsegv.sh: Likewise.
36691
2ba92745
JJ
366922011-12-30 Jakub Jelinek <jakub@redhat.com>
36693
36694 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36695 pure attribute.
36696
dadebdae
UD
366972011-12-24 Ulrich Drepper <drepper@gmail.com>
36698
d3761ebc 36699 [BZ #13533]
db6af3eb
UD
36700 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36701 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36702 transformations.
36703 * iconv/gconv_int.h: Likewise.
36704 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36705 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36706 from libc for GLIBC_2.16.
36707 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36708 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36709 * wcsmbs/uchar.h: Really define mbstate_t.
36710 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36711 * wcsmbs/c16rtomb.c: New file.
36712 * wcsmbs/mbrtoc16.c: New file.
36713 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36714 for C/POSIX locale.
36715 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36716 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36717
dadebdae
UD
36718 * wcsmbs/wchar.h: Add missing __restrict.
36719
67371b56
UD
367202011-12-23 Ulrich Drepper <drepper@gmail.com>
36721
74033a25
UD
36722 [BZ #13532]
36723 * time/Makefile (routines): Add timespec_get.
36724 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36725 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36726 timespec for ISO C11.
36727 * time/timespec_get.c: New file.
36728 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36729 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36730
380d7e87
UD
36731 [BZ #13531]
36732 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36733 * stdlib/stdlib.h: Declare aligned_alloc.
36734 * Versions.def: Add GLIBC_2.16 for libc.
36735 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36736
4e9e7a35
UD
36737 [BZ 13527]
36738 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36739 ISO C11.
36740
380d7e87 36741 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36742 code.
36743
03a71829
UD
36744 [BZ #13528]
36745 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36746
839e283e
UD
36747 [BZ #13529]
36748 * assert/assert.h (static_assert): Define.
36749
ce5294e2 36750 * version.h: Update for 2.16 development version.
90fa7312 36751
8d44e150 36752 [BZ #13526]
d7809905
UD
36753 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36754 _ISOC11_SOURCE.
36755
c0da14cd
UD
36756 * version.h (RELEASE): Bump for 2.15 release.
36757 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36758
530a3249
MP
36759 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36760 Patch by Marek Polacek <mpolacek@redhat.com>.
36761
67371b56
UD
36762 * bits/byteswap.h: Protect long long constants with __extension__.
36763 * sysdeps/i386/bits/byteswap.h: Likewise.
36764 * sysdeps/ia64/bits/byteswap.h: Likewise.
36765 * sysdeps/s390/bits/byteswap.h: Likewise.
36766 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36767
15db4de1
LD
367682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36769
36770 [BZ #13540]
bbe315ea
LD
36771 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36772 destination buffer.
15db4de1
LD
36773 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36774
2b2596b1
MP
367752011-12-23 Marek Polacek <polacek@redhat.com>
36776
36777 * elf/dl-addr.c (determine_info): Add inline keyword.
36778 * elf/tst-auditmod4b.c (check_avx): Likewise.
36779 * elf/tst-auditmod6b.c (check_avx): Likewise.
36780 * elf/tst-auditmod6c.c (check_avx): Likewise.
36781 * elf/tst-auditmod7b.c (check_avx): Likewise.
36782
70c6c246
UD
367832011-12-23 Ulrich Drepper <drepper@gmail.com>
36784
36785 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36786 !__SSE_MATH__.
36787
c044cf14
LD
367882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36789
15db4de1 36790 [BZ #13540]
c044cf14
LD
36791 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36792 processing for last bytes.
36793
6b13d9d9
BH
367942011-08-06 Bruno Haible <bruno@clisp.org>
36795
d455f537
BH
36796 [BZ #13061]
36797 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36798 U+0385, not to U+1FEE.
36799
6b13d9d9
BH
36800 [BZ #13062]
36801 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36802 entry for U+00A5 U+0301.
36803
db910efd
UD
368042011-12-22 Ulrich Drepper <drepper@gmail.com>
36805
27deeafc
UD
36806 [BZ #13166]
36807 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36808 buffer for the output is too small.
36809
aed9d171
UD
36810 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36811 optimization.
36812
db910efd
UD
36813 [BZ #13185]
36814 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36815 SSE flags if possible.
36816
2bd779ae
LD
368172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36818
e7f9dac3 36819 [BZ #13540]
2bd779ae
LD
36820 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36821 processing for last bytes.
36822
154bfc16
JM
368232011-12-22 Joseph Myers <joseph@codesourcery.com>
36824
36825 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36826 (syscall-list-default-options, syscall-list-default-condition)
36827 (syscall-list-includes): Define.
36828 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36829 list of ABIs and options and #if conditions for each ABI. Do not
36830 handle common syscalls between ABIs specially.
36831 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36832 Remove.
36833 (syscall-list-variants, syscall-list-32bit-options)
36834 (syscall-list-32bit-condition, syscall-list-64bit-options)
36835 (syscall-list-64bit-condition): Define.
36836 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36837 (syscall-list-variants, syscall-list-32bit-options)
36838 (syscall-list-32bit-condition, syscall-list-64bit-options)
36839 (syscall-list-64bit-condition): Define.
36840 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36841 Remove.
36842 (syscall-list-variants, syscall-list-32bit-options)
36843 (syscall-list-32bit-condition, syscall-list-64bit-options)
36844 (syscall-list-64bit-condition): Define.
36845 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36846 Remove.
36847 (syscall-list-variants, syscall-list-32bit-options)
36848 (syscall-list-32bit-condition, syscall-list-64bit-options)
36849 (syscall-list-64bit-condition): Define.
36850
21eaf3a5
UD
368512011-12-22 Ulrich Drepper <drepper@gmail.com>
36852
16c6f992
UD
36853 * locale/iso-639.def: Add brx entry.
36854
41043168
UD
36855 [BZ #13328]
36856 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36857 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36858
21eaf3a5
UD
36859 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36860 __feraiseexcept_renamed.
36861
e3a851a2
UD
368622011-12-21 Ulrich Drepper <drepper@gmail.com>
36863
4920765e
UD
36864 [BZ #13538]
36865 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36866 EPOLLET with unsigned values.
36867 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36868 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36869
e3a851a2
UD
36870 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36871 to large cancellation.
36872 * math/s_cacoshf.c: Likewise.
36873 * math/s_cacoshl.c: Likewise.
36874
b27e24b8
RK
368752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36876
36877 [BZ #13305]
aebefeee 36878 [BZ #12786]
b27e24b8
RK
36879 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36880 * math/s_cacoshf.c: Likewise.
36881 * math/s_cacoshl.c: Likewise.
36882
ee190f67
UD
368832011-12-21 Ulrich Drepper <drepper@gmail.com>
36884
36885 [BZ #13439]
36886 * iconv/gconv.h: Define __GCONV_SWAP.
36887 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36888 * iconvdata/utf-16.c: Likewise.
36889 * iconvdata/utf-32.c: Likewise.
36890
707f25df
AS
368912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36892
36893 [BZ #13524]
36894 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36895 numerator after shifting it by one limb.
36896
d2daaa1e
RÁE
368972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36898
36899 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36900 under [__USE_EXTERN_INLINES].
36901
a4647e72
UD
369022011-12-17 Ulrich Drepper <drepper@gmail.com>
36903
36904 [BZ #13446]
36905 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36906
f0b264f1
AZ
369072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36908
36909 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36910 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36911 optimized code.
36912 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36913 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36914 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36915 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36916 for strncasecmp/strncasecmp_l compilation.
36917 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36918 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36919
8ef4f244
MP
369202011-12-08 Marek Polacek <mpolacek@redhat.com>
36921
36922 [BZ #13484]
36923 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36924 of __asm__.
36925
97ac2654
UD
369262011-12-17 Ulrich Drepper <drepper@gmail.com>
36927
36928 [BZ #13506]
36929 * time/tzfile.c (__tzfile_read): Check values from file header.
36930
91d2a845
WS
369312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36932
36933 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36934 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36935 * powerpc/powerpc32/dl-start.S: Likewise.
36936 * powerpc/powerpc32/elf/start.S: Likewise.
36937 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36938 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36939 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36940 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36941 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36942 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36943 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36944 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36945 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36946 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36947 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36948 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36949 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36950 * powerpc/powerpc32/memset.S: Likewise.
36951 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36952 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36953 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36954 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36955 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36956 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36957 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36958 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36959 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36960 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36961 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36962 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36963 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36964
a1267ba1
AZ
369652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36966
36967 * math/libm-test.inc: Added more nearbyint tests.
36968 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36969 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36970 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36971 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36972
ad8ac1bd
RL
369732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36974
36975 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36976 FD_CLOEXEC.
36977
1d3e4b61
UD
369782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36979
36980 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36981 Add wcscpy-ssse3 wcscpy-c.
36982 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36983 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36984 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36985 * sysdeps/x86_64/wcschr.S: New file.
36986 * sysdeps/x86_64/wcsrchr.S: New file.
36987 * string/test-strcmp.c: Remove checking of wcscmp function for
36988 wrong alignments.
36989 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36990 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36991 wcsrchr-sse2 wcsrchr-c.
36992 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36993 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36994 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36995 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36996 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36997 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36998 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36999 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37000 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37001 * wcsmbc/wcschr.c (WCSCHR): New macro.
37002
5b330a2d
UD
370032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37004
37005 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37006 * wcsmbs/test-wcsrchr.c: New file.
37007 * string/test-strrchr.c: Add wcsrchr support.
37008 (WIDE): New macro.
37009 * wcsmbs/test-wcscpy.c: New file.
37010 * string/test-strcpy.c: Add wcscpy support.
37011 (WIDE): New macro.
26428b7c 37012
f039c043
UD
370132011-12-10 Ulrich Drepper <drepper@gmail.com>
37014
37015 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37016 the inner loop.
37017
850fb039
AS
370182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37019
37020 [BZ #13472]
37021 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37022
4efbd5cb
UD
370232011-12-04 Ulrich Drepper <drepper@gmail.com>
37024
52ff5dd0 37025 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37026 Minor optimizations.
52ff5dd0 37027
4efbd5cb
UD
37028 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37029 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37030 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37031
8a426e12
UD
370322011-12-03 Ulrich Drepper <drepper@gmail.com>
37033
aff2453d
UD
37034 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37035 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37036 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37037 for gcc to avoid warnings.
37038 * inet/Makefile (tests): Add tst-checks.
37039 * inet/tst-checks.c: New file.
37040
37041 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37042 warning.
37043
37044 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37045 __wmemcmp_sse2.
37046
37047 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37048 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37049
8a426e12
UD
37050 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37051
9bea3473
UD
370522011-12-02 Ulrich Drepper <drepper@gmail.com>
37053
3a965496
UD
37054 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37055 problem.
37056
9bea3473
UD
37057 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37058
f101631b
UD
370592011-11-29 Joseph Myers <joseph@codesourcery.com>
37060
37061 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37062 conditional on GCC version.
37063 (__arch_compare_and_exchange_val_8_acq)
37064 (__arch_compare_and_exchange_val_16_acq)
37065 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37066 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37067 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37068
a98275aa
UD
370692011-12-02 Joseph Myers <joseph@codesourcery.com>
37070
37071 * sysdeps/sh/backtrace.c: New file.
37072
d4cc29a2
AS
370732011-12-02 Andreas Schwab <schwab@redhat.com>
37074
37075 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37076 parenthesis.
37077
6257af2d
AS
370782011-12-01 Andreas Schwab <schwab@redhat.com>
37079
37080 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37081 falling back to utime.
37082
b5f44c1a
AS
370832011-11-30 Andreas Schwab <schwab@redhat.com>
37084
37085 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37086 expectations for float.
37087
f3a6cc0a
AS
370882011-11-29 Andreas Schwab <schwab@redhat.com>
37089
37090 * locale/weight.h (findidx): Add parameter len.
37091 * locale/weightwc.h (findidx): Likewise.
37092 * posix/fnmatch_loop.c (FCT): Adjust caller.
37093 * posix/regcomp.c (build_equiv_class): Likewise.
37094 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37095 * posix/regexec.c (check_node_accept_bytes): Likewise.
37096 * string/strcoll_l.c (STRCOLL): Likewise.
37097 * string/strxfrm_l.c (STRXFRM): Likewise.
37098
9d65ea3a
UD
370992011-11-17 Ulrich Drepper <drepper@gmail.com>
37100
37101 * Makefile.in: Remove CVSOPT handling.
37102 * configure.in: Remove use of AC_REVISION.
37103 * iconvdata/Makefile (distribute): No need to filter out CVS.
37104 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37105 handling.
37106
5583a086
AS
371072011-11-16 Andreas Schwab <schwab@redhat.com>
37108
37109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37110 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37111 [USE_AS_STRNCASECMP_L]: Likewise.
37112 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37113 NO_TLS_DIRECT_SEG_REFS.
37114 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37115 Fix argument offsets for non-PIC.
37116 [USE_AS_STRNCASECMP_L]: Likewise.
37117 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37118 NO_TLS_DIRECT_SEG_REFS.
37119
d62a8200
UD
371202011-11-15 Ulrich Drepper <drepper@gmail.com>
37121
9d65ea3a 37122 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37123 O_CLOEXEC.
37124 * locale/loadlocale.c (_nl_load_locale): Likewise.
37125
09f93bd3
AS
371262011-11-15 Andreas Schwab <schwab@redhat.com>
37127
446514f9
AS
37128 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37129 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37130 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37131 (SYSCALL_GETTIME): Set errno on error.
37132
09f93bd3
AS
37133 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37134 count references to noai6ai_cached.
37135
312be3f9
UD
371362011-11-15 Ulrich Drepper <drepper@gmail.com>
37137
37138 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37139
37140 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37141 FD_CLOEXEC for /proc/self/maps.
37142
37143 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37144 FD_CLOEXEC for /proc/meminfo.
37145
37146 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37147 gai.conf.
37148
37149 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37150 FD_CLOEXEC for given file.
37151
37152 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37153
37154 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37155 FD_CLOEXEC for /etc/hosts.
37156 (_gethtent): Likewise.
37157
37158 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37159
37160 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37161 cancellation and set FD_CLOEXEC for /etc/netgroup.
37162
37163 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37164 reading /etc/publickey.
37165
37166 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37167 allow cancellation when reading /etc/group.
37168
37169 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37170 cancellation.
37171 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37172
37173 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37174 when using data file.
37175
37176 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37177
37178 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37179 (write_nis_obj): Use "c" and "e" in fopen.
37180
37181 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37182
37183 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37184
37185 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37186
37187 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37188
37189 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37190 locale.alias.
37191
37192 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37193
37194 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37195
37196 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37197
37198 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37199 file parsing and set FD_CLOEXEC.
37200
82af0fa8
UD
372012011-11-14 Ulrich Drepper <drepper@gmail.com>
37202
37203 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37204
a5fb313c
AS
372052011-11-14 Andreas Schwab <schwab@redhat.com>
37206
37207 * malloc/arena.c (arena_get2): Don't call reused_arena when
37208 _int_new_arena failed.
37209
6abf3465
UD
372102011-11-14 Ulrich Drepper <drepper@gmail.com>
37211
37212 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37213 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37214 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37215 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37216 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37217 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37218 to compile strcasecmp and strncasecmp.
37219 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37220 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37221
37222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37223
76e3966e
UD
372242011-11-13 Ulrich Drepper <drepper@gmail.com>
37225
37226 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37227 locale-defines.sym to gen-as-const-headers.
37228 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37229 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37231 to compile strcasecmp and strncasecmp.
37232 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37233 strcasecmp_l and strncasecmp_l.
37234 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37235 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37236 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37237 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37238 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37239 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37240 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37241 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37242 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37243 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37244 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37245
ab26144e
UD
372462011-11-12 Ulrich Drepper <drepper@gmail.com>
37247
7edb22ef
UD
37248 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37249 result of SYSDEP_GETTIME_CPU to retval.
37250 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37251 parameter list to macro. Remove trailing semicolon. Adjust users.
37252
9694fc44
UD
37253 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37254 variable.
37255
8ad89ef8
UD
37256 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37257 mantissa words.
37258 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37259
0c822ef9
UD
37260 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37261 from unused variable.
37262
874e0564
UD
37263 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37264 DWARF definitions.
37265 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37266 for assembling.
37267
3a2edc79
UD
37268 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37269 over namespaces.
37270
f3c2577f
UD
37271 * sunrpc/rpc_prot.c (rejected): Fix case value.
37272
294ce126
UD
37273 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37274 unsigned long long int to avoid warnings in shift.
37275
5e2b63c6
UD
37276 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37277 of use of trans.
37278 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37279 variable tmp.
37280
e7f4b08e
UD
37281 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37282 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37283 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37284
ab26144e
UD
37285 * nis/nis_table.c (nis_list): Use variable of correct type for
37286 result of __follow_path call.
37287
8a6d5255
AZ
372882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37289
37290 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37291 of math functions ceil, trunc, floor, round, and sqrt, when
37292 avaliable on the platform.
37293 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37294 name clash.
37295 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37296 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37297 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37298
aaddc98c
MP
372992011-10-30 Marek Polacek <mpolacek@redhat.com>
37300
37301 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37302 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37303
95b7042b
RM
373042011-11-11 Roland McGrath <roland@hack.frob.com>
37305
37306 * include/unistd.h: Fix __readlink return type.
37307 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37308
57769839
UD
373092011-11-11 Ulrich Drepper <drepper@gmail.com>
37310
37311 * stdlib/ucontext.h: Undo last change for makecontext.
37312
edc5984d
AS
373132011-11-11 Andreas Schwab <schwab@redhat.com>
37314
98591e58
AS
37315 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37316
edc5984d
AS
37317 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37318 * setjmp/setjmp.h: Mark functions as non-leaf.
37319 * setjmp/bits/setjmp2.h: Likewise.
37320 * stdlib/ucontext.h: Likewise.
37321
77cdc054
AS
373222011-11-10 Andreas Schwab <schwab@redhat.com>
37323
37324 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37325 (reused_arena): Don't check arena limit.
37326 (arena_get2): Atomically check arena limit.
37327
fe72eebd
UD
373282011-11-08 Ulrich Drepper <drepper@gmail.com>
37329
5f078c32
UD
37330 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37331 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37332
fe72eebd
UD
37333 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37334 instructions.
37335
ae1bc2fa
AS
373362011-11-07 Andreas Schwab <schwab@redhat.com>
37337
7583a88d
AS
37338 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37339 handler when locking.
37340
ae1bc2fa
AS
37341 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37342 Fix size of allocated buffer.
37343
10fb0bfa
AS
373442011-11-04 Andreas Schwab <schwab@redhat.com>
37345
998832a4
AS
37346 [BZ #10103]
37347 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37348 declarations for long double functions.
37349 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37350
10fb0bfa
AS
37351 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37352
3d7ba52b
AS
373532011-11-03 Andreas Schwab <schwab@redhat.com>
37354
a9ae54a1
AS
37355 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37356 installed.
37357
3d7ba52b
AS
37358 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37359 is disabled.
37360
bc8db248
ST
373612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37362
37363 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37364
45b96dd6
AS
373652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37366
647776f6
AS
37367 * include/alloca.h (stackinfo_alloca_round): Define.
37368 (extend_alloca): Use it.
37369 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37370 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37371 here.
37372
d91a8b93
AS
37373 * scripts/check-local-headers.sh: Ignore libaudit.h.
37374
45b96dd6
AS
37375 * nscd/Makefile (extra-objs): Make recursively expanded.
37376
432d41ce
UD
373772011-11-01 Ulrich Drepper <drepper@gmail.com>
37378
34372fc6
UD
37379 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37381
fadb59f8
UD
37382 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37383 * posix/tst-rfc3484-2.c: Likewise.
37384 * posix/tst-rfc3484-3.c: Likewise.
37385
78239589
UD
37386 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37387 process_vm_writev.
37388 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37389 process_vm_writev.
37390 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37391 process_vm_writev from libc using GLIBC_2.15 version.
37392
432d41ce
UD
37393 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37394
02f9c6cf
PP
373952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37396
37397 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37398 stack usage.
37399
3a2c0242
UD
374002011-10-31 Ulrich Drepper <drepper@gmail.com>
37401
f4ec4833
UD
37402 [BZ #13367]
37403 * nss/getent.c (initgroups_keys): Show error message in case no group
37404 names are given.
37405
3a2c0242
UD
37406 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37407 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37408 __bump_nl_timestamp.
37409 * nscd/connections (nscd_init): When host database is served open
37410 netlink socket and request notification about configuration changes.
37411 (main_loop_poll): Track netlink file descriptor and bump timestamp
37412 in case data becomes available.
37413 (main_loop_epoll): Likewise.
37414 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37415 (database_pers_head): Add extra_data fileds.
37416 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37417 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37418 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37419 Adjust caller.
37420 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37421 in6ai data, call __free_in6ai.
37422 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37423 Add -DHAVE_NETLINK.
37424 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37425 interface information. Reuse previous data if netlink timestamp
37426 is not changed.
37427 (__bump_nl_timestamp): New function.
37428 (__free_in6ai): New function.
37429
636064eb
UD
374302011-10-30 Ulrich Drepper <drepper@gmail.com>
37431
37432 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37433 close_not_cancel_no_status here.
37434 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37435
9beb2334
UD
374362011-10-29 Ulrich Drepper <drepper@gmail.com>
37437
6ef76f3b
UD
37438 [BZ #13276]
37439 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37440 return value.
37441
0ffc4f3e 37442 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37443 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37444 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37445
cb95113e
UD
374462011-07-03 Andreas Jaeger <aj@suse.de>
37447
37448 [BZ #10709]
37449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37450 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37451 * math/libm-test.inc (sin_test): Add test case.
37452
a1b560ff
UD
374532011-10-29 Ulrich Drepper <drepper@gmail.com>
37454
c9aaface
UD
37455 [BZ #13337]
37456 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37457 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37458
d272e7f1
UD
37459 * elf/chroot_canon.c (chroot_canon): Cleanups.
37460
1bc33071
UD
37461 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37462
1760874d
TJ
37463 [BZ #13335]
37464 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37465 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37466
51d91b18
UD
37467 * string/test-strchr.c: Make usable for strchrnul testing.
37468 * string/test-strchrnul.c: New file.
37469 * string/Makefile (strop-tests): Add strchrnul.
37470
a1b560ff 37471 * po/it.po: Update from translation team.
b611fb81 37472 * po/es.po: Likewise.
a1b560ff 37473
a5b81e1f
UD
374742011-10-28 Ulrich Drepper <drepper@gmail.com>
37475
fd52bc6d
UD
37476 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37477 the three constants needed as parameters. Drop the others.
37478 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37479 __m128i_strloadu_tolower.
52e4b9eb
UD
37480 Create and initialize variable zero and use it in all the places
37481 where _mm_setzero_si128 was used.
fd52bc6d 37482
a5b81e1f
UD
37483 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37484 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37485 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37486 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37487 anymore.
37488 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37489 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37490 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37491 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37492 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37493 __mpranred, __mptan.
37494 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37495 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37496 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37497 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37498 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37499 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37500 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37501 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37502 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37503
b4343346
AS
375042011-10-28 Andreas Schwab <schwab@redhat.com>
37505
0c92d8a8
AS
37506 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37507 redefine if SHARED.
37508 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37509
b4343346
AS
37510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37511 wide char related routines to wcsmbs subdir.
37512
3871f58f
AS
375132011-10-27 Andreas Schwab <schwab@redhat.com>
37514
37515 [BZ #13344]
37516 * misc/sys/cdefs.h (__THROWNL): Define.
37517 * posix/unistd.h: Use __THREADNL instead of __THREAD
37518 for memory synchronization functions.
37519
94d44d9f
RM
375202011-10-26 Roland McGrath <roland@hack.frob.com>
37521
21b64b15 37522 [BZ #13349]
94d44d9f
RM
37523 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37524 doesn't exist.
37525 * manual/stdio.texi (Obstack Streams): Node removed.
37526
f6ce9294
AS
375272011-10-26 Andreas Schwab <schwab@redhat.com>
37528
80479147
AS
37529 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37530 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37531 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37532
f6ce9294
AS
37533 * math/math_private.h (math_force_eval): Allow non-addressable
37534 arguments.
37535 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37536
618280a1
UD
375372011-10-25 Ulrich Drepper <drepper@gmail.com>
37538
e0016b11
UD
37539 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37540 file is not needed.
37541
37542 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37543 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37544 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37545 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37546 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37547 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37548 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37550 Add AVX variants.
37551 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37552 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37553 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37554 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37555 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37556 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37557 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37558 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37559 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37560 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37561 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37562 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37563 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37564 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37565 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37566 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37567 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37568 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37569 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37570
37571 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37572 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37573
618280a1
UD
37574 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37575 place. Use VEX encoding when compiling for AVX.
37576
37822576
AS
375772011-10-25 Andreas Schwab <schwab@redhat.com>
37578
1f1e1947
AS
37579 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37580 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37581
37822576
AS
37582 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37583
31ea014d
UD
375842011-10-25 Ulrich Drepper <drepper@gmail.com>
37585
d7826aa1 37586 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37587 useless if() expression.
d7826aa1
UD
37588 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37597 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37598 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37599 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37600 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37601 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37602 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37603 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37604 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37605 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37606 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37607
31ea014d
UD
37608 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37609
16437fec
AS
376102011-10-25 Andreas Schwab <schwab@redhat.com>
37611
37612 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37613 condition.
37614 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37615
31d3cc00
UD
376162011-10-25 Ulrich Drepper <drepper@gmail.com>
37617
37618 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37619 .text section. Avoid duplicate constants.
37620 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37630 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37632 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37635 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37637 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37642 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37643 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37644 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37645 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37646 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37647 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37648 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37649 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37650 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37651 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37652 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37653 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37654 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37655 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37656 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37657 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37658 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37659 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37660 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37661 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37662 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37663 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37664 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37665
58985aa9
UD
376662011-10-24 Ulrich Drepper <drepper@gmail.com>
37667
202c9deb
UD
37668 * sysdeps/x86_64/dla.h: Move to ...
37669 * sysdeps/x86_64/fpu/dla.h: ...here.
37670 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37671 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37672
af968f62
UD
37673 * config.make.in: Add have-mfma4 entry.
37674 * configure.in: Substitute libc_cv_cc_fma4.
37675 * math/Makefile (dbl-only-routines): Add sincostab.
37676 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37677 Use __sincostab not sincos.
37678 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37679 name is a macro.
37680 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37684 using __copysign.
37685 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37686 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37687 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37688 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37689 and __inv.
37690 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37691 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37692 __copysign.
37693 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37694 define aliases when function name is a macro.
37695 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37696 sysdeps/ieee754/dbl-64/sincos.tbl.
37697 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37698 fma4-enabled routines.
37699 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37700 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37701 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37702 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37704 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37708 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37709 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37710 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37711 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37712 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37714 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37715 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37716 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37717 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37719 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37720 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37721 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37722 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37723 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37724 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37726 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37727 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37728 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37729
58985aa9
UD
37730 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37731 rename.
37732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37740
a201fbcf
AS
377412011-10-24 Andreas Schwab <schwab@redhat.com>
37742
37743 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37744
fc2ee42a
LD
377452011-10-23 Ulrich Drepper <drepper@gmail.com>
37746
bb3129bd
UD
37747 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37748
0275fff8
UD
37749 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37750 prediction.
37751 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37752
2fa2ae85
UD
37753 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37754 Remove unused variable magic_bits.
37755 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37756
fc2ee42a
LD
37757 * string/strnlen.c: Define and use STRNLEN macro.
37758 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37759 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37760 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37761 * wcsmbs/wcslen.c: Define and use WCSLEN.
37762 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37763 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37764 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37765 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37766 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37767 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37768 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37769
ce7dd29f
LD
377702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37771
37772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37773 strnlen-sse2-no-bsf.
37774 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37775 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37776 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37777 Add strnlen support.
37778 (USE_AS_STRNLEN): New macro.
37779 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37780 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37781 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37782 * sysdeps/x86_64/wcslen.S: New file.
37783
979c70a3
MZ
377842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37785
37786 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37787 XMM-moves are used for copying on small sizes.
37788
2d09f82f
LD
377892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37790
37791 * wcsmbs/Makefile (strop-tests): Add wcschr.
37792 * wcsmbs/test-wcschr.c: New file.
37793 * string/test-strchr.c: Update.
37794 Add wcschr support.
37795 (WIDE): New macro.
37796
619fccca
LD
377972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37798
2d09f82f 37799 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37800 * wcsmbs/test-wcslen.c: New file.
37801 * string/test-strlen.c: Update.
37802 Add wcslen support.
37803 (WIDE): New macro.
37804
09f699ea
UD
378052011-10-23 Ulrich Drepper <drepper@gmail.com>
37806
37807 * po/it.po: Update from translation team.
37808
95584d3b
LD
378092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37810
37811 * sysdeps/x86_64/wcscmp.S: Update.
37812 Fix wrong comparison semantics.
37813 wcscmp shall use signed comparison not unsigned.
37814 Don't use substraction to avoid overflow bug.
37815 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37816 * wcsmbc/wcscmp.c: Likewise.
37817 * string/test-strcmp.c: Likewise.
37818 Add new tests to check cases with negative values.
37819
c8b3296b
UD
378202011-10-23 Ulrich Drepper <drepper@gmail.com>
37821
37822 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37823 * sysdeps/x86_64/dla.h: ...here. New file.
37824 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37826 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37829 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37833
246ad57a
AS
378342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37835
37836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37837 __ynl_finite aliases.
37838
a1a87169
UD
378392011-10-22 Ulrich Drepper <drepper@gmail.com>
37840
0d355eb7
UD
37841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37842
a1a87169
UD
37843 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37844 define DLA_FMA.
37845 [DLA_FMA] (EMULV): Use DLA_FMA.
37846 [DLA_FMA] (MUL12): Use EMULV.
37847 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37848 that are not needed.
37849 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37856
ee2aafe0
AS
378572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37858
37859 * math/s_nan.c: Undef __nan.
37860 * math/s_nanf.c: Undef __nanf.
37861 * math/s_nanl.c: Undef __nanl.
37862 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37863 "math_private.h".
37864
bc62c2fb
UD
378652011-10-22 Ulrich Drepper <drepper@gmail.com>
37866
77425c63
UD
37867 * math/s_catan.c: Add branch predictions.
37868 * math/s_catanf.c: Likewise.
37869 * math/s_catanh.c: Likewise.
37870 * math/s_catanhf.c: Likewise.
37871 * math/s_catanhl.c: Likewise.
37872 * math/s_catanl.c: Likewise.
37873 * math/s_cexp.c: Likewise.
37874 * math/s_cexpf.c: Likewise.
37875 * math/s_cexpl.c: Likewise.
37876 * math/s_clog.c: Likewise.
37877 * math/s_clog10.c: Likewise.
37878 * math/s_clog10f.c: Likewise.
37879 * math/s_clog10l.c: Likewise.
37880 * math/s_clogf.c: Likewise.
37881 * math/s_clogl.c: Likewise.
37882 * math/s_csqrt.c: Likewise.
37883 * math/s_csqrtf.c: Likewise.
37884 * math/s_csqrtl.c: Likewise.
37885 * math/s_ctanf.c: Likewise.
37886 * math/s_ctanh.c: Likewise.
37887 * math/s_ctanhf.c: Likewise.
37888 * math/s_ctanhl.c: Likewise.
37889 * math/s_ctanl.c: Likewise.
37890
bc62c2fb
UD
37891 * math/math_private.h: Define __nan, __nanf, __nanl.
37892 * math/s_cacosh.c: Include <math_private.h>.
37893 * math/s_cacoshl.c: Likewise.
37894 * math/s_casinh.c: Likewise.
37895 * math/s_casinhf.c: Likewise.
37896 * math/s_casinhl.c: Likewise.
37897 * math/s_ccos.c: Rely entire on ccosh.
37898 * math/s_ccosf.c: Rely entire on ccoshf.
37899 * math/s_ccosl.c: Rely entirely on ccoshl.
37900 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37901 Remove tests for FE_INVALID.
37902 * math/s_ccoshf.c: Likewise.
37903 * math/s_ccoshl.c: Likewise.
37904 * math/s_csin.c: Likewise.
37905 * math/s_csinf.c: Likewise.
37906 * math/s_csinh.c Likewise.
37907 * math/s_csinhf.c: Likewise.
37908 * math/s_csinhl.c: Likewise.
37909 * math/s_csinl.c: Likewise.
37910 * math/s_ctan.c: Likewise.
37911 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37912 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37913 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37914
8ec250a4
UD
379152011-10-21 Ulrich Drepper <drepper@gmail.com>
37916
c196fed8
UD
37917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37918 compilation problems.
37919
8ec250a4
UD
37920 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37921 __builtin_expect.
37922
8d4f46c6
UD
379232011-10-20 Ulrich Drepper <drepper@gmail.com>
37924
ed72b654
UD
37925 * sysdeps/i386/configure.in: Test for -mfma4 option.
37926 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37927 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37928 COMMON_CPUID_INDEX_80000001.
37929 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37930 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37931 use it if FMA3 is not supported.
37932 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37933
8d4f46c6
UD
37934 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37935 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37936
d45c60c2
AS
379372011-10-20 Andreas Schwab <schwab@redhat.com>
37938
37939 [BZ #12892]
37940 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37941 it would create a cycle with a link time dependency.
37942
d9a4d2ab
UD
379432011-10-19 Ulrich Drepper <drepper@gmail.com>
37944
855d1560
UD
37945 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37946 instruction.
37947 * string/Makefile (strop-tests): Add rawmemchr.
37948 * string/test-rawmemchr.c: New file.
37949
d9a4d2ab
UD
37950 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37951 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37952 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37953 when compiling str{,n}casecmp and when AVX is available. Hook up
37954 new optimized code in initializers.
37955
8f3b1ffe
AS
379562011-10-19 Andreas Schwab <schwab@redhat.com>
37957
37958 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37959 __feraiseexcept instead of feraiseexcept.
37960
d38f1dba
UD
379612011-10-18 Ulrich Drepper <drepper@gmail.com>
37962
d9a8d0ab
UD
37963 * math/math_private.h: Define defaults for libc_fetestexcept and
37964 libc_feupdateenv.
37965 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37966 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37967 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37968 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37969 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37970 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37971 libc_fetestexcept and libc_feupdateenv.
37972
4855e3dd
UD
37973 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37974 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37975 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37976 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37977 libc_feholdexcept_setround.
37978
581d30e3
UD
37979 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37980 Add s_nearbyint-c and s_nearbyintf-c.
37981 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37982 nearbyintf inlines.
37983 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37984 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37985 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37986 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37987
d38f1dba
UD
37988 * math/math_private.h: Define defaults for libc_fegetround,
37989 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37990 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37991 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37992 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37993 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37994 standard functions.
37995 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37996 Remove comments and hacks for old compiler versions.
37997 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37998 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37999 libc_feholdexceptl.
38000
caa6c9d8
AS
380012011-10-18 Andreas Schwab <schwab@redhat.com>
38002
38003 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38004 (__feraiseexcept_renamed): Add __NTH.
38005 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38006 namespace violations.
38007
97c066e6
UD
380082011-10-17 Ulrich Drepper <drepper@gmail.com>
38009
99ce7b04
UD
38010 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38011
1004d182
UD
38012 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38013
228a984d
UD
38014 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38015 recently added interfaces.
38016 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38017
c8553a6a
UD
38018 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38019 about macro parameter expansion.
38020
ed22dcf6
UD
38021 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38022 __NO_MATH_INLINES is defined. Cleanups.
38023
38024 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38025 and __floorf is target has SSE4.1.
38026 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38027 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38028 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38029 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38030
b171c137
UD
38031 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38032 name.
38033 (floorf): Likewise.
38034
97c066e6
UD
38035 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38036
629f62ef
AS
380372011-10-17 Andreas Schwab <schwab@redhat.com>
38038
49a43d80
AS
38039 * misc/sys/cdefs.h: Fix last change.
38040
629f62ef
AS
38041 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38042 database lookup.
38043
e453f6cd
UD
380442011-10-16 Ulrich Drepper <drepper@gmail.com>
38045
aa78043a
UD
38046 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38047
ad0f5cad
UD
38048 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38049 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38050 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38051 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38052 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38053 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38054 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38055 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38056 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38057 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38058 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38059 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38060 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38061 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38062 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38063 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38064 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38065 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38066 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38067 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38068 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38069 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38070
38071 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38072 ceil, ceilf, floor, floorf.
38073
38074 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38075 Perform IRELATIVE relocations last.
38076
e453f6cd
UD
38077 * elf/do-rel.h: Add another parameter nrelative, replacing the
38078 local variable with the same name. Change name of the function
38079 to end in Rel or Rela (uppercase).
38080 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38081 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38082 elf_dynamic_do_##reloc function.
38083
fd5bdc09
UD
380842011-10-15 Ulrich Drepper <drepper@gmail.com>
38085
79b195b5
UD
38086 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38087 is sufficient, at least on modern CPUs.
38088
d4a28569
UD
38089 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38090
b61099b5
UD
38091 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38092 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38093
bcf01e6d
UD
38094 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38095 __expl_finite.
38096 * math/bits/math-finite.h: Add entries for exp.
38097 * math/e_expl.c: Add __*_finite alias.
38098 * sysdeps/i386/fpu/e_exp.S: Likewise.
38099 * sysdeps/i386/fpu/e_expf.S: Likewise.
38100 * sysdeps/i386/fpu/e_expl.c: Likewise.
38101 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38102 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38105 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38106 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38107 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38108
ba1a0d59
UD
38109 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38110 is sufficient, at least on modern CPUs.
38111
fd5bdc09
UD
38112 * ctype/ctype-info.c (__ctype_init): Define.
38113 * include/ctype.h (__ctype_init): Declare.
38114 (__ctype_b_loc): The variable is always initialized.
38115 (__ctype_toupper_loc): Likewise.
38116 (__ctype_tolower_loc): Likewise.
38117 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38118 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38119
7872cfb0
AS
381202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38121
b468825a
AS
38122 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38123
7872cfb0
AS
38124 * configure.in: Also look in $cxxmachine/include for C++ system
38125 headers.
38126
be13f7bf
LD
381272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38128
38129 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38130 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38131 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38132 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38133 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38134 (USE_AS_WMEMCMP): New macro.
38135 Fixing indents.
38136 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38137 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38138 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38139 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38141 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38142 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38143 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38144 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38145 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38146 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38147 (USE_AS_WMEMCMP): New macro.
38148 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38149 * sysdeps/string/test-memcmp.c: Update.
38150 Fix simple_wmemcmp.
38151 Add new tests.
38152 * wcsmbs/wmemcmp.c: Update.
38153 (WMEMCMP): New macro.
38154 Fix overflow bug.
38155
556a2007
AJ
381562011-10-12 Andreas Jaeger <aj@suse.de>
38157
38158 [BZ #13268]
38159 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38160
538faaa7
UD
381612011-10-15 Ulrich Drepper <drepper@gmail.com>
38162
ab6737ff
UD
38163 * libio/iofwide.c (do_length): Avoid warning.
38164
538faaa7
UD
38165 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38166
396a21b1
UD
381672011-10-14 Ulrich Drepper <drepper@gmail.com>
38168
cdf2901f
UD
38169 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38170
38ad40ce
UD
38171 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38172 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38173 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38174 * sysdeps/i386/i686/fpu/e_log.S: New file.
38175 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38176 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38177
396a21b1
UD
38178 * ctype/ctype.h: Add support for inlined isXXX functions when
38179 compiling C++ code.
38180
6b1f68c9
AS
381812011-10-14 Andreas Schwab <schwab@redhat.com>
38182
349290c0
AS
38183 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38184
6b1f68c9
AS
38185 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38186
f2282d42
RM
381872011-10-13 Roland McGrath <roland@hack.frob.com>
38188
38189 [BZ #13291]
38190 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38191
5298ffa8
AS
381922011-10-13 Andreas Schwab <schwab@redhat.com>
38193
714fad23
AS
38194 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38195 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38196 feraiseexcept.
38197
81dcc7fb
AS
38198 * sysdeps/x86_64/memrchr.S: Check for zero size.
38199
5298ffa8
AS
38200 * string/stratcliff.c: Add memrchr tests.
38201
951fbcec
LD
382022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38203
38204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38205 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38206 rawmemchr-sse2 rawmemchr-sse2-bsf.
38207 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38208 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38209 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38210 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38211 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38212 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38213 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38214 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38215 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38216 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38217 * string/memrchr.c (MEMRCHR): New macro.
38218
0ac5ae23
UD
382192011-10-12 Ulrich Drepper <drepper@gmail.com>
38220
38221 Add integration with gcc's -ffinite-math-only and optimize wrapper
38222 functions in libm.
38223 * Versions.def: Define GLIBC_2.15 version for libm.
38224 * math/Makefile (headers): Add bits/math-finite.h.
38225 * math/bits/math-finite.h: New file.
38226 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38227 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38228 * math/e_acoshl.c: Add __*_finite alias.
38229 * math/e_acosl.c: Likewise.
38230 * math/e_asinl.c: Likewise.
38231 * math/e_atan2l.c: Likewise.
38232 * math/e_atanhl.c: Likewise.
38233 * math/e_coshl.c: Likewise.
38234 * math/e_exp10.c: Likewise.
38235 * math/e_exp10f.c: Likewise.
38236 * math/e_exp10l.c: Likewise.
38237 * math/e_exp2l.c: Likewise.
38238 * math/e_fmodl.c: Likewise.
38239 * math/e_gammal_r.c: Likewise.
38240 * math/e_hypotl.c: Likewise.
38241 * math/e_j0l.c: Likewise.
38242 * math/e_j1l.c: Likewise.
38243 * math/e_jnl.c: Likewise.
38244 * math/e_lgammal_r.c: Likewise.
38245 * math/e_log10l.c: Likewise.
38246 * math/e_log2l.c: Likewise.
38247 * math/e_logl.c: Likewise.
38248 * math/e_powl.c: Likewise.
38249 * math/e_sinhl.c: Likewise.
38250 * math/e_sqrtl.c: Likewise.
38251 * math/e_scalb.c: Completely rewritten and optimized.
38252 * math/e_scalbf.c: Likewise.
38253 * math/e_scalbl.c: Likewise.
38254 * math/w_acos.c: Likewise.
38255 * math/w_acosf.c: Likewise.
38256 * math/w_acosl.c: Likewise.
38257 * math/w_acosh.c: Likewise.
38258 * math/w_acoshf.c: Likewise.
38259 * math/w_acoshl.c: Likewise.
38260 * math/w_asin.c: Likewise.
38261 * math/w_asinf.c: Likewise.
38262 * math/w_asinl.c: Likewise.
38263 * math/w_atan2.c: Likewise.
38264 * math/w_atan2f.c: Likewise.
38265 * math/w_atan2l.c: Likewise.
38266 * math/w_atanh.c: Likewise.
38267 * math/w_atanhf.c: Likewise.
38268 * math/w_atanhl.c: Likewise.
38269 * math/w_exp10.c: Likewise.
38270 * math/w_exp10f.c: Likewise.
38271 * math/w_exp10l.c: Likewise.
38272 * math/w_fmod.c: Likewise.
38273 * math/w_fmodf.c: Likewise.
38274 * math/w_fmodl.c: Likewise.
38275 * math/w_j0.c: Likewise.
38276 * math/w_j0f.c: Likewise.
38277 * math/w_j0l.c: Likewise.
38278 * math/w_j1.c: Likewise.
38279 * math/w_j1f.c: Likewise.
38280 * math/w_j1l.c: Likewise.
38281 * math/w_jn.c: Likewise.
38282 * math/w_jnf.c: Likewise.
38283 * math/w_log.c: Likewise.
38284 * math/w_logf.c: Likewise.
38285 * math/w_logl.c: Likewise.
38286 * math/w_log10.c: Likewise.
38287 * math/w_log10f.c: Likewise.
38288 * math/w_log10l.c: Likewise.
38289 * math/w_log2.c: Likewise.
38290 * math/w_log2f.c: Likewise.
38291 * math/w_log2l.c: Likewise.
38292 * math/w_pow.c: Likewise.
38293 * math/w_powf.c: Likewise.
38294 * math/w_powl.c: Likewise.
38295 * math/w_remainder.c: Likewise.
38296 * math/w_remainderf.c: Likewise.
38297 * math/w_remainderl.c: Likewise.
38298 * math/w_scalb.c: Likewise.
38299 * math/w_scalbf.c: Likewise.
38300 * math/w_scalbl.c: Likewise.
38301 * math/w_sqrt.c: Likewise.
38302 * math/w_sqrtf.c: Likewise.
38303 * math/w_sqrtl.c: Likewise.
38304 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38305 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38306 used.
38307 * math/math_private.h: Declare __kernel_standard_f.
38308 * math/w_cosh.c: Remove cruft and optimize a bit.
38309 * math/w_coshf.c: Likewise.
38310 * math/w_coshl.c: Likewise.
38311 * math/w_exp2.c: Likewise.
38312 * math/w_exp2f.c: Likewise.
38313 * math/w_exp2l.c: Likewise.
38314 * math/w_hypot.c: Likewise.
38315 * math/w_hypotf.c: Likewise.
38316 * math/w_hypotl.c: Likewise.
38317 * math/w_lgamma.c: Likewise.
38318 * math/w_lgamma_r.c: Likewise.
38319 * math/w_lgammaf.c: Likewise.
38320 * math/w_lgammaf_r.c: Likewise.
38321 * math/w_lgammal.c: Likewise.
38322 * math/w_lgammal_r.c: Likewise.
38323 * math/w_sinh.c: Likewise.
38324 * math/w_sinhf.c: Likewise.
38325 * math/w_sinhl.c: Likewise.
38326 * math/w_tgamma.c: Likewise.
38327 * math/w_tgammaf.c: Likewise.
38328 * math/w_tgammal.c: Likewise.
38329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38330 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38331 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38332 Minor optimizations. Pretty printing. Remove cruft.
38333 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38334 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38335 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38336 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38337 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38338 * sysdeps/i386/fpu/e_asin.S: Likewise.
38339 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38340 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38341 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38342 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38344 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38345 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38346 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38347 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38348 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38349 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38350 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38351 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38352 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38353 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38354 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38355 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38356 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38357 * sysdeps/i386/fpu/e_log.S: Likewise.
38358 * sysdeps/i386/fpu/e_log10.S: Likewise.
38359 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38360 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38361 * sysdeps/i386/fpu/e_log2.S: Likewise.
38362 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38363 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38364 * sysdeps/i386/fpu/e_logf.S: Likewise.
38365 * sysdeps/i386/fpu/e_logl.S: Likewise.
38366 * sysdeps/i386/fpu/e_pow.S: Likewise.
38367 * sysdeps/i386/fpu/e_powf.S: Likewise.
38368 * sysdeps/i386/fpu/e_powl.S: Likewise.
38369 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38370 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38371 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38373 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38374 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38375 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38376 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38377 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38378 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38381 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38382 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38398 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38399 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38400 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38401 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38402 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38403 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38404 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38405 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38406 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38407 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38408 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38409 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38410 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38411 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38412 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38413 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38414 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38415 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38416 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38417 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38418 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38419 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38420 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38421 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38422 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38423 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38424 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38425 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38426 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38427 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38428 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38429 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38430 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38431 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38432 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38433 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38435 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38436 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38437 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38438 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38439 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38440 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38441 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38443 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38447 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38453 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38455 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38456 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38457 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38458 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38459 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38460 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38461 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38462 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38463 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38464 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38466 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38467 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38468 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38469 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38470 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38471 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38472 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38473 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38474 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38475 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38476 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38477 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38478 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38479 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38480 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38481 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38482 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38483 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38484 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38485 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38486 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38487 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38488 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38489 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38490 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38491 (__isnanf): Likewise.
38492 (__isinf_ns): Likewise.
38493 (__isinf_nsf): Likewise.
38494 (__finite): Likewise.
38495 (__finitef): Likewise.
38496 (__ieee754_sqrt): Define as macro.
38497 (__ieee754_sqrtf): Define as macro.
38498 (__ieee754_sqrtl): Define as macro.
38499 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38500 inlined copy.
38501 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38502 __FINITE_MATH_ONLY__ consistent.
38503 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38504
12cc2fcd
AS
385052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38506
a843a204
AS
38507 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38508 of rawmemchr.
38509
12cc2fcd
AS
38510 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38511
c853acd5
UD
385122011-10-09 Ulrich Drepper <drepper@gmail.com>
38513
38514 * po/ja.po: Update from translation team.
38515
c658d255
RM
385162011-10-08 Roland McGrath <roland@hack.frob.com>
38517
110946e4
RM
38518 * locale/programs/locarchive.c (prepare_address_space): New function.
38519 (create_archive, enlarge_archive, open_archive): Use it.
38520
50604220
RM
38521 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38522 inside [SHARED], where it is used.
38523
c658d255
RM
38524 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38525
38526 * nss/getent.c (netgroup_keys): Remove unused variable.
38527 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38528
6a621eb7
UD
385292011-10-08 Ulrich Drepper <drepper@gmail.com>
38530
7edb55ce
UD
38531 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38532 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38534 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38535 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38536 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38537 * math/Makefile (libm-calls): Add s_isinf_ns.
38538 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38539 * math/multc3.c: Likewise.
38540 * math/s_casin.c: Likewise.
38541 * math/s_casinf.c: Likewise.
38542 * math/s_casinl.c: Likewise.
38543 * math/s_ccos.c: Likewise.
38544 * math/s_ccosf.c: Likewise.
38545 * math/s_ccosl.c: Likewise.
38546 * math/s_ctan.c: Likewise.
38547 * math/s_ctanf.c: Likewise.
38548 * math/s_ctanh.c: Likewise.
38549 * math/s_ctanhf.c: Likewise.
38550 * math/s_ctanhl.c: Likewise.
38551 * math/s_ctanl.c: Likewise.
38552 * math/w_fmod.c: Likewise.
38553 * math/w_fmodf.c: Likewise.
38554 * math/w_fmodl.c: Likewise.
38555 * math/w_remainder.c: Likewise.
38556 * math/w_remainderf.c: Likewise.
38557 * math/w_remainderl.c: Likewise.
38558 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38559 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38561 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38562 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38563 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38564 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38565 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38566
187da0ae
UD
38567 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38568 of the number.
38569 * stdio-common/printf_fphex.c: Likewise.
38570 * stdio-common/printf_size.c: Likewise.
38571
9277c064
UD
38572 * math/e_exp10.c: Include math_private.h using <...> not "...".
38573 * math/e_exp10f.c: Likewise.
38574 * math/e_exp10l.c: Likewise.
38575 * math/e_exp2l.c: Likewise.
38576 * math/e_j0l.c: Likewise.
38577 * math/e_j1l.c: Likewise.
38578 * math/e_jnl.c: Likewise.
38579 * math/e_lgammal_r.c: Likewise.
38580 * math/e_rem_pio2l.c: Likewise.
38581 * math/e_scalb.c: Likewise.
38582 * math/e_scalbf.c: Likewise.
38583 * math/e_scalbl.c: Likewise.
38584 * math/k_cosl.c: Likewise.
38585 * math/k_sinl.c: Likewise.
38586 * math/k_tanl.c: Likewise.
38587 * math/s_cacoshf.c: Likewise.
38588 * math/s_catan.c: Likewise.
38589 * math/s_catanf.c: Likewise.
38590 * math/s_catanh.c: Likewise.
38591 * math/s_catanhf.c: Likewise.
38592 * math/s_catanhl.c: Likewise.
38593 * math/s_catanl.c: Likewise.
38594 * math/s_ccosh.c: Likewise.
38595 * math/s_ccoshf.c: Likewise.
38596 * math/s_ccoshl.c: Likewise.
38597 * math/s_cexp.c: Likewise.
38598 * math/s_cexpf.c: Likewise.
38599 * math/s_cexpl.c: Likewise.
38600 * math/s_clog.c: Likewise.
38601 * math/s_clog10.c: Likewise.
38602 * math/s_clog10f.c: Likewise.
38603 * math/s_clog10l.c: Likewise.
38604 * math/s_clogf.c: Likewise.
38605 * math/s_clogl.c: Likewise.
38606 * math/s_csin.c: Likewise.
38607 * math/s_csinf.c: Likewise.
38608 * math/s_csinh.c: Likewise.
38609 * math/s_csinhf.c: Likewise.
38610 * math/s_csinhl.c: Likewise.
38611 * math/s_csinl.c: Likewise.
38612 * math/s_csqrt.c: Likewise.
38613 * math/s_csqrtf.c: Likewise.
38614 * math/s_csqrtl.c: Likewise.
38615 * math/s_ctan.c: Likewise.
38616 * math/s_ctanf.c: Likewise.
38617 * math/s_ctanh.c: Likewise.
38618 * math/s_ctanhf.c: Likewise.
38619 * math/s_ctanhl.c: Likewise.
38620 * math/s_ctanl.c: Likewise.
38621 * math/s_ldexp.c: Likewise.
38622 * math/s_ldexpf.c: Likewise.
38623 * math/s_ldexpl.c: Likewise.
38624 * math/s_significand.c: Likewise.
38625 * math/s_significandf.c: Likewise.
38626 * math/s_significandl.c: Likewise.
38627 * math/w_acos.c: Likewise.
38628 * math/w_acosf.c: Likewise.
38629 * math/w_acosh.c: Likewise.
38630 * math/w_acoshf.c: Likewise.
38631 * math/w_acoshl.c: Likewise.
38632 * math/w_acosl.c: Likewise.
38633 * math/w_asin.c: Likewise.
38634 * math/w_asinf.c: Likewise.
38635 * math/w_asinl.c: Likewise.
38636 * math/w_atan2.c: Likewise.
38637 * math/w_atan2f.c: Likewise.
38638 * math/w_atan2l.c: Likewise.
38639 * math/w_atanh.c: Likewise.
38640 * math/w_atanhf.c: Likewise.
38641 * math/w_atanhl.c: Likewise.
38642 * math/w_cosh.c: Likewise.
38643 * math/w_coshf.c: Likewise.
38644 * math/w_coshl.c: Likewise.
38645 * math/w_dremf.c: Likewise.
38646 * math/w_exp10.c: Likewise.
38647 * math/w_exp10f.c: Likewise.
38648 * math/w_exp10l.c: Likewise.
38649 * math/w_exp2.c: Likewise.
38650 * math/w_exp2f.c: Likewise.
38651 * math/w_fmod.c: Likewise.
38652 * math/w_fmodf.c: Likewise.
38653 * math/w_fmodl.c: Likewise.
38654 * math/w_hypot.c: Likewise.
38655 * math/w_hypotf.c: Likewise.
38656 * math/w_hypotl.c: Likewise.
38657 * math/w_j0.c: Likewise.
38658 * math/w_j0f.c: Likewise.
38659 * math/w_j0l.c: Likewise.
38660 * math/w_j1.c: Likewise.
38661 * math/w_j1f.c: Likewise.
38662 * math/w_j1l.c: Likewise.
38663 * math/w_jn.c: Likewise.
38664 * math/w_jnf.c: Likewise.
38665 * math/w_jnl.c: Likewise.
38666 * math/w_lgamma.c: Likewise.
38667 * math/w_lgamma_r.c: Likewise.
38668 * math/w_lgammaf.c: Likewise.
38669 * math/w_lgammaf_r.c: Likewise.
38670 * math/w_lgammal.c: Likewise.
38671 * math/w_lgammal_r.c: Likewise.
38672 * math/w_log.c: Likewise.
38673 * math/w_log10.c: Likewise.
38674 * math/w_log10f.c: Likewise.
38675 * math/w_log10l.c: Likewise.
38676 * math/w_log2.c: Likewise.
38677 * math/w_log2f.c: Likewise.
38678 * math/w_log2l.c: Likewise.
38679 * math/w_logf.c: Likewise.
38680 * math/w_logl.c: Likewise.
38681 * math/w_pow.c: Likewise.
38682 * math/w_powf.c: Likewise.
38683 * math/w_powl.c: Likewise.
38684 * math/w_remainder.c: Likewise.
38685 * math/w_remainderf.c: Likewise.
38686 * math/w_remainderl.c: Likewise.
38687 * math/w_scalb.c: Likewise.
38688 * math/w_scalbf.c: Likewise.
38689 * math/w_scalbl.c: Likewise.
38690 * math/w_sinh.c: Likewise.
38691 * math/w_sinhf.c: Likewise.
38692 * math/w_sinhl.c: Likewise.
38693 * math/w_sqrt.c: Likewise.
38694 * math/w_sqrtf.c: Likewise.
38695 * math/w_sqrtl.c: Likewise.
38696 * math/w_tgamma.c: Likewise.
38697 * math/w_tgammaf.c: Likewise.
38698 * math/w_tgammal.c: Likewise.
38699
6a621eb7
UD
38700 * po/ja.po: Update from translation team.
38701
bf582445
AJ
387022011-09-29 Andreas Jaeger <aj@suse.de>
38703
f9efbf3a
AJ
38704 [BZ #13179]
38705 * sunrpc/netname.c (netname2host): Fix logic.
38706
bf582445
AJ
38707 [BZ #6779]
38708 [BZ #6783]
38709 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38710 correctly.
38711 * math/w_remainder.c (__remainder): Likewise.
38712 * math/w_remainderf.c (__remainderf): Likewise.
38713 * math/libm-test.inc (remainder_test): Add test cases.
38714
48693bea
AK
387152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38716
38717 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38718 sdiv_qrnnd.
38719
42622229
LD
387202011-10-07 Ulrich Drepper <drepper@gmail.com>
38721
38722 * string/test-memcmp.c: Avoid unncessary #defines.
38723 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38724
093ecf92
LD
387252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38726
38727 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38728 Use new sse2 version for core i3 - i7 as it's faster
38729 than sse42 version.
38730 (bit_Prefer_PMINUB_for_stringop): New.
38731 * sysdeps/x86_64/rawmemchr.S: Update.
38732 Replace with faster SSE2 version.
38733 * sysdeps/x86_64/memrchr.S: New file.
38734 * sysdeps/x86_64/memchr.S: Update.
38735 Replace with faster SSE2 version.
38736
fde56e5c
MP
387372011-09-12 Marek Polacek <mpolacek@redhat.com>
38738
38739 * elf/dl-load.c (lose): Add cast to avoid warning.
38740
21fd49a9
UD
387412011-10-07 Ulrich Drepper <drepper@gmail.com>
38742
5a06e643
UD
38743 * po/ca.po: Update from translation team.
38744
684ae515
UD
38745 * inet/getnetgrent_r.c: Hook up nscd.
38746 * nscd/Makefile (routines): Add nscd_netgroup.
38747 (nscd-modules): Add netgroupcache.
38748 (CFLAGS-netgroupcache.c): Define.
38749 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38750 (cache_search): Add const to second parameter.
38751 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38752 INNETGR.
38753 (dbs): Add netgrdb entry.
38754 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38755 (verify_persistent_db): Handle netgrdb.
38756 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38757 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38758 GETFDNETGR.
38759 (netgroup_response_header): Define.
38760 (innetgroup_response_header): Define.
38761 (datahead): Add netgroup_response_header and innetgroup_response_header
38762 elements.
38763 * nscd/nscd.conf: Add entries for netgroup cache.
38764 * nscd/nscd.h (dbtype): Add netgrdb.
38765 (_PATH_NSCD_NETGROUP_DB): Define.
38766 (netgroup_iov_disabled): Declare.
38767 (xmalloc, xcalloc, xrealloc): Move declarations here.
38768 (cache_search): Adjust prototype.
38769 Add netgroup-related prototypes.
38770 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38771 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38772 (__nscd_innetgr): Declare.
38773 * nscd/selinux.c (perms): Use access_vector_t as element type and
38774 add netgroup-related initializers.
38775 * nscd/netgroupcache.c: New file.
38776 * nscd/nscd_netgroup.c: New file.
38777 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38778 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38779 For four parameters use innetgr.
38780 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38781 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38782 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38783 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38784
21fd49a9
UD
38785 * nscd/connections.c (register_traced_file): Don't register file
38786 for disabled databases.
38787
054c0457
UD
387882011-10-06 Ulrich Drepper <drepper@gmail.com>
38789
32b63198
UD
38790 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38791
054c0457
UD
38792 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38793 from tree and freeing node.
38794
64031225
JO
387952011-09-25 Jiri Olsa <jolsa@redhat.com>
38796
38797 * nss/nsswitch.c (__nss_database_lookup): Handle
38798 nss_parse_service_list out of memory case.
38799
0490345c
JO
388002011-09-15 Jiri Olsa <jolsa@redhat.com>
38801
38802 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38803 out of memory case.
38804
3a62d00d
AS
388052011-10-04 Andreas Schwab <schwab@redhat.com>
38806
38807 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38808 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38809 pass it down.
38810 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38811 elf_machine_rela, elf_machine_lazy_rel.
38812 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38813 (ELF_DYNAMIC_DO_REL): Likewise.
38814 (ELF_DYNAMIC_DO_RELA): Likewise.
38815 (ELF_DYNAMIC_RELOCATE): Likewise.
38816 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38817 to ELF_DYNAMIC_DO_REL.
38818 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38819 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38820 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38821 elf_machine_rela.
38822 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38823 skip_ifunc, don't call ifunc function if non-zero.
38824 (elf_machine_rela): Likewise.
38825 (elf_machine_lazy_rel): Likewise.
38826 (elf_machine_lazy_rela): Likewise.
38827 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38828 (elf_machine_lazy_rel): Likewise.
38829 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38830 Likewise.
38831 (elf_machine_lazy_rel): Likewise.
38832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38833 Likewise.
38834 (elf_machine_lazy_rel): Likewise.
38835 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38836 (elf_machine_lazy_rel): Likewise.
38837 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38838 (elf_machine_lazy_rel): Likewise.
38839 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38840 (elf_machine_lazy_rel): Likewise.
38841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38842 (elf_machine_lazy_rel): Likewise.
38843 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38844 (elf_machine_lazy_rel): Likewise.
38845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38846 (elf_machine_lazy_rel): Likewise.
38847
68577918
UD
388482011-09-28 Ulrich Drepper <drepper@gmail.com>
38849
38850 * nss/nss_files/files-init.c (_nss_files_init): Use static
38851 initialization for all the *_traced_file variables.
38852
68822d74
AS
388532011-09-28 Andreas Schwab <schwab@redhat.com>
38854
38855 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38856
2056100b
RM
388572011-09-27 Roland McGrath <roland@hack.frob.com>
38858
38859 [BZ #13226]
38860 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38861
32c76b63
AS
388622011-09-27 Andreas Schwab <schwab@redhat.com>
38863
38864 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38865 Reread the line before reparsing it.
38866
bf972c9d
AS
388672011-09-26 Andreas Schwab <schwab@redhat.com>
38868
38869 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38870
e057a1b5
JM
388712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38872 Maxim Kuvyrkov <maxim@codesourcery.com>
38873 Joseph Myers <joseph@codesourcery.com>
38874
38875 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38876 if needed for __stack_chk_guard.
38877
bc7e1c36
RM
388782011-09-19 Roland McGrath <roland@hack.frob.com>
38879
ecb1482f
RM
38880 * sysdeps/posix/spawni.c (script_execute): Always define it.
38881 It will be optimized away if unused.
38882 (maybe_script_execute): New function.
38883 (__spawni): Call it.
38884
bc7e1c36
RM
38885 * Makerules: Don't include tls.make.
38886 (config-tls): Always set to thread.
38887 * tls.make.c: File removed.
38888
1c3b002b
MF
388892011-09-19 Mike Frysinger <vapier@gentoo.org>
38890
38891 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38892 * config.make.in (CPPFLAGS-config): New substituted variable.
38893
2840865d
UD
388942011-09-15 Ulrich Drepper <drepper@gmail.com>
38895
88738eb6
UD
38896 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38897
cbf645a6 38898 [BZ #13192]
2840865d
UD
38899 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38900 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38901
b402e91a
RM
389022011-09-15 Roland McGrath <roland@hack.frob.com>
38903
38904 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38905 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38907 (CALL_FAIL): Likewise.
38908 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38909 (CALL_FAIL): Macro removed.
38910 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38911
4c1a1f71
UD
389122011-09-15 Ulrich Drepper <drepper@gmail.com>
38913
38914 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38915 for __FINITE_MATH_ONLY__ == 1.
38916
edc121be
AS
389172011-09-15 Andreas Schwab <schwab@redhat.com>
38918
38919 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38920 __ieee754_sqrt instead of sqrt.
38921 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38922 __ieee754_sqrtf instead of sqrtf.
38923 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38924 __floorf instead of floorf.
38925 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38926 __floorf, __truncf instead of floorf, truncf.
38927
cd205654
UD
389282011-09-14 Ulrich Drepper <drepper@gmail.com>
38929
ee4d0315
UD
38930 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38931
cd205654
UD
38932 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38933 __extern_always_inline.
38934 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38935 32-bit.
38936
48b67d71
AS
389372011-09-14 Andreas Schwab <schwab@redhat.com>
38938
38939 * elf/rtld.c (dl_main): Also relocate in dependency order when
38940 doing symbol dependency testing.
38941
1ae12c75
AS
389422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38943
38944 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38945 Always define `refsym'.
38946
995a80df
AS
389472011-09-13 Andreas Schwab <schwab@redhat.com>
38948
e529793b
AS
38949 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38950 (__FD_ELT): Renamed from __FDELT.
38951 * misc/bits/select2.h (__FD_ELT): Likewise.
38952 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38953 __FD_MASK instead of __FDELT, __FDMASK.
38954 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38955 Likewise.
38956 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38957 Likewise.
38958
52d4fef8
AS
38959 * elf/Makefile (gen-ldd): Fix pattern.
38960
995a80df
AS
38961 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38962 (init_tls): Likewise.
38963
8682f8b0
UD
389642011-09-12 Ulrich Drepper <drepper@gmail.com>
38965
38966 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38967
de82006d
AS
389682011-09-12 Andreas Schwab <schwab@redhat.com>
38969
a7c8e6a1
AS
38970 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38971 `struct cmsghdr *' instead of `void *'.
38972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38973 Likewise.
38974
0f31fe77
AS
389752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38976
38977 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38978 if non-absolute.
38979 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38980 ldd_rewrite_script.
0f31fe77 38981
32b4c839
UD
389822011-09-11 Ulrich Drepper <drepper@gmail.com>
38983
83cd1420
UD
38984 * configure.in: Remove --with-tls option.
38985 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38986 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38987 out in case it is missing.
38988 * sysdeps/ia64/elf/configure.in: Likewise.
38989 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38990 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38991 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38992 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38993 * sysdeps/sh/elf/configure.in: Likewise.
38994 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38995 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38996 * sysdeps/x86_64/elf/configure.in: Likewise.
38997 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38998 * sysdeps/mach/hurd/tls.h: Likewise.
38999
633f745d
UD
39000 [BZ #13067]
39001 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39002
f318beb8
UD
39003 [BZ #13090]
39004 * configure.in: Fix use of AC_INIT.
39005
32b4c839
UD
39006 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39007
3ce1f295
UD
390082011-09-10 Ulrich Drepper <drepper@gmail.com>
39009
bb016596
UD
39010 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39011 __set_errno.
8e58439c
UD
39012 * malloc/hooks.c: Likewise.
39013
aebae053 39014 [BZ #11929]
02d46fc4
UD
39015 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39016 variables statically.
39017 (narenas): Initialize.
39018 (list_lock): Initialize.
bb016596
UD
39019 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39020 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39021 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39022 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39023 Add initializers to main_arena and mp_.
39024 (malloc_state): Remove pagesize member. Change all users to use
39025 GLRO(dl_pagesize).
39026
39027 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39028 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39029 is always initialized.
39030
22a89187
UD
39031 * malloc/malloc.c: Removed unused configurations and dead code.
39032 * malloc/arena.c: Likewise.
39033 * malloc/hooks.c: Likewise.
02d46fc4 39034 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39035
d063d164
UD
39036 * include/tls.h: Removed. USE___THREAD must always be defined.
39037 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39038 * elf/dl-libc.c: Likewise.
39039 * elf/dl-tsd.c: Likewise.
39040 * include/errno.h: Likewise.
39041 * include/netdb.h: Likewise.
39042 * include/resolv.h: Likewise.
39043 * inet/herrno-loc.c: Likewise.
39044 * inet/herrno.c: Likewise.
39045 * malloc/arena.c: Likewise.
39046 * malloc/hooks.c: Likewise.
39047 * malloc/malloc.c: Likewise.
39048 * resolv/res-state.c: Likewise.
39049 * resolv/res_libc.c: Likewise.
39050 * sysdeps/i386/dl-machine.h: Likewise.
39051 * sysdeps/ia64/dl-machine.h: Likewise.
39052 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39053 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39054 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39055 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39056 * sysdeps/sh/dl-machine.h: Likewise.
39057 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39058 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39059 * sysdeps/unix/i386/sysdep.S: Likewise.
39060 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39061 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39062 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39064 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39065 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39066 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39070 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39071 * sysdeps/x86_64/dl-machine.h: Likewise.
39072 * tls.make.c: Likewise.
39073
3ce1f295
UD
39074 * configure.in: Remove --with-__thread option. Make tests for
39075 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39076 tls_model attribute fail if no support is available. Remove
39077 USE_IN_LIBIO.
39078 * Makeconfig: Adjust for dropped configure option. All features are
39079 now mandatory.
39080 * Makerules: Likewise.
39081 * Versions.def: Likewise.
39082 * argp/argp-fmtstream.c: Likewise.
39083 * argp/argp-fmtstream.h: Likewise.
39084 * argp/argp-help.c: Likewise.
39085 * assert/assert.c: Likewise.
39086 * config.h.in: Likewise.
39087 * config.make.in: Likewise.
39088 * configure: Likewise.
39089 * configure.in: Likewise.
39090 * csu/Versions: Likewise.
39091 * csu/init.c: Likewise.
39092 * elf/tst-audit2.c: Likewise.
39093 * elf/tst-tls10.c: Likewise.
39094 * elf/tst-tls10.h: Likewise.
39095 * elf/tst-tls11.c: Likewise.
39096 * elf/tst-tls12.c: Likewise.
39097 * elf/tst-tls14.c: Likewise.
39098 * elf/tst-tlsmod11.c: Likewise.
39099 * elf/tst-tlsmod12.c: Likewise.
39100 * elf/tst-tlsmod13.c: Likewise.
39101 * elf/tst-tlsmod13a.c: Likewise.
39102 * elf/tst-tlsmod14a.c: Likewise.
39103 * elf/tst-tlsmod15b.c: Likewise.
39104 * elf/tst-tlsmod16a.c: Likewise.
39105 * elf/tst-tlsmod16b.c: Likewise.
39106 * elf/tst-tlsmod7.c: Likewise.
39107 * elf/tst-tlsmod8.c: Likewise.
39108 * elf/tst-tlsmod9.c: Likewise.
39109 * gmon/gmon.c: Likewise.
39110 * grp/fgetgrent_r.c: Likewise.
39111 * grp/putgrent.c: Likewise.
39112 * hurd/fopenport.c: Likewise.
39113 * include/libc-symbols.h: Likewise.
39114 * include/tls.h: Likewise.
39115 * intl/gettextP.h: Likewise.
39116 * intl/loadinfo.h: Likewise.
39117 * locale/global-locale.c: Likewise.
39118 * locale/localeinfo.h: Likewise.
39119 * mach/devstream.c: Likewise.
39120 * malloc/arena.c: Likewise.
39121 * malloc/set-freeres.c: Likewise.
39122 * misc/err.c: Likewise.
39123 * misc/getttyent.c: Likewise.
39124 * misc/mntent_r.c: Likewise.
39125 * posix/getopt.c: Likewise.
39126 * posix/wordexp.c: Likewise.
39127 * pwd/fgetpwent_r.c: Likewise.
39128 * resolv/Versions: Likewise.
39129 * resolv/res_hconf.c: Likewise.
39130 * shadow/fgetspent_r.c: Likewise.
39131 * shadow/putspent.c: Likewise.
39132 * stdio-common/printf_fphex.c: Likewise.
39133 * stdio-common/tmpfile.c: Likewise.
39134 * stdlib/abort.c: Likewise.
39135 * stdlib/fmtmsg.c: Likewise.
39136 * sunrpc/auth_unix.c: Likewise.
39137 * sunrpc/clnt_perr.c: Likewise.
39138 * sunrpc/clnt_tcp.c: Likewise.
39139 * sunrpc/clnt_udp.c: Likewise.
39140 * sunrpc/clnt_unix.c: Likewise.
39141 * sunrpc/openchild.c: Likewise.
39142 * sunrpc/svc_simple.c: Likewise.
39143 * sunrpc/svc_tcp.c: Likewise.
39144 * sunrpc/svc_udp.c: Likewise.
39145 * sunrpc/svc_unix.c: Likewise.
39146 * sunrpc/xdr.c: Likewise.
39147 * sunrpc/xdr_array.c: Likewise.
39148 * sunrpc/xdr_rec.c: Likewise.
39149 * sunrpc/xdr_ref.c: Likewise.
39150 * sunrpc/xdr_stdio.c: Likewise.
39151
1248c1c4
PB
391522011-09-09 Ulrich Drepper <drepper@gmail.com>
39153
39154 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39155
391562011-07-03 Andreas Jaeger <aj@suse.de>
39157
39158 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39159 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39160 regenerate with gen-libm-tests.pl.
39161
391622010-05-12 Petr Baudis <pasky@suse.cz>
39163
39164 [BZ #11589]
39165 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39166 around j0() zero points by switching to j1().
39167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39168 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39170 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39171
f22e1074
UD
391722011-09-09 Ulrich Drepper <drepper@gmail.com>
39173
f19009c1
UD
39174 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39175 instead of 0.
39176 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39177 instead of 0.
f19009c1
UD
39178 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39179 Patch in part by Pavel Roskin <proski@gnu.org>.
39180
3f8cc204
UD
39181 [BZ #13138]
39182 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39183 realloc.
39184 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39185 Free memory block if necessary.
39186
f22e1074
UD
39187 [BZ #12847]
39188 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39189 be NULL. Don't lock in this case.
39190
0a2349f9
RM
391912011-09-09 Roland McGrath <roland@hack.frob.com>
39192
39193 * elf/elf.h (ELFOSABI_GNU): New macro.
39194 (ELFOSABI_LINUX): Define to that.
39195
f3cdd467
DZ
391962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39197
39198 * string/strncat.c (strncat): Undef the symbol in case it has been
39199 defined in bits/string.h.
39200
74718d13
UD
392012011-09-09 Ulrich Drepper <drepper@gmail.com>
39202
633e9e0f
UD
39203 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39204
0a2349f9 39205 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39206 link map.
39207
f9924780
AJ
392082011-08-17 Andreas Jaeger <aj@suse.de>
39209
39210 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39211
7f5517aa
PP
392122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39213 Ian Lance Taylor <iant@google.com>
39214
39215 * math/libm-test.inc (lround_test): New testcase.
39216 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39217
762011fe
UD
392182011-09-08 Ulrich Drepper <drepper@gmail.com>
39219
92963737
UD
39220 * Makefile: Remove support for automatic cvs check-ins.
39221 * Makerules: Likewise.
39222 * config.make.in: Likewise.
39223 * configure.in: Likewise.
39224 * intl/Makefile: Likewise.
39225 * locale/Makefile: Likewise.
39226 * po/Makefile: Likewise.
39227 * posix/Makefile: Likewise.
39228 * sysdeps/gnu/Makefile: Likewise.
39229 * sysdeps/mach/hurd/Makefile: Likewise.
39230 * sysdeps/sparc/sparc32/Makefile: Likewise.
39231
b0727fd8
JS
39232 [BZ #13118]
39233 * posix/Makefile (bug-regex32-ENV): Define.
39234 Patch by John Stanley <jpsinthemix@verizon.net>.
39235
a0f33f99
UD
39236 * misc/Makefile (headers): Add bits/select2.h.
39237 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39238 * misc/bits/select2.h: New file.
39239 * include/bits/select2.h: New file.
39240 * debug/Makefile (routines): Add fdelt_chk.
39241 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39242 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39243 FD_ISSET.
39244 * debug/fdelt_chk.c: New file.
39245
762011fe
UD
39246 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39247 * wcsmbs/test-wmemcmp.c: Likewise.
39248 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39249 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39250
392512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39252
39253 * string/Makefile (strop-tests): Add memcmp.
39254 * string/test-wmemcmp.c: New file.
39255 * string/test-memcmp.c: Add wmemcmp support.
39256
7f513ec8
RM
392572011-09-08 Roland McGrath <roland@hack.frob.com>
39258
0442afb4
RM
39259 [BZ #13153]
39260 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39261 2011-07-19 change.
39262
7f513ec8
RM
39263 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39264 garbage value in a __mach_port_mod_refs call in the cases of the
39265 task-self and thread-self ports.
39266
a12b2239
ST
392672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39268
39269 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39270
610f9ab4
AS
392712011-09-08 Andreas Schwab <schwab@redhat.com>
39272
7f513ec8 39273 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39274
48882a1a
LD
392752011-09-07 Ulrich Drepper <drepper@gmail.com>
39276
b49865be
UD
39277 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39278
fdc86bc9
UD
39279 * elf/dl-libc.c (dlerror_run): Pass back error code from
39280 dl_catch_error.
39281
c966526a
UD
39282 [BZ #13123]
39283 * elf/dl-load.c (lose): Free l_origin if it is valid.
39284
48882a1a
LD
39285 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39286 names.
39287 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39290 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39291 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39292 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39293
77a2a8b4
AZ
392942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39295
39296 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39297 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39298 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39299 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39300 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39301 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39302 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39303 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39304 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39305 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39306
24f579d8
AM
393072011-08-15 Alan Modra <amodra@gmail.com>
39308
39309 [BZ #13092]
39310 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39311 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39312 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39313 ppc_mcount to static-only-routines.
39314 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39315 __mcount_internal.
39316 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39317 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39318
3d4837df
UD
393192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39320
39321 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39322 for finite and infinity parameters.
39323
22700377
WS
393242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39325
39326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39327 and add nop instructions for throughput optimization.
39328 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39329
5025581e
WS
393302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39331
39332 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39333 aligned copy for power7 with vector-scalar instructions.
39334 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39335
08a300c9
L
393362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39337
39338 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39339 AVX check.
39340
59178ef9
AS
393412011-09-07 Andreas Schwab <schwab@redhat.com>
39342
39343 [BZ #13144]
39344 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39345 last change.
39346
e38ba7ab
UD
393472011-09-07 Ulrich Drepper <drepper@gmail.com>
39348
39349 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39350 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39351 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39352 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39353 clock_gettime.
39354
d53a73ac
UD
393552011-09-06 Ulrich Drepper <drepper@gmail.com>
39356
fc8bffcc
UD
39357 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39358 Forgot to demangle the pointer.
39359
ceaa0c5d
UD
39360 * sysdeps/i386/sysdep.h: Define atom_text_section.
39361 * sysdeps/x86_64/sysdep.h: Likewise.
39362 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39363 section with atom_text_section.
39364 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39366 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39367 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39368 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39369
a77d3c17
UD
39370 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39371 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39372 already be defined. Change to take two parameters and don't assign
39373 result to variable. Adjust all users.
39374 Define INTERNAL_GETTIME if not already defined.
39375 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39376 call.
39377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39378 HAVE_CLOCK_GETTIME_VSYSCALL.
39379 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39380
d53a73ac
UD
39381 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39382 gettimeofday vsyscall, just use time.
39383
a8f84144
AS
393842011-09-06 Andreas Schwab <schwab@redhat.com>
39385
39386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39387 <errno.h>.
39388
ef606249
UD
393892011-09-06 Ulrich Drepper <drepper@gmail.com>
39390
39391 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39392 syscall on x86-64.
39393 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39394 syscall.
39395 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39396 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39397 syscall if possible.
39398
6585cb60
UD
393992011-09-05 Ulrich Drepper <drepper@gmail.com>
39400
39401 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39402 e_ident. Don't pass to find_mapsXX.
39403 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39404
a5f524e4
LD
394052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39406
39407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39408 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39409 * sysdeps/x86_64/multiarch/strchr.S: Update.
39410 Check bit_slow_BSF bit.
39411 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39412 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39413 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39414
554881ef
UD
394152011-09-05 Ulrich Drepper <drepper@gmail.com>
39416
d96de963
UD
39417 [BZ #13134]
39418 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39419 before glibc 2.15.
39420 (tryshell): Define.
39421 (__spawni): Change last parameter to be flag. Test
39422 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39423 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39424 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39425 * posix/spawni.c: Likewise.
39426 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39427 * posix/spawnp.c: Likewise. Change normal version to use
39428 SPAWN_XFLAGS_USE_PATH.
39429 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39430 SPAWN_XFLAGS_TRY_SHELL.
39431
d48e5868
UD
39432 [BZ #13150]
39433 * posix/glob.h: Remove gcc 1.x support.
39434
554881ef
UD
39435 [BZ #13068]
39436 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39437
693fb948
LD
394382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39439
39440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39441 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39442 strrchr-sse2-bsf
39443 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39444 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39445 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39446 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39447 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39448 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39449
1b48c537
UD
394502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39451
49d42c37
UD
39452 * sysdeps/x86_64/wcscmp.S: New file.
39453
1b48c537
UD
39454 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39455 wcscmp-c wcscmp-sse2
39456 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39457 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39458 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39459 * wcsmbs/wcscmp.c: Allow renaming.
39460
15c95c5d
DM
394612011-09-05 David S. Miller <davem@davemloft.net>
39462
39463 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39464 stack slot, rather than the struct return pointer slot.
39465 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39466 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39468 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39469
2f0ad8f3
UD
394702011-09-05 Ulrich Drepper <drepper@gmail.com>
39471
d88ae418
UD
39472 * po/ja.po: Update from translation team.
39473
2f0ad8f3
UD
39474 [BZ #13144]
39475 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39476 kernel in 64-bit binaries.
39477
5f4318d1
DM
394782011-09-01 David S. Miller <davem@davemloft.net>
39479
39480 * elf/elf.h (HWCAP_SPARC_*): Move to..
39481 * sysdeps/sparc/sysdep.h: this new file and add new values.
39482 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39483 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39484 _DL_HWCAP_COUNT to 24.
39485 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39486 entries.
39487 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39488 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39489 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39490 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39491 instead of magic constants.
39492 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39493
3ba57516
DM
394942011-08-31 David S. Miller <davem@davemloft.net>
39495
39496 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39498 Reimplement to do errno handling inline.
39499 (SYSCALL_ERROR_HANDLER): New macro.
39500 (__SYSCALL_STRING): Do not do errno handling in asm.
39501 (__CLONE_SYSCALL_STRING): Delete.
39502 (__INTERNAL_SYSCALL_STRING): Delete.
39503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39504 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39505 (PSEUDO): Reimplement to do errno handling inline.
39506 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39507 (SYSCALL_ERROR_HANDLER): New macro.
39508 (__SYSCALL_STRING): Do not do errno handling in asm.
39509 (__CLONE_SYSCALL_STRING): Delete.
39510 (__INTERNAL_SYSCALL_STRING): Delete.
39511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39512 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39513 i386.
39514 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39515 (inline_syscall*): Add 'err' argument.
39516 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39517 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39518 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39519 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39520
39521 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39522 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39523
2bc17433
AS
395242011-08-30 Andreas Schwab <schwab@redhat.com>
39525
39526 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39527
fbeb5f4d
JO
395282011-08-29 Jiri Olsa <jolsa@redhat.com>
39529
39530 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39531 directive.
39532
ad69cc26
DM
395332011-08-24 David S. Miller <davem@davemloft.net>
39534
39535 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39536
39dd69df
AS
395372011-08-24 Andreas Schwab <schwab@redhat.com>
39538
39539 * elf/Makefile: Add rules to build and run unload8 test.
39540 * elf/unload8.c: New file.
39541 * elf/unload8mod1.c: New file.
39542 * elf/unload8mod1x.c: New file.
39543 * elf/unload8mod2.c: New file.
39544 * elf/unload8mod3.c: New file.
39545
39546 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39547 it wasn't used.
39548
2c0b250a
DM
395492011-08-23 David S. Miller <davem@davemloft.net>
39550
39551 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39552 subtract stack bias.
39553 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39554 %sp not %fp in calculations.
39555 (_JMPBUF_UNWINDS_ADJ): Likewise.
39556
22044b48
DM
39557 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39558 (aio_suspend): Call it to force an exception region around the
39559 AIO_MISC_WAIT() invocation.
39560
2cae4995
AS
395612011-08-23 Andreas Schwab <schwab@redhat.com>
39562
39563 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39564 backslash.
39565
873a772e
AJ
395662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39567
39568 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39569 protection macro.
39570 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39571 and <dl-machine.h>.
39572 (Elf64_FuncDesc): Remove.
39573
25ad0df1
DM
395742011-08-22 David S. Miller <davem@davemloft.net>
39575
39576 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39577 sigaltstack check, add missing cfi directives.
39578 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39579 missing cfi directives, and sigaltstack handling.
39580
e888bcbe
AS
395812011-08-16 Andreas Schwab <schwab@redhat.com>
39582
39583 [BZ #11724]
39584 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39585 object is seen twice.
39586 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39587
39588 * elf/Makefile (distribute): Add tst-initorder2.c.
39589 (tests): Add tst-initorder2.
39590 (modules-names): Add tst-initorder2a tst-initorder2b
39591 tst-initorder2c tst-initorder2d. Add rules to build them.
39592 ($(objpfx)tst-initorder2.out): New rule.
39593 * elf/tst-initorder2.c: New file.
39594 * elf/tst-initorder2.exp: New file.
39595
87162f46
AS
395962011-08-22 Andreas Schwab <schwab@redhat.com>
39597
70538b7f
AS
39598 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39599
f55ffe58
AS
39600 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39601 dependencies back to end of function.
39602
87162f46
AS
39603 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39604 $(elfobjdir)/ld.so.
39605
91b392a4
UD
396062011-08-21 Ulrich Drepper <drepper@gmail.com>
39607
39608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39609 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39611 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39612 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39613 of __vdso_gettimeofday.
39614 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39615 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39616 attribute_hidden.
39617 (_libc_vdso_platform_setup): Remove initialization of
39618 __vdso_gettimeofday and __vdso_time.
39619
5c43483f
UD
396202011-08-20 Ulrich Drepper <drepper@gmail.com>
39621
775a77e7
UD
39622 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39623 and fgetc_unlocked.
39624 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39625 getc_unlocked.
89f447ed 39626
49c74ba9
UD
39627 * elf/dl-open.c (add_to_global): Report additions to the global scope
39628 for LD_DEBUG=scopes.
39629 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39630 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39631
5c43483f
UD
39632 [BZ #13114]
39633 * stdio-common/Makefile (tests): Add bug24.
39634 * stdio-common/bug24.c: New file.
39635
a101b025
AJ
396362011-08-19 Andreas Jaeger <aj@suse.de>
39637
39638 [BZ #13114]
39639 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39640 non-existant file when using close-on-exec mode.
39641
c88f1766
UD
396422011-08-20 Ulrich Drepper <drepper@gmail.com>
39643
0276a718
UD
39644 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39645 the very first instruction.
39646
c88f1766
UD
39647 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39648 the CFI state in the end.
39649 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39650 inclusion of dl-trampoline.h.
39651 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39652
51ccffa0
AS
396532011-08-19 Andreas Schwab <schwab@redhat.com>
39654
94d7165f
AS
39655 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39656 expectations for long double.
39657
51ccffa0
AS
39658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39659 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39660
fd708658 396612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39662
39663 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39664 artificual limit depends upon the system page size.
39665
44f0a71e
UD
396662011-08-17 Ulrich Drepper <drepper@gmail.com>
39667
39668 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39669 * resolv/Makefile: Define CFLAGS-libresolv.
39670
8de79a24
AS
396712011-08-17 Andreas Schwab <schwab@redhat.com>
39672
39673 * nss/makedb.c (compute_tables): Make variables used in nested
39674 function static.
39675
27724598
UD
396762011-08-17 Ulrich Drepper <drepper@gmail.com>
39677
c5305d88
UD
39678 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39679 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39680 if buffer was too small.
39681
27724598
UD
39682 * elf/pldd.c (main): Attach to all threads in the process.
39683 Rewrite /proc handling to use *at functions.
39684
076fe015
UD
396852011-08-16 Ulrich Drepper <drepper@gmail.com>
39686
174baab3
UD
39687 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39688 specifies first scope to show.
39689 (dl_open_worker): Update callers. Move printing scope of new
39690 object to before the relocation.
44f0a71e 39691 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39692 * sysdeps/generic/ldsodefs.h: Update declaration.
39693
076fe015
UD
39694 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39695 string for the scope number.
39696
a60df2c3
UD
396972011-08-14 Ulrich Drepper <drepper@gmail.com>
39698
39699 * nscd/servicescache.c (cache_addserv): Make sure written is always
39700 initialized.
39701
5e4287d1
RM
397022011-08-14 Roland McGrath <roland@hack.frob.com>
39703
85ae0589
RM
39704 * sysdeps/i386/i486/bits/atomic.h
39705 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39706 statement expression, so as to suppress "set but not used" warning.
39707 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39708
69f63097
RM
39709 * string/strncat.c (STRNCAT): Use prototype definition.
39710
675456ef
RM
39711 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39712 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39713 -Iprograms here.
39714 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39715 (localedef-modules): Add localedef.
39716 (locale-modules): Add locale.
39717
5e4287d1
RM
39718 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39719 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39720 to avoid a warning.
39721
9c96ff23
DM
397222011-08-14 David S. Miller <davem@davemloft.net>
39723
39724 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39725 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39726
f9ddf089
UD
397272011-08-13 Ulrich Drepper <drepper@gmail.com>
39728
44f0a71e 39729 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39730 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39731 * elf/rtld.c (dl_main): Set l_name of vDSO.
39732 Call _dl_show_scope when DL_DEBUG_SCOPES.
39733 (process_dl_debug): Recognize scopes flag and also set it for all.
39734 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39735 Declare _dl_show_scope.
39736
1dc27704
UD
39737 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39738 (do_dlopen): Pass caller_dlopen to dl_open.
39739 (__libc_dlopen_mode): Initialize caller_dlopen.
39740
f9ddf089
UD
39741 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39742 of libc. Make tolower call locale-independent. Optimize a bit by
39743 using isdigit instead of isalnum.
39744 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39745
9ac533d3
UD
397462011-08-12 Ulrich Drepper <drepper@gmail.com>
39747
39748 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39749 was a dependency or dynamically loaded.
39750
89edf2e9
UD
397512011-08-11 Ulrich Drepper <drepper@gmail.com>
39752
8e999d29
UD
39753 * intl/l10nflist.c: Allow architecture-specific pop function.
39754 * sysdeps/x86_64/l10nflist.c: New file.
39755
89edf2e9
UD
39756 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39757 classification.
39758
14d96785
AS
397592011-08-10 Andreas Schwab <schwab@redhat.com>
39760
39761 * include/dirent.h: Add libc_hidden_proto for scandirat and
39762 scandirat64. Don't declare __scandirat64.
39763 * dirent/scandirat.c: Add libc_hidden_def.
39764 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39765 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39766
6761ac04
DM
397672011-08-10 David S. Miller <davem@davemloft.net>
39768
39769 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39770 enum.
39771 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39772 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39773 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39774
c55fbd1e
UD
397752011-08-09 Ulrich Drepper <drepper@gmail.com>
39776
39777 * Versions.def [libc]: Add GLIBC_2.15.
39778 * dirent/Makefile (routines): Add scandirat and scandirat64.
39779 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39780 GLIBC_2.15.
39781 * dirent/dirent.h: Declare scandirat and scandirat64.
39782 * dirent/scandirat.c: New file.
39783 * dirent/scandirat64.c: New file.
39784 * sysdeps/wordsize-64/scandirat.c: New file.
39785 * sysdeps/wordsize-64/scandirat64.c: New file.
39786 * dirent/opendir.c: Define opendirat.
39787 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39788 using scandirat.
39789 * dirent/scandir64.c: Adjust for scandir.c change.
39790 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39791 __scandirat64, and __scandir_cancel_handler.
39792 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39793 additional parameter and use openat instead of open (outside of ld.so).
39794 Add new __opendir as wrapper around __opendirat.
39795 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39796 here without requiring old scandirat implementation.
39797
879165f2
UD
397982011-08-08 Ulrich Drepper <drepper@gmail.com>
39799
39800 * dirent/scandir.c (cancel_handler): Renamed to
39801 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39802 defined. Adjust users.
39803 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39804 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39805
cb7e923b
UD
398062011-08-04 Ulrich Drepper <drepper@gmail.com>
39807
16292edd
UD
39808 * string/test-string.h (IMPL): Use __STRING to expand name and then
39809 stringify it.
39810
cb7e923b
UD
39811 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39812 of cleanups.
39813
cff82933
LD
398142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39815
39816 * string/Makefile: Update.
39817 (strop-tests): Append strncat.
39818 * string/test-wcscmp.c: New file.
39819 New comprehensive test for wcscmp.
39820 * string/test-strcmp.c: Update.
39821 (WIDE): New define.
39822
9be9bfcc
AS
398232011-07-22 Andreas Schwab <schwab@redhat.com>
39824
39825 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39826 line.
39827
2e96f1c7
AS
398282011-07-26 Andreas Schwab <schwab@redhat.com>
39829
39830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39831 encoding to ACE if AI_IDN.
39832
85188888
JJ
398332011-08-01 Jakub Jelinek <jakub@redhat.com>
39834
39835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39836 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39837
5fa16e9b
LD
398382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39839
39840 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39841 Fix overflow bug in strncat.
39842 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39843
39844 * string/test-strncat.c: Update.
39845 Add new tests for checking overflow bugs.
39846
398472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39848
39849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39850 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39851 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39852 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39853 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39854 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39855 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39856 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39857 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39858
39859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39860 (USE_AS_STRCAT): Define.
39861 Add strcat and strncat support.
39862 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39863
8c1a459f
AS
398642011-07-25 Andreas Schwab <schwab@redhat.com>
39865
39866 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39867 __n bigger than INT_MAX+1.
39868 (__strncmp_g): Likewise.
39869
bba33c28
UD
398702011-07-23 Ulrich Drepper <drepper@gmail.com>
39871
798be72d
UD
39872 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39873 * libio/stido.h: Likewise.
39874
8accd4dc
UD
39875 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39876 (AF_NFC): Define.
39877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39878 (AF_NFC): Define.
39879
cbff0d96
UD
39880 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39881 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39882 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39883 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39884 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39885
9191c04a
UD
39886 [BZ #13021]
39887 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39888 installed.
39889
bba33c28
UD
39890 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39891 typo.
39892 (_dl_x86_64_save_sse): Likewise.
39893
90f139dd
UD
398942011-07-22 Ulrich Drepper <drepper@gmail.com>
39895
1aae088a
UD
39896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39897 OSXSAVE.
39898 (_dl_x86_64_save_sse): Likewise.
39899
8e2045f5
UD
39900 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39901
90f139dd
UD
39902 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39903
1d002f25
AS
399042011-07-21 Andreas Schwab <schwab@redhat.com>
39905
39906 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39907 change.
39908 (_dl_x86_64_save_sse): Use correct AVX check.
39909
21137f89
UD
399102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39911
39912 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39913 bug in strncpy/strncat.
39914 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39915
a65c0b7a
UD
399162011-07-21 Ulrich Drepper <drepper@gmail.com>
39917
39918 * string/tester.c (test_strcat): Add tests for different alignments
39919 of source and destination.
39920 (test_strncat): Likewise.
39921
6986b98a
UD
399222011-07-20 Ulrich Drepper <drepper@gmail.com>
39923
90bb2039
UD
39924 [BZ #12852]
39925 * posix/glob.c (glob): Check passed in values before using them in
39926 expressions to avoid some overflows.
39927 (glob_in_dir): Likewise.
39928
5644ef54
UD
39929 [BZ #13007]
39930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39931 check for AVX enablement so that we don't crash with old kernels and
39932 new hardware.
39933 * elf/tst-audit4.c: Add same checks here.
39934 * elf/tst-audit6.c: Likewise.
39935
39936 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39937
bfc9dc9b
AS
399382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39939
39940 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39941
702e64bb
UD
399422011-07-20 Ulrich Drepper <drepper@gmail.com>
39943
39944 * po/cs.po: Update from translation team.
39945 * po/bg.po: Likewise.
39946
295e904f
MP
399472011-07-12 Marek Polacek <mpolacek@redhat.com>
39948
39949 * misc/sys/cdefs.h: Add support for const attribute.
39950 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39951 to gnu_dev_{major,minor,makedev} functions.
39952
3ff94596
MP
399532011-07-20 Marek Polacek <mpolacek@redhat.com>
39954
39955 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39956
28b59fca
AS
399572011-07-20 Andreas Schwab <schwab@redhat.com>
39958
39959 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39960 strlen results.
39961
19df733e
AK
399622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39963
39964 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39965 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39966 register in order to avoid conflicts with the soft frame pointer
39967 being held in r11 when necessary.
39968 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39969 (INTERNAL_VSYSCALL_NCS): Likewise.
39970
c8835729
MP
399712011-07-14 Marek Polacek <mpolacek@redhat.com>
39972
39973 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39974 * elf/dl-fini.c (_dl_fini): Adjust caller.
39975 * elf/dl-close.c (_dl_close_worker): Likewise.
39976 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39977
b902330c
MP
399782011-07-15 Marek Polacek <mpolacek@redhat.com>
39979
8991e135
MP
39980 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39981 "aux_cache->nlibs < 0".
39982
b902330c
MP
39983 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39984 in the reload-count case.
39985
99710781
LD
399862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39987
39988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39989 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39990 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39991 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39992 * sysdeps/x86_64/multiarch/strcat.S: New file.
39993 * sysdeps/x86_64/multiarch/strncat.S: New file.
39994 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39995 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39996 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39997 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39998 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39999 (USE_AS_STRCAT): Define.
40000 Add strcat and strncat support.
40001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40003 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40004 * string/strncat.c: Update.
40005 (USE_AS_STRNCAT): Define.
40006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40007 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40008 and i7.
40009 * sysdeps/x86_64/multiarch/init-arch.h
40010 (bit_Prefer_PMINUB_for_stringop): New.
40011 (index_Prefer_PMINUB_for_stringop): Likewise.
40012 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40013 bit_Prefer_PMINUB_for_stringop.
40014
7dc6bd90
UD
400152011-07-19 Ulrich Drepper <drepper@gmail.com>
40016
40017 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40018 buffer64.
40019 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40020 of casting of buffer.
40021 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40022 buffer32 and buffer64.
40023 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40024 writes instead of casting of buffer.
40025 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40026 buffer32.
40027 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40028 casting of buffer.
40029
e0e72284
AS
400302011-07-19 Andreas Schwab <schwab@redhat.com>
40031
40032 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40033
feb1eb0b
UD
400342011-07-19 Ulrich Drepper <drepper@gmail.com>
40035
40036 * nscd/nscd.c (termination_handler): Don't do anything for a database
40037 if it has not yet been initialized.
40038
298711ff
UD
400392011-07-18 Ulrich Drepper <drepper@gmail.com>
40040
40041 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40042
400432011-07-15 Marek Polacek <mpolacek@redhat.com>
40044
40045 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40046
f9d68389
UD
400472011-07-18 Ulrich Drepper <drepper@gmail.com>
40048
40049 * po/nl.po: Update from translation team.
40050 * po/sv.po: Likewise.
40051
db290cf5
RM
400522011-07-16 Roland McGrath <roland@hack.frob.com>
40053
40054 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40055 now disallowed by GCC.
5c550700 40056
fd5e21c7
RM
40057 * configure.in (use-default-link): Default to yes if a test -shared
40058 link meets our qualifications.
40059 * configure: Regenerated.
40060
5c550700
RM
40061 * config.make.in (output-format): New variable.
40062 * configure.in: Check for ld --print-output-format support.
40063 * configure: Regenerated.
40064 * Makerules ($(common-objpfx)format.lds)
40065 [$(output-format) != unknown]: Just use $(output-format),
40066 instead of the linker-script munging.
40067
9fa2c032
RM
400682011-07-14 Roland McGrath <roland@hack.frob.com>
40069
a6928d51
RM
40070 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40071 of $(common-objpfx)shlib.lds.
40072 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40073
661607b3
RM
40074 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40075 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40076
9fa2c032
RM
40077 * configure.in (-z relro check): Adjust test code to add a large
40078 writable data section after it.
40079 * configure: Regenerated.
40080
defe9061
RM
400812011-07-11 Roland McGrath <roland@hack.frob.com>
40082
40083 * configure.in (-z relro check): Fix test code to make the variable
40084 truly const.
40085 * configure: Regenerated.
40086
319b9ad4
UD
400872011-07-11 Ulrich Drepper <drepper@gmail.com>
40088
40089 * nscd/nscd.h (struct traced_file): Define.
40090 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40091 elements. Add traced_files.
40092 (inotify_fd): Declare.
40093 (register_traced_file): Declare.
40094 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40095 (inotify_fd): Export.
40096 (resolv_conf_descr): Remove.
40097 (nscd_init): Move inotify descriptor creation to main.
40098 Don't register files for notification here.
40099 (register_traced_file): New function.
40100 (invalidate_cache): Don't use reset_res to determine whether to call
40101 res_init, go through the list of registered files.
40102 (main_loop_poll): The inotify descriptors are now stored in the
40103 structures for the traced files.
40104 (main_loop_epoll): Likewise
40105 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40106 to __nss_disable_nscd.
40107 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40108 for a database anymore. Check the records for all the registered
40109 files instead.
40110 * nss/Makefile (libnss_files-routines): Add files-init.
40111 (libnss_db-routines): Add db-init.
40112 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40113 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40114 * nss/nss_db/db-init.c: New file.
40115 * nss/nss_files/files-init.c: New file.
40116 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40117 __nss_lookup_function.
40118 (__nss_lookup_function): Call nss_load_library.
40119 (nss_load_all_libraries): New function.
40120 (__nss_disable_nscd): Take parameter with callback function for files
40121 to register. Set is_nscd. Load all the DSOs for the NSS modules
40122 used for the cached services.
40123 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40124 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40125 options for features to all the files in nscd.
40126
40127 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40128
23bee3e8
RM
401292011-07-10 Roland McGrath <roland@hack.frob.com>
40130
40131 * csu/elf-init.c (__libc_csu_init): Comment typo.
40132
46a5b7f0
UD
401332011-07-09 Ulrich Drepper <drepper@gmail.com>
40134
40135 * po/pl.po: Update from translation team.
40136 * po/ja.po: Likewise.
40137 * po/ru.po: Likewise.
40138 * po/ko.po: Likewise.
40139 * po/fr.po: Likewise.
40140
d30cf5bb
RM
401412011-07-09 Roland McGrath <roland@hack.frob.com>
40142
113ddea4
RM
40143 * configure.in (.ctors/.dtors header and trailer check):
40144 Use an empirical test on a built program.
40145 * configure: Regenerated.
40146
574920b4
RM
40147 * configure.in (-z relro check): Use an empirical test on a built DSO.
40148 Detect, but do not require, on ia64.
40149 * configure: Regenerated.
40150
d30cf5bb
RM
40151 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40152 Update tests that use readelf to use $READELF instead.
40153 * configure: Regenerated.
40154
8538fdb3
UD
401552011-07-08 Ulrich Drepper <drepper@gmail.com>
40156
40157 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40158 if the result is not used.
40159
04d08991
AJ
401602011-07-05 Andreas Jaeger <aj@suse.de>
40161
40162 [BZ#9696]
40163 * stdlib/tst-strtod.c: Add testcase.
40164
de283087
AD
401652011-07-07 Ulrich Drepper <drepper@gmail.com>
40166
4e5f31c8 40167 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40168 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40169 The latter has a higher limit. Take additional parameter to pass to
40170 the new function.
40171 (__pathconf): Pass file to __statfs_link_max.
40172 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40173 __statfs_link_max.
40174 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40175 __statfs_link_max.
40176
de283087
AD
40177 [BZ #12868]
40178 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40179 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40180 Handle Lustre.
40181 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40182 (__statfs_filesize_max): Likewise.
40183 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40184
c75fa153
AJ
401852011-07-05 Andreas Jaeger <aj@suse.de>
40186
40187 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40188
1a544854
UD
401892011-07-06 Marek Polacek <mpolacek@redhat.com>
40190
40191 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40192 `status' variable.
40193 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40194 Likewise.
40195
6f0eec67
UD
401962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40197
40198 * Makefile (strop-tests): Add strncat.
40199 * string/test-strncat.c: New file.
40200
aae30307
UD
402012011-06-30 Marek Polacek <mpolacek@redhat.com>
40202
40203 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40204
c0cfb5eb
UD
402052011-06-21 Andreas Jaeger <aj@suse.de>
40206
40207 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40208 Copy rule from iconvdata/Makefile.
40209
01636b21
UD
402102011-07-06 Ulrich Drepper <drepper@gmail.com>
40211
40212 [BZ #12922]
40213 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40214 but no long options are defined, just return 'W'.
40215
9895c8bc
UD
402162011-06-22 Marek Polacek <mpolacek@redhat.com>
40217
40218 [BZ #9696]
40219 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40220
5d4cf042
UD
402212011-07-06 Ulrich Drepper <drepper@gmail.com>
40222
40223 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40224 netgroups to read.
960e5535 40225 (innetgr): Likewise.
5d4cf042 40226
751eb97e
RM
402272011-07-05 Roland McGrath <roland@hack.frob.com>
40228
40229 * config.make.in (install_root): Default to $(DESTDIR).
40230
f15f1e45
UD
402312011-07-05 Ulrich Drepper <drepper@gmail.com>
40232
40233 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40234
4e34ac6a
RM
402352011-07-02 Roland McGrath <roland@hack.frob.com>
40236
5e9b6af4
RM
40237 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40238
84f9ea0f
RM
40239 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40240 containing directory rather than embedding absolute directory names.
40241
ea5ee9f7
RM
40242 * scripts/check-local-headers.sh: Rewritten using awk.
40243 Match by word, not by line. Print error messages for matches.
40244 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40245
1b74661a
RM
40246 * Makerules [shlib-lds-flags empty]:
40247 ($(common-objpfx)libc_pic.opts): New target.
40248 ($(common-objpfx)libc_pic.os.clean): New target.
40249 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40250
40251 * config.make.in (OBJCOPY): New variable.
40252 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40253 * configure: Regenerated.
40254
f781ef40
RM
40255 * config.make.in (use-default-link): New variable.
40256 * configure.in (use_default_link): Grok --with-default-link to set it.
40257 * configure: Regenerated.
40258 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40259 (shlib-lds, shlib-lds-flags): Define to empty.
40260
2d4fa81e
RM
40261 * Makerules (shlib-lds): New variable.
40262 (shlib-lds-flags): New variable.
40263 (build-shlib, build-moduile, build-module-asneeded): Use it.
40264 ($(common-objpfx)libc.so): Use $(shlib-lds).
40265 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40266 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40267
31fffa6b
RM
40268 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40269 DT_FLAGS/DT_FLAGS_1 with zero flags.
40270
4e34ac6a
RM
40271 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40272 linker script munging.
40273
fcfc776b
UD
402742011-07-02 Ulrich Drepper <drepper@gmail.com>
40275
40276 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40277 as 128-bit value.
40278 * crypt/sha512.c (sha512_process_block): Perform total addition using
40279 128-bit if possible.
40280 (__sha512_finish_ctx): Likewise.
40281 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40282 as 64-bit value.
40283 * crypt/sha256.c (SWAP64): Define.
40284 (sha256_process_block): Perform total addition using 64-bit if
40285 possible.
40286 (__sha256_finish_ctx): Likewise.
40287
99231d9a
UD
402882011-07-01 Ulrich Drepper <drepper@gmail.com>
40289
40290 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40292 * nscd/hstcache.c (cache_addhst): Likewise.
40293 * nscd/grpcache.c (cache_addgr): Likewise.
40294 * nscd/aicache.c (addhstaiX): Likewise
40295 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40296
445b4a53
TK
402972011-07-01 Thorsten Kukuk <kukuk@suse.de>
40298
40299 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40300 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40301 * nscd/hstcache.c (cache_addhst): Likewise.
40302 * nscd/grpcache.c (cache_addgr): Likewise.
40303 * nscd/aicache.c (addhstaiX): Likewise
40304
6d4d8e8e
AS
403052011-07-01 Andreas Schwab <schwab@redhat.com>
40306
40307 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40308 domain only when needed.
40309
89f654c5
AS
403102011-06-30 Andreas Schwab <schwab@redhat.com>
40311
40312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40313 is always restored.
40314
cf3b23ff
UD
403152011-06-29 Ulrich Drepper <drepper@gmail.com>
40316
40317 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40318 are re-adding the entry.
40319 * nscd/servicescache.c (cache_addserv): Likewise.
40320
751626f9
AJ
403212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40322
40323 * sysdeps/generic/dl-irel.h: fix protection against multiple
40324 inclusions.
40325 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40326
9113ea1f
UD
403272011-06-28 Ulrich Drepper <drepper@gmail.com>
40328
5c0b8d90
UD
40329 [BZ #12935]
40330 * malloc/memusage.sh: Fix quoting in message.
40331 * debug/xtrace.sh: Likewise.
40332
9113ea1f
UD
40333 * configure.in: Remove support for --experimental-malloc option, make
40334 it the default.
40335 * config.make.in: Likewise.
40336 * malloc/Makefile: Likewise.
40337
a4172181
AS
403382011-06-27 Andreas Schwab <schwab@redhat.com>
40339
40340 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40341 two-byte characters.
40342
78a7eee7
RM
403432011-06-27 Roland McGrath <roland@hack.frob.com>
40344
62bede13
RM
40345 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40346 AC_CACHE_CHECK invocation.
40347 * configure: Regenerated.
40348
78a7eee7
RM
40349 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40350
5ce33a62
UD
403512011-06-27 Ulrich Drepper <drepper@gmail.com>
40352
034807a9
UD
40353 [BZ #12350]
40354 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40355 bit from old_res_options.
40356
4902da17
UD
40357 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40358
5ce33a62
UD
40359 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40360 value type for setfct.
40361
c2344f56
L
403622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40363
40364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40365 __gettimeofday instead of gettimeofday.
40366
68468076
UD
403672011-06-26 Ulrich Drepper <drepper@gmail.com>
40368
40369 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40370
acb0d739
L
403712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40372
40373 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40374
40375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40376 info.
40377
8912479f
L
403782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40379
40380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40381 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40382 strcpy-sse2-unaligned strncpy-sse2-unaligned
40383 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40384 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40385 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40386 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40387 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40388 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40389 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40390 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40391 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40392 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40393 (STRCPY): Support SSE2 and SSSE3 versions.
40394
d5495a11
UD
403952011-06-24 Ulrich Drepper <drepper@gmail.com>
40396
40397 [BZ #12874]
40398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40399 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40400 kernels which artificially limit size of requests.
40401
0b1cbaae
L
404022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40403
40404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40405 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40406 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40407 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40408 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40409 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40410 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40411 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40412 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40413 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40414 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40415 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40416 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40417 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40418 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40420 Enable unaligned load optimization for Intel Core i3, i5 and i7
40421 processors.
40422 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40423 Define.
40424 (index_Fast_Unaligned_Load): Define.
40425 (HAS_FAST_UNALIGNED_LOAD): Define.
40426
07f494a0
MP
404272011-06-23 Marek Polacek <mpolacek@redhat.com>
40428
40429 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40430
fa3fc0fe
UD
404312011-06-22 Ulrich Drepper <drepper@gmail.com>
40432
40433 [BZ #12907]
40434 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40435 until it is clear that the information is realy needed.
40436 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40437
e12df166
AS
404382011-06-22 Andreas Schwab <schwab@redhat.com>
40439
40440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40441
852eb34d
UD
404422011-06-22 Ulrich Drepper <drepper@gmail.com>
40443
84e2a551
UD
40444 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40445 /sys/devices/system/cpu/online if it is usable.
40446
852eb34d
UD
40447 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40448 reading the information from the /proc filesystem to once a second.
40449
6e502e19
UD
404502011-06-21 Andreas Jaeger <aj@suse.de>
40451
40452 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40453 NULL after inclusion of kernel headers.
40454
75d39ff2
UD
404552011-06-21 Ulrich Drepper <drepper@gmail.com>
40456
51f9aa6a
UD
40457 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40458 calls to internal_setent.
40459
c0244a9d
UD
40460 [BZ #12885]
40461 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40462 addresses using gethostbyname4_r ignore IPv4 addresses.
40463
c5e3c2ae
UD
40464 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40465 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40466
75d39ff2
UD
40467 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40468
42675c6f
DM
404692011-06-20 David S. Miller <davem@davemloft.net>
40470
40471 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40472 inclusions.
40473 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40474
40475 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40476 (elf_irel): Use it.
40477 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40478 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40479 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40480 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40481 * sysdeps/x86_64/dl-irel.h: Likewise.
40482
40483 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40484 * elf/dl-sym.c: Likewise.
40485
57912a71
UD
404862011-06-15 Ulrich Drepper <drepper@gmail.com>
40487
40488 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40489 need to dereference resplen2.
40490
ee22793d
AS
404912011-06-14 Andreas Schwab <schwab@redhat.com>
40492
40493 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40494
a9e836b0
UD
404952011-06-15 Ulrich Drepper <drepper@gmail.com>
40496
77fb9117
UD
40497 * Makeconfig: Define vardbdir and inst_vardbdir.
40498 * nss/Makefile: Add rules to install db-Makefile.
40499
40c1b22c
UD
40500 * nss/nss_db/db-XXX.c: Cleanup.
40501
9f2da732
UD
40502 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40503 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40504 GLIBC_PRIVATE.
40505 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40506 * nss/makedb.c: Implement -g option to specify that value strings
40507 are generated and should not be added to table iterated over for
40508 get*ent calls.
40509 * nss/nss_db/db-initgroups.c: New file.
40510
82e9a1f7
UD
40511 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40512 interface.
40513
c41af17e
UD
40514 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40515 (internal_getgrouplist): Adjust to name change.
40516 Update use_initgroups_entry if this is not the first call.
40517 * nss/databases.def: Add initgroups entry.
40518
a9e836b0
UD
40519 * nss/makedb.c (compute_tables): Check result of multiple hash table
40520 sizes to minimize maximum chain length.
40521
2666d441
UD
405222011-06-14 Ulrich Drepper <drepper@gmail.com>
40523
40524 * Versions.def: Add entry for libnss_db.
40525 * shlib-versions: Likewise.
40526 * nss/Makefile: Add rules to build libnss_db.
40527 * nss/Versions: Add libnss_db information. Organize libnss_files
40528 entries better.
40529 * nss/db-Makefile: Add gshadow support. Change rules for the new
40530 makedb progra. Some minor improvements to generate smaller files.
40531 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40532 here from...
40533 * nss/makedb.c: ...here.
40534 Improve database format to be smaller and require less memory at
40535 runtime.
40536 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40537 db anymore.
40538 * nss/nss_db/db-netgrp.c: Likewise.
40539 * nss/nss_db/db-open.c: Likewise.
40540 * nss/nss_files/flies-XXX.x: Adjust comments.
40541 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40542 * nss/nss_files/files-grp.c: Likewise.
40543 * nss/nss_files/files-hosts.c: Likewise.
40544 * nss/nss_files/files-network.c: Likewise.
40545 * nss/nss_files/files-proto.c: Likewise.
40546 * nss/nss_files/files-pwd.c: Likewise.
40547 * nss/nss_files/files-rpc.c: Likewise.
40548 * nss/nss_files/files-service.c: Likewise.
40549 * nss/nss_files/files-sgrp.c: Likewise.
40550 * nss/nss_files/files-spwd.c: Likewise.
40551 * nss/nss_db/db-alias.c: Removed.
40552 * nss/nss_db/dummy-db.h: Removed.
40553
9ee76b5a
UD
405542011-06-02 Ulrich Drepper <drepper@gmail.com>
40555
40556 * nss/makedb.c: Rewritten to not use database library.
40557 * nss/Makefile: Update to build new makedb program.
40558
c71ca1f8
AJ
405592011-06-14 Andreas Jaeger <aj@suse.de>
40560
40561 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40562 memset declaration.
40563
3154bfb8
UD
405642011-06-10 Andreas Schwab <schwab@redhat.com>
40565
40566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40567 tmpbuf.
40568
b350afab
RM
405692011-06-10 Roland McGrath <roland@hack.frob.com>
40570
decd4e50
RM
40571 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40572 * elf/Makefile ($(objpfx)ld.so): Likewise.
40573
5615eaf2
RM
40574 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40575 Don't list ld.so twice in dependencies.
40576
40577 * posix/bug-regex31.c: Include <stdlib.h>.
40578
40579 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40580
40581 * nis/nss_compat/compat-spwd.c
40582 (getspent_next_nss_netgr): Remove unused variable.
40583 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40584
40585 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40586 nonmembers" output to use the right array.
40587
40588 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40589
40590 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40591
40592 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40593 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40594 * catgets/gencat.c (read_input_file): Likewise.
40595 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40596
40597 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40598 variable definition inside #if's controlling its use.
40599
40600 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40601
40602 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40603
40604 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40605
40606 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40607 unreachable code.
40608
40609 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40610
b68e08db
RM
40611 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40612 * configure: Regenerated.
40613
b350afab
RM
40614 * Makerules: Revert last change.
40615 * elf/Makefile: Likewise.
40616
28368601
RM
406172011-06-09 Roland McGrath <roland@hack.frob.com>
40618
40619 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40620 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40621 (reloc-link): Likewise.
40622
11988f8f
UD
406232011-06-09 Ulrich Drepper <drepper@gmail.com>
40624
40625 * elf/Makefile: Add rules to build pldd.
40626 * elf/pldd.c: New file.
40627 * elf/pldd-xx.c: New file.
40628
e80fab37
UD
406292011-06-07 Ulrich Drepper <drepper@gmail.com>
40630
40631 * version.h: Update for 2.15 development version.
40632
9b849836
DM
406332011-06-07 David S. Miller <davem@davemloft.net>
40634
40635 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40636 ifuncs.
40637 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40638 elf_machine_lazy_rel): Likewise.
40639 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40641 elf_machine_lazy_rel): Likewise.
40642 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40643 dl_hwcap via passed in argument.
40644 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40645 Likewise.
40646
5a31b283
AK
406472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40648
40649 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40650
069e52f8
RM
406512011-06-06 Roland McGrath <roland@hack.frob.com>
40652
40653 [BZ #12849]
40654 * manual/fdl-1.1.texi: New file, verbatim from:
40655 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40656 * manual/lgpl-2.1.texi: New file, verbatim from:
40657 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40658 * manual/Makefile (licenses): New variable, list those new file names.
40659 (texis): Use it.
40660 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40661
40662 * manual/fdl.texi: File removed.
40663 * manual/lesser.texi: File removed.
40664 * manual/libc.texinfo (Copying, Documentation License):
40665 Use new @include file names, put @appendix directive before @include.
40666
f16846a5
JJ
406672011-06-04 Jakub Jelinek <jakub@redhat.com>
40668
40669 [BZ #12841]
40670 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40671 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40672 (mq_open): Add __NTH.
40673
3d29045b
L
406742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40675
40676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40677 Assume Intel Core i3/i5/i7 processor if AVX is available.
40678
8c297311
UD
406792011-05-31 Ulrich Drepper <drepper@gmail.com>
40680
40681 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40682 typo.
40683
c8fc0c91
UD
406842011-05-31 Andreas Schwab <schwab@redhat.com>
40685
40686 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40687 memory. Use alloca_account. Fix memory leak when retrying.
40688
5b27a807
UD
406892011-05-31 Ulrich Drepper <drepper@gmail.com>
40690
356f8bc6
UD
40691 * version.h (RELEASE): Bump for 2.14 release.
40692 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40693
5b27a807
UD
40694 * config.make.in (RANLIB): Remove entry.
40695
01f16ab0
UD
406962011-05-30 Ulrich Drepper <drepper@gmail.com>
40697
41fce8bd
UD
40698 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40699 (libc.pot): Work around missing support for .ksh extension in xgettext.
40700
4769ae77
UD
40701 [BZ #12684]
40702 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40703 if both request failed.
40704 (send_dg): In case of server errors clear resplen or *resplen2.
40705
6b1e7d19
UD
40706 [BZ #12454]
40707 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40708 when there are multiple maps.
40709 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40710 (_dl_fini): Remove test here.
40711
01f16ab0
UD
40712 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40713
b1ebd700
UD
407142011-05-29 Ulrich Drepper <drepper@gmail.com>
40715
7ae22829
UD
40716 [BZ #12350]
40717 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40718 bit from old_res_options.
40719 (gaih_inet): Likewise.
40720
553149f6 40721 [BZ #11099]
18a84741 40722 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40723 as signed.
40724
652ffab1
UD
40725 * resolv/res_init.c (res_setoptions): Make the code more compact.
40726
16985fd0
UD
40727 [BZ #11558]
40728 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40729 set RES_USEVC.
40730
0464f746
UD
40731 [BZ #11634]
40732 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40733
7d17596c
UD
40734 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40735
cf6bbbd7
UD
40736 [BZ #11781]
40737 * malloc/malloc.h: Declare malloc hook variables as volatile.
40738
13f1ab36
UD
40739 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40740 in last patch.
40741
b1ebd700
UD
40742 [BZ #11799]
40743 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40744 raise in the comment.
80e2212d
UD
40745 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40746 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40747 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40748
ce67228d
UD
407492011-05-28 Ulrich Drepper <drepper@gmail.com>
40750
8887a920
UD
40751 [BZ #12811]
40752 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40753 grow the buffers more if it already has to be sufficient.
40754 (build_wcs_upper_buffer): Likewise.
40755 * posix/regexec.c (check_matching): Likewise.
40756 (clean_state_log_if_needed): Likewise.
40757 (extend_buffers): Don't enlarge buffers beyond size of the input
40758 buffer.
40759 Patches mostly by Emil Wojak <emil@wojak.eu>.
40760 * posix/bug-regex32.c: New file.
40761 * posix/Makefile (tests): Add bug-regex32.
40762
4f031072
UD
40763 * locale/findlocale.c (_nl_find_locale): Return right away if
40764 _nl_explode_name failed.
40765 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40766
d0478f0c
UD
40767 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40768
de81b246
UD
40769 * debug/xtrace.sh: Unify messages.
40770 * malloc/memusage.sh: Likewise.
40771
c738465a
UD
40772 [BZ #12813]
40773 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40774 time symbol from vDSO. Substitute with vsyscall if not available.
40775 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40776 __vdso_time.
40777
f1f929d7
UD
40778 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40779 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40780 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40781 Add sendmmsg and internal_sendmmsg.
40782 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40783 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40784 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40785
ce67228d
UD
40786 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40787 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40788 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40789
e57420c6
UD
407902011-05-27 Ulrich Drepper <drepper@gmail.com>
40791
a8509ca5
UD
40792 [BZ #12813]
40793 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40794 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40795 available.
40796 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40797 __vdso_getcpu.
40798
e57420c6
UD
40799 [BZ #12814]
40800 * iconvdata/Makefile (tests): Add bug-iconv9.
40801 * iconvdata/bug-iconv9.c: New file.
40802
4d07db15
AS
408032011-05-27 Andreas Schwab <schwab@redhat.com>
40804
40805 [BZ #12814]
40806 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40807
ea486f69
JJ
408082011-05-25 Jakub Jelinek <jakub@redhat.com>
40809
40810 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40811 (struct user_regs_struct): Change intcs field back to cs.
40812
6f038433
UD
408132011-05-25 Ulrich Drepper <drepper@gmail.com>
40814
40815 * po/ja.po: Update from translation team.
40816
67f86a25
UD
408172011-05-23 Ulrich Drepper <drepper@gmail.com>
40818
40819 [BZ #12795]
40820 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40821 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40822
def7fbd6
AS
408232011-05-20 Andreas Schwab <schwab@redhat.com>
40824
40825 * stdlib/longlong.h: Update from GCC.
40826
f50ef8f1
AS
408272011-05-23 Andreas Schwab <schwab@redhat.com>
40828
40829 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40830 parameter name.
40831 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40832 Add parameter name.
40833 (__sysconf): Pass it down.
40834
de7ce8f1
UD
408352011-05-22 Ulrich Drepper <drepper@gmail.com>
40836
f2962a71
UD
40837 [BZ #12671]
40838 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40839 some situations.
40840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40841 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40842 add in in __libc_use_alloca calls. Adjust callers.
40843 (glob): Use malloc in some situations.
40844
de7ce8f1
UD
40845 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40846 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40847 pltexit.
40848
aec84f53
UD
408492011-05-21 Ulrich Drepper <drepper@gmail.com>
40850
05bb4a68
UD
40851 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40852 and CLOCK_BOOTTIME_ALARM.
40853
7ea72f99
UD
40854 [BZ #12782]
40855 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40856 is returned.
40857
7e4afad5
UD
40858 * string/_strerror.c (__strerror_r): Print negative errors as signed
40859 numbers.
40860
8e211fec
UD
40861 [BZ #12777]
40862 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40863 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40864 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40865
f7d82dc9
UD
40866 * configure.in: Fix typo in redirection and correct removal of test
40867 files in two cases.
40868
cc9e536d
UD
40869 [BZ #12788]
40870 * locale/setlocale.c (new_composite_name): Fix test to check for
40871 identical name of all categories.
40872
aec84f53
UD
40873 [BZ #12792]
40874 * libio/filedoalloc.c (local_isatty): New function.
40875 (_IO_file_doallocate): Use local_isatty.
40876 * stdio-common/perror.c (perror): In case a new stream is used
40877 forward the stream error.
40878 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40879 error flag.
40880
78e64fdc
RT
408812011-05-20 Ulrich Drepper <drepper@gmail.com>
40882
34a9094f
UD
40883 [BZ #11869]
40884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40885 alloca.
40886 * include/alloca.h (extend_alloca_account): Define.
40887
78e64fdc
RT
40888 [BZ #11857]
40889 * posix/regex.h: Fix comments with documentation of user-accessible
40890 fields after compilation and describe correct free'ing of pattern
40891 after re_compile_pattern.
40892 Patch by Reuben Thomas <rrt@sc3d.org>.
40893
457bddfc
RA
408942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40895
40896 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40897 and -mno-altivec to prevent the compiler from using Altivec and/or
40898 VSX instructions when the corresponding registers are not available.
40899
a4527b51
AS
409002011-05-19 Andreas Schwab <schwab@redhat.com>
40901
40902 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40903
ed690b2f
UD
409042011-05-19 Ulrich Drepper <drepper@gmail.com>
40905
40906 * libio/freopen.c (freopen): Use __dup2, not dup2.
40907 * libio/freopen64.c (freopen64): Likewise.
40908
8db73634
L
409092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40910
40911 [BZ #12775]
40912 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40913 * math/Makefile (tests): Add test-powl.
40914 (CFLAGS-test-powl.c): Define.
40915 * math/test-powl.c: New file.
40916
0a197a9d
L
409172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40918
40919 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40920
ee30c380
UD
409212011-05-17 Ulrich Drepper <drepper@gmail.com>
40922
40923 [BZ #11837]
40924 * iconvdata/gb18030.c: Update to GB18020-2005.
40925
6ce75379
UD
409262011-05-16 Ulrich Drepper <drepper@gmail.com>
40927
a4b89fd8
AR
40928 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40929 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40930 Patch by Aharon Robbins <arnold@skeeve.com>.
40931
ea389b12
UD
40932 [BZ #11892]
40933 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40934 on the stack.
40935
68a3f91f
UD
40936 [BZ #11895]
40937 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40938 through underflows.
40939
15cc7dd1
UD
40940 [BZ #12766]
40941 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40942 point to strings before performing equality test for error_one_per_line
40943 mode.
40944
f3799213
UD
40945 [BZ #11697]
40946 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40947
d79a9c94
UD
40948 [BZ #11820]
40949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40950 (struct user_fpregs_struct): Avoid __uint*_t types.
40951
56e5eb46
UD
40952 [BZ #6420]
40953 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40954 symbol info. Use it instead of calling _dl_addr locally.
40955 (lock_and_info): New function.
40956 (tr_freehook): Call lock_and_info and pass symbol info as additional
40957 parameter to tr_where.
40958 (tr_mallochook): Likewise.
40959 (tr_reallochook): Likewise.
40960 (tr_memalignhook): Likewise.
40961
6ce75379
UD
40962 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40963 used and couldn't be at all thread-safe.
40964
f8a3b5bf
UD
409652011-05-15 Ulrich Drepper <drepper@gmail.com>
40966
94b7cc37
UD
40967 * libio/freopen.c (freopen): Don't close old file descriptor
40968 before the new one is opened. Instead dup the new file descriptor
40969 to the old one after the new stream is created.
40970 * libio/freopen64.c (freopen64): Likewise.
40971 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40972 * libio/fileops.c (_IO_new_file_close_it): Handle new
40973 _IO_FLAGS2_NOCLOSE flag.
40974 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40975 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40976 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40977 _IO_FLAGS2_NOCLOSE flag.
40978 * include/unistd.h: Add hidden_proto for dup3.
40979 Define __have_dup3.
40980 * io/dup3.c: Define hidden symbol.
40981 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40982
bd25564e
UD
40983 [BZ #7101]
40984 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40985 when an incomplete long option is used.
40986 * posix/tst-getopt_long1.c: New file.
40987 * posix/Makefile (tests): Add tst-getopt_long1.
40988
c84cfef4
UD
40989 [BZ #10138]
40990 * scripts/config.guess: Update from autoconf-2.68.
40991 * scripts/config.sub: Likewise.
40992
3b85df27
UD
40993 [BZ #10157]
40994 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40995 tests into ...
40996 (has_cpuclock): ...this. New function.
40997 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40998 macro here based on has_cpuclock code.
40999
15a856b1
UD
41000 [BZ #10149]
41001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41002 First byte (not low byte) is now always NUL.
41003 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41004
05f399e6
UD
41005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41006 Use non-cancelable interfaces.
41007
10a52685 41008 [BZ #9809]
94ecc67d
UD
41009 * locale/iso-639.def: Add entry for Sorani.
41010
f8a3b5bf
UD
41011 [BZ #11901]
41012 * include/stdlib.h: Move include protection to the right place.
41013 Define abort_msg_s. Declare __abort_msg with it.
41014 * stdlib/abort.c (__abort_msg): Adjust type.
41015 * assert/assert.c (__assert_fail_base): New function. Majority
41016 of code from __assert_fail. Allocate memory for __abort_msg with
41017 mmap.
41018 (__assert_fail): Now call __assert_fail_base.
41019 * assert/assert-perr.c: Remove bulk of implementation. Use
41020 __assert_fail_base.
41021 * include/assert.hL Declare __assert_fail_base.
41022 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41023 mmap.
41024 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41025
1af4e298
UD
410262011-05-14 Ulrich Drepper <drepper@gmail.com>
41027
f8a3b5bf 41028 [BZ #11952]
d26dfc60
MG
41029 [BZ #12453]
41030 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41031 until all modules are registered in the DTV.
41032 * elf/Makefile: Add rules to build and run tst-tls19.
41033 * elf/tst-tls19.c: New file.
41034 * elf/tst-tls19mod1.c: New file.
41035 * elf/tst-tls19mod2.c: New file.
41036 * elf/tst-tls19mod3.c: New file.
41037 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41038
2fc54d6f
UD
41039 [BZ #12083]
41040 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41041 correctly.
41042
98d76b46
UD
41043 [BZ #12601]
41044 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41045 two-byte sequence errors.
41046 * iconvdata/Makefile (tests): Add bug-iconv8.
41047 * iconvdata/bug-iconv8.c: New file.
41048
da3c19ef
UD
41049 [BZ #12626]
41050 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41051 buf2 definition.
41052
ca408c15
UD
41053 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41054
d6f67f7d
UD
41055 [BZ #12432]
41056 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41057 (dummy_getcfa): New function.
41058 (init): Get _Unwind_GetCFA address, use dummy if not found.
41059 (backtrace_helper): In recursion check, also check whether CFA changes.
41060 (__backtrace): Completely initialize arg.
41061
1af4e298 41062 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41063 storing incomplete byte sequence in state object. Avoid testing for
41064 guaranteed too small input if we know there is enough data available.
1af4e298 41065
da62f81b
AS
410662011-05-11 Andreas Schwab <schwab@redhat.com>
41067
41068 * Makeconfig (+link-pie): Indent.
41069 * Rules (binaries-pie): Define if $(have-fpie) and
41070 $(build-shared).
41071 (binaries-shared): Also filter out $(binaries-pie).
41072 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41073 * nscd/Makefile (others-pie): Add nscd.
41074 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41075 ($(objpfx)nscd): Remove command override.
41076 * login/Makefile (others-pie): Add pt_chown.
41077 ($(objpfx)pt_chown): Remove command override.
41078 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41079 remove command overrides.
41080
fcabc0f8
UD
410812011-05-13 Ulrich Drepper <drepper@gmail.com>
41082
20030ae6
UD
41083 * libio/tst_putwc.c: Fix error messages.
41084
fcabc0f8
UD
41085 [BZ #12724]
41086 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41087 currently writing and seek to current position when not.
41088 * libio/Makefile (tests): Add bug-fclose1.
41089 * libio/bug-fclose1.c: New file.
41090
320a5dc0
PB
410912011-05-12 Ulrich Drepper <drepper@gmail.com>
41092
41093 [BZ #12511]
41094 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41095 don't set DF_1_NODELETE here.
41096 (do_lookup_x): When entering new entry test for copy relocation
41097 and if necessary set DF_1_NODELETE flag.
41098 * elf/tst-unique4.cc: New file.
41099 * elf/tst-unique4.h: New file.
41100 * elf/tst-unique4lib.cc: New file.
41101 * elf/Makefile: Add rules to build and run tst-unique4.
41102 Patch by Piotr Bury <pbury@goahead.com>.
41103
22836f52
UD
411042011-05-11 Ulrich Drepper <drepper@gmail.com>
41105
f574184a
UD
41106 [BZ #12052]
41107 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41108
e1fb097f
UD
41109 [BZ #12625]
41110 * misc/mntent_r.c (addmntent): Flush the stream after the output
41111
22836f52
UD
41112 [BZ #12393]
41113 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41114 (is_trusted_path_normalize): Skip initial colon. Append slash
41115 to empty buffer. Duplicate is_trusted_path code but allow
41116 constructed patch to be prefix.
41117 (is_dst): Allow $ORIGIN followed by /.
41118 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41119 Correct testing of result of is_trusted_path_normalize
41120 (decompose_rpath): Fix warning.
41121
7b3b0b2a
UD
411222011-05-10 Ulrich Drepper <drepper@gmail.com>
41123
41124 [BZ #11257]
41125 * grp/initgroups.c (internal_getgrouplist): When we found the service
41126 list through the initgroups entry in nsswitch.conf do not always
41127 continue on a successful lookup. Don't always use the
eac80ce2 41128 __nss_group_database value if it is set.
7b3b0b2a
UD
41129 * nss/nsswitch.conf (initgroups): Change action for successful db
41130 lookup to continue for compatibility.
41131
2a81eaa5
UD
411322011-05-09 Ulrich Drepper <drepper@gmail.com>
41133
be97a69e
UD
41134 [BZ #11532]
41135 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41136 and CP774 modules.
41137 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41138 and CP774 modules.
41139 * iconvdata/tst-tables.sh: Likewise.
41140 * iconvdata/cp770.c: New file.
41141 * iconvdata/cp771.c: New file.
41142 * iconvdata/cp772.c: New file.
41143 * iconvdata/cp773.c: New file.
41144 * iconvdata/cp774.c: New file.
41145 * iconvdata/testdata/CP770: New file.
41146 * iconvdata/testdata/CP770..UTF8: New file.
41147 * iconvdata/testdata/CP771: New file.
41148 * iconvdata/testdata/CP771..UTF8: New file.
41149 * iconvdata/testdata/CP772: New file.
41150 * iconvdata/testdata/CP772..UTF8: New file.
41151 * iconvdata/testdata/CP773: New file.
41152 * iconvdata/testdata/CP773..UTF8: New file.
41153 * iconvdata/testdata/CP774: New file.
41154 * iconvdata/testdata/CP774..UTF8: New file.
41155
41156 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41157 END CHARMAP line.
41158 * iconvdata/gen-8bit-gap.sh: Likewise.
41159 * iconvdata/gen-8bit.sh: Likewise.
41160
c1e9e399
UD
41161 * locale/iso-639.def: Add ary entry.
41162
24c55fb3 41163 [BZ #11258]
96b4b1b0
UD
41164 * locale/C-translit.h.in: Add U20A1 transliteration.
41165
bdc2f971
KB
41166 [BZ #12178]
41167 * locale/iso-639.def: Add wae entry.
41168 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41169
2952b117
UD
41170 [BZ #12545]
41171 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41172 for n.
41173
2a81eaa5
UD
41174 [BZ #12711]
41175 * locale/C-translit.h.in: Add entry for U20B9.
41176 Patch by pravin.d.s@gmail.com.
41177
28377d1b
UD
411782011-05-08 Ulrich Drepper <drepper@gmail.com>
41179
7fb90fb8
UD
41180 [BZ #12713]
41181 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41182 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41183 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41184 in rtld. Use *stat64.
7fb90fb8 41185 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41186 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41187 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41188 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41189 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41190 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41191 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41192 __fstatat64 macros.
7fb90fb8
UD
41193 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41194 * dirent/rewinddir.c: Add libc_hidden_def.
41195 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41196 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41197
28377d1b
UD
41198 * include/dirent.h (__alloc_dir): Add flags parameter.
41199 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41200 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41201 __alloc_dir.
41202 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41203 from fdopendir if O_CLOEXEC is already set.
41204
66bdbaa4
AM
412052011-03-15 Alan Modra <amodra@gmail.com>
41206
41207 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41208 l_tls_firstbyte_offset non-zero. Save padding offset in
41209 l_tls_firstbyte_offset for later use.
41210 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41211 freeing static tls block.
41212
95721191
JN
412132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41214
41215 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41216 where #ifdef was intended. The intent is to prevent ARG_MAX from
41217 being defined by the kernel headers.
41218
f87dfb1f
UD
412192011-05-07 Ulrich Drepper <drepper@gmail.com>
41220
41221 [BZ #12734]
41222 * resolv/resolv.h: Define RES_NOTLDQUERY.
41223 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41224 no-tld-query and set RES_NOTLDQUERY.
41225 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41226 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41227 modern BIND to search name as TLD unless forbidden.
41228
47c3cd7a
UD
412292011-05-07 Petr Baudis <pasky@suse.cz>
41230 Ulrich Drepper <drepper@gmail.com>
41231
41232 [BZ #12393]
41233 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41234 (is_trusted_path): ...to here.
c1e9ea35 41235 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41236 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41237 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41238
8a35c912
PP
412392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41240
41241 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41242 __BEGIN/__END_DECLS.
41243
acd41f47
UD
412442011-05-06 Ulrich Drepper <drepper@gmail.com>
41245
41246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41247 NSS_STATUS_NOTFOUND if no record was found.
41248
597df647
AS
412492011-05-05 Andreas Schwab <schwab@redhat.com>
41250
41251 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41252 (headers-not-in-tirpc): Remove rpc/netdb.h
41253 * resolv/netdb.h: Revert last change.
41254
b9af1301
PP
412552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41256
41257 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41258 circular dependency between libgcc.a and libc.a.
41259
4e34d5f5
AS
412602011-05-05 Andreas Schwab <schwab@redhat.com>
41261
41262 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41263 * nis/Makefile: Don't install rpcsvc/*.
41264 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41265 instead of <rpc/types.h>.
41266 (MAXHOSTNAMELEN): Define.
41267
00ee369c
AS
412682011-05-03 Andreas Schwab <schwab@redhat.com>
41269
41270 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41271
0b592a30
MB
412722011-04-28 Maciej Babinski <mbabinski@google.com>
41273
41274 [BZ #12714]
41275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41276 gethostbyname4_r when IPv6 results are possible.
41277
6e04cbbe
UD
412782011-05-02 Ulrich Drepper <drepper@gmail.com>
41279
41280 [BZ #12723]
41281 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41282 _PC_PIPE_BUF handling.
41283
e4ecafe0
BH
412842011-04-30 Bruno Haible <bruno@clisp.org>
41285
41286 [BZ #12717]
41287 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41288 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41289 to 'int'.
41290 * inet/getnameinfo.c (getnameinfo): Likewise.
41291
125ee683
UD
412922011-04-29 Ulrich Drepper <drepper@gmail.com>
41293
41294 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41295 to groups setting in database lookup.
41296 * nss/nsswitch.conf: Add initgroups entry.
41297
b722481a
EB
412982011-04-22 Ulrich Drepper <drepper@gmail.com>
41299
41300 [BZ #12685]
41301 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41302 mode string.
41303 Patch by Eric Blake <eblake@redhat.com>.
41304
4df46dbd
L
413052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41306
41307 * sunrpc/Makefile (need-export-routines): Add svc_run.
41308 (routines): Remove svc_run.
41309 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41310 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41311 * sunrpc/svc_run.c (svc_run): Likewise.
41312 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41313
e84142d2
UD
413142011-04-21 Ulrich Drepper <drepper@gmail.com>
41315
41316 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41317 problem in reallocation in last patch.
41318
877175d8
UD
413192011-04-20 Ulrich Drepper <drepper@gmail.com>
41320
41321 * sunrpc/Makefile: Move inclusion of Rules.
41322
ab8eed78
UD
413232011-04-19 Ulrich Drepper <drepper@gmail.com>
41324
41325 * nss/nss_files/files-initgroups.c: New file.
41326 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41327 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41328 _nss_files_initgroups_dyn.
41329
e3d8f584
RS
413302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41331
41332 * elf/elf.h (R_ARM_IRELATIVE): Define.
41333
af190f45
UD
413342011-04-19 Ulrich Drepper <drepper@gmail.com>
41335
41336 * po/ru.po: Update from translation team.
41337
53cf59ef
UD
413382011-04-17 Ulrich Drepper <drepper@gmail.com>
41339
41340 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41341 dependencies.
41342
4c559bcd
MF
413432011-02-06 Mike Frysinger <vapier@gentoo.org>
41344
41345 [BZ #12653]
41346 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41347 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41349 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41350 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41351
4420675c
AS
413522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41353
41354 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41355 differing bytes.
41356 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41357 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41358 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41359
75ea32ab
UD
413602011-04-17 Ulrich Drepper <drepper@gmail.com>
41361
41362 [BZ #12420]
41363 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41364 storing it.
41365 * stdlib/bug-getcontext.c: New file.
41366 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41367
27390476
AK
413682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41369
41370 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41371 instructions into .machine "z9-109".
41372 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41373 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41374
10442705
AK
413752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41376
41377 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41378 between environment variables and auxiliary vector.
41379
7b57bfe5
UD
413802011-04-16 Ulrich Drepper <drepper@gmail.com>
41381
41382 * Makefile: Add rules to build linkobj/libc.so.
41383 * include/libc-symbols.h: Define libc_hidden_nolink.
41384 * include/rpc/auth.h: Mark functions which are to be hidden.
41385 * include/rpc/auth_des.h: Likewise.
41386 * include/rpc/auth_unix.h: Likewise.
41387 * include/rpc/clnt.h: Likewise.
41388 * include/rpc/des_crypt.h: Likewise.
41389 * include/rpc/key_prot.h: Likewise.
41390 * include/rpc/pmap_clnt.h: Likewise.
41391 * include/rpc/pmap_prot.h: Likewise.
41392 * include/rpc/pmap_rmt.h: Likewise.
41393 * include/rpc/rpc_msg.h: Likewise.
41394 * include/rpc/svc.h: Likewise.
41395 * include/rpc/svc_auth.h: Likewise.
41396 * include/rpc/xdr.h: Likewise.
41397 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41398 * nss/Makefile: Likewise.
41399 * sunrpc/Makefile: Don't install headers. Build library with normal
41400 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41401 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41402 for the compat linking library. Remove use of INTDEF/INTUSE.
41403 * sunrpc/auth_none.c: Likewise.
41404 * sunrpc/auth_unix.c: Likewise.
41405 * sunrpc/authdes_prot.c: Likewise.
41406 * sunrpc/authuxprot.c: Likewise.
41407 * sunrpc/clnt_gen.c: Likewise.
41408 * sunrpc/clnt_perr.c: Likewise.
41409 * sunrpc/clnt_raw.c: Likewise.
41410 * sunrpc/clnt_simp.c: Likewise.
41411 * sunrpc/clnt_tcp.c: Likewise.
41412 * sunrpc/clnt_udp.c: Likewise.
41413 * sunrpc/clnt_unix.c: Likewise.
41414 * sunrpc/des_crypt.c: Likewise.
41415 * sunrpc/des_soft.c: Likewise.
41416 * sunrpc/get_myaddr.c: Likewise.
41417 * sunrpc/key_call.c: Likewise.
41418 * sunrpc/key_prot.c: Likewise.
41419 * sunrpc/netname.c: Likewise.
41420 * sunrpc/pm_getmaps.c: Likewise.
41421 * sunrpc/pm_getport.c: Likewise.
41422 * sunrpc/pmap_clnt.c: Likewise.
41423 * sunrpc/pmap_prot.c: Likewise.
41424 * sunrpc/pmap_prot2.c: Likewise.
41425 * sunrpc/pmap_rmt.c: Likewise.
41426 * sunrpc/publickey.c: Likewise.
41427 * sunrpc/rpc_cmsg.c: Likewise.
41428 * sunrpc/rpc_common.c: Likewise.
41429 * sunrpc/rpc_dtable.c: Likewise.
41430 * sunrpc/rpc_prot.c: Likewise.
41431 * sunrpc/rpc_thread.c: Likewise.
41432 * sunrpc/rtime.c: Likewise.
41433 * sunrpc/svc.c: Likewise.
41434 * sunrpc/svc_auth.c: Likewise.
41435 * sunrpc/svc_authux.c: Likewise.
41436 * sunrpc/svc_raw.c: Likewise.
41437 * sunrpc/svc_run.c: Likewise.
41438 * sunrpc/svc_simple.c: Likewise.
41439 * sunrpc/svc_tcp.c: Likewise.
41440 * sunrpc/svc_udp.c: Likewise.
41441 * sunrpc/svc_unix.c: Likewise.
41442 * sunrpc/svcauth_des.c: Likewise.
41443 * sunrpc/xcrypt.c: Likewise.
41444 * sunrpc/xdr.c: Likewise.
41445 * sunrpc/xdr_array.c: Likewise.
41446 * sunrpc/xdr_float.c: Likewise.
41447 * sunrpc/xdr_intXX_t.c: Likewise.
41448 * sunrpc/xdr_mem.c: Likewise.
41449 * sunrpc/xdr_rec.c: Likewise.
41450 * sunrpc/xdr_ref.c: Likewise.
41451 * sunrpc/xdr_sizeof.c: Likewise.
41452 * sunrpc/xdr_stdio.c: Likewise.
41453
e6c61494
UD
414542011-04-10 Ulrich Drepper <drepper@gmail.com>
41455
41456 [BZ #12650]
41457 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41458 * sysdeps/ia64/dl-tls.h: Likewise.
41459 * sysdeps/powerpc/dl-tls.h: Likewise.
41460 * sysdeps/s390/dl-tls.h: Likewise.
41461 * sysdeps/sh/dl-tls.h: Likewise.
41462 * sysdeps/sparc/dl-tls.h: Likewise.
41463 * sysdeps/x86_64/dl-tls.h: Likewise.
41464 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41465
34fe483e
AS
414662011-03-14 Andreas Schwab <schwab@redhat.com>
41467
41468 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41469 rpath element also skip the following colon.
41470 (expand_dynamic_string_token): Add is_path parameter and pass
41471 down to DL_DST_REQUIRED and _dl_dst_substitute.
41472 (decompose_rpath): Call expand_dynamic_string_token with
41473 non-zero is_path. Ignore empty rpaths.
41474 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41475 with zero is_path.
41476
f12a32e6
AS
414772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41478
41479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41480 Make cancelable.
41481
38a7d692
UD
414822011-04-09 Ulrich Drepper <drepper@gmail.com>
41483
41484 [BZ #12655]
41485 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41486 Patch by Filipe David Manana <fdmanana@apache.org>.
41487
e451d22b
AS
414882011-04-07 Andreas Schwab <schwab@redhat.com>
41489
41490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41491 Maintain aligned stack.
41492 (CHECK_RSP): Remove unused macro.
41493
dedc7c7b
UD
414942011-04-03 Ulrich Drepper <drepper@gmail.com>
41495
41496 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41497 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41498
94521213
UD
414992011-04-02 Ulrich Drepper <drepper@gmail.com>
41500
41501 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41502
8cb700c0 41503 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41504
0354e355
L
415052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41506
41507 [BZ #12518]
41508 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41509 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41510 * sysdeps/x86_64/memmove.c: New file.
41511 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41512 (memcpy): Renamed to ...
41513 (__new_memcpy): This.
41514 (memcpy): Provide GLIBC_2_14 memcpy.
41515 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41516 (memcpy): Provide GLIBC_2_2_5 memcpy.
41517
8593482f
UD
415182011-04-01 Ulrich Drepper <drepper@gmail.com>
41519
41520 [BZ #12631]
41521 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41522
81a5726b
AS
415232011-03-30 Andreas Schwab <schwab@redhat.com>
41524
41525 * misc/syncfs.c: New file.
41526 * misc/Makefile (routines): Add syncfs.
41527 * posix/unistd.h: Declare syncfs.
41528 * sysdeps/unix/syscalls.list: Add syncfs.
41529
00e5419f
AS
415302011-04-01 Andreas Schwab <schwab@redhat.com>
41531
41532 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41533 open_by_handle_at.
41534 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41535 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41537 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41539 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41541
748876bf
UD
415422011-04-01 Ulrich Drepper <drepper@gmail.com>
41543
658e451d
UD
41544 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41545 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41546 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41547 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41548 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41550 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41551
748876bf
UD
41552 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41553 sync_file_range.c with -fexceptions.
41554 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41555 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41556 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41557 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41558 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41559 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41560 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41561 sync_file_range as cancellation point
41562 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41563 now a wrapper around __call_sync_file_range with cancellation handling.
41564 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41565 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41566 function name to __call_sync_file_range.
41567 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41568 Add call_sync_file_range.
748876bf 41569
6e63d5e1
AS
415702011-04-01 Andreas Schwab <schwab@redhat.com>
41571
41572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41573 bits/timex.h.
6e63d5e1 41574
46998f74
UD
415752011-04-01 Ulrich Drepper <drepper@gmail.com>
41576
4c1423ed
UD
41577 * iconv/iconv.h: Fix typo in comment.
41578 * io/fcntl.h: Likewise.
41579 * libio/stdio.h: Likewise.
41580 * posix/spawn.h: Likewise.
41581 * posix/unistd.h: Likewise.
41582 * stdlib/stdlib.h: Likewise.
41583 * time/time.h: Likewise.
41584 * wcsmbs/wchar.h: Likewise.
41585
158648c0
UD
41586 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41587 open_by_handle): Add.
41588 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41589 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41590 Augment a few comments.
41591 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41596 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41597 open_by_handle.
41598
46998f74
UD
41599 * io/fcntl.h (AT_EMPTY_PATH): Define.
41600
83fe108b
UD
416012011-03-30 Ulrich Drepper <drepper@gmail.com>
41602
41603 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41604 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41605 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41606 to...
41607 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41608 * Versions.def: Add GLIBC_2.14.
41609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41610 Export.
83fe108b 41611
bb242059
UD
416122011-03-22 Ulrich Drepper <drepper@gmail.com>
41613
41614 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41615 round counter.
41616 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41617
c97a1282
L
416182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41619
41620 [BZ #12597]
41621 * string/test-strncmp.c (do_page_test): New function.
41622 (check2): Likewise.
41623 (test_main): Call check2.
41624 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41625
2a115601
UD
416262011-03-20 Ulrich Drepper <drepper@gmail.com>
41627
41628 [BZ #12587]
41629 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41630 Handle cache information in CPU leaf 4.
41631 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41632
8126d904
UD
416332011-03-18 Ulrich Drepper <drepper@gmail.com>
41634
042c49c6 41635 [BZ #12583]
8126d904
UD
41636 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41637 character representation.
41638 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41639
ccfe366e
RA
416402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41641
41642 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41643 END(__isnan) to END(__isnanf) to match function entry point/label
41644 EALIGN(__isnanf,...).
41645
c6e13027
JJ
416462011-03-10 Jakub Jelinek <jakub@redhat.com>
41647
41648 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41649
33f85a3f
UD
416502011-03-10 Ulrich Drepper <drepper@gmail.com>
41651
028478fa
UD
41652 [BZ #12510]
41653 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41654 copy from the symbol referenced in the relocation to initialize the
41655 used variable.
41656 Patch by Piotr Bury <pbury@goahead.com>.
41657 * elf/Makefile: Add rules to build and tst-unique3.
41658 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41659 * elf/tst-unique3.cc: New file.
41660 * elf/tst-unique3.h: New file.
41661 * elf/tst-unique3lib.cc: New file.
41662 * elf/tst-unique3lib2.cc: New file.
41663
33f85a3f
UD
41664 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41665
03592fc7
MF
416662011-03-10 Mike Frysinger <vapier@gentoo.org>
41667
41668 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41669 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41670 to _start.
03592fc7 41671
6a5ee102
UD
416722011-03-06 Ulrich Drepper <drepper@gmail.com>
41673
41674 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41675 to-be-loaded object along a path to loader is ld.so.
41676
7e4ba49c
HJ
416772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41678 Ulrich Drepper <drepper@gmail.com>
41679
41680 * sysdeps/x86_64/memset.S: After aligning destination, code
41681 branches to different locations depending on the value of
41682 misalignment, when multiarch is enabled. Fix this.
41683
416842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41685
41686 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41687 Set _x86_64_preferred_memory_instruction for AMD processsors.
41688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41689 Set bit_Prefer_SSE_for_memop for AMD processors.
41690
13a804de
UD
416912011-03-04 Ulrich Drepper <drepper@gmail.com>
41692
41693 * libio/fmemopen.c (fmemopen): Optimize a bit.
41694
9d25c392
AS
416952011-03-03 Andreas Schwab <schwab@redhat.com>
41696
41697 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41698
a5543c6a
RM
416992011-03-03 Roland McGrath <roland@redhat.com>
41700
41701 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41702
012d35f7
DM
417032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41704
7e4ba49c 41705 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41706 __bzero_ultra1 instead of __memset_ultra1.
41707
4bff6e01
AS
417082011-02-23 Andreas Schwab <schwab@redhat.com>
41709 Ulrich Drepper <drepper@gmail.com>
41710
41711 [BZ #12509]
41712 * include/link.h (struct link_map): Add l_orig_initfini.
41713 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41714 returning unsuccessfully.
41715 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41716 close of a file loaded at startup, restore the original l_initfini
41717 list.
41718 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41719 list, store the pointer.
41720 * elf/Makefile ($(objpfx)noload-mem): New rule.
41721 (noload-ENV): Define.
41722 (tests): Add $(objpfx)noload-mem.
41723 * elf/noload.c: Include <memcheck.h>.
41724 (main): Call mtrace. Close all opened handles.
41725
f2092faf
AS
417262011-02-17 Andreas Schwab <schwab@redhat.com>
41727
41728 [BZ #12454]
41729 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41730 dependencies are missing.
41731
6c8a2e88
ST
417322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41733
f2092faf 41734 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41735 Hurd needs munmap.
41736 * sysdeps/mach/hurd/ifreq.h: New file.
41737
84a42118
PB
417382011-01-27 Petr Baudis <pasky@suse.cz>
41739 Ulrich Drepper <drepper@gmail.com>
41740
071f805e 41741 [BZ 12445]#
84a42118
PB
41742 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41743 to extend_alloca().
41744 * stdio-common/bug23.c: New file.
41745 * stdio-common/Makefile (tests): Add bug23.
41746
e23fe25b
AS
417472010-09-28 Andreas Schwab <schwab@redhat.com>
41748 Ulrich Drepper <drepper@gmail.com>
41749
41750 [BZ #12489]
41751 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41752 before performing relro protection. At old place add assertion
41753 to make sure nothing changed.
41754
d3f02e10
NS
417552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41756 Glauber de Oliveira Costa <glommer@gmail.com>
41757
41758 * elf/elf.h: Add new ARM TLS relocs.
41759
d55fd7a5
RA
417602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41761
41762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41763 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41764 cast from r3.
41765 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41766 'tests' variable.
41767 * sysdeps/wordsize-64/tst-writev.c: New file.
41768
2206397e
RA
417692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41770
41771 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41772 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41773 insns in _dl_start to prevent a TOC reference before relocs are
41774 resolved.
41775
e9433893
UD
417762011-02-15 Ulrich Drepper <drepper@gmail.com>
41777
41778 [BZ #12469]
41779 * Makeconfig: Remove RANLIB definition.
41780 * Makerules: Don't use RANLIB.
41781 * aclocal.m4: Remove ranlib test.
41782 * configure.in: No need to check for ranlib.
41783 * elf/rtld-Rules: Don't use RANLIB.
41784
f75286c6
ST
417852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41786
8e31c82d
ST
41787 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41788 protection macro.
41789 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41790 inclusion protection macro.
41791
f75286c6
ST
41792 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41793 SIGRTMIN and SIGRTMAX and print information in that case only when
41794 SIGRTMIN is defined.
41795
c1d0e639
JJ
417962011-02-11 Jakub Jelinek <jakub@redhat.com>
41797
41798 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41799 arginfo fn returning -1.
41800
41801 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41802 and thousands string is zero terminated.
41803
edf9294e
AS
418042011-02-03 Andreas Schwab <schwab@redhat.com>
41805
41806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41807 sysdeps/unix/sysv/linux/bits/socket.h.
41808
2b7e92df
ST
418092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41810
edf9294e
AS
41811 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41812 (__CPU_COUNT): Remove old macros.
41813 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41814 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41815 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41816 (__sched_cpualloc, __sched_cpufree): Add declarations.
41817
a4c7ea7b
UD
418182011-02-05 Ulrich Drepper <drepper@gmail.com>
41819
41820 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41821 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41822 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41823 (readdhstai): Return value of addhstaiX call.
41824 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41825 (addgrbyX): Return value returned by cache_addgr.
41826 (readdgrbyname): Return value returned by addgrbyX.
41827 (readdgrbygid): Likewise.
41828 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41829 (addpwbyX): Return value returned by cache_addpw.
41830 (readdpwbyname): Return value returned by addhstbyX.
41831 (readdpwbyuid): Likewise.
41832 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41833 (addservbyX): Return value returned by cache_addserv.
41834 (readdservbyname): Return value returned by addservbyX:
41835 (readdservbyport): Likewise.
41836 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41837 (addhstbyX): Return value returned by cache_addhst.
41838 (readdhstbyname): Return value returned by addhstbyX.
41839 (readdhstbyaddr): Likewise.
41840 (readdhstbynamev6): Likewise.
41841 (readdhstbyaddrv6): Likewise.
41842 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41843 (readdinitgroups): Return value returned by addinitgroupsX.
41844 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41845 (prune_cache): Keep track of timeout value of re-added entries.
41846 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41847 * nscd/nscd.h: Adjust prototypes of readd* functions.
41848
a0bf67cc
RM
418492011-02-04 Roland McGrath <roland@redhat.com>
41850
41851 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41852 (nis_stats): Likewise.
41853 * nis/nis_modify.c (nis_modify): Likewise.
41854 * nis/nis_remove.c (nis_remove): Likewise.
41855 * nis/nis_add.c (nis_add): Likewise.
41856
41857 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41858
41859 * posix/fnmatch_loop.c: Add some consts.
41860
41861 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41862
435b95eb
L
418632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41864
41865 [BZ #12460]
41866 * config.make.in (config-cflags-novzeroupper): Define.
41867 * configure.in: Substitute libc_cv_cc_novzeroupper.
41868 * elf/Makefile (AVX-CFLAGS): Define.
41869 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41870 (CFLAGS-tst-auditmod4a.c): Likewise.
41871 (CFLAGS-tst-auditmod4b.c): Likewise.
41872 (CFLAGS-tst-auditmod6b.c): Likewise.
41873 (CFLAGS-tst-auditmod6c.c): Likewise.
41874 (CFLAGS-tst-auditmod7b.c): Likewise.
41875 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41876
8517b15e
UD
418772011-02-02 Ulrich Drepper <drepper@gmail.com>
41878
41879 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41880 function to the callback.
41881 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41882
10a656fe
AS
418832011-02-02 Andreas Schwab <schwab@redhat.com>
41884
41885 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41886 of errno.
41887
968dad0a
UD
418882011-01-19 Ulrich Drepper <drepper@gmail.com>
41889
9f94d2ea 41890 [BZ #11724]
968dad0a
UD
41891 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41892 of constructors.
41893 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41894 of destructors.
41895 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41896
41897 [BZ #11724]
41898 * elf/Makefile: Add rules to build and run new test.
41899 * elf/tst-initorder.c: New file.
41900 * elf/tst-initorder.exp: New file.
41901 * elf/tst-initordera1.c: New file.
41902 * elf/tst-initordera2.c: New file.
41903 * elf/tst-initordera3.c: New file.
41904 * elf/tst-initordera4.c: New file.
41905 * elf/tst-initorderb1.c: New file.
41906 * elf/tst-initorderb2.c: New file.
41907 * elf/tst-order-a1.c: New file.
41908 * elf/tst-order-a2.c: New file.
41909 * elf/tst-order-a3.c: New file.
41910 * elf/tst-order-a4.c: New file.
41911 * elf/tst-order-b1.c: New file.
41912 * elf/tst-order-b2.c: New file.
41913 * elf/tst-order-main.c: New file.
41914 New test case by George Gensure <werkt0@gmail.com>.
41915
86e92359
UD
419162010-10-01 Andreas Schwab <schwab@redhat.com>
41917
41918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41919 decoding ACE if AI_CANONIDN.
41920
5d5732b0
UD
419212011-01-18 Ulrich Drepper <drepper@gmail.com>
41922
41923 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41924
a77e8cbc
UD
419252011-01-17 Ulrich Drepper <drepper@gmail.com>
41926
6392473f
UD
41927 * version.h (RELEASE): Bump for 2.13 release.
41928 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41929
620a0529
UD
41930 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41931
18ba70a5
UD
41932 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41933 MADV_NOHUGEPAGE.
32465c3e
UD
41934 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41936 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41937 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41938 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41939 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41940
c0dafcf1
UD
41941 * posix/getconf.c: Update copyright year.
41942 * catgets/gencat.c: Likewise.
41943 * csu/version.c: Likewise.
41944 * debug/catchsegv.sh: Likewise.
41945 * debug/xtrace.sh: Likewise.
41946 * elf/ldconfig.c: Likewise.
41947 * elf/ldd.bash.in: Likewise.
41948 * elf/sprof.c (print_version): Likewise.
41949 * iconv/iconv_prog.c: Likewise.
41950 * iconv/iconvconfig.c: Likewise.
41951 * locale/programs/locale.c: Likewise.
41952 * locale/programs/localedef.c: Likewise.
41953 * malloc/memusage.sh: Likewise.
41954 * malloc/mtrace.pl: Likewise.
41955 * nscd/nscd.c (print_version): Likewise.
41956 * nss/getent.c: Likewise.
41957
a77e8cbc
UD
41958 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41959 PF_CAIF, and PF_ALG.
41960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41961
77e8bddf
AS
419622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41963
1f20b93a
AS
41964 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41965 (modules-names): Use them.
41966 (ifunc-test-modules, ifunc-pie-tests): Define.
41967 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41968 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41969 (test-extras): Likewise.
41970 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41971 $(compile-command.c).
41972 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41973 (all-built-dso): Define.
41974 (check-textrel.out, check-execstack.out): Depend on it.
41975
77e8bddf
AS
41976 * configure.in: Don't override --enable-multi-arch.
41977
bc425b33
UD
419782011-01-15 Ulrich Drepper <drepper@gmail.com>
41979
41980 [BZ #6812]
41981 * nscd/hstcache.c (tryagain): Define.
41982 (cache_addhst): Return tryagain not notfound for temporary errors.
41983 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41984 failed.
41985
794c3ad3
UD
419862011-01-14 Ulrich Drepper <drepper@gmail.com>
41987
70181fdd
UD
41988 [BZ #10563]
41989 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41990 to make the syscall.
41991 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41992
794c3ad3
UD
41993 [BZ #12378]
41994 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41995 and fall back to matching as normal character if the string ends before
41996 the matching ']' is found. This is what POSIX requires.
41997 * posix/testfnm.c: Adjust test result.
41998 * posix/globtest.sh: Adjust test result. Add new test.
41999 * posix/tst-fnmatch.input: Likewise.
42000 * posix/tst-fnmatch2.c: Add new test.
42001
68dc9497
AS
420022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42003
42004 * elf/Makefile (check-execstack): Revert last change. Depend on
42005 check-execstack.h.
42006 (check-execstack.h): New target.
42007 (generated): Add check-execstack.h.
42008 * elf/check-execstack.c: Include "check-execstack.h".
42009 (main): Revert last change.
42010 (handle_file): Return zero if GNU_STACK is absent and
42011 DEFAULT_STACK_PERMS doesn't include PF_X.
42012
451f001b
UD
420132011-01-13 Ulrich Drepper <drepper@gmail.com>
42014
cfa28e56
UD
42015 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42016 in child fails because the descriptor is already closed.
8cf8ce17
UD
42017 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42018 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42019 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42020
1086d70d
UD
42021 [BZ #12397]
42022 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42023 syscall.
42024
451f001b
UD
42025 [BZ #10484]
42026 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42027 temporary buffer used to handle multi lookups locally.
a85b5cb4 42028 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42029
08769175
UD
420302011-01-12 Ulrich Drepper <drepper@gmail.com>
42031
42032 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42033 loader is ld.so.
42034
5e49c52e
UD
420352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42036
42037 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42038 alignment for SSE2.
42039
60522a5f
UD
420402011-01-12 Ulrich Drepper <drepper@gmail.com>
42041
42042 [BZ #12394]
42043 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42044 characters. When rounding increased number of integer digits recompute
42045 number of groups.
42046 * stdio-common/tst-grouping.c: New file.
42047 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42048
f257bbd7
UD
420492011-01-09 Ulrich Drepper <drepper@gmail.com>
42050
42051 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42052 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42053
42054 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42055 void.
42056 * bits/select.h: Likewise.
42057
fa9c15cb
UD
420582011-01-08 Ulrich Drepper <drepper@gmail.com>
42059
42060 * po/ja.po: Update from translation team.
42061
16c2895f
DM
420622011-01-04 David S. Miller <davem@sunset.davemloft.net>
42063
42064 [BZ #11155]
42065 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42066 implementation just like for lxstat, fxstatat, et al.
42067
2543fef2
JM
420682010-12-27 Jim Meyering <meyering@redhat.com>
42069
42070 [BZ #12348]
42071 * posix/regexec.c (build_trtable): Return failure indication upon
42072 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42073
98727dbe
UD
420742010-12-25 Ulrich Drepper <drepper@gmail.com>
42075
5bd6dc5c
UD
42076 [BZ #12201]
42077 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42078 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42079 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42080 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42081
97983464
UD
42082 [BZ #12207]
42083 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42084
98727dbe
UD
42085 [BZ #12204]
42086 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42087 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42088
4a531bb0
L
420892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42090
42091 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42092 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42093 script has SORT_BY_INIT_PRIORITY.
42094 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42095 NO_CTORS_DTORS_SECTIONS is defined.
42096 * elf/soinit.c: Likewise.
42097 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42098 NO_CTORS_DTORS_SECTIONS is defined.
42099 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42100 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42101 * sysdeps/sh/init-first.c: Likewise.
42102 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42103
07eb4b71
UD
421042010-12-24 Ulrich Drepper <drepper@gmail.com>
42105
42106 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42107 always use the slow path.
42108
30950a5f
RA
421092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42110
42111 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42112 similar rule which adds the sysdep directories to the header search in
42113 order to pick up the correct platform stackinfo.h.
42114 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42115 perform test if it is, otherwise return successfully without testing.
42116 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42117 DEFAULT_STACK_PERMS define in stackinfo.h.
42118 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42119 defined in stackinfo.h.
42120 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42121 DEFAULT_STACK_PERMS defined in stackinfo.h.
42122 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42123 * sysdeps/ia64/stackinfo.h: Likewise.
42124 * sysdeps/s390/stackinfo.h: Likewise.
42125 * sysdeps/sh/stackinfo.h: Likewise.
42126 * sysdeps/sparc/stackinfo.h: Likewise.
42127 * sysdeps/x86_64/stackinfo.h: Likewise.
42128 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42129 PF_X for powerpc64. Retain PF_X for powerpc32.
42130
db753e2c
UD
421312010-12-19 Ulrich Drepper <drepper@gmail.com>
42132
14b697f7
UD
42133 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42134 accurately.
db753e2c
UD
42135 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42136 GETDENTS_64BIT_ALIGNED.
42137
28300719
UD
421382010-12-14 Ulrich Drepper <dreper@gmail.com>
42139
14b697f7 42140 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42141
4f197237
AS
421422010-12-10 Andreas Schwab <schwab@redhat.com>
42143
dbb0472f
AS
42144 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42145 _GNU_SOURCE.
42146
4f197237
AS
42147 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42148 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42149 Remove __restrict.
42150 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42151 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42152
fb88ac72
UD
421532010-12-09 Ulrich Drepper <drepper@gmail.com>
42154
42155 [BZ #11655]
42156 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42157 are initialized.
42158
42acbb92
JJ
421592010-12-09 Jakub Jelinek <jakub@redhat.com>
42160
42161 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42162
c038d98d
UD
421632010-12-03 Ulrich Drepper <drepper@gmail.com>
42164
42165 * po/it.po: Update from translation team.
42166
3a4a2499
L
421672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42168
42169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42170 unused codes.
42171
1e24cf6e
UD
421722010-11-30 Ulrich Drepper <drepper@gmail.com>
42173
42174 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42175
a7690819
AS
421762010-11-24 Andreas Schwab <schwab@redhat.com>
42177
42178 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42179 specially.
42180 (gaih_getanswer_slice): Likewise.
42181
3bf8d1b1
JJ
421822010-10-20 Jakub Jelinek <jakub@redhat.com>
42183
42184 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42185
6db52fbb
PB
421862010-05-31 Petr Baudis <pasky@suse.cz>
42187
42188 [BZ #11149]
42189 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42190 silently even in the chroot mode.
42191
eaca7569
UD
421922010-11-22 Ulrich Drepper <drepper@gmail.com>
42193
42194 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42195 last patch a bit. Pretty printing
42196
3056dcdb
UD
421972010-05-31 Petr Baudis <pasky@suse.cz>
42198
42199 [BZ #10085]
42200 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42201 initialization of skip_initgroups_dyn.
42202
cf7c9078
UD
422032010-11-19 Ulrich Drepper <drepper@gmail.com>
42204
42205 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42206 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42207
a1fb5e3e
UD
422082010-11-16 Ulrich Drepper <drepper@gmail.com>
42209
42210 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42211
3540d66b
AS
422122010-11-11 Andreas Schwab <schwab@redhat.com>
42213
42214 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42215 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42216 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42217 ($(objpfx)tst-fnmatch-mem): New rule.
42218 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42219 * posix/tst-fnmatch.c (main): Call mtrace.
42220
13b69574
L
422212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42222
42223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42224 Support Intel processor model 6 and model 0x2c.
42225
da93d214
LM
422262010-11-10 Luis Machado <luisgpm@br.ibm.com>
42227
42228 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42229 signed comparison.
42230
8ca52c6e
L
422312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42232
42233 [BZ #12205]
42234 * string/test-strncasecmp.c (check_result): New function.
42235 (do_one_test): Use it.
42236 (check1): New function.
42237 (test_main): Use it.
42238 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42239 Support strcasecmp and strncasecmp.
42240
69da074d
UD
422412010-11-08 Ulrich Drepper <drepper@gmail.com>
42242
42243 [BZ #12194]
42244 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42245 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42246
ff02d528
L
422472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42248
42249 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42250 IFUNC support.
42251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42252 memset-x86-64.
42253 * sysdeps/x86_64/multiarch/bzero.S: New file.
42254 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42255 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42256 * sysdeps/x86_64/multiarch/memset.S: New file.
42257 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42259 Set bit_Prefer_SSE_for_memop for Intel processors.
42260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42261 Define.
42262 (index_Prefer_SSE_for_memop): Define.
42263 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42264
344d0b54
LM
422652010-11-04 Luis Machado <luisgpm@br.ibm.com>
42266
42267 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42268 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42269
c0dde15b
UD
422702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42271
42272 [BZ #12191]
42273 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42274 (__x86_64_raw_data_cache_size_half): Likewise.
42275 (__x86_64_raw_shared_cache_size): Likewise.
42276 (__x86_64_raw_shared_cache_size_half): Likewise.
42277
42278 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42279 (__x86_64_raw_data_cache_size_half): Likewise.
42280 (__x86_64_raw_shared_cache_size): Likewise.
42281 (__x86_64_raw_shared_cache_size_half): Likewise.
42282 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42283 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42284 and __x86_64_raw_shared_cache_size_half. Round
42285 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42286 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42287 to multiple of 256 bytes.
42288
0e516e0e
MS
422892010-11-03 Ulrich Drepper <drepper@gmail.com>
42290
42291 [BZ #12167]
42292 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42293 of inacessible symlinks. Verify result of symlink before returning it.
42294 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42295 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42296
0e012e87
ER
422972010-10-28 Erich Ritz <erichritz@gmail.com>
42298
42299 * math/math.h (isinf): Fix typo in comment.
42300
de0ff7bc
UD
423012010-11-01 Ulrich Drepper <drepper@gmail.com>
42302
42303 * po/da.po: Update from translation team.
42304
fa41c84d
UD
423052010-10-26 Ulrich Drepper <drepper@gmail.com>
42306
42307 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42308 is added to the list.
42309
f0967738
AK
423102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42311 Ulrich Drepper <drepper@gmail.com>
42312
42313 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42314 the global list here. Move code to...
42315 (_dl_add_to_namespace_list): ...here. New function.
42316 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42317 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42318 * elf/dl-load.c (lose): Don't remove the element from the list.
42319 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42320 (_dl_map_object): Likewise.
42321
423222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42323
42324 [BZ #12159]
42325 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42326 into all bytes of SSE register.
42327 Patch by Richard Li <richardpku@gmail.com>.
42328
f0967738 423292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42330
42331 [BZ #12140]
42332 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42333 perturbing.
42334
d0b9e94f
MB
423352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42336
42337 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42338 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42339 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42340 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42342 submachine.
42343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42344
8e9f92e9
AS
423452010-10-22 Andreas Schwab <schwab@redhat.com>
42346
42347 * include/dlfcn.h (__RTLD_SECURE): Define.
42348 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42349 mode & __RTLD_SECURE instead.
42350 (open_path): Rename preloaded parameter to secure.
42351 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42352 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42353 * elf/dl-deps.c (openaux): Likewise.
42354 * elf/rtld.c (struct map_args): Remove is_preloaded.
42355 (map_doit): Don't use it.
42356 (dl_main): Likewise.
42357 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42358 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42359
bc96fbda
AS
423602010-09-09 Andreas Schwab <schwab@redhat.com>
42361
42362 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42363 (sysd-rules-targets): Remove duplicates.
42364 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42365 rtld-%.$o dependency.
42366
22cd1c9b
AS
423672010-10-18 Andreas Schwab <schwab@redhat.com>
42368
42369 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42370 _dl_map_object do it.
42371
18edac48
UD
423722010-10-19 Ulrich Drepper <drepper@gmail.com>
42373
42374 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42375 fast fma builtins, define the macros in the C99 standard.
42376 (FP_FAST_FMAF): Likewise.
42377 (FP_FAST_FMAL): Likewise.
42378 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42379
42380 * bits/mathdef.h: Update copyright year.
42381 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42382
d2050124
MM
423832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42384
42385 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42386 builtins, define the macros in the C99 standard.
42387 (FP_FAST_FMAF): Likewise.
42388 (FP_FAST_FMAL): Likewise.
42389 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42390 multiply/add.
42391 (FP_FAST_FMAF): Likewise.
42392
475facd1
JJ
423932010-10-15 Jakub Jelinek <jakub@redhat.com>
42394
42395 [BZ #3268]
42396 * math/libm-test.inc (fma_test): Some new testcases.
42397 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42399 y and infinite z. Do multiplication by C already in long double.
42400 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42402 y and infinite z. Do bitwise or of inexact bit into u.d.
42403 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42404 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42405 * sysdeps/i386/fpu/s_fma.S: Removed.
42406 * sysdeps/i386/fpu/s_fmal.S: Removed.
42407
7c08a05c
JJ
424082010-10-16 Jakub Jelinek <jakub@redhat.com>
42409
42410 [BZ #3268]
42411 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42413 computation is not scheduled after fetestexcept. Fix value
42414 of minimum denormal long double.
42415
f3f7372d
JJ
424162010-10-14 Jakub Jelinek <jakub@redhat.com>
42417
42418 [BZ #3268]
42419 * math/libm-test.inc (fma_test): Add some more tests.
42420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42421 correctly.
42422
14d43591
AS
424232010-10-15 Andreas Schwab <schwab@redhat.com>
42424
42425 * scripts/data/localplt-s390-linux-gnu.data: New file.
42426 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42427
5e908464
JJ
424282010-10-13 Jakub Jelinek <jakub@redhat.com>
42429
42430 [BZ #3268]
42431 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42432 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42433 instead of dbl-64.
42434 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42435 inlines.
42436 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42438 if one of x and y is very large and the other is subnormal.
42439 * sysdeps/s390/fpu/s_fmaf.c: New file.
42440 * sysdeps/s390/fpu/s_fma.c: New file.
42441 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42442 * sysdeps/powerpc/fpu/s_fma.S: New file.
42443 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42444 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42445 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42446
424472010-10-12 Jakub Jelinek <jakub@redhat.com>
42448
42449 [BZ #3268]
42450 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42451 fma tests.
42452 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42453 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42454 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42455 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42456 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42457 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42459
b833d51f
UD
424602010-10-12 Ulrich Drepper <drepper@redhat.com>
42461
42462 [BZ #12078]
42463 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42464 * posix/bug-regex31.input: Add test case.
42465
1751705d
UD
424662010-10-11 Ulrich Drepper <drepper@gmail.com>
42467
e9b9cbf5
UD
42468 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42469 * posix/bug-regex31.input: New file.
42470
42471 [BZ #12078]
42472 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42473 (parse_sub_exp): Fix last change, use postorder.
42474
ef06edbe
UD
42475 * posix/bug-regex31.c: New file.
42476 * posix/Makefile: Add rules to build and run bug-regex31.
42477
a129c80d
UD
42478 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42479
42480 [BZ #12078]
42481 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42482
b76b818e
UD
42483 [BZ #12108]
42484 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42485 to have entries in sys_siglist.
42486
1751705d
UD
42487 [BZ #12093]
42488 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42489 be NULL.
42490
9ff8d36f
JJ
424912010-10-07 Jakub Jelinek <jakub@redhat.com>
42492
42493 [BZ #3268]
42494 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42495 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42496 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42497 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42498 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42499 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42500 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42501 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42502 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42503 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42504 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42505 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42506 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42507 * math/ftestexcept.c (fetestexcept): Likewise.
42508 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42509 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42510 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42511 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42512 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42513 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42514 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42515
af325969
UD
425162010-10-11 Ulrich Drepper <drepper@gmail.com>
42517
c579b202 42518 [BZ #12107]
af325969
UD
42519 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42520 newline.
42521
67a67b95
UD
425222010-10-06 Ulrich Drepper <drepper@gmail.com>
42523
42524 * string/bug-strstr1.c: New file.
42525 * string/Makefile: Add rules to build and run bug-strstr1.
42526
5fb308bc
EB
425272010-10-05 Eric Blake <eblake@redhat.com>
42528
42529 [BZ #12092]
42530 * string/str-two-way.h (two_way_long_needle): Always clear memory
42531 when skipping input due to the shift table.
42532
45db99c7
UD
425332010-10-03 Ulrich Drepper <drepper@gmail.com>
42534
3b111893
UD
42535 [BZ #12005]
42536 * malloc/mcheck.c: Handle large requests.
42537
45db99c7
UD
42538 [BZ #12077]
42539 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42540 for strncmp and strncasecmp.
42541 * string/stratcliff.c: Add tests for strcmp and strncmp.
42542 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42543
cf7a1eb8
NI
425442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42545
42546 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42547 __set_fpscr.
42548
6484ba5e
AJ
425492010-09-30 Andreas Jaeger <aj@suse.de>
42550
42551 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42552 (CGROUP_SUPER_MAGIC): Define.
42553 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42554 Handle btrfs and cgroup file systems.
42555 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42556 Likewise.
42557
91c42559
LM
425582010-09-27 Luis Machado <luisgpm@br.ibm.com>
42559
42560 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42561 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42562
87a97932
AK
425632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42564
42565 [BZ #12067]
42566 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42567 trying to locate the ELF header.
42568
c21cc9bc
AS
425692010-09-27 Andreas Schwab <schwab@redhat.com>
42570
42571 [BZ #11611]
42572 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42573 Mask out sign-bit copies when constructing f_fsid.
42574
315970f6
PB
425752010-09-24 Petr Baudis <pasky@suse.cz>
42576
42577 * debug/stack_chk_fail_local.c: Add missing licence exception.
42578 * debug/warning-nop.c: Likewise.
42579
1ac7a2c7
JM
425802010-09-15 Joseph Myers <joseph@codesourcery.com>
42581
42582 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42583 implementing getdents64 using getdents syscall, set d_type if
42584 __ASSUME_GETDENTS32_D_TYPE.
42585
56801c50
AS
425862010-09-16 Andreas Schwab <schwab@redhat.com>
42587
42588 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42589 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42590
dda51327
UD
425912010-09-21 Ulrich Drepper <drepper@redhat.com>
42592
42593 [BZ #12037]
42594 * posix/unistd.h: Undo change of feature selection for ftruncate from
42595 2010-01-11.
42596
8ffcee4a
UD
425972010-09-20 Ulrich Drepper <drepper@redhat.com>
42598
a545ecd9 42599 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42600 detection.
42601
e24f0a8b
AS
426022010-09-20 Andreas Schwab <schwab@redhat.com>
42603
42604 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42605 fanotify_mark.
42606 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42607
7291c56f
AS
426082010-09-14 Andreas Schwab <schwab@redhat.com>
42609
42610 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42611 variables after CHECK_SP call.
42612 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42613
bc5fb037
AS
426142010-09-13 Andreas Schwab <schwab@redhat.com>
42615 Ulrich Drepper <drepper@redhat.com>
42616
42617 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42618 re-relocationg ld.so.
42619 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42620 _dl_init_paths call.
42621 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42622 here anymore.
42623
e66e7419
UD
426242010-09-14 Ulrich Drepper <drepper@redhat.com>
42625
42626 * resolv/res_init.c (__res_vinit): Count the default server we added.
42627
c044aa75
CLT
426282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42629 Ulrich Drepper <drepper@redhat.com>
42630
42631 [BZ #11968]
42632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42633 (____longjmp_chk): Use %ebx for saving value across system call.
42634 Add unwind info.
42635
32cf4069
AS
426362010-09-06 Andreas Schwab <schwab@redhat.com>
42637
42638 * manual/Makefile: Don't mix pattern rules with normal rules.
42639
817328ee
AS
426402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42641
42642 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42643 operation.
42644 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42645 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42646 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42647 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42649 Likewise.
42650
29fddf61
UD
426512010-09-04 Ulrich Drepper <drepper@redhat.com>
42652
42653 [BZ #11979]
42654 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42655 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42656
0959ffc9
UD
426572010-09-02 Ulrich Drepper <drepper@redhat.com>
42658
42659 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42660 * sysdeps/x86_64/addmul_1.S: Likewise.
42661 * sysdeps/x86_64/lshift.S: Likewise.
42662 * sysdeps/x86_64/mul_1.S: Likewise.
42663 * sysdeps/x86_64/rshift.S: Likewise.
42664 * sysdeps/x86_64/sub_n.S: Likewise.
42665 * sysdeps/x86_64/submul_1.S: Likewise.
42666
ece29840
ST
426672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42668
0959ffc9
UD
42669 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42670 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42671 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42672 * bits/sched.h [__need_schedparam]
ece29840 42673 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42674 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42675 (__defined_schedparam): Define to 1.
ece29840
ST
42676 (__sched_param): New structure, identical to sched_param.
42677 (__need_schedparam): Undefine.
42678
e53a31fe
MF
426792010-08-31 Mike Frysinger <vapier@gentoo.org>
42680
fdc0c10d
MF
42681 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42682 (epoll_create1): Declare.
42683
e53a31fe
MF
42684 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42685
a726d796
AS
426862010-08-31 Andreas Schwab <schwab@redhat.com>
42687
42688 [BZ #7066]
42689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42690 shifting retval into place.
42691
2f3e3dc7
UD
426922010-09-01 Ulrich Drepper <drepper@redhat.com>
42693
f2933da9
UD
42694 * nis/rpcsvc/nis.h: Update copyright notice.
42695 * nis/rpcsvc/nis.x: Likewise.
42696 * nis/rpcsvc/nis_callback.h: Likewise.
42697 * nis/rpcsvc/nis_callback.x: Likewise.
42698 * nis/rpcsvc/nis_object.x: Likewise.
42699 * nis/rpcsvc/nis_tags.h: Likewise.
42700 * nis/rpcsvc/yp.h: Likewise.
42701 * nis/rpcsvc/yp.x: Likewise.
42702 * nis/rpcsvc/ypupd.h: Likewise.
42703 * nis/yp_xdr.c: Likewise.
42704 * nis/ypupdate_xdr.c: Likewise.
42705
2f3e3dc7
UD
42706 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42707 mainly the body of pmap_getport. Add parameters to specify timeouts.
42708 (pmap_getport): Use __libc_rpc_getport.
42709 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42710 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42711 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42712
f3dcc2f9
AS
427132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42714
42715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42716 fanotify_mark.
42717
6d34eb5b
RM
427182010-08-27 Roland McGrath <roland@redhat.com>
42719
42720 * sysdeps/i386/i686/multiarch/Makefile
42721 (CFLAGS-varshift.c): New variable.
42722
9ea3de11
UD
427232010-08-27 Ulrich Drepper <drepper@redhat.com>
42724
c96d23fc
UD
42725 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42726 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42727
9ea3de11
UD
42728 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42729
42730 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42731
623aac7f
L
427322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42733
42734 * sysdeps/x86_64/strlen.S: Unroll the loop.
42735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42736 strlen-sse2 strlen-sse2-bsf.
42737 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42738 __strlen_no_bsf if bit_Slow_BSF is set.
42739 (__strlen_sse42): Removed.
42740 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42741 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42742
8b2b7715
RM
427432010-08-25 Roland McGrath <roland@redhat.com>
42744
42745 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42746 * sysdeps/x86_64/multiarch/varshift.c: New file.
42747 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42748 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42749 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42750 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42751
e73015f2
L
427522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42753
42754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42755 strlen-sse2 strlen-sse2-bsf.
42756 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42757 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42758 (__strlen_sse2): Removed.
42759 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42760 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42762 bit_Slow_BSF for Atom.
42763 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42764 (index_Slow_BSF): Define.
42765 (HAS_SLOW_BSF): Define.
42766
df24a73e
UD
427672010-08-25 Ulrich Drepper <drepper@redhat.com>
42768
42769 [BZ #10851]
42770 * resolv/res_init.c (__res_vinit): When no server address at all
42771 is given default to loopback.
42772
f2ac4868
RM
427732010-08-24 Roland McGrath <roland@redhat.com>
42774
09055553
RM
42775 * configure.in: Remove config-name.h generation.
42776 * configure: Regenerated.
42777 * config-name.in: File removed.
42778 * scripts/config-uname.sh: New file.
42779 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42780 ($(objdir)config-name.h): New target.
42781
f2ac4868
RM
42782 * sunrpc/rpc_parse.h: Avoid nested comment.
42783
73f27d5e
RH
427842010-08-24 Richard Henderson <rth@redhat.com>
42785 Ulrich Drepper <drepper@redhat.com>
42786 H.J. Lu <hongjiu.lu@intel.com>
42787
42788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42790 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42791 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42792 _mm_alignr_epi8 with _mm_loadu_si128.
42793 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42794 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42795 (__m128i_shift_right): Removed.
42796 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42797 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42798 * sysdeps/x86_64/multiarch/varshift.h: New file.
42799 * sysdeps/x86_64/multiarch/varshift.S: New file.
42800
84b9230c
MF
428012010-08-21 Mike Frysinger <vapier@gentoo.org>
42802
42803 * configure.in: Move assembler checks to before sysdep dir checking.
42804
9bbd0ddc
PB
428052010-08-20 Petr Baudis <pasky@suse.cz>
42806
42807 * LICENSES: Sync the sunrpc license.
42808
9da4bb31
UD
428092010-08-19 Ulrich Drepper <drepper@redhat.com>
42810
a7ab6ec8
UD
42811 * sunrpc/auth_des.c: Update copyright notice once again.
42812 * sunrpc/auth_none.c: Likewise.
42813 * sunrpc/auth_unix.c: Likewise.
42814 * sunrpc/authdes_prot.c: Likewise.
42815 * sunrpc/authuxprot.c: Likewise.
42816 * sunrpc/bindrsvprt.c: Likewise.
42817 * sunrpc/clnt_gen.c: Likewise.
42818 * sunrpc/clnt_perr.c: Likewise.
42819 * sunrpc/clnt_raw.c: Likewise.
42820 * sunrpc/clnt_simp.c: Likewise.
42821 * sunrpc/clnt_tcp.c: Likewise.
42822 * sunrpc/clnt_udp.c: Likewise.
42823 * sunrpc/clnt_unix.c: Likewise.
42824 * sunrpc/des_crypt.c: Likewise.
42825 * sunrpc/des_soft.c: Likewise.
42826 * sunrpc/get_myaddr.c: Likewise.
42827 * sunrpc/getrpcport.c: Likewise.
42828 * sunrpc/key_call.c: Likewise.
42829 * sunrpc/key_prot.c: Likewise.
42830 * sunrpc/openchild.c: Likewise.
42831 * sunrpc/pm_getmaps.c: Likewise.
42832 * sunrpc/pm_getport.c: Likewise.
42833 * sunrpc/pmap_clnt.c: Likewise.
42834 * sunrpc/pmap_prot.c: Likewise.
42835 * sunrpc/pmap_prot2.c: Likewise.
42836 * sunrpc/pmap_rmt.c: Likewise.
42837 * sunrpc/rpc/auth.h: Likewise.
42838 * sunrpc/rpc/auth_unix.h: Likewise.
42839 * sunrpc/rpc/clnt.h: Likewise.
42840 * sunrpc/rpc/des_crypt.h: Likewise.
42841 * sunrpc/rpc/key_prot.h: Likewise.
42842 * sunrpc/rpc/netdb.h: Likewise.
42843 * sunrpc/rpc/pmap_clnt.h: Likewise.
42844 * sunrpc/rpc/pmap_prot.h: Likewise.
42845 * sunrpc/rpc/pmap_rmt.h: Likewise.
42846 * sunrpc/rpc/rpc.h: Likewise.
42847 * sunrpc/rpc/rpc_des.h: Likewise.
42848 * sunrpc/rpc/rpc_msg.h: Likewise.
42849 * sunrpc/rpc/svc.h: Likewise.
42850 * sunrpc/rpc/svc_auth.h: Likewise.
42851 * sunrpc/rpc/types.h: Likewise.
42852 * sunrpc/rpc/xdr.h: Likewise.
42853 * sunrpc/rpc_clntout.c: Likewise.
42854 * sunrpc/rpc_cmsg.c: Likewise.
42855 * sunrpc/rpc_common.c: Likewise.
42856 * sunrpc/rpc_cout.c: Likewise.
42857 * sunrpc/rpc_dtable.c: Likewise.
42858 * sunrpc/rpc_hout.c: Likewise.
42859 * sunrpc/rpc_main.c: Likewise.
42860 * sunrpc/rpc_parse.c: Likewise.
42861 * sunrpc/rpc_parse.h: Likewise.
42862 * sunrpc/rpc_prot.c: Likewise.
42863 * sunrpc/rpc_sample.c: Likewise.
42864 * sunrpc/rpc_scan.c: Likewise.
42865 * sunrpc/rpc_scan.h: Likewise.
42866 * sunrpc/rpc_svcout.c: Likewise.
42867 * sunrpc/rpc_tblout.c: Likewise.
42868 * sunrpc/rpc_util.c: Likewise.
42869 * sunrpc/rpc_util.h: Likewise.
42870 * sunrpc/rpcinfo.c: Likewise.
42871 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42872 * sunrpc/rpcsvc/key_prot.x: Likewise.
42873 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42874 * sunrpc/rpcsvc/mount.x: Likewise.
42875 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42876 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42877 * sunrpc/rpcsvc/rex.x: Likewise.
42878 * sunrpc/rpcsvc/rstat.x: Likewise.
42879 * sunrpc/rpcsvc/rusers.x: Likewise.
42880 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42881 * sunrpc/rpcsvc/spray.x: Likewise.
42882 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42883 * sunrpc/rtime.c: Likewise.
42884 * sunrpc/svc.c: Likewise.
42885 * sunrpc/svc_auth.c: Likewise.
42886 * sunrpc/svc_authux.c: Likewise.
42887 * sunrpc/svc_raw.c: Likewise.
42888 * sunrpc/svc_run.c: Likewise.
42889 * sunrpc/svc_simple.c: Likewise.
42890 * sunrpc/svc_tcp.c: Likewise.
42891 * sunrpc/svc_udp.c: Likewise.
42892 * sunrpc/svc_unix.c: Likewise.
42893 * sunrpc/svcauth_des.c: Likewise.
42894 * sunrpc/xcrypt.c: Likewise.
42895 * sunrpc/xdr.c: Likewise.
42896 * sunrpc/xdr_array.c: Likewise.
42897 * sunrpc/xdr_float.c: Likewise.
42898 * sunrpc/xdr_mem.c: Likewise.
42899 * sunrpc/xdr_rec.c: Likewise.
42900 * sunrpc/xdr_ref.c: Likewise.
42901 * sunrpc/xdr_sizeof.c: Likewise.
42902 * sunrpc/xdr_stdio.c: Likewise.
42903
9da4bb31
UD
42904 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42905 handling.
42906
bdaa77bc
AS
429072010-08-19 Andreas Schwab <schwab@redhat.com>
42908
42909 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42910
fe2f79db
LM
429112010-08-19 Luis Machado <luisgpm@br.ibm.com>
42912
42913 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42914 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42915 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42916 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42917 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42918 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42919 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42920 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42922 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42923 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42924 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42925 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42926 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42927
b9b42ee0
AB
429282010-07-26 Anton Blanchard <anton@samba.org>
42929
42930 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42931 * malloc/arena.c (heap_trim): Likewise.
42932
1c06ba31
UD
429332010-08-16 Ulrich Drepper <drepper@redhat.com>
42934
42935 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42936 here. Not...
42937 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42938 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42939
f8392f40
L
429402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42941
42942 * sysdeps/i386/elf/Makefile: New file.
42943
3162f12e
AS
429442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42945
42946 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42947 from fanotify_init.
42948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42950
28c90b2c
UD
429512010-08-15 Ulrich Drepper <drepper@redhat.com>
42952
42953 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42954 of strncasecmp_l.
1feccb6c 42955 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42956
ca6bb004
UD
429572010-08-14 Ulrich Drepper <drepper@redhat.com>
42958
e9f82e0d
UD
42959 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42960 strncase_l-nonascii.
42961 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42962 Add strncase_l-ssse3.
42963 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42964 * sysdeps/x86_64/strcmp.S: Likewise.
42965 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42966 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42967 * sysdeps/x86_64/strncase.S: New file.
42968 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42969 * sysdeps/x86_64/strncase_l.S: New file.
42970 * string/Makefile (strop-tests): Add strncasecmp.
42971 * string/test-strncasecmp.c: New file.
42972
42973 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42974 warning.
42975
ca6bb004
UD
42976 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42977 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42978
052fa7b3
AS
429792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42980
42981 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42982
962dba78
UD
429832010-08-12 Ulrich Drepper <drepper@redhat.com>
42984
42985 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42986 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42987 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42988
bebff237
AM
429892010-05-01 Alan Modra <amodra@gmail.com>
42990
42991 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42992 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42993 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42994 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42995 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42996 tidying. Don't tail-call __sigjmp_save for static lib.
42997 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42998 save location.
42999 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43000 (CALL_MCOUNT): Add eh info, and nop after bl.
43001 (TAIL_CALL_SYSCALL_ERROR): New macro.
43002 (PSEUDO_RET): Use it.
43003 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43004 Correct save location of integer regs and cr.
43005 (_dl_profile_resolve): Correct cr save location. Delete nops
43006 after bl when SHARED. Reduce cfi size a little by better
43007 placement of cfi directives.
43008 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43009 make a stack frame. Instead use parm save area as a temp.
43010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43011 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43013 Don't make a stack frame for parent, use parm save area.
43014 Increase child stack frame to 112 bytes. Don't save unused reg,
43015 and adjust reg usage. Set up cfi on error recovery and
43016 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43018 (__makecontext): Add dummy nop after jump to exit.
43019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43020 Use correct parm save area and cr save, reduce stack frame.
43021 Correct cfi for possible PSEUDO_RET frame setup.
43022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43023 Branch to local label emitted by PSEUDO_RET rather than
43024 __syscall_error.
43025
02637374
AS
430262010-08-12 Andreas Schwab <schwab@redhat.com>
43027
43028 [BZ #11904]
43029 * locale/programs/locale.c (print_assignment): New function.
43030 (show_locale_vars): Use it.
43031
c3e2f19b
UD
430322010-08-11 Ulrich Drepper <drepper@redhat.com>
43033
3cdaa6ad
UD
43034 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43035 field.
43036 (struct statfs64): Likewise.
43037 (_STATFS_F_FLAGS): Define.
43038 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43039 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43040 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43041 (ST_VALID): Define locally.
43042 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43043 __statvfs_getflags, use the provided value.
43044 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43045 __ASSUME_STATFS_F_FLAGS.
43046
754f7da3
UD
43047 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43048
10b3bedc
UD
43049 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43050 Add sys/fanotify.h.
43051 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43052 fanotify_mask for GLIBC_2.13.
43053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43054 fanotify_init and fanotify_mark.
43055 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43056 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43057
c08fb0d7
UD
43058 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43059 Add prlimit.
43060 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43061 prlimit64 for GLIBC_2.13.
43062 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43063 prlimit64.
43064 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43065 syscall.
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43067 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43068 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43069 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43070 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43071 add prlimit alias.
43072 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43073
15bac72b
UD
43074 [BZ #11903]
43075 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43076 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43077
c3e2f19b
UD
43078 * nss/Makefile: Add rules to build and run tst-nss-test1.
43079 * shlib-versions: Add entry for libnss_test1.
43080 * nss/nss_test1.c: New file.
43081 * nss/tst-nss-test1.c: New file.
43082
43083 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43084 (__nss_configure_lookup): Set appropriate entry in
43085 __nss_configure_lookup to true.
43086 * nss/nsswitch.h: Define enum with indeces of databases in
43087 databases and __nss_database_custom arrays. Declare
43088 __nss_database_custom.
43089 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43090 to avoid using nscd when custom rules are installed.
43091 * nss/getXXbyYY_r.c: Likewise.
43092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43093
43094 * nss/nss_files/files-parse.c: Whitespace fixes.
43095
f15ce4d8
UD
430962010-08-09 Ulrich Drepper <drepper@redhat.com>
43097
43098 [BZ #11883]
43099 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43100 * posix/fnmatch_loop.c: Likewise.
43101
d22e4cc9
AK
431022010-07-17 Andi Kleen <ak@linux.intel.com>
43103
43104 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43105 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43106 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43107 * Versions.def [GLIBC_2.13]: Add.
43108
805bc17d
UD
431092010-08-06 Ulrich Drepper <drepper@redhat.com>
43110
43111 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43112 Also fail if tpwd after pwuid call is NULL.
43113
5a42321d
ST
431142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43115
43116 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43117 when converting to ms.
43118
fd3ebeda
ST
431192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43120
43121 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43122 EOPNOTSUPP errors with ENOTTY.
43123 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43124 EOPNOTSUPP errors with ENOTTY.
43125
73507d3a
UD
431262010-07-31 Ulrich Drepper <drepper@redhat.com>
43127
43128 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43129 Add strcasecmp_l-ssse3.
43130 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43131 strcasecmp.
43132 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43133 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43134 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43135
fe36dd02
UD
431362010-07-30 Ulrich Drepper <drepper@redhat.com>
43137
66f6765a
UD
43138 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43139
42e08a54
UD
43140 * string/Makefile (strop-tests): Add strcasecmp.
43141 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43142 strcasecmp_l-nonascii.
43143 (gen-as-const-headers): Add locale-defines.sym.
43144 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43145 * sysdeps/x86_64/strcasecmp.S: New file.
43146 * sysdeps/x86_64/strcasecmp_l.S: New file.
43147 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43148 * sysdeps/x86_64/locale-defines.sym: New file.
43149 * string/test-strcasecmp.c: New file.
43150
fe36dd02
UD
43151 * string/test-strcasestr.c: Test both ends of the range of characters.
43152 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43153
48cbc0d6
RM
431542010-07-29 Roland McGrath <roland@redhat.com>
43155
76e6d6bc 43156 [BZ #11856]
48cbc0d6
RM
43157 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43158
880113d9
UD
431592010-07-27 Ulrich Drepper <drepper@redhat.com>
43160
43161 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43162 for ld.so.
43163
deb9cabb
AS
431642010-07-27 Andreas Schwab <schwab@redhat.com>
43165
43166 * manual/memory.texi (Malloc Tunable Parameters): Document
43167 M_PERTURB.
43168
1c7570ff
RM
431692010-07-26 Roland McGrath <roland@redhat.com>
43170
43171 [BZ #11840]
43172 * configure.in (-fgnu89-inline check): Set and substitute
43173 gnu89_inline, not libc_cv_gnu89_inline.
43174 * configure: Regenerated.
43175 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43176
24fb0f88
UD
431772010-07-26 Ulrich Drepper <drepper@redhat.com>
43178
43179 * string/test-strnlen.c: New file.
43180 * string/Makefile (strop-tests): Add strnlen.
43181 * string/tester.c (test_strnlen): Add a few more test cases.
43182 * string/tst-strlen.c: Better error reporting.
43183
43184 * sysdeps/x86_64/strnlen.S: New file.
43185
8e96b93a
UD
431862010-07-24 Ulrich Drepper <drepper@redhat.com>
43187
43188 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43189 lower-latency instructions.
43190
dbc676d4
UD
431912010-07-23 Ulrich Drepper <drepper@redhat.com>
43192
43193 * string/test-strcasestr.c: New file.
43194 * string/test-strstr.c: New file.
43195 * string/Makefile (strop-tests): Add strstr and strcasestr.
43196 * string/str-two-way.h: Don't undefine MAX.
43197 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43198
f6a31e0e
AS
431992010-07-21 Andreas Schwab <schwab@redhat.com>
43200
43201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43202 strcasestr-nonascii.
43203 (CFLAGS-strcasestr-nonascii.c): Define.
43204 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43205 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43206 Remove unused attribute.
43207
5dbc3b6c
RM
432082010-07-20 Roland McGrath <roland@redhat.com>
43209
43210 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43211 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43212 ld.so.cache was broken. With it, there is no way to disable dsocaps
43213 like LD_HWCAP_MASK can disable hwcaps.
43214
23d101d8
EPM
432152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43216
43217 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43218
cc9f2e47
UD
432192010-07-16 Ulrich Drepper <drepper@redhat.com>
43220
43221 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43222 call in strcasestr.
43223 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43224 __strcasestr_sse42_nonascii.
43225 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43226 strcasestr-nonascii.c.
43227 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43228
77c1b069
LM
432292010-06-15 Luis Machado <luisgpm@br.ibm.com>
43230
43231 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43232 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43233 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43234 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43235
440566c3
UD
432362010-07-09 Ulrich Drepper <drepper@redhat.com>
43237
43238 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43239 fcntl.
43240
5be9d05d
AS
432412010-07-06 Andreas Schwab <schwab@redhat.com>
43242
c30b7ee2 43243 [BZ #11577]
5be9d05d
AS
43244 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43245 dl_signal_cerror.
43246
8a492a67
UD
432472010-07-06 Ulrich Drepper <drepper@redhat.com>
43248
43249 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43250 _PC_PIPE_BUF using F_GETPIPE_SZ.
43251
713df3d5
RM
432522010-07-05 Roland McGrath <roland@redhat.com>
43253
43254 * manual/arith.texi (Rounding Functions): Fix rint description
43255 implicit in round description.
43256
702e8f14
UD
432572010-07-02 Ulrich Drepper <drepper@redhat.com>
43258
43259 * elf/Makefile: Fix linking for a few tests to make recent linker
43260 happy.
43261
52ed8be9
AS
432622010-06-30 Andreas Schwab <schwab@redhat.com>
43263
43264 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43265 $(common-objpfx)libc_nonshared.a.
43266
f47c9a11
LM
432672010-06-21 Luis Machado <luisgpm@br.ibm.com>
43268
43269 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43270 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43271 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43272 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43273 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43274 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43275 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43276 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43291 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43292 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43293 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43294 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43295 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43296 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43297 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43298 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43299 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43300 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43301 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43302 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43317
6fb8cbcb
L
433182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43319
43320 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43321 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43322 * string/memmove.c (memmove): Renamed to ...
43323 (MEMMOVE): ...this. Default to memmove.
43324 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43325 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43326 (END_CHK): Define.
43327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43328 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43329 mempcpy-ssse3-back memmove-ssse3-back.
43330 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43331 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43332 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43333 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43334 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43335 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43336 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43337 * sysdeps/x86_64/multiarch/memmove.c: New file.
43338 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43339 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43340 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43341 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43342 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43343 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43344 Define.
43345 (index_Fast_Copy_Backward): Define.
43346 (HAS_ARCH_FEATURE): Define.
43347 (HAS_FAST_REP_STRING): Define.
43348 (HAS_FAST_COPY_BACKWARD): Define.
43349
4e733bac 433502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43351
43352 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43353 Restore proper fallback handling.
43354
63c4ed22
UD
433552010-06-19 Ulrich Drepper <drepper@redhat.com>
43356
ac2b484c
UD
43357 [BZ #11701]
43358 * posix/group_member.c (__group_member): Correct checking loop.
43359
63c4ed22
UD
43360 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43361 OOM in getpwuid_r correctly. Return error number when the caller
43362 should return, otherwise -1.
43363 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43364 call returning > 0 value.
43365 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43366
765ade4b
AS
433672010-06-07 Andreas Schwab <schwab@redhat.com>
43368
43369 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43370 libc_nonshared.a from targets in modules-names.
43371
80da2e09
KS
433722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43373
43374 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43375 requires it.
43376
158db122
LM
433772010-06-10 Luis Machado <luisgpm@br.ibm.com>
43378
43379 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43380 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43381 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43382 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43383
caa78cf8
AS
433842010-06-02 Andreas Schwab <schwab@redhat.com>
43385
43386 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43387
b2ef2c01
UD
433882010-06-14 Ulrich Drepper <drepper@redhat.com>
43389
43390 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43391 and F_GETPIPE_SZ.
43392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43396 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43397 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43398
fbd643b6
RM
433992010-06-14 Roland McGrath <roland@redhat.com>
43400
43401 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43402
f32f2869
JJ
434032010-06-07 Jakub Jelinek <jakub@redhat.com>
43404
43405 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43406 __REDIRECT followed by __THROW.
43407 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43408 * posix/getopt.h (getopt): Likewise.
43409
2a50c078
EPM
434102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43411
43412 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43413 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43414 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43415 in AT_FLAGS.
43416 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43417 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43418
eb5ad2eb
LM
434192010-05-28 Luis Machado <luisgpm@br.ibm.com>
43420
43421 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43422
3c88fe1e
L
434232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43424
43425 [BZ #11640]
43426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43427 Properly check family and model.
43428
d2f73151
TY
434292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43430
43431 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43432
ebd2e13d
LM
434332010-05-24 Luis Machado <luisgpm@br.ibm.com>
43434
43435 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43436
b32b8b45
UD
434372010-05-21 Ulrich Drepper <drepper@redhat.com>
43438
43439 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43440 symbol reference.
43441
9acbe24d
AS
434422010-05-19 Andreas Schwab <schwab@redhat.com>
43443
43444 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43445 symbol reference.
43446
f0ccf6ea
AS
434472010-05-21 Andreas Schwab <schwab@redhat.com>
43448
3d04ff3a
AS
43449 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43450 and internal_recvmmsg.
43451 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43452 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43453 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43454 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43455
f0ccf6ea
AS
43456 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43457 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43458 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43459
5b08ac57
AS
434602010-05-20 Andreas Schwab <schwab@redhat.com>
43461
43462 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43463
4828935d
LM
434642010-05-17 Luis Machado <luisgpm@br.ibm.com>
43465
43466 POWER7 optimizations.
43467 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43468 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43469
373d545e
UD
434702010-05-19 Ulrich Drepper <drepper@redhat.com>
43471
43472 * version.h: Update for 2.13 development version.
43473
21a2b1ae
AS
434742010-05-12 Andrew Stubbs <ams@codesourcery.com>
43475
43476 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43477 exceptions. Return 0.
43478
3f7dcb2b
RM
434792010-05-07 Roland McGrath <roland@redhat.com>
43480
43481 * elf/ldconfig.c (main): Add a const.
43482
5f24d53a 434832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43484
a160f8d8
UD
43485 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43486 (args_options): Add no-idn option.
43487 (ahosts_keys_int): Add idn_flags to ai_flags.
43488 (parse_option): Handle 'i' option to clear idn_flags.
43489
5f24d53a
UD
43490 * malloc/malloc.c (_int_free): Possible race in the most recently
43491 added check. Only act on the data if no current modification
43492 happened.
265bb1ce
UD
43493
43494See ChangeLog.17 for earlier changes.
This page took 5.852393 seconds and 5 git commands to generate.