]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Include atomic.h in sem_wait.c and sem_trywait.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
766c4a36
SP
12014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5
140cc7ab
VK
62014-04-22 Will Newton <will.newton@linaro.org>
7 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8
9 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10 (__longjmp): Add longjmp and longjmp_target SystemTap
11 probes.
12 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13 (__sigsetjmp): Add setjmp SystemTap probe.
14
c54e5cf7
CD
152014-04-17 Carlos O'Donell <carlos@redhat.com>
16
17 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18 match manual order.
19
75ffb047
AZ
202014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21
22 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23
2cd925f7
AZ
242014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25
26 * sysdeps/powerpc/fpu/fenv_private.h
27 (libc_feholdexcept_setroundl_ctx): Define to
28 libc_feholdexcept_setround_ppc_ctx.
29 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33
39e6cd8d
IB
342014-04-17 Ian Bolton <ian.bolton@arm.com>
35
36 * sysdeps/aarch64/math-tests.h: New file.
37
f9281df9
SY
382014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
39
40 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
41 New.
42 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43 Check and set bit_AVX2_Usable.
44 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45 macro.
46 (bit_AVX2): Likewise.
47 (index_AVX2_Usable): Likewise.
48 (CPUID_AVX2): Likewise.
49 (HAS_AVX2): Likewise.
50
37d35007
WN
512014-04-17 Will Newton <will.newton@linaro.org>
52
7c677662
WN
53 * manual/setjmp.texi (System V contexts): Add note that
54 calling setcontext on a context created by a call to a
55 signal handler is undefined. Update text to note that
56 setcontext from a signal handler is possible but not
57 recommended.
58
37d35007 59 [BZ #16629]
e04a4e9d
WN
60 * stdlib/tst-setcontext.c: Include signal.h.
61 (main): Check that the signal stack before and
62 after swapcontext is the same.
63
37d35007
WN
64 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
65 Re-implement to restore registers in user code and avoid
66 rt_sigreturn system call.
67
423a7160
W
682014-04-17 Wilco <wdijkstr@arm.com>
69
70 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
71 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
72 * math/test-fenv.c: Skip exception trap tests on targets which only
73 support non-stop mode.
74
bc93ab29
IB
752014-04-17 Ian Bolton <ian.bolton@arm.com>
76 Wilco Dijkstra <wilco.dijkstra@arm.com>
77
78 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
79 (libc_feholdsetround_aarch64_ctx)
80 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
81 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
82 (libc_feresetround_ctx, libc_feresetroundf_ctx)
83 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
84 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
85 (libc_feresetround_noexl_ctx): Define.
86
95fc5fa3
RH
872014-04-16 Richard Henderson <rth@redhat.com>
88
ddb04724
RH
89 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
90
d77c0899
RH
91 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
92 unwind tables.
93
a3df56fc
RH
94 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
95 const from the non-libc, non-ldso copy.
96
95fc5fa3
RH
97 * sysdeps/alpha/libm-test-ulps: Regenerate.
98
7e0b6763
IB
992014-04-16 Ian Bolton <ian.bolton@arm.com>
100 Wilco Dijkstra <wilco.dijkstra@arm.com>
101
102 * sysdeps/aarch64/fpu/math_private.h: New file.
103
a9ea2e0c
MS
1042014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
105
106 * sysdeps/aarch64/libm-test-ulps: Regenerate.
107
ea8ba7cd
IZ
1082014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
109
110 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
111 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
113 Intel MPX bound registers before _dl_profile_fixup.
114 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
115 registers after _dl_profile_fixup. Save and restore bound
116 registers bnd0/bnd1 when calling _dl_call_pltexit.
117 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
118 (LR_BND_OFFSET): Likewise.
119 (LRV_BND0_OFFSET): Likewise.
120 (LRV_BND1_OFFSET): Likewise.
121
9f2a4fbc
ST
1222014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
123
124 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
125 to...
126 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
127 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
128 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
129 fields.
9f2a4fbc 130
fd15a59b
ST
1312014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
132
133 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
134
f19dfa0a
SL
1352014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
136
137 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
138
4fa8bc3b
SL
1392014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
140
141 [BZ #14770]
142 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
143 * sysdeps/s390/configure: Regenerate.
144
8ea587db
SL
1452014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
146
147 [BZ #16824]
148 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
149 Set round-to-nearest internally to reduce error accumulation.
150
aa5f0ff1
AM
1512014-04-16 Alan Modra <amodra@gmail.com>
152
153 [BZ #16740]
154 [BZ #16619]
155 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
156 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 157 * NEWS: Update fixed bug list.
aa5f0ff1 158
bb9c256f
SP
1592014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
160
161 * benchtests/Makefile: Depend on libraries in build directory.
162 (bench-math): Separate out math tests.
163 (bench-pthread): Separate out pthread tests.
164 (bench): Include math and pthread tests.
165
f737dfd0
CD
1662014-04-14 Carlos O'Donell <carlos@redhat.com>
167
168 [BZ #16831]
169 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
170 _dl_debug_initialize.
171
0699f766
CD
1722014-04-14 Carlos O'Donell <carlos@redhat.com>
173
174 * configure.ac: Remove SELinux header check.
175 * configure: Regenerate.
176 * nscd/selinux.c (perms): Array of const char* to permission names.
177 (nscd_request_avc_has_perm): Call security_deny_unknown to find
178 default policy. Call string_to_security_class and string_to_av_perm to
179 translate strings. Enforce default policy and call avs_has_perm with
180 results of translated strings.
181
809bd45f
DM
1822014-04-13 David S. Miller <davem@davemloft.net>
183
184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
185
89e691f2
AM
1862014-04-12 Allan McRae <allan@archlinux.org>
187
188 [BZ #16838]
189 * manual/string.texi (Collation Functions): Fix qsort argument
190 order in example.
191 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
192
9c9daaeb
CM
1932014-04-11 Chris Metcalf <cmetcalf@tilera.com>
194
195 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
196 Make the test a no-op if there are no exceptions defined.
197
95561fb9
PP
1982014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
199
fe8d072c 200 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
201 enable-hardcoded-path-in-tests
202
970c602a
WN
2032014-04-11 Will Newton <will.newton@linaro.org>
204
205 * benchtests/Makefile (extra-objs): Add json-lib.o.
206 (bench-func): Tidy up JSON output.
207 * benchtests/bench-skeleton.c: Include json-lib.h.
208 (main): Use JSON library functions to do output of
209 benchmark results.
210 * benchtests/bench-timing-type.c (main): Output the
211 timing type simply, leaving formatting to the user.
212 * benchtests/json-lib.c: New file.
213 * benchtests/json-lib.h: Likewise.
214
36875b06
TR
2152014-04-11 Torvald Riegel <triegel@redhat.com>
216
217 [BZ #15215]
218 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
219 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
220 memory barriers. Add comments.
221 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
222 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
223 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
224 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
225 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
226 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
227
579db35a
SL
2282014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
229
230 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
231 * sysdeps/s390/s390-64/configure.ac: ... this ...
232 * sysdeps/s390/configure.ac: ... to here.
233 * sysdeps/s390/s390-32/configure: Delete file.
234 * sysdeps/s390/s390-64/configure: Delete file.
235 * sysdeps/s390/configure: Regenerate.
236
c12e9f37
JAPH
2372014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
238
239 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
240
439bda32
WN
2412014-04-11 Will Newton <will.newton@linaro.org>
242
243 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
244 to zero if it is not defined elsewhere. (mtrim): Test
245 the value of MALLOC_DEBUG with #if rather than #ifdef.
246
6a5d6ea1
TR
2472014-04-10 Torvald Riegel <triegel@redhat.com>
248
249 * benchtests/pthread_once-inputs: New file.
250 * benchtests/pthread_once-source.c: New file.
251 * benchtests/README: Update documentation.
252
a4c75cfd
IZ
2532014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
254 H.J. Lu <hongjiu.lu@intel.com>
255
256 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
257 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
258 * sysdeps/x86_64/configure: Regenerated.
259 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
260 macro.
261 (REGISTER_SAVE_RAX): Likewise.
262 (REGISTER_SAVE_RCX): Likewise.
263 (REGISTER_SAVE_RDX): Likewise.
264 (REGISTER_SAVE_RSI): Likewise.
265 (REGISTER_SAVE_RDI): Likewise.
266 (REGISTER_SAVE_R8): Likewise.
267 (REGISTER_SAVE_R9): Likewise.
268 (REGISTER_SAVE_BND0): Likewise.
269 (REGISTER_SAVE_BND1): Likewise.
270 (REGISTER_SAVE_BND2): Likewise.
271 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
272 bound registers when calling _dl_fixup.
273
27822ce6
AZ
2742014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
275
276 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
277 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
278 definition.
279 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
280 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
281 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
282 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
283 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
284 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
285 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
286
a88ddc90
PTB
2872014-04-09 Peter Brett <peter@peter-b.co.uk>
288
289 [BZ #15514]
290 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
291 pathconf(_PC_NAME_MAX).
292
01f8eac2
AZ
2932014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
294
295 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
296 Remove macro usage.
297 (__PTHREAD_SPINS): Move definition to ...
298 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
299 (__PTHREAD_SPINS): ... here.
300 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
301 (__PTHREAD_SPIN): Likewise.
302 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
303 (__PTHREAD_SPIN): Likewise.
304 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
305 (__PTHREAD_SPIN): Likewise.
306 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
307 (__PTHREAD_SPIN): Likewise.
308 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
309 (__PTHREAD_SPIN): Likewise.
310 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
311 (__PTHREAD_SPIN): Likewise.
312 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
313 (__PTHREAD_SPIN): Likewise.
314 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
315 (__PTHREAD_SPIN): Likewise.
316 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
317 (__PTHREAD_SPIN): Likewise.
318 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
319 (__PTHREAD_SPIN): Likewise.
320 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
321 (__PTHREAD_SPIN): Likewise.
322 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
323 (__PTHREAD_SPIN): Likewise.
324
de21c33c
AZ
3252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326
327 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
328 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
329 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
330 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
331 imply folder.
332 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
333 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
334 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
335 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
336 correct imply path.
337 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
338 strlen symbol for non multi-arch builds.
339 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
340 missing hidden_def and weak_alias.
341
862c472e
CD
3422014-04-08 Carlos O'Donell <carlos@redhat.com>
343
344 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
345
8667f90e
WN
3462014-04-07 Will Newton <will.newton@linaro.org>
347
348 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
349 and contents. [!_LIBC] Remove #ifndef and contents.
350 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
351 * string/memccpy.c (__memccpy): Use ANSI prototype.
352 * string/memfrob.c (memfrob): Likewise.
353 * string/strcoll.c (STRCOLL): Likewise.
354 * string/strlen.c (strlen): Likewise.
355 * string/strtok.c (STRTOK): Likewise.
356 * string/strcat.c: Remove unused #include of memcopy.h.
357 (strcat): Use ANSI prototype.
358 * string/strchr.c: Remove unused #include of memcopy.h.
359 (strchr): Use ANSI prototype.
360 * string/strcmp.c: Remove unused #include of memcopy.h.
361 (strcmp): Use ANSI prototype.
362 * string/strcpy.c: Remove unused #include of memcopy.h.
363 (strcpy): Use ANSI prototype.
364
7ffa9423
AZ
3652014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
366
367 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
368 * config.make.in (config-extra-cppflags): Set it from
369 libc_extra_cppflags.
370 * configure.ac (libc_extra_cflags): Make it accumulate over
371 configure fragments.
372 (libc_extra_cppflags): New flag.
373 * configure. Regenerate.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
375 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
376 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
378
8bd70862
AZ
3792014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
380
381 [BZ #16815]
382 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
383 result for FE_DOWNWARD rounding mode.
384 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
385 Likewise.
386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
387
d42f3448
CM
3882014-04-04 Chris Metcalf <cmetcalf@tilera.com>
389
390 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
391 in function argument name.
392
1c21d115
DS
3932014-04-03 David Svoboda <svoboda@cert.org>
394
395 [BZ #5666]
396 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
397 explicitly.
398
fcccd512
RM
3992014-04-03 Roland McGrath <roland@hack.frob.com>
400
401 * elf/dl-unmap-segments.h: New file.
402 * sysdeps/generic/ldsodefs.h
403 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
404 * elf/dl-close.c: Include <dl-unmap-segments.h>.
405 * elf/dl-fptr.c: Likewise.
406 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
407 * sysdeps/aarch64/tlsdesc.c: Likewise.
408 * sysdeps/arm/tlsdesc.c: Likewise.
409 * sysdeps/i386/tlsdesc.c: Likewise.
410 * sysdeps/tile/dl-runtime.c: Likewise.
411 * sysdeps/x86_64/tlsdesc.c: Likewise.
412 * elf/dl-load.h: New file.
413 * elf/dl-load.c: Include it.
414 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
415 Macros moved to dl-load.h.
416 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
417 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
418 Use _dl_unmap_segments in place of __munmap.
419 Break out segment-mapping loop into ...
420 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
421
f6488e2b
WN
4222014-04-03 Will Newton <will.newton@linaro.org>
423
424 * elf/dl-lookup.c (do_lookup_x): Remove comment
425 referring to nested function and move variable
426 declarations down to before first use.
427
6f05bafe
JM
4282014-04-02 Joseph Myers <joseph@codesourcery.com>
429
a84e78c8
JM
430 [BZ #16799]
431 [BZ #16800]
432 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
433 with 0 numerator.
434 * math/s_catanf.c (__catanf): Likewise.
435 * math/s_catanh.c (__catanh): Likewise.
436 * math/s_catanhf.c (__catanhf): Likewise.
437 * math/s_catanhl.c (__catanhl): Likewise.
438 * math/s_catanl.c (__catanl): Likewise.
439 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
440 by positive zero when computing -Inf result.
441 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
442 (catanh_test): Likewise.
443 * sysdeps/i386/fpu/libm-test-ulps: Update.
444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
445
6f05bafe
JM
446 [BZ #16789]
447 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
448 instead of using underflowing value in computing result.
449 * math/s_clog10.c (__clog10): Likewise.
450 * math/s_clog10f.c (__clog10f): Likewise.
451 * math/s_clog10l.c (__clog10l): Likewise.
452 * math/s_clogf.c (__clogf): Likewise.
453 * math/s_clogl.c (__clogl): Likewise.
454 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
455 (clog10_test): Likewise.
456 * sysdeps/i386/fpu/libm-test-ulps: Update.
457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
458
b0abbc21
AM
4592014-04-02 Alan Modra <amodra@gmail.com>
460
461 [BZ #16739]
462 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
463 output when value is near a power of two. Use int64_t for lx and
464 remove casts. Use decimal rather than hex exponent constants.
465 Don't use long double multiplication when double will suffice.
466 * math/libm-test.inc (nextafter_test_data): Add tests.
467 * NEWS: Add 16739 and 16786 to bug list.
468
af6b1797
AM
4692014-04-02 Alan Modra <amodra@gmail.com>
470
471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
472
483818d7
AM
4732014-04-02 Alan Modra <amodra@gmail.com>
474
475 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
476
f6c55796
WN
4772014-04-01 Will Newton <will.newton@linaro.org>
478
479 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
480 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
481
13f7fe35
FW
4822014-04-01 Florian Weimer <fweimer@redhat.com>
483
484 [BZ #13347]
485 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
486 * nptl/tst-setuid2.c: New file.
487 * nptl/Makefile (xtests): Add tst-setuid2.
488
c859b32e
AM
4892014-04-01 Alan Modra <amodra@gmail.com>
490
491 [BZ #16786]
492 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
493
54fa2475
JM
4942014-03-31 Joseph Myers <joseph@codesourcery.com>
495
8795b4a4
JM
496 [BZ #6803]
497 [BZ #6804]
498 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
499 set errno as appropriate.
500 * math/w_scalbf.c (__scalbf): Likewise.
501 * math/w_scalbl.c (__scalbl): Likewise.
502 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
503 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
504 * math/libm-test.inc (scalb_test_data): Add errno expectations.
505 Add more NaN tests.
506
54fa2475
JM
507 [BZ #16349]
508 * math/w_atan2.c: Include <errno.h>.
509 (__atan2): Set errno for result underflowing to zero.
510 * math/w_atan2f.c: Include <errno.h>.
511 (__atan2f): Set errno for result underflowing to zero.
512 * math/w_atan2l.c: Include <errno.h>.
513 (__atan2l): Set errno for result underflowing to zero.
514 * math/auto-libm-test-in: Don't allow missing errno for some atan2
515 tests.
516 * math/auto-libm-test-out: Regenerated.
517
757d9dd5
AZ
5182014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
519
520 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
521 Encode instruction correctly in little endian.
522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
523 Likewise.
524 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
525 Likewise.
526 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
527 Likewise.
528 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
529 Likewise.
530
d7a68734
JM
5312014-03-31 Joseph Myers <joseph@codesourcery.com>
532
47c5adeb
JM
533 [BZ #9894]
534 * sysdeps/unix/sysv/linux/kernel-features.h
535 [__sparc__ && !__arch64__ && !__sparc_v9__]
536 (__ASSUME_SET_ROBUST_LIST): Do not define.
537 [__sparc__ && !__arch64__ && !__sparc_v9__]
538 (__ASSUME_FUTEX_LOCK_PI): Likewise.
539 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
540 Likewise.
541 * sysdeps/unix/sysv/linux/arm/kernel-features.h
542 (__ASSUME_FUTEX_LOCK_PI): Undefine.
543 (__ASSUME_REQUEUE_PI): Likewise.
544 (__ASSUME_SET_ROBUST_LIST): Likewise.
545 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
546 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
547 Undefine.
548 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
549 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
550 Likewise.
551 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
552 Likewise.
553 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
554 Likewise.
555 * sysdeps/unix/sysv/linux/mips/kernel-features.h
556 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
557 Undefine.
558 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
559 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
560 Likewise.
561
d7a68734
JM
562 [BZ #16648]
563 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
564 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
565 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
566
c760f5c2
WN
5672014-03-31 Will Newton <will.newton@linaro.org>
568
569 * benchtests/Makefile (bench): Add ffs and ffsll to list
570 of tests.
571 * benchtests/ffs-inputs: New file.
572 * benchtests/ffsll-inputs: Likewise.
573
ea6029b1
JM
5742014-03-29 Joseph Myers <joseph@codesourcery.com>
575
576 [BZ #16770]
577 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
578 too large before casting to int.
579 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
580 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
581 * math/libm-test.inc (scalb_test_data): Add more tests.
582
cf806aff
SP
5832014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
584
56737508
SP
585 * benchtests/Makefile (DETAILED_OPT): New make option.
586 (bench-func): Run benchmark program with -d if DETAILED_OPT is
587 set.
588 * benchtests/bench-skeleton.c: Include stdbool.h.
589 (main): Store and print timings per input.
590 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
591 member to each argument value.
592 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
593 (_print_arg_data): Initialize per-input timing to 0.
594
cb5e4aad
SP
595 * benchtests/Makefile (timing-type): New binary.
596 (bench-clean): Also remove bench-timing-type.
597 (bench): New target for timing-type.
598 (bench-func): Print output in JSON format.
599 * benchtests/bench-skeleton.c (main): Print output in JSON
600 format.
601 * benchtests/bench-timing-type.c: New file.
602 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
603 (TIMING_PRINT_STATS): Remove.
604 * benchtests/scripts/bench.py (_print_arg_data): Store variant
605 name separately.
606
cf806aff
SP
607 * benchtests/bench-modf.c: Remove.
608 * benchtests/modf-inputs: New inputs file.
609
289e0779
JM
6102014-03-28 Joseph Myers <joseph@codesourcery.com>
611
612 [BZ #16362]
613 * math/s_clog10.c (M_PI_LOG10E): New macro.
614 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
615 imaginary parts are 0.
616 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
617 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
618 imaginary parts are 0.
619 * math/s_clog10l.c (M_PI_LOG10El): New macro.
620 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
621 imaginary parts are 0.
622 * math/libm-test.inc (clog10_test_data): Update expected results
623 for when real and imaginary parts are 0.
624
277ae3f1
PP
6252014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
626
627 * elf/dl-load.c: Finish conversion of __builtin_expect into
628 __glibc_{un}likely.
629
03a7091f
JM
6302014-03-27 Joseph Myers <joseph@codesourcery.com>
631
632 [BZ #16348]
633 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
634 1+x for argument with exponent below -67.
635 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
636 Likewise.
637 * math/auto-libm-test-in: Add more tests of exp.
638 * math/auto-libm-test-out: Regenerated.
639
ea7d8b95
SP
6402014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
641
dd3022d7
SP
642 [BZ #16759]
643 * inet/getnetgrent_r.c (get_nonempty_val): New function.
644 (nscd_getnetgrent): Use it.
645
ea7d8b95
SP
646 [BZ #16760]
647 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
648 of stpcpy.
649
df5b85da
AK
6502014-03-27 Andi Kleen <ak@linux.intel.com>
651
652 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
653 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
654 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
655 Remove out of line section. Use cfi intrinsics.
656 (LLL_STUB_UNWIND_INFO*): Remove.
657 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
658 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
659 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
660 Remove out of line section. Use cfi intrinsics.
661 (LLL_STUB_UNWIND_INFO*): Remove.
662
fbd6b5a4
SP
6632014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
664
665 [BZ #16758]
666 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
667 blank values.
668
1b26b855
PP
6692014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
670
671 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
672
9be36fb8
JM
6732014-03-26 Joseph Myers <joseph@codesourcery.com>
674
675 [BZ #16198]
676 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
677 fnstenv.
678 * math/test-fenv-preserve.c: New file.
679 * math/Makefile (tests): Add test-fenv-preserve.
680
60a2f3c1
WN
6812014-03-26 Will Newton <will.newton@linaro.org>
682
683 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
684
a5e5f1e2
RM
6852014-03-25 Roland McGrath <roland@hack.frob.com>
686
687 * scripts/versionlist.awk: Partition the version sets and emit all
688 GLIBC_* (sorted) before all others (sorted).
689
00f4012a
JM
6902014-03-25 Joseph Myers <joseph@codesourcery.com>
691
692 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
693 GLIBC_2.2.5 version.
694
7bc5a741
AZ
6952014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
696
697 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
698 calls.
699
7578473b
AZ
7002014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
701
702 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
703 previous change.
704
f3f1dab3
AZ
7052014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
706
707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
708
6da36183
AS
7092014-03-25 Andreas Schwab <schwab@suse.de>
710
711 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
712 label to be used after in6ailist is initialized.
713
f3f1dab3 7142014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 715
7578473b 716 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
717 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
718
046651c1
JM
7192014-03-25 Joseph Myers <joseph@codesourcery.com>
720
721 [BZ #16357]
722 [BZ #16599]
723 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
724 min_plus_half.
725 (fp_formats): Update initializers.
726 (init_fp_formats): Initialize new field.
727 (output_for_one_input_case): Allow underflow for results up to
728 min_plus_half.
729 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
730 * math/auto-libm-test-in: Don't mark some underflows from asin and
731 atanh as spurious.
732 * math/auto-libm-test-out: Regenerated.
733 * sysdeps/i386/fpu/libm-test-ulps: Update.
734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
735
003e49ed
AS
7362014-03-25 Andreas Schwab <schwab@suse.de>
737
738 * libio/Makefile (tst-ftell-partial-wide-ENV)
739 (tst-ftell-active-handler-ENV): Define.
740
de031874
SL
7412014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
742
743 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
744
55a81e3b
PP
7452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
746
747 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
748
f3426898
JM
7492014-03-24 Joseph Myers <joseph@codesourcery.com>
750
751 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
752 * sysdeps/x86_64/fpu/multiarch/e_exp.c
753 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
754
a42faf59
PP
7552014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
756
757 [BZ #16634]
a42faf59 758 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
759 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
760 (open_path): Change from boolean 'secure' to complete flag 'mode'
761 (_dl_map_object): Adjust.
a42faf59
PP
762 * elf/Makefile (tests): Add tst-dlopen-aout.
763 * elf/tst-dlopen-aout.c: New test.
764
50936127
SL
7652014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
766
767 [BZ #16714]
768 * sysdeps/unix/sysv/linux/s390/bits/stat.h
769 (struct stat): Rename member pad0 to __glibc_reserved0.
770
26011b5c
SL
7712014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
772
773 [BZ #16712]
774 * sysdeps/s390/s390-32/bits/wordsize.h
775 (__WORDSIZE32_SIZE_ULONG): New define.
776 * sysdeps/s390/s390-64/bits/wordsize.h
777 (__WORDSIZE32_SIZE_ULONG): Likewise.
778 * sysdeps/generic/stdint.h (SIZE_MAX):
779 Define as UL if __WORDSIZE32_SIZE_ULONG.
780
a2d86bf1
SL
7812014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
782
783 [BZ #16713]
784 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
785 (__glibc_reserved0): New variable.
786 (sa_flags): Change type to int.
787
78b6eebc
SL
7882014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
789
790 * posix/Makefile (before-compile): Use += before-compile instead
791 of a :=.
792
f1399b5a
SL
7932014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
794
795 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
796 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
797
a071766e
AS
7982014-03-20 Andreas Schwab <schwab@suse.de>
799
800 [BZ #16743]
801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
802 non-matching result from nscd.
803
27c673b8
SP
8042014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
805
806 * scripts/bench.py: Moved to ...
807 * benchtests/scripts/bench.py: ... here.
808 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
809
44152e4b
AS
8102014-03-24 Andreas Schwab <schwab@suse.de>
811
812 [BZ #16002]
813 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
814 alloca_account and account alloca use for struct in6ailist.
815
b376a11a
JM
8162014-03-24 Joseph Myers <joseph@codesourcery.com>
817
818 [BZ #16284]
819 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
820 rounding mode to recompute results that overflow to infinity or
821 underflow to zero.
822 * math/auto-libm-test-in: Don't mark tests as expected to fail for
823 bug 16284.
824 * math/auto-libm-test-out: Regenerated.
825 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
826 (ccosh_test): Likewise.
827 (csin_test_data): Use plus_oflow.
828 (csin_test): Use ALL_RM_TEST.
829 (csinh_test_data): Use plus_oflow.
830 (csinh_test): Use ALL_RM_TEST.
831 * sysdeps/i386/fpu/libm-test-ulps: Update.
832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
833
f7be7376
JM
8342014-03-21 Joseph Myers <joseph@codesourcery.com>
835
1ca2d03e
JM
836 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
837 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
838 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
839
f7be7376
JM
840 [BZ #16731]
841 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
842 when x - 1 is zero.
843 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
844 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
845 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
846 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
847 argument is 1.
848 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
849 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
850 zero.
851 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
852 * sysdeps/i386/fpu/libm-test-ulps: Update.
853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
854
fdf4534d
SP
8552014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
856
df26ea53
SP
857 * scripts/bench.pl: Remove file.
858 * scripts/bench.py: New benchmark script.
859 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
860 * benchtests/README: Mention python dependency.
861 * scripts/pylintrc: New file.
862 * scripts/pylint: New file.
863
fdf4534d
SP
864 * bits/mathdef.h: Use #ifdef instead of #if.
865 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
866 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
867 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
868 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
869 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
870 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
871
6f23d093
AZ
8722014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
874
875 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
877 and strpbrk-ppc64 objects.
878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
879 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
880 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
881 multiarch strpbrk for POWER7.
882 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
883 multiarch strpbrk for PPC64.
884 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
885 ifunc selector.
886 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
887 strpbrk for POWER7.
888
8c92dfff
JM
8892014-03-20 Joseph Myers <joseph@codesourcery.com>
890
891 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
892 (atan_test): Likewise.
893 (atanh_test_data): Use NO_TEST_INLINE for two tests.
894 (atanh_test): Use ALL_RM_TEST.
895 (atan2_test_data): Likewise.
896 (cabs_test): Likewise.
897 (cacosh_test): Likewise.
898 (carg_test): Likewise.
899 (casin_test): Likewise.
900 (casinh_test): Likewise.
901 (cbrt_test): Likewise.
902 (csqrt_test): Likewise.
903 (erf_test): Likewise.
904 (erfc_test): Likewise.
905 (pow10_test): Likewise.
906 (exp2_test): Likewise.
907 (hypot_test): Likewise.
908 (j0_test): Likewise.
909 (j1_test): Likewise.
910 (lgamma_test): Likewise.
911 (gamma_test): Likewise.
912 (sincos_test): Likewise.
913 (tanh_test): Likewise.
914 (y0_test): Likewise.
915 (y1_test): Likewise.
916 * sysdeps/i386/fpu/libm-test-ulps: Update.
917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
918
6eaf95cb
AZ
9192014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920
a387428c
SP
921 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
923 and strcspn-ppc64 objects.
924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
925 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
926 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
927 multiarch strcspn for POWER7.
928 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
929 multiarch strcspn for PPC64.
930 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
931 ifunc selector.
932 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
933 strcspn for POWER7.
934
ae3a5dff
JM
9352014-03-20 Joseph Myers <joseph@codesourcery.com>
936
937 * math/gen-libm-test.pl (generate_testfile): Expect only function
938 name as argument to AUTO_TESTS_* and pass results for all rounding
939 modes to parse_args.
940 (parse_auto_input): Separate inputs of automatic tests from
941 outputs before storing in %auto_tests.
942 * math/libm-test.inc (acos_test_data): Update call to
943 AUTO_TESTS_f_f.
944 (acos_test): Use ALL_RM_TEST.
945 (acos_tonearest_test_data): Remove.
946 (acos_test_tonearest): Likewise.
947 (acos_towardzero_test_data): Likewise.
948 (acos_test_towardzero): Likewise.
949 (acos_downward_test_data): Likewise.
950 (acos_test_downward): Likewise.
951 (acos_upward_test_data): Likewise.
952 (acos_test_upward): Likewise.
953 (acosh_test_data): Update call to AUTO_TESTS_f_f.
954 (asin_test_data): Likewise.
955 (asin_test): Use ALL_RM_TEST.
956 (asin_tonearest_test_data): Remove.
957 (asin_test_tonearest): Likewise.
958 (asin_towardzero_test_data): Likewise.
959 (asin_test_towardzero): Likewise.
960 (asin_downward_test_data): Likewise.
961 (asin_test_downward): Likewise.
962 (asin_upward_test_data): Likewise.
963 (asin_test_upward): Likewise.
964 (asinh_test_data): Update call to AUTO_TESTS_f_f.
965 (atan_test_data): Likewise.
966 (atanh_test_data): Likewise.
967 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
968 (cabs_test_data): Update call to AUTO_TESTS_c_f.
969 (carg_test_data): Likewise.
970 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
971 (ccos_test_data): Update call to AUTO_TESTS_c_c.
972 (ccosh_test_data): Likewise.
973 (cexp_test_data): Likewise.
974 (clog_test_data): Likewise.
975 (clog10_test_data): Likewise.
976 (cos_test_data): Update call to AUTO_TESTS_f_f.
977 (cos_test): Use ALL_RM_TEST.
978 (cos_tonearest_test_data): Remove.
979 (cos_test_tonearest): Likewise.
980 (cos_towardzero_test_data): Likewise.
981 (cos_test_towardzero): Likewise.
982 (cos_downward_test_data): Likewise.
983 (cos_test_downward): Likewise.
984 (cos_upward_test_data): Likewise.
985 (cos_test_upward): Likewise.
986 (cosh_test_data): Update call to AUTO_TESTS_f_f.
987 (cosh_test): Use ALL_RM_TEST.
988 (cosh_tonearest_test_data): Remove.
989 (cosh_test_tonearest): Likewise.
990 (cosh_towardzero_test_data): Likewise.
991 (cosh_test_towardzero): Likewise.
992 (cosh_downward_test_data): Likewise.
993 (cosh_test_downward): Likewise.
994 (cosh_upward_test_data): Likewise.
995 (cosh_test_upward): Likewise.
996 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
997 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
998 (ctan_test_data): Likewise.
999 (ctan_test): Use ALL_RM_TEST.
1000 (ctan_tonearest_test_data): Remove.
1001 (ctan_test_tonearest): Likewise.
1002 (ctan_towardzero_test_data): Likewise.
1003 (ctan_test_towardzero): Likewise.
1004 (ctan_downward_test_data): Likewise.
1005 (ctan_test_downward): Likewise.
1006 (ctan_upward_test_data): Likewise.
1007 (ctan_test_upward): Likewise.
1008 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1009 (ctanh_test): Use ALL_RM_TEST.
1010 (ctanh_tonearest_test_data): Remove.
1011 (ctanh_test_tonearest): Likewise.
1012 (ctanh_towardzero_test_data): Likewise.
1013 (ctanh_test_towardzero): Likewise.
1014 (ctanh_downward_test_data): Likewise.
1015 (ctanh_test_downward): Likewise.
1016 (ctanh_upward_test_data): Likewise.
1017 (ctanh_test_upward): Likewise.
1018 (erf_test_data): Update call to AUTO_TESTS_f_f.
1019 (erfc_test_data): Likewise.
1020 (exp_test_data): Likewise.
1021 (exp_test): Use ALL_RM_TEST.
1022 (exp_tonearest_test_data): Remove.
1023 (exp_test_tonearest): Likewise.
1024 (exp_towardzero_test_data): Likewise.
1025 (exp_test_towardzero): Likewise.
1026 (exp_downward_test_data): Likewise.
1027 (exp_test_downward): Likewise.
1028 (exp_upward_test_data): Likewise.
1029 (exp_test_upward): Likewise.
1030 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1031 (exp10_test): Use ALL_RM_TEST.
1032 (exp10_tonearest_test_data): Remove.
1033 (exp10_test_tonearest): Likewise.
1034 (exp10_towardzero_test_data): Likewise.
1035 (exp10_test_towardzero): Likewise.
1036 (exp10_downward_test_data): Likewise.
1037 (exp10_test_downward): Likewise.
1038 (exp10_upward_test_data): Likewise.
1039 (exp10_test_upward): Likewise.
1040 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1041 (expm1_test_data): Likewise.
1042 (expm1_test): Use ALL_RM_TEST.
1043 (expm1_tonearest_test_data): Remove.
1044 (expm1_test_tonearest): Likewise.
1045 (expm1_towardzero_test_data): Likewise.
1046 (expm1_test_towardzero): Likewise.
1047 (expm1_downward_test_data): Likewise.
1048 (expm1_test_downward): Likewise.
1049 (expm1_upward_test_data): Likewise.
1050 (expm1_test_upward): Likewise.
1051 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1052 (fma_test): Use ALL_RM_TEST.
1053 (fma_towardzero_test_data): Remove.
1054 (fma_test_towardzero): Likewise.
1055 (fma_downward_test_data): Likewise.
1056 (fma_test_downward): Likewise.
1057 (fma_upward_test_data): Likewise.
1058 (fma_test_upward): Likewise.
1059 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1060 (j0_test_data): Update call to AUTO_TESTS_f_f.
1061 (j1_test_data): Likewise.
1062 (jn_test_data): Update call to AUTO_TESTS_if_f.
1063 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1064 (log_test_data): Update call to AUTO_TESTS_f_f.
1065 (log10_test_data): Likewise.
1066 (log1p_test_data): Likewise.
1067 (log2_test_data): Likewise.
1068 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1069 (pow_tonearest_test_data): Likewise.
1070 (sin_test_data): Update call to AUTO_TESTS_f_f.
1071 (sin_test): Use ALL_RM_TEST.
1072 (sin_tonearest_test_data): Remove.
1073 (sin_test_tonearest): Likewise.
1074 (sin_towardzero_test_data): Likewise.
1075 (sin_test_towardzero): Likewise.
1076 (sin_downward_test_data): Likewise.
1077 (sin_test_downward): Likewise.
1078 (sin_upward_test_data): Likewise.
1079 (sin_test_upward): Likewise.
1080 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1081 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1082 (sinh_test): Use ALL_RM_TEST.
1083 (sinh_tonearest_test_data): Remove.
1084 (sinh_test_tonearest): Likewise.
1085 (sinh_towardzero_test_data): Likewise.
1086 (sinh_test_towardzero): Likewise.
1087 (sinh_downward_test_data): Likewise.
1088 (sinh_test_downward): Likewise.
1089 (sinh_upward_test_data): Likewise.
1090 (sinh_test_upward): Likewise.
1091 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1092 (sqrt_test): Use ALL_RM_TEST.
1093 (sqrt_tonearest_test_data): Remove.
1094 (sqrt_test_tonearest): Likewise.
1095 (sqrt_towardzero_test_data): Likewise.
1096 (sqrt_test_towardzero): Likewise.
1097 (sqrt_downward_test_data): Likewise.
1098 (sqrt_test_downward): Likewise.
1099 (sqrt_upward_test_data): Likewise.
1100 (sqrt_test_upward): Likewise.
1101 (tan_test_data): Update call to AUTO_TESTS_f_f.
1102 (tan_test): Use ALL_RM_TEST.
1103 (tan_tonearest_test_data): Remove.
1104 (tan_test_tonearest): Likewise.
1105 (tan_towardzero_test_data): Likewise.
1106 (tan_test_towardzero): Likewise.
1107 (tan_downward_test_data): Likewise.
1108 (tan_test_downward): Likewise.
1109 (tan_upward_test_data): Likewise.
1110 (tan_test_upward): Likewise.
1111 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1112 (tgamma_test_data): Likewise.
1113 (y0_test_data): Likewise.
1114 (y1_test_data): Likewise.
1115 (yn_test_data): Update call to AUTO_TESTS_if_f.
1116 (main): Do not call removed functions.
1117
d71aeee8
JM
11182014-03-19 Joseph Myers <joseph@codesourcery.com>
1119
1120 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1121 (ldexp_test_data): Remove.
1122 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1123 scalbn_test_data.
1124 (scalb_test): Use ALL_RM_TEST.
1125
baaf1ded
AS
11262014-03-19 Andreas Schwab <schwab@suse.de>
1127
1128 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1129
b1115e91
JM
11302014-03-19 Joseph Myers <joseph@codesourcery.com>
1131
1132 [BZ #16649]
1133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1134 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1135 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1136 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1137 (__ASSUME_PREADV): Undefine.
1138 (__ASSUME_PWRITEV): Likewise.
1139
0283ecca
RM
11402014-03-18 Roland McGrath <roland@hack.frob.com>
1141
7d375303
RM
1142 * bits/mman-linux.h: Add comment about non-Linux use.
1143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1144 bits/mman-linux.h resting place.
1145
0283ecca
RM
1146 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1147 * bits/mman-linux.h: ... here.
1148
aebe1003
AZ
11492014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1150
1151 * conform/conformtest.pl: Add standard definition when calling C
1152 preprocessor on data files.
1153 (checknamespace): Remove unused variable.
1154
b29b6bb8
JM
11552014-03-18 Joseph Myers <joseph@codesourcery.com>
1156
1157 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1158 minus_oflow, plus_uflow and minus_uflow in expected results.
1159 * math/libm-test.inc (scalbn_test_data): Add more tests of
1160 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1161 minus_uflow.
1162 (scalbn_test): Use ALL_RM_TEST.
1163 (scalbln_test_data): Add more tests of negative arguments. Use
1164 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1165 (scalbln_test): Use ALL_RM_TEST.
1166
c8f8fa15
RM
11672014-03-18 Roland McGrath <roland@hack.frob.com>
1168
1169 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1170
fede7a5f
WN
11712014-03-18 Will Newton <will.newton@linaro.org>
1172
1173 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1174 inaccurate comment.
1175
80cf0a58
JM
11762014-03-18 Joseph Myers <joseph@codesourcery.com>
1177
1178 * Makerules [!subdir] (check-abi): Exit with error status if a
1179 test failed.
1180
b3620862
JM
11812014-03-17 Joseph Myers <joseph@codesourcery.com>
1182
1183 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1184 for rint. Include results for all rounding modes.
1185 (nearbyint_test): Use ALL_RM_TEST.
1186 (rint_test_data): Include all tests used for nearbyint.
1187
788bba36
WN
11882014-03-17 Will Newton <will.newton@linaro.org>
1189
04ec140a
WN
1190 * nptl/sysdeps/pthread/pthread.h: Revert previous
1191 change.
1192
7579d8d5
WN
1193 * sysdeps/generic/ldsodefs.h: Revert previous
1194 change.
1195
c15cf13a
WN
1196 * libio/genops.c: Revert previous change.
1197 * libio/libioP.h: Likewise.
1198 * stdio-common/vfprintf.c: Likewise.
1199
d0ac1324
WN
1200 * sysdeps/generic/math_private.h: Revert previous
1201 change.
1202
9290130a
WN
1203 * sysdeps/generic/math_private.h: Check whether
1204 HAVE_RM_CTX is defined with #ifdef rather
1205 than #if.
1206
afb466fc
WN
1207 * argp/argp-fmtstream.h: Check whether
1208 __STRICT_ANSI__ is defined with #ifdef rather
1209 than #if.
1210 * argp/argp.h: Likewise.
1211
f7efd7c3
WN
1212 * libio/genops.c: Check whether
1213 _IO_JUMPS_OFFSET is defined with #ifdef rather
1214 than #if.
1215 * libio/libioP.h: Likewise.
1216 * stdio-common/vfprintf.c: Likewise.
1217
53f1bed3
WN
1218 * sysdeps/generic/ldsodefs.h: Check whether
1219 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1220 than #if.
1221
788bba36
WN
1222 * nptl/sysdeps/pthread/pthread.h: Check
1223 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1224 its value.
1225
fcd89ebe
SP
12262014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1227
ae42bbc5
SP
1228 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1229 setting O_APPEND.
1230 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1231 test case.
1232
ea33158c
SP
1233 [BZ #16680]
1234 * libio/fileops.c (_IO_file_open): Seek to end of file but
1235 don't cache the offset.
1236 (get_file_offset): Remove function.
1237 (do_ftell): Use cached offset when available.
1238 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1239 don't cache the offset.
1240 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1241 case.
1242 (do_one_test): Call it.
1243 (do_ftell_test): Fix up expected old offset for a+ mode.
1244 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1245 available.
1246
b1dbb426
SP
1247 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1248 up test status with function return status.
1249 (do_write_test): Likewise.
1250 (do_append_test): Likewise.
1251
fcd89ebe
SP
1252 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1253 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1254 Remove.
1255
9962a2d3
JM
12562014-03-17 Joseph Myers <joseph@codesourcery.com>
1257
1258 * math/gen-libm-test.pl (parse_args): Handle results specified for
1259 each rounding mode separately.
1260 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1261 tests and results from lrint_tonearest_test_data,
1262 lrint_towardzero_test_data, lrint_downward_test_data and
1263 lrint_upward_test_data.
1264 (lrint_test): Use ALL_RM_TEST.
1265 (lrint_tonearest_test_data): Remove.
1266 (lrint_test_tonearest): Likewise.
1267 (lrint_towardzero_test_data): Likewise.
1268 (lrint_test_towardzero): Likewise.
1269 (lrint_downward_test_data): Likewise.
1270 (lrint_test_downward): Likewise.
1271 (lrint_upward_test_data): Likewise.
1272 (lrint_test_upward): Likewise.
1273 (llrint_test_data): Merge in per-rounding-mode tests and results
1274 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1275 llrint_downward_test_data and llrint_upward_test_data.
1276 (llrint_test): Use ALL_RM_TEST.
1277 (llrint_tonearest_test_data): Remove.
1278 (llrint_test_tonearest): Likewise.
1279 (llrint_towardzero_test_data): Likewise.
1280 (llrint_test_towardzero): Likewise.
1281 (llrint_downward_test_data): Likewise.
1282 (llrint_test_downward): Likewise.
1283 (llrint_upward_test_data): Likewise.
1284 (llrint_test_upward): Likewise.
1285 (rint_test_data): Merge in per-rounding-mode tests and results
1286 from rint_tonearest_test_data, rint_towardzero_test_data,
1287 rint_downward_test_data and rint_upward_test_data. Add
1288 per-rounding-mode results for tests not in those arrays.
1289 (rint_test): Use ALL_RM_TEST.
1290 (rint_tonearest_test_data): Remove.
1291 (rint_test_tonearest): Likewise.
1292 (rint_towardzero_test_data): Likewise.
1293 (rint_test_towardzero): Likewise.
1294 (rint_downward_test_data): Likewise.
1295 (rint_test_downward): Likewise.
1296 (rint_upward_test_data): Likewise.
1297 (rint_test_upward): Likewise.
1298 (main): Don't call removed functions.
1299
5006148e
RM
13002014-03-14 Roland McGrath <roland@hack.frob.com>
1301
1302 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1303 "Compiled on ..." crapola. It is anti-useful.
1304
d6fe5e58
JM
13052014-03-14 Joseph Myers <joseph@codesourcery.com>
1306
1307 * scripts/evaluate-test.sh: Handle fourth argument to determine
1308 whether test run should stop on failure.
1309 * Makeconfig (stop-on-test-failure): New variable.
1310 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1311 $(stop-on-test-failure).
1312 * Makefile (tests): Give a summary of results from testing and
1313 exit with failure status if they include an ERROR or FAIL.
1314 (xtests): Likewise.
1315 * manual/install.texi (Configuring and compiling): Mention
1316 stop-on-test-failure=y.
1317 * INSTALL: Regenerated.
1318
498a2233
RM
13192014-03-14 Roland McGrath <roland@hack.frob.com>
1320
22dbc19d
RM
1321 * scripts/versionlist.awk: New file.
1322 * Makerules [$(build-shared) = yes]
1323 (postclean-generated): Add Versions.def, not Versions.def.v and
1324 Versions.def.v.i.
1325 ($(common-objpfx)Versions.def.v.i): Target removed.
1326 ($(common-objpfx)Versions.def): New target.
1327 ($(common-objpfx)Versions.all): Depend on that rather that
1328 $(common-objpfx)Versions.def.v.
1329 * Versions.def: File removed.
1330
498a2233
RM
1331 * Makeconfig (+gccwarn): Add -Wundef.
1332 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1333 a dl-sysdep.h breaking its contract.
1334 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1335 * include/stackinfo.h: New file.
1336 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1337 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1338 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1339 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1340 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1341 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1342 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1343 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1344 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1345 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1346 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1347 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1348 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1349 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1350 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1351
c7de5025
AZ
13522014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353
1354 [BZ #16707]
1355 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1356 implementation.
1357 * math/libm-test.inc (round_test_data): Add more tests.
1358
98fb27a3
AZ
13592014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1360
1361 [BZ #16706]
1362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1363 implementation.
1364 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1365
374f7f61
AZ
13662014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1367
1368 [BZ #16701]
1369 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1370 implementation.
1371 * math/libm-test.inc (ceil_test_data): Add more tests.
1372
4655c291
AZ
13732014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374
1375 * math/libm-test.inc (trunc_test_data): Add more tests related to
1376 BZ#16414.
1377
d7329d4b
RM
13782014-03-14 Roland McGrath <roland@hack.frob.com>
1379
1380 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1381 with #if rather than #ifdef.
1382 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1383
aa4de9ce
L
13842014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1387 first. Disable AVX-512 GCC support if assembler doesn't support
1388 it.
1389 * sysdeps/x86_64/configure: Regenerated.
1390
2e03fae7
CD
13912014-03-13 Carlos O'Donell <carlos@redhat.com>
1392
1393 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1394 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1395 (__old_pthread_attr_setstack): Likewise.
1396 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1397 [!_STACK_GROWS_DOWN]: Likewise.
1398
43ca83ec
MF
13992014-03-13 Mike Frysinger <vapier@gentoo.org>
1400
1401 * config.make.in (have-bash2): Delete.
1402 * configure.ac (libc_cv_have_bash2): Delete.
1403 * configure: Regenerate.
1404 * elf/Makefile (common-ldd-rewrite): Rename to ...
1405 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1406 (sh-ldd-rewrite): Delete.
1407 (bash-ldd-rewrite): Delete.
1408 (have-bash2): Delete checks.
1409 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1410
c66e48b4
MF
14112014-03-13 Mike Frysinger <vapier@gentoo.org>
1412
1413 * config.make.in (have-ksh): Delete.
1414 (KSH): Delete.
1415 * configure.ac (libc_cv_have_ksh): Delete.
1416 * configure: Regenerate.
1417
b93834ef
MF
14182014-03-13 Mike Frysinger <vapier@gentoo.org>
1419
1420 * elf/Makefile: Delete $(have-ksh) check.
1421 ($(objpfx)sotruss): Change KSH to BASH.
1422 * elf/sotruss.ksh: Rename to ...
1423 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1424 function style to match POSIX. Drop ksh vim mode setting.
1425
f3a4632a
MF
14262014-03-13 Mike Frysinger <vapier@gentoo.org>
1427
1428 * manual/time.texi (Specifying the Time Zone with TZ): Change
1429 Tuesday to Thursday.
1430
5896c8bd
MF
14312014-03-13 Mike Frysinger <vapier@gentoo.org>
1432
1433 * debug/tst-longjmp_chk2.c: Update header comment.
1434 (stackoverflow_handler): Add comment. Call assert on pass value.
1435
2d63a517
IZ
14362014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1437
1438 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1439 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1440 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1441 (La_x86_64_vector): Add zmm.
1442 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1443 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1444 ($(objpfx)tst-audit10): New target.
1445 ($(objpfx)tst-audit10.out): Likewise.
1446 (tst-audit10-ENV): New.
1447 (AVX512-CFLAGS): Likewise.
1448 (CFLAGS-tst-audit10.c): Likewise.
1449 (CFLAGS-tst-auditmod10a.c): Likewise.
1450 (CFLAGS-tst-auditmod10b.c): Likewise.
1451 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1452 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1453 * sysdeps/x86_64/configure: Regenerated.
1454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1455 AVX-512 zmm register support.
1456 (_dl_x86_64_save_sse): Likewise.
1457 (_dl_x86_64_restore_sse): Likewise.
1458 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1459 size vector registers.
1460 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1461 (ZMM_SIZE): Likewise.
1462 * sysdeps/x86_64/tst-audit10.c: New file.
1463 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1464 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1465
44c4e5d5
RM
14662014-03-13 Roland McGrath <roland@hack.frob.com>
1467
1468 * configure.ac (HAVE_EHDR_START): New check.
1469 * configure: Regenerated.
1470 * config.h.in (HAVE_EHDR_START): New #undef.
1471 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1472 assuming the lowest-addressed segment maps the start of the file.
1473
acd6e389
JM
14742014-03-13 Joseph Myers <joseph@codesourcery.com>
1475
1476 * INSTALL: Regenerated.
1477
6f918f36
WN
14782014-03-13 Will Newton <will.newton@linaro.org>
1479
1480 * manual/setjmp.texi (System V contexts): Improve
1481 clarity and grammar of documentation.
1482
798212a0
PP
14832014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1484
1485 [BZ #16381]
798212a0 1486 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1487 (tests-pie): Add tst-pie2.
798212a0
PP
1488 * elf/tst-pie2.c: New file.
1489 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1490 for ET_EXEC.
1491 * elf/rtld.c (map_doit): Load executable as lt_executable.
1492 (dl_main): Likewise.
1493
abe6d90c
JM
14942014-03-12 Joseph Myers <joseph@codesourcery.com>
1495
1496 [BZ #16642]
1497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1498 (__ASSUME_PSELECT): Undefine.
1499
dd3946c6
AZ
15002014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501
1502 [BZ #16689]
1503 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1504 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1505 static build.
1506 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1507 selector for static builds.
1508
c44496df
SP
15092014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1510
1511 [BZ #16695]
1512 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1513 key in the buffer.
1514
27c7220a
AZ
15152014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1516
1517 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1518 selector for static builds.
1519
600fa361
JM
15202014-03-11 Joseph Myers <joseph@codesourcery.com>
1521
76c96cf7
JM
1522 * sysdeps/mips/math_private.h [__mips_hard_float]
1523 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1524 libc_feresetround_mips_ctx.
1525 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1526 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1527 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1528
600fa361
JM
1529 [BZ #16677]
1530 * math/s_nextafter.c (__nextafter): Do not return value from
1531 overflowing computation.
1532 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1533 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1535 Likewise.
1536 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1537 Likewise.
1538 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1539 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1540
d7706c32
RM
15412014-03-11 Roland McGrath <roland@hack.frob.com>
1542
1543 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1544 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1545 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1546 the new mov targetting sp.
1547
4facea47
AZ
15482014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1549
1550 [BZ #16683]
1551 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1552 Define it for static builds as well.
1553 (NO_BZERO_IMPL): Likewise.
1554
e65caf1f
VR
15552014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1556
1557 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1558 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1559 multiarch strspn for PPC64.
1560 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1561 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1563 (__libc_ifunc_impl_list): Likewise.
1564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1565 multiarch optimizations
1566 * string/strspn.c (strspn): Using macro to redefine symbol name.
1567
ba9cc071
AZ
15682014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1569 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1572 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1573 multiarch strncat for PPC64.
1574 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1575 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1577 (__libc_ifunc_impl_list): Likewise.
1578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1579 multiarch optimizations
1580
8b4ff974
SP
15812014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1582
1583 [BZ #16639]
1584 * nscd/nscd.service: Make service type forking.
1585
54b46a4b
AZ
15862014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1587
1588 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1589 sign in non default rounding modes.
1590 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1591
e9996ef7
JM
15922014-03-08 Joseph Myers <joseph@codesourcery.com>
1593
1594 * math/libm-test.inc (ALL_RM_TEST): New macro.
1595 (ceil_test): Use ALL_RM_TEST.
1596 (cimag_test): Likewise.
1597 (conj_test): Likewise.
1598 (copysign_test): Likewise.
1599 (cproj_test): Likewise.
1600 (creal_test): Likewise.
1601 (fabs_test): Likewise.
1602 (floor_test): Likewise.
1603 (fmax_test): Likewise.
1604 (fmin_test): Likewise.
1605 (fmod_test): Likewise.
1606 (fpclassify_test): Likewise.
1607 (frexp_test): Likewise.
1608 (ilogb_test): Likewise.
1609 (isfinite_test): Likewise.
1610 (finite_test): Likewise.
1611 (isgreater_test): Likewise.
1612 (isgreaterequal_test): Likewise.
1613 (isinf_test): Likewise.
1614 (isless_test): Likewise.
1615 (islessequal_test): Likewise.
1616 (islessgreater_test): Likewise.
1617 (isnan_test): Likewise.
1618 (isnormal_test): Likewise.
1619 (issignaling_test): Likewise.
1620 (isunordered_test): Likewise.
1621 (logb_test): Likewise.
1622 (logb_downward_test_data): Remove.
1623 (logb_test_downward): Likewise.
1624 (lround_test): Use ALL_RM_TEST.
1625 (llround_test): Likewise.
1626 (modf_test): Likewise.
1627 (nexttoward_test): Likewise.
1628 (remainder_test): Likewise.
1629 (drem_test): Likewise.
1630 (remainder_tonearest_test_data): Likewise.
1631 (remainder_test_tonearest): Likewise.
1632 (drem_test_tonearest): Likewise.
1633 (remainder_towardzero_test_data): Likewise.
1634 (remainder_test_towardzero): Likewise.
1635 (drem_test_towardzero): Likewise.
1636 (remainder_downward_test_data): Likewise.
1637 (remainder_test_downward): Likewise.
1638 (drem_test_downward): Likewise.
1639 (remainder_upward_test_data): Likewise.
1640 (remainder_test_upward): Likewise.
1641 (drem_test_upward): Likewise.
1642 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1643 (round_test): Use ALL_RM_TEST.
1644 (signbit_test): Likewise.
1645 (trunc_test): Likewise.
1646 (significand_test): Likewise.
1647 (main): Don't call removed functions.
1648
bc61d27c
JM
16492014-03-07 Joseph Myers <joseph@codesourcery.com>
1650
5c780849
JM
1651 [BZ #16674]
1652 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1653 || __USE_XOPEN2K8].
1654 (ILL_ILLOPN): Likewise.
1655 (ILL_ILLADR): Likewise.
1656 (ILL_ILLTRP): Likewise.
1657 (ILL_PRVOPC): Likewise.
1658 (ILL_PRVREG): Likewise.
1659 (ILL_COPROC): Likewise.
1660 (ILL_BADSTK): Likewise.
1661 (FPE_INTDIV): Likewise.
1662 (FPE_INTOVF): Likewise.
1663 (FPE_FLTDIV): Likewise.
1664 (FPE_FLTOVF): Likewise.
1665 (FPE_FLTUND): Likewise.
1666 (FPE_FLTRES): Likewise.
1667 (FPE_FLTINV): Likewise.
1668 (FPE_FLTSUB): Likewise.
1669 (SEGV_MAPERR): Likewise.
1670 (SEGV_ACCERR): Likewise.
1671 (BUS_ADRALN): Likewise.
1672 (BUS_ADRERR): Likewise.
1673 (BUS_OBJERR): Likewise.
1674 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1675 (TRAP_TRACE): Likewise.
1676 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1677 __USE_XOPEN2K8].
1678 (CLD_KILLED): Likewise.
1679 (CLD_DUMPED): Likewise.
1680 (CLD_TRAPPED): Likewise.
1681 (CLD_STOPPED): Likewise.
1682 (CLD_CONTINUED): Likewise.
1683 (POLL_IN): Likewise.
1684 (POLL_OUT): Likewise.
1685 (POLL_MSG): Likewise.
1686 (POLL_ERR): Likewise.
1687 (POLL_PRI): Likewise.
1688 (POLL_HUP): Likewise.
1689 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1690 Likewise.
1691 (ILL_ILLOPN): Likewise.
1692 (ILL_ILLADR): Likewise.
1693 (ILL_ILLTRP): Likewise.
1694 (ILL_PRVOPC): Likewise.
1695 (ILL_PRVREG): Likewise.
1696 (ILL_COPROC): Likewise.
1697 (ILL_BADSTK): Likewise.
1698 (FPE_INTDIV): Likewise.
1699 (FPE_INTOVF): Likewise.
1700 (FPE_FLTDIV): Likewise.
1701 (FPE_FLTOVF): Likewise.
1702 (FPE_FLTUND): Likewise.
1703 (FPE_FLTRES): Likewise.
1704 (FPE_FLTINV): Likewise.
1705 (FPE_FLTSUB): Likewise.
1706 (SEGV_MAPERR): Likewise.
1707 (SEGV_ACCERR): Likewise.
1708 (BUS_ADRALN): Likewise.
1709 (BUS_ADRERR): Likewise.
1710 (BUS_OBJERR): Likewise.
1711 (BUS_MCEERR_AR): Likewise.
1712 (BUS_MCEERR_AO): Likewise.
1713 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1714 (TRAP_TRACE): Likewise.
1715 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1716 __USE_XOPEN2K8].
1717 (CLD_KILLED): Likewise.
1718 (CLD_DUMPED): Likewise.
1719 (CLD_TRAPPED): Likewise.
1720 (CLD_STOPPED): Likewise.
1721 (CLD_CONTINUED): Likewise.
1722 (POLL_IN): Likewise.
1723 (POLL_OUT): Likewise.
1724 (POLL_MSG): Likewise.
1725 (POLL_ERR): Likewise.
1726 (POLL_PRI): Likewise.
1727 (POLL_HUP): Likewise.
1728 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1729 (ILL_ILLOPN): Likewise.
1730 (ILL_ILLADR): Likewise.
1731 (ILL_ILLTRP): Likewise.
1732 (ILL_PRVOPC): Likewise.
1733 (ILL_PRVREG): Likewise.
1734 (ILL_COPROC): Likewise.
1735 (ILL_BADSTK): Likewise.
1736 (FPE_INTDIV): Likewise.
1737 (FPE_INTOVF): Likewise.
1738 (FPE_FLTDIV): Likewise.
1739 (FPE_FLTOVF): Likewise.
1740 (FPE_FLTUND): Likewise.
1741 (FPE_FLTRES): Likewise.
1742 (FPE_FLTINV): Likewise.
1743 (FPE_FLTSUB): Likewise.
1744 (SEGV_MAPERR): Likewise.
1745 (SEGV_ACCERR): Likewise.
1746 (BUS_ADRALN): Likewise.
1747 (BUS_ADRERR): Likewise.
1748 (BUS_OBJERR): Likewise.
1749 (BUS_MCEERR_AR): Likewise.
1750 (BUS_MCEERR_AO): Likewise.
1751 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1752 (TRAP_TRACE): Likewise.
1753 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1754 __USE_XOPEN2K8].
1755 (CLD_KILLED): Likewise.
1756 (CLD_DUMPED): Likewise.
1757 (CLD_TRAPPED): Likewise.
1758 (CLD_STOPPED): Likewise.
1759 (CLD_CONTINUED): Likewise.
1760 (POLL_IN): Likewise.
1761 (POLL_OUT): Likewise.
1762 (POLL_MSG): Likewise.
1763 (POLL_ERR): Likewise.
1764 (POLL_PRI): Likewise.
1765 (POLL_HUP): Likewise.
1766 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1767 Likewise.
1768 (ILL_ILLOPN): Likewise.
1769 (ILL_ILLADR): Likewise.
1770 (ILL_ILLTRP): Likewise.
1771 (ILL_PRVOPC): Likewise.
1772 (ILL_PRVREG): Likewise.
1773 (ILL_COPROC): Likewise.
1774 (ILL_BADSTK): Likewise.
1775 (ILL_BADIADDR): Likewise.
1776 (ILL_BREAK): 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 (FPE_DECOVF): Likewise.
1786 (FPE_DECDIV): Likewise.
1787 (FPE_DECERR): Likewise.
1788 (FPE_INVASC): Likewise.
1789 (FPE_INVDEC): Likewise.
1790 (SEGV_MAPERR): Likewise.
1791 (SEGV_ACCERR): Likewise.
1792 (SEGV_PSTKOVF): Likewise.
1793 (BUS_ADRALN): Likewise.
1794 (BUS_ADRERR): Likewise.
1795 (BUS_OBJERR): Likewise.
1796 (BUS_MCEERR_AR): Likewise.
1797 (BUS_MCEERR_AO): Likewise.
1798 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1799 (TRAP_TRACE): Likewise.
1800 (TRAP_BRANCH): Likewise.
1801 (TRAP_HWBKPT): Likewise.
1802 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1803 __USE_XOPEN2K8].
1804 (CLD_KILLED): Likewise.
1805 (CLD_DUMPED): Likewise.
1806 (CLD_TRAPPED): Likewise.
1807 (CLD_STOPPED): Likewise.
1808 (CLD_CONTINUED): Likewise.
1809 (POLL_IN): Likewise.
1810 (POLL_OUT): Likewise.
1811 (POLL_MSG): Likewise.
1812 (POLL_ERR): Likewise.
1813 (POLL_PRI): Likewise.
1814 (POLL_HUP): Likewise.
1815 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1816 (ILL_ILLOPN): Likewise.
1817 (ILL_ILLADR): Likewise.
1818 (ILL_ILLTRP): Likewise.
1819 (ILL_PRVOPC): Likewise.
1820 (ILL_PRVREG): Likewise.
1821 (ILL_COPROC): Likewise.
1822 (ILL_BADSTK): Likewise.
1823 (FPE_INTDIV): Likewise.
1824 (FPE_INTOVF): Likewise.
1825 (FPE_FLTDIV): Likewise.
1826 (FPE_FLTOVF): Likewise.
1827 (FPE_FLTUND): Likewise.
1828 (FPE_FLTRES): Likewise.
1829 (FPE_FLTINV): Likewise.
1830 (FPE_FLTSUB): Likewise.
1831 (SEGV_MAPERR): Likewise.
1832 (SEGV_ACCERR): Likewise.
1833 (BUS_ADRALN): Likewise.
1834 (BUS_ADRERR): Likewise.
1835 (BUS_OBJERR): Likewise.
1836 (BUS_MCEERR_AR): Likewise.
1837 (BUS_MCEERR_AO): Likewise.
1838 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1839 (TRAP_TRACE): Likewise.
1840 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1841 __USE_XOPEN2K8].
1842 (CLD_KILLED): Likewise.
1843 (CLD_DUMPED): Likewise.
1844 (CLD_TRAPPED): Likewise.
1845 (CLD_STOPPED): Likewise.
1846 (CLD_CONTINUED): Likewise.
1847 (POLL_IN): Likewise.
1848 (POLL_OUT): Likewise.
1849 (POLL_MSG): Likewise.
1850 (POLL_ERR): Likewise.
1851 (POLL_PRI): Likewise.
1852 (POLL_HUP): Likewise.
1853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1854 (ILL_ILLOPN): Likewise.
1855 (ILL_ILLADR): Likewise.
1856 (ILL_ILLTRP): Likewise.
1857 (ILL_PRVOPC): Likewise.
1858 (ILL_PRVREG): Likewise.
1859 (ILL_COPROC): Likewise.
1860 (ILL_BADSTK): Likewise.
1861 (FPE_INTDIV): Likewise.
1862 (FPE_INTOVF): Likewise.
1863 (FPE_FLTDIV): Likewise.
1864 (FPE_FLTOVF): Likewise.
1865 (FPE_FLTUND): Likewise.
1866 (FPE_FLTRES): Likewise.
1867 (FPE_FLTINV): Likewise.
1868 (FPE_FLTSUB): Likewise.
1869 (SEGV_MAPERR): Likewise.
1870 (SEGV_ACCERR): Likewise.
1871 (BUS_ADRALN): Likewise.
1872 (BUS_ADRERR): Likewise.
1873 (BUS_OBJERR): Likewise.
1874 (BUS_MCEERR_AR): Likewise.
1875 (BUS_MCEERR_AO): Likewise.
1876 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1877 (TRAP_TRACE): Likewise.
1878 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1879 __USE_XOPEN2K8].
1880 (CLD_KILLED): Likewise.
1881 (CLD_DUMPED): Likewise.
1882 (CLD_TRAPPED): Likewise.
1883 (CLD_STOPPED): Likewise.
1884 (CLD_CONTINUED): Likewise.
1885 (POLL_IN): Likewise.
1886 (POLL_OUT): Likewise.
1887 (POLL_MSG): Likewise.
1888 (POLL_ERR): Likewise.
1889 (POLL_PRI): Likewise.
1890 (POLL_HUP): Likewise.
1891 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1892 (ILL_ILLOPN): Likewise.
1893 (ILL_ILLADR): Likewise.
1894 (ILL_ILLTRP): Likewise.
1895 (ILL_PRVOPC): Likewise.
1896 (ILL_PRVREG): Likewise.
1897 (ILL_COPROC): Likewise.
1898 (ILL_BADSTK): Likewise.
1899 (FPE_INTDIV): Likewise.
1900 (FPE_INTOVF): Likewise.
1901 (FPE_FLTDIV): Likewise.
1902 (FPE_FLTOVF): Likewise.
1903 (FPE_FLTUND): Likewise.
1904 (FPE_FLTRES): Likewise.
1905 (FPE_FLTINV): Likewise.
1906 (FPE_FLTSUB): Likewise.
1907 (SEGV_MAPERR): Likewise.
1908 (SEGV_ACCERR): 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 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1917 __USE_XOPEN2K8].
1918 (CLD_KILLED): Likewise.
1919 (CLD_DUMPED): Likewise.
1920 (CLD_TRAPPED): Likewise.
1921 (CLD_STOPPED): Likewise.
1922 (CLD_CONTINUED): Likewise.
1923 (POLL_IN): Likewise.
1924 (POLL_OUT): Likewise.
1925 (POLL_MSG): Likewise.
1926 (POLL_ERR): Likewise.
1927 (POLL_PRI): Likewise.
1928 (POLL_HUP): Likewise.
1929 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1930 (ILL_ILLOPN): Likewise.
1931 (ILL_ILLADR): Likewise.
1932 (ILL_ILLTRP): Likewise.
1933 (ILL_PRVOPC): Likewise.
1934 (ILL_PRVREG): Likewise.
1935 (ILL_COPROC): Likewise.
1936 (ILL_BADSTK): Likewise.
1937 (ILL_DBLFLT): Likewise.
1938 (ILL_HARDWALL): 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/x86/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 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2008 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2009
bc61d27c
JM
2010 [BZ #16670]
2011 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2012 before #include of <time.h>.
2013 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2014 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2015 (test-xfail-UNIX98/sched.h/conform): Likewise.
2016
302949e2
MS
20172014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2018
2019 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2020 error absence of trapping exception support.
2021 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2022
a00f522a
JM
20232014-03-07 Joseph Myers <joseph@codesourcery.com>
2024
6f99f280
JM
2025 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2026 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2027 * timezone/Makefile (testdata): Move definition above include of
2028 Rules.
2029 (test-zones): New variable.
2030 (tests-special): Add zone files.
2031 (build-testdata): Use $(evaluate-test).
2032
0b20a9e8
JM
2033 * elf/Makefile (tests-special): Rename tests to end with .out.
2034 ($(objpfx)noload-mem): Likewise.
2035 ($(objpfx)tst-leaks1-mem): Likewise.
2036 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2037 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2038 $(objpfx)test-iconvconfig.out.
2039 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2040 set -e inside subshell and redirect output to file.
2041 * iconvdata/Makefile (generated): Rename tests to end with .out.
2042 Correct type.
2043 (tests-special): Rename tests to end with .out.
2044 ($(objpfx)mtrace-tst-loading): Likewise.
2045 * intl/Makefile (generated): Likewise.
2046 (tests-special): Likewise.
2047 ($(objpfx)mtrace-tst-gettext): Likewise.
2048 * misc/Makefile (generated): Likewise.
2049 (tests-special): Likewise.
2050 ($(objpfx)tst-error1-mem): Likewise.
2051 * nptl/Makefile (tests-special): Likewise.
2052 ($(objpfx)tst-stack3-mem): Likewise.
2053 (generated): Likewise.
2054 * posix/Makefile (generated): Likewise.
2055 (tests-special): Likewise.
2056 (xtests-special): Likewise.
2057 ($(objpfx)tst-fnmatch-mem): Likewise.
2058 ($(objpfx)bug-regex2-mem): Likewise.
2059 ($(objpfx)bug-regex14-mem): Likewise.
2060 ($(objpfx)bug-regex21-mem): Likewise.
2061 ($(objpfx)bug-regex31-mem): Likewise.
2062 ($(objpfx)tst-vfork3-mem): Likewise.
2063 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2064 ($(objpfx)tst-pcre-mem): Likewise.
2065 ($(objpfx)tst-boost-mem): Likewise.
2066 ($(objpfx)bug-ga2-mem): Likewise.
2067 ($(objpfx)bug-glob2-mem): Likewise.
2068 * resolv/Makefile (generate): Likewise.
2069 (tests-special): Likewise.
2070 (xtests-special): Likewise.
2071 (generated): Likewise.
2072 ($(objpfx)mtrace-tst-leaks): Likewise.
2073 ($(objpfx)mtrace-tst-leaks2): Likewise.
2074
265d52ab
JM
2075 * scripts/merge-test-results.sh: New file.
2076 * Makefile (tests-special-notdir): New variable.
2077 (tests): Run merge-test-results.sh.
2078 (xtests): Likewise.
2079 * Rules (tests-special-notdir): New variable.
2080 (xtests-special-notdir): Likewise.
2081 (tests): Run merge-test-results.sh
2082 (xtests): Likewise.
2083
54ee292d
JM
2084 * Makeconfig (test-xfail-name): New variable.
2085 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2086 compute variable name for expected failures.
2087 * conform/Makefile (conformtest-headers-data): New variable.
2088 (conformtest-standards): Likewise.
2089 (conformtest-headers-ISO): Likewise.
2090 (conformtest-headers-ISO99): Likewise.
2091 (conformtest-headers-ISO11): Likewise.
2092 (conformtest-headers-POSIX): Likewise.
2093 (conformtest-headers-XPG3): Likewise.
2094 (conformtest-headers-XPG4): Likewise.
2095 (conformtest-headers-UNIX98): Likewise.
2096 (conformtest-headers-XOPEN2K): Likewise.
2097 (conformtest-headers-POSIX2008): Likewise.
2098 (conformtest-headers-XOPEN2K8): Likewise.
2099 (conformtest-header-list-base): Likewise.
2100 (conformtest-header-list-tests): Likewise.
2101 (conformtest-header-base): Likewise.
2102 (conformtest-header-tests): Likewise.
2103 (tests-special): Add $(conformtest-header-list-tests). If
2104 [$(fast-check) && !$(cross-compiling)], add
2105 $(conformtest-header-tests) instead of
2106 $(objpfx)run-conformtest.out.
2107 (generated): Add $(conformtest-header-list-base). If
2108 [$(fast-check) && !$(cross-compiling)], add
2109 $(conformtest-header-base). Remove previous setting.
2110 ($(conformtest-header-list-tests)): New target.
2111 (test-xfail-run-conformtest): Remove variable.
2112 ($(objpfx)run-conformtest.out): Remove target.
2113 (test-xfail-ISO11/complex.h/conform): New variable.
2114 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2115 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2116 (test-xfail-XPG3/varargs.h/conform): Likewise.
2117 (test-xfail-XPG4/varargs.h/conform): Likewise.
2118 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2119 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2120 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2121 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2122 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2123 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2124 (test-xfail-XPG3/ftw.h/conform): Likewise.
2125 (test-xfail-XPG3/grp.h/conform): Likewise.
2126 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2127 (test-xfail-XPG3/limits.h/conform): Likewise.
2128 (test-xfail-XPG3/pwd.h/conform): Likewise.
2129 (test-xfail-XPG3/search.h/conform): Likewise.
2130 (test-xfail-XPG3/signal.h/conform): Likewise.
2131 (test-xfail-XPG3/stdio.h/conform): Likewise.
2132 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2133 (test-xfail-XPG3/string.h/conform): Likewise.
2134 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2135 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2136 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2137 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2138 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2139 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2140 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2141 (test-xfail-XPG3/termios.h/conform): Likewise.
2142 (test-xfail-XPG3/time.h/conform): Likewise.
2143 (test-xfail-XPG3/unistd.h/conform): Likewise.
2144 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2145 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2146 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2147 (test-xfail-XPG4/netdb.h/conform): Likewise.
2148 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2149 (test-xfail-XPG4/signal.h/conform): Likewise.
2150 (test-xfail-XPG4/stdio.h/conform): Likewise.
2151 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2152 (test-xfail-XPG4/stropts.h/conform): Likewise.
2153 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2154 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2155 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2156 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2157 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2158 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2159 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2160 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2161 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2162 (test-xfail-XPG4/termios.h/conform): Likewise.
2163 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2164 (test-xfail-XPG4/unistd.h/conform): Likewise.
2165 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2166 (test-xfail-POSIX/sched.h/conform): Likewise.
2167 (test-xfail-POSIX/signal.h/conform): Likewise.
2168 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2169 (test-xfail-POSIX/tar.h/conform): Likewise.
2170 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2171 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2172 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2173 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2174 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2175 (test-xfail-UNIX98/sched.h/conform): Likewise.
2176 (test-xfail-UNIX98/signal.h/conform): Likewise.
2177 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2178 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2179 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2180 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2181 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2182 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2183 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2184 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2185 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2186 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2187 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2188 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2189 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2190 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2191 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2192 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2193 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2194 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2195 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2196 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2197 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2198 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2199 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2200 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2201 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2202 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2203 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2204 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2205 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2206 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2207 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2208 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2209 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2210 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2211 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2212 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2213 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2214 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2215 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2216 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2217 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2218 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2219 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2220 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2221 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2222 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2223 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2224 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2225 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2226 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2227 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2228 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2229 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2230 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2231 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2232 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2233 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2234 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2235 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2236 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2237 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2238 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2239 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2240 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2241 (conformtest-cc-flags): Likewise.
2242 ($(conformtest-header-tests): New target.
2243 * conform/check-header-lists.sh: New file.
2244 * conform/run-conformtest.sh: Remove.
2245
a00f522a
JM
2246 * conform/conformtest.pl: Allow ' and \ in values given for
2247 constants.
2248 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2249 inclusion.
2250 [POSIX] (sys/types.h): Likewise.
2251 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2252 inclusion.
2253 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2254 inclusion.
2255 * conform/data/signal.h-data (SIGIO): Remove expectation.
2256 [XPG3] (SIGBUS): Do not expect.
2257 [POSIX || XPG3] (SIGPOLL): Likewise.
2258 [POSIX || XPG3] (SIGPROF): Likewise.
2259 [POSIX || XPG3] (SIGSYS): Likewise.
2260 [XPG3] (SIGTRAP): Likewise.
2261 [POSIX || XPG3] (SIGURG): Likewise.
2262 [POSIX || XPG3] (SIGVTALRM): Likewise.
2263 [POSIX || XPG3] (SIGXCPU): Likewise.
2264 [POSIX || XPG3] (SIGXFSZ): Likewise.
2265 [POSIX] (SA_SIGINFO): Expect.
2266 [XPG3] (siginfo_t): Do not expect type or contents.
2267 [POSIX] (si_pid): Do not expect element.
2268 [POSIX] (si_uid): Likewise.
2269 [POSIX] (si_addr): Likewise.
2270 [POSIX] (si_status): Likewise.
2271 [POSIX] (si_band): Likewise.
2272 [XPG4] (si_value): Likewise.
2273 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2274 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2275 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2276 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2277 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2278 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2279 [POSIX || XPG3] (ILL_COPROC): Likewise.
2280 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2281 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2282 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2283 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2284 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2285 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2286 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2287 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2288 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2289 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2290 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2291 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2292 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2293 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2294 [POSIX || XPG3] (CLD_EXITED): Likewise.
2295 [POSIX || XPG3] (CLD_KILLED): Likewise.
2296 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2297 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2298 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2299 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2300 [POSIX || XPG3] (POLL_IN): Likewise.
2301 [POSIX || XPG3] (POLL_OUT): Likewise.
2302 [POSIX || XPG3] (POLL_MSG): Likewise.
2303 [POSIX || XPG3] (POLL_ERR): Likewise.
2304 [POSIX || XPG3] (POLL_PRI): Likewise.
2305 [POSIX || XPG3] (POLL_HUP): Likewise.
2306 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2307 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2308 (SIG*): Do not allow.
2309 [XPG3] (si_*): Likewise.
2310 [XPG3] (SI_*): Likewise.
2311 [XPG3 || XPG4] (sigev_*): Likewise.
2312 [XPG3 || XPG4] (SIGEV_*): Likewise.
2313 [XPG3 || XPG4] (sival_*): Likewise.
2314 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2315 [POSIX || XPG3] (BUS_*): Likewise.
2316 [POSIX || XPG3] (CLD_*): Likewise.
2317 [POSIX || XPG3] (FPE_*): Likewise.
2318 [POSIX || XPG3] (ILL_*): Likewise.
2319 [POSIX || XPG3] (POLL_*): Likewise.
2320 [POSIX || XPG3] (SEGV_*): Likewise.
2321 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2322 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2323 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2324 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2325 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2326 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2327 Specify type and value.
2328 (TVERSLEN): Likewise.
2329 (REGTYPE): Likewise.
2330 (AREGTYPE): Likewise.
2331 (LNKTYPE): Likewise.
2332 (SYMTYPE): Likewise.
2333 (CHRTYPE): Likewise.
2334 (BLKTYPE): Likewise.
2335 (DIRTYPE): Likewise.
2336 (FIFOTYPE): Likewise.
2337 (CONTTYPE): Likewise.
2338 (TSUID): Likewise.
2339 (TSGID): Likewise.
2340 (TSVTX): Likewise.
2341 (TUREAD): Likewise.
2342 (TUWRITE): Likewise.
2343 (TUEXEC): Likewise.
2344 (TGREAD): Likewise.
2345 (TGWRITE): Likewise.
2346 (TGEXEC): Likewise.
2347 (TOREAD): Likewise.
2348 (TOWRITE): Likewise.
2349 (TOEXEC): Likewise.
2350 [POSIX] (TSVTX): Expect constant.
2351
aa97dee1
JM
23522014-03-06 Joseph Myers <joseph@codesourcery.com>
2353
f214606a
JM
2354 * Makefile (tests): Change dependencies to ....
2355 (tests-special): ... additions to this variable.
2356 (tests): Depend on $(tests-special).
2357 * Makerules (check-abi-list): New variable.
2358 (check-abi): Depend on $(check-abi-list).
2359 [$(subdir) = elf] (tests-special): Add
2360 $(objpfx)check-abi-libc.out.
2361 [$(build-shared) = yes && subdir] (tests-special): Add
2362 $(check-abi-list).
2363 [$(build-shared) = yes && subdir] (tests): Do not depend on
2364 check-abi.
2365 * Rules (tests): Depend on $(tests-special).
2366 (xtests): Depend on $(xtests-special).
2367 * catgets/Makefile (tests): Change dependencies to ....
2368 (tests-special): ... additions to this variable.
2369 * conform/Makefile (tests): Change dependencies to ....
2370 (tests-special): ... additions to this variable.
2371 * elf/Makefile (tests): Change dependencies to ....
2372 (tests-special): ... additions to this variable.
2373 * grp/Makefile (tests): Change dependencies to ....
2374 (tests-special): ... additions to this variable.
2375 * iconv/Makefile (xtests): Change dependencies to ....
2376 (xtests-special): ... additions to this variable.
2377 * iconvdata/Makefile (tests): Change dependencies to ....
2378 (tests-special): ... additions to this variable.
2379 * intl/Makefile (tests): Change dependencies to ....
2380 (tests-special): ... additions to this variable. Also add
2381 $(objpfx)tst-gettext.out.
2382 * io/Makefile (tests): Change dependencies to ....
2383 (tests-special): ... additions to this variable.
2384 * libio/Makefile (tests): Change dependencies to ....
2385 (tests-special): ... additions to this variable.
2386 * malloc/Makefile (tests): Change dependencies to ....
2387 (tests-special): ... additions to this variable.
2388 * misc/Makefile (tests): Change dependencies to ....
2389 (tests-special): ... additions to this variable.
2390 * nptl/Makefile (tests): Change dependencies to ....
2391 (tests-special): ... additions to this variable.
2392 * nptl_db/Makefile (tests): Change dependencies to ....
2393 (tests-special): ... additions to this variable.
2394 * posix/Makefile (tests): Change dependencies to ....
2395 (tests-special): ... additions to this variable.
2396 (xtests): Change dependencies to ....
2397 (xtests-special): ... additions to this variable.
2398 * resolv/Makefile (tests): Change dependencies to ....
2399 (tests-special): ... additions to this variable.
2400 (xtests): Change dependencies to ....
2401 (xtests-special): ... additions to this variable.
2402 * stdio-common/Makefile (tests): Change dependencies to ....
2403 (tests-special): ... additions to this variable.
2404 (do-tst-unbputc): Remove target.
2405 (do-tst-printf): Likewise.
2406 * stdlib/Makefile (tests): Change dependencies to ....
2407 (tests-special): ... additions to this variable.
2408 * string/Makefile (tests): Change dependencies to ....
2409 (tests-special): ... additions to this variable.
2410 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2411 (tests-special): ... additions to this variable.
2412
81700b53
JM
2413 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2414 whole file.
2415 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2416 whole file.
2417 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2418 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2419
2ea18461
JM
2420 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2421 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2422 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2423 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2424 * conform/data/libgen.h-data [XPG3]: Likewise.
2425 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2426 * conform/data/ndbm.h-data [XPG3]: Likewise.
2427 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2428 * conform/data/netdb.h-data [XPG3]: Likewise.
2429 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2430 * conform/data/poll.h-data [XPG3]: Likewise.
2431 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2432 * conform/data/strings.h-data [XPG3]: Likewise.
2433 * conform/data/stropts.h-data [XPG3]: Likewise.
2434 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2435 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2436 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2437 Likewise.
2438 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2439 * conform/data/sys/time.h-data [XPG3]: Likewise.
2440 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2441 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2442 * conform/data/sys/un.h-data [XPG3]: Likewise.
2443 * conform/data/syslog.h-data [XPG3]: Likewise.
2444 * conform/data/ucontext.h-data [XPG3]: Likewise.
2445 * conform/data/utmpx.h-data [XPG3]: Likewise.
2446 * conform/data/varargs.h-data [UNIX98]: Enable file.
2447
355bc986
JM
2448 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2449
215db402
JM
2450 * math/libm-test.inc (struct test_f_f_data): Move expected results
2451 into structure for each rounding mode.
2452 (struct test_ff_f_data): Likewise.
2453 (struct test_ff_f_data_nexttoward): Likewise.
2454 (struct test_fi_f_data): Likewise.
2455 (struct test_fl_f_data): Likewise.
2456 (struct test_if_f_data): Likewise.
2457 (struct test_fff_f_data): Likewise.
2458 (struct test_c_f_data): Likewise.
2459 (struct test_f_f1_data): Likewise.
2460 (struct test_fF_f1_data): Likewise.
2461 (struct test_ffI_f1_data): Likewise.
2462 (struct test_c_c_data): Likewise.
2463 (struct test_cc_c_data): Likewise.
2464 (struct test_f_i_data): Likewise.
2465 (struct test_ff_i_data): Likewise.
2466 (struct test_f_l_data): Likewise.
2467 (struct test_f_L_data): Likewise.
2468 (struct test_fFF_11_data): Likewise.
2469 (RM_): New macro.
2470 (RM_FE_DOWNWARD): Likewise.
2471 (RM_FE_TONEAREST): Likewise.
2472 (RM_FE_TOWARDZERO): Likewise.
2473 (RM_FE_UPWARD): Likewise.
2474 (RUN_TEST_LOOP_f_f): Update references to expected results.
2475 (RUN_TEST_LOOP_2_f): Likewise.
2476 (RUN_TEST_LOOP_fff_f): Likewise.
2477 (RUN_TEST_LOOP_c_f): Likewise.
2478 (RUN_TEST_LOOP_f_f1): Likewise.
2479 (RUN_TEST_LOOP_fF_f1): Likewise.
2480 (RUN_TEST_LOOP_fI_f1): Likewise.
2481 (RUN_TEST_LOOP_ffI_f1): Likewise.
2482 (RUN_TEST_LOOP_c_c): Likewise.
2483 (RUN_TEST_LOOP_cc_c): Likewise.
2484 (RUN_TEST_LOOP_f_i): Likewise.
2485 (RUN_TEST_LOOP_f_i_tg): Likewise.
2486 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2487 (RUN_TEST_LOOP_f_b): Likewise.
2488 (RUN_TEST_LOOP_f_b_tg): Likewise.
2489 (RUN_TEST_LOOP_f_l): Likewise.
2490 (RUN_TEST_LOOP_f_L): Likewise.
2491 (RUN_TEST_LOOP_fFF_11): Likewise.
2492 * math/gen-libm-test.pl (parse_args): Output four copies of
2493 expected results for each test.
2494
67737b8f
JM
2495 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2496 (__ASSUME_UTIMES): Remove.
2497 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2498 (__ASSUME_UTIMES): Likewise.
2499
aa97dee1
JM
2500 * math/gen-auto-libm-tests.c: Update comment on output format.
2501 (output_for_one_input_case): Generate before-rounding and
2502 after-rounding information as conditions on output flags not
2503 floating-point format.
2504 * math/auto-libm-test-out: Regenerated.
2505 * math/gen-libm-test.pl (cond_value): New function.
2506 (or_cond_value): Use cond_value.
2507 (generate_testfile): Handle conditional exceptions.
2508
e6b6a857
JM
25092014-03-05 Joseph Myers <joseph@codesourcery.com>
2510
2f0a0f44
JM
2511 * math/libm-test.inc (max_valid_error): New variable.
2512 (init_max_error): Take new argument specifying whether function
2513 results are exactly determined. Set max_valid_error and bound
2514 other variables for errors based on this argument.
2515 (set_max_error): Do not record results above max_valid_error.
2516 (check_float_internal): Only accept errors of up to 0.5ulps if
2517 also at most max_valid_error.
2518 (START): Take new argument EXACT and pass it to init_max_error.
2519 (acos_test): Update call to START.
2520 (acos_test_tonearest): Likewise.
2521 (acos_test_towardzero): Likewise.
2522 (acos_test_downward): Likewise.
2523 (acos_test_upward): Likewise.
2524 (acosh_test): Likewise.
2525 (asin_test): Likewise.
2526 (asin_test_tonearest): Likewise.
2527 (asin_test_towardzero): Likewise.
2528 (asin_test_downward): Likewise.
2529 (asin_test_upward): Likewise.
2530 (asinh_test): Likewise.
2531 (atan_test): Likewise.
2532 (atanh_test): Likewise.
2533 (atan2_test): Likewise.
2534 (cabs_test): Likewise.
2535 (cacos_test): Likewise.
2536 (cacosh_test): Likewise.
2537 (carg_test): Likewise.
2538 (casin_test): Likewise.
2539 (casinh_test): Likewise.
2540 (catan_test): Likewise.
2541 (catanh_test): Likewise.
2542 (cbrt_test): Likewise.
2543 (ccos_test): Likewise.
2544 (ccosh_test): Likewise.
2545 (ceil_test): Likewise.
2546 (cexp_test): Likewise.
2547 (cimag_test): Likewise.
2548 (clog_test): Likewise.
2549 (clog10_test): Likewise.
2550 (conj_test): Likewise.
2551 (copysign_test): Likewise.
2552 (cos_test): Likewise.
2553 (cos_test_tonearest): Likewise.
2554 (cos_test_towardzero): Likewise.
2555 (cos_test_downward): Likewise.
2556 (cos_test_upward): Likewise.
2557 (cosh_test): Likewise.
2558 (cosh_test_tonearest): Likewise.
2559 (cosh_test_towardzero): Likewise.
2560 (cosh_test_downward): Likewise.
2561 (cosh_test_upward): Likewise.
2562 (cpow_test): Likewise.
2563 (cproj_test): Likewise.
2564 (creal_test): Likewise.
2565 (csin_test): Likewise.
2566 (csinh_test): Likewise.
2567 (csqrt_test): Likewise.
2568 (ctan_test): Likewise.
2569 (ctan_test_tonearest): Likewise.
2570 (ctan_test_towardzero): Likewise.
2571 (ctan_test_downward): Likewise.
2572 (ctan_test_upward): Likewise.
2573 (ctanh_test): Likewise.
2574 (ctanh_test_tonearest): Likewise.
2575 (ctanh_test_towardzero): Likewise.
2576 (ctanh_test_downward): Likewise.
2577 (ctanh_test_upward): Likewise.
2578 (erf_test): Likewise.
2579 (erfc_test): Likewise.
2580 (exp_test): Likewise.
2581 (exp_test_tonearest): Likewise.
2582 (exp_test_towardzero): Likewise.
2583 (exp_test_downward): Likewise.
2584 (exp_test_upward): Likewise.
2585 (exp10_test): Likewise.
2586 (exp10_test_tonearest): Likewise.
2587 (exp10_test_towardzero): Likewise.
2588 (exp10_test_downward): Likewise.
2589 (exp10_test_upward): Likewise.
2590 (pow10_test): Likewise.
2591 (exp2_test): Likewise.
2592 (expm1_test): Likewise.
2593 (expm1_test_tonearest): Likewise.
2594 (expm1_test_towardzero): Likewise.
2595 (expm1_test_downward): Likewise.
2596 (expm1_test_upward): Likewise.
2597 (fabs_test): Likewise.
2598 (fdim_test): Likewise.
2599 (floor_test): Likewise.
2600 (fma_test): Likewise.
2601 (fma_test_towardzero): Likewise.
2602 (fma_test_downward): Likewise.
2603 (fma_test_upward): Likewise.
2604 (fmax_test): Likewise.
2605 (fmin_test): Likewise.
2606 (fmod_test): Likewise.
2607 (fpclassify_test): Likewise.
2608 (frexp_test): Likewise.
2609 (hypot_test): Likewise.
2610 (ilogb_test): Likewise.
2611 (isfinite_test): Likewise.
2612 (finite_test): Likewise.
2613 (isgreater_test): Likewise.
2614 (isgreaterequal_test): Likewise.
2615 (isinf_test): Likewise.
2616 (isless_test): Likewise.
2617 (islessequal_test): Likewise.
2618 (islessgreater_test): Likewise.
2619 (isnan_test): Likewise.
2620 (isnormal_test): Likewise.
2621 (issignaling_test): Likewise.
2622 (isunordered_test): Likewise.
2623 (j0_test): Likewise.
2624 (j1_test): Likewise.
2625 (jn_test): Likewise.
2626 (ldexp_test): Likewise.
2627 (lgamma_test): Likewise.
2628 (gamma_test): Likewise.
2629 (lrint_test): Likewise.
2630 (lrint_test_tonearest): Likewise.
2631 (lrint_test_towardzero): Likewise.
2632 (lrint_test_downward): Likewise.
2633 (lrint_test_upward): Likewise.
2634 (llrint_test): Likewise.
2635 (llrint_test_tonearest): Likewise.
2636 (llrint_test_towardzero): Likewise.
2637 (llrint_test_downward): Likewise.
2638 (llrint_test_upward): Likewise.
2639 (log_test): Likewise.
2640 (log10_test): Likewise.
2641 (log1p_test): Likewise.
2642 (log2_test): Likewise.
2643 (logb_test): Likewise.
2644 (logb_test_downward): Likewise.
2645 (lround_test): Likewise.
2646 (llround_test): Likewise.
2647 (modf_test): Likewise.
2648 (nearbyint_test): Likewise.
2649 (nextafter_test): Likewise.
2650 (nexttoward_test): Likewise.
2651 (pow_test): Likewise.
2652 (pow_test_tonearest): Likewise.
2653 (pow_test_towardzero): Likewise.
2654 (pow_test_downward): Likewise.
2655 (pow_test_upward): Likewise.
2656 (remainder_test): Likewise.
2657 (drem_test): Likewise.
2658 (remainder_test_tonearest): Likewise.
2659 (drem_test_tonearest): Likewise.
2660 (remainder_test_towardzero): Likewise.
2661 (drem_test_towardzero): Likewise.
2662 (remainder_test_downward): Likewise.
2663 (drem_test_downward): Likewise.
2664 (remainder_test_upward): Likewise.
2665 (drem_test_upward): Likewise.
2666 (remquo_test): Likewise.
2667 (rint_test): Likewise.
2668 (rint_test_tonearest): Likewise.
2669 (rint_test_towardzero): Likewise.
2670 (rint_test_downward): Likewise.
2671 (rint_test_upward): Likewise.
2672 (round_test): Likewise.
2673 (scalb_test): Likewise.
2674 (scalbn_test): Likewise.
2675 (scalbln_test): Likewise.
2676 (signbit_test): Likewise.
2677 (sin_test): Likewise.
2678 (sin_test_tonearest): Likewise.
2679 (sin_test_towardzero): Likewise.
2680 (sin_test_downward): Likewise.
2681 (sin_test_upward): Likewise.
2682 (sincos_test): Likewise.
2683 (sinh_test): Likewise.
2684 (sinh_test_tonearest): Likewise.
2685 (sinh_test_towardzero): Likewise.
2686 (sinh_test_downward): Likewise.
2687 (sinh_test_upward): Likewise.
2688 (sqrt_test): Likewise.
2689 (sqrt_test_tonearest): Likewise.
2690 (sqrt_test_towardzero): Likewise.
2691 (sqrt_test_downward): Likewise.
2692 (sqrt_test_upward): Likewise.
2693 (tan_test): Likewise.
2694 (tan_test_tonearest): Likewise.
2695 (tan_test_towardzero): Likewise.
2696 (tan_test_downward): Likewise.
2697 (tan_test_upward): Likewise.
2698 (tanh_test): Likewise.
2699 (tgamma_test): Likewise.
2700 (trunc_test): Likewise.
2701 (y0_test): Likewise.
2702 (y1_test): Likewise.
2703 (yn_test): Likewise.
2704 (significand_test): Likewise.
2705
e6b6a857
JM
2706 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2707 individual tests in comment.
2708 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2709 (prev_max_error): New variable.
2710 (prev_real_max_error): Likewise.
2711 (prev_imag_max_error): Likewise.
2712 (compare_ulp_data): Don't refer to test names in comment.
2713 (find_test_ulps): Remove function.
2714 (find_function_ulps): Likewise.
2715 (find_complex_function_ulps): Likewise.
2716 (init_max_error): Take function name as argument. Look up ulps
2717 for that function.
2718 (print_ulps): Remove function.
2719 (print_max_error): Use prev_max_error instead of calling
2720 find_function_ulps.
2721 (print_complex_max_error): Use prev_real_max_error and
2722 prev_imag_max_error instead of calling find_complex_function_ulps.
2723 (check_float_internal): Take max_ulp parameter instead of calling
2724 find_test_ulps. Don't call print_ulps.
2725 (check_float): Update call to check_float_internal.
2726 (check_complex): Update calls to check_float_internal.
2727 (START): Pass argument to init_max_error.
2728 * math/gen-libm-test.pl (%results): Don't include "kind"
2729 information.
2730 (parse_ulps): Don't handle ulps of individual tests.
2731 (print_ulps_file): Likewise.
2732 (output_ulps): Likewise.
2733 * math/README.libm-test: Update.
2734 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2735 individual tests.
2736 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2737 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2738 * sysdeps/arm/libm-test-ulps: Likewise.
2739 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2740 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2741 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2742 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2743 * sysdeps/microblaze/libm-test-ulps: Likewise.
2744 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2745 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2746 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2747 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2748 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2749 * sysdeps/sh/libm-test-ulps: Likewise.
2750 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2751 * sysdeps/tile/libm-test-ulps: Likewise.
2752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2753
45adef3c
JM
27542014-03-04 Joseph Myers <joseph@codesourcery.com>
2755
2756 * math/libm-test.inc (print_complex_max_error): Check separately
2757 whether real and imaginary errors are within allowed range and
2758 pass 0 to print_complex_function_ulps instead of value within
2759 allowed range.
2760
000232b9
SP
27612014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2762
d4b17258
SP
2763 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2764 formatting.
2765 (get_handles_fopen): Likewise.
2766 (do_write_test): Likewise.
2767
091eff71
SP
2768 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2769
fa3cd248
SP
2770 * libio/fileops.c (do_ftell): Use cached offset when
2771 available.
2772 * libio/iofwide.c (do_ftell_wide): Likewise.
2773 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2774 _IO_file_attach.
2775 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2776
000232b9
SP
2777 [BZ #16532]
2778 * libio/libioP.h (get_file_offset): New function.
2779 * libio/fileops.c (get_file_offset): Likewise.
2780 (do_ftell): Likewise.
2781 (_IO_new_file_seekoff): Split out ftell logic.
2782 * libio/wfileops.c (do_ftell_wide): Likewise.
2783 (_IO_wfile_seekoff): Split out ftell logic.
2784 * libio/tst-ftell-active-handler.c: New test case.
2785 * libio/Makefile (tests): Add it.
2786
116f4d1a
RM
27872014-03-03 Roland McGrath <roland@hack.frob.com>
2788
2789 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2790 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2791
532a6035
SP
27922014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2793
2794 [BZ #16639]
2795 * nscd/connections.c (nscd_init): Call do_exit.
2796 (start_threads): Call do_exit and notify_parent.
2797 (begin_drop_privileges): Call do_exit.
2798 (finish_drop_privileges): Likewise.
2799 * nscd/selinux.c (preserve_capabilities): Likewise.
2800 (install_real_capabilities): Likewise.
2801 (nscd_selinux_enabled): Likewise.
2802 (avc_create_thread): Likewise.
2803 (avc_alloc_lock): Likewise.
2804 (nscd_avc_init): Likewise.
2805 * nscd/nscd.c (parent_fd): New static variable.
2806 (main): Create a pipe between parent and child processes.
2807 Skip closing parent_fd.
2808 (monitor_child): New function.
2809 (do_exit): Likewise.
2810 (notify_parent): Likewise.
2811 * nscd/nscd.h (notify_parent): Likewise.
2812 (do_exit): Likewise.
2813
d6285c9f
CD
28142014-03-03 Carlos O'Donell <carlos@redhat.com>
2815
2816 * malloc/malloc.c (__libc_calloc): Revert last change.
2817
2b85d2a0
AZ
28182014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819
2820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2821
c7debbdf
RS
28222014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2823
2824 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2826 implementation.
2827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2828 (__libc_ifunc_impl_list): Likewise.
2829 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2830 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2831 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2832 * string/strrchr.c: Define STRRCHR.
2833
235eed86
OB
28342014-02-28 Ondřej Bílka <neleai@seznam.cz>
2835
2836 * benchtest/bench-strtok.c (simple_strtok): Delete.
2837 (strtok_string): Use as benchmark.
2838 * string/strtok (STRTOK): New macro.
2839
8e25d1e7
CD
28402014-02-28 Carlos O'Donell <carlos@redhat.com>
2841
ef563f92
CD
2842 * manual/threads.texi: Add header and standard comments to all
2843 functions.
2844
8e25d1e7
CD
2845 * elf/dl-lookup.c (check_match): New function.
2846 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2847 (do_lookup_x): Remove nested function check_match. Use non-nested
2848 function check_match.
2849
ff71cc37
RM
28502014-02-28 Roland McGrath <roland@hack.frob.com>
2851
f08e9a26
RM
2852 * csu/Makefile (generated, before-compile): Use += rather than =.
2853 * catgets/Makefile (generated, generated-dirs): Likewise.
2854 * debug/Makefile (generated): Likewise.
2855 * dlfcn/Makefile (generated): Likewise.
2856 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2857 * iconvdata/Makefile (before-compile, generated): Likewise.
2858 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2859 * libio/Makefile (generated): Likewise.
2860 * malloc/Makefile (generated): Likewise.
2861 * manual/Makefile (generated, generated-dirs): Likewise.
2862 * misc/Makefile (generated): Likewise.
2863 * posix/Makefile (generated): Likewise.
2864 * resolv/Makefile (generated): Likewise.
2865 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2866 * timezone/Makefile (generated, generated-dirs): Likewise.
2867
ff71cc37
RM
2868 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2869
fe13a20c
AZ
28702014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2871
2872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2873 implementation.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2875 POWER8 llround ifunc implementation.
2876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2877 POWER8 implementation.
2878 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2879 POWER8 llround implementation.
2880
1ad8950a
AZ
28812014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2882
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2884 implementation.
2885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2886 POWER8 llrint ifunc implementation.
2887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2888 POWER8 implementation.
2889 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2890 POWER8 llrint implementation.
2891
cac626d6
AZ
28922014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2893
2894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2895 implementation.
2896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2897 POWER8 finite ifunc implementation.
2898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2899 POWER8 implementation.
2900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2901 Likewise.
2902 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2903 POWER8 finite implementation.
2904 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2905
4393fc11
AZ
29062014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907
2908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2909 implementation.
2910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2911 POWER8 isinf ifunc implementation.
2912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2913 POWER8 implementation.
2914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2915 Likewise.
2916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2917 POWER8 isinf implementation.
2918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2919
487972ae
AZ
29202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2921
2922 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2923 Add hwcap2 initialization.
2924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2925 implementation.
2926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2927 POWER8 isnan ifunc implementation.
2928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2929 POWER8 implementation.
2930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2931 Likewise.
2932 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2933 POWER8 isnan implementation.
2934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2935
7d92b787
JY
29362014-02-27 Joey Ye <joey.ye@arm.com>
2937
2938 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2939 (_FP_NANFRAC_Q): Set to zero.
2940
1cadc858
SP
29412014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2942
2943 [BZ #16623]
2944 * math/auto-libm-test-in: New test inputs.
2945 * math/auto-libm-test-out: Regenerate.
2946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2947 and DA.
2948 (__cos): Likewise.
2949 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2950
f8c17e79
JM
29512014-02-27 Joseph Myers <joseph@codesourcery.com>
2952
2953 * scripts/evaluate-test.sh: Take new argument indicating whether
2954 failure is expected.
2955 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2956 indicating whether failure is expected.
2957 * conform/Makefile (test-xfail-run-conformtest): New variable.
2958 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2959 level.
2960 * posix/Makefile (test-xfail-annexc): New variable.
2961 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2962
a5f891ac
JM
29632014-02-26 Joseph Myers <joseph@codesourcery.com>
2964
2965 * argp/Makefile: Include Makeconfig immediately after defining
2966 subdir.
2967 * assert/Makefile: Likewise.
2968 * benchtests/Makefile: Likewise.
2969 * catgets/Makefile: Likewise.
2970 * conform/Makefile: Likewise.
2971 * crypt/Makefile: Likewise.
2972 * csu/Makefile: Likewise.
2973 (all): Remove target.
2974 * ctype/Makefile: Include Makeconfig immediately after defining
2975 subdir.
2976 * debug/Makefile: Likewise.
2977 * dirent/Makefile: Likewise.
2978 * dlfcn/Makefile: Likewise.
2979 * gmon/Makefile: Likewise.
2980 * gnulib/Makefile: Likewise.
2981 * grp/Makefile: Likewise.
2982 * gshadow/Makefile: Likewise.
2983 * hesiod/Makefile: Likewise.
2984 * hurd/Makefile: Likewise.
2985 (all): Remove target.
2986 * iconvdata/Makefile: Include Makeconfig immediately after
2987 defining subdir.
2988 * inet/Makefile: Likewise.
2989 * intl/Makefile: Likewise.
2990 * io/Makefile: Likewise.
2991 * libio/Makefile: Likewise.
2992 (all): Remove target.
2993 * locale/Makefile: Include Makeconfig immediately after defining
2994 subdir.
2995 * login/Makefile: Likewise.
2996 * mach/Makefile: Likewise.
2997 (all): Remove target.
2998 * malloc/Makefile: Include Makeconfig immediately after defining
2999 subdir.
3000 (all): Remove target.
3001 * manual/Makefile: Include Makeconfig immediately after defining
3002 subdir.
3003 * math/Makefile: Likewise.
3004 * misc/Makefile: Likewise.
3005 * nis/Makefile: Likewise.
3006 * nss/Makefile: Likewise.
3007 * po/Makefile: Likewise.
3008 (all): Remove target.
3009 * posix/Makefile: Include Makeconfig immediately after defining
3010 subdir.
3011 * pwd/Makefile: Likewise.
3012 * resolv/Makefile: Likewise.
3013 * resource/Makefile: Likewise.
3014 * rt/Makefile: Likewise.
3015 * setjmp/Makefile: Likewise.
3016 * shadow/Makefile: Likewise.
3017 * signal/Makefile: Likewise.
3018 * socket/Makefile: Likewise.
3019 * soft-fp/Makefile: Likewise.
3020 * stdio-common/Makefile: Likewise.
3021 * stdlib/Makefile: Likewise.
3022 * streams/Makefile: Likewise.
3023 * string/Makefile: Likewise.
3024 * sunrpc/Makefile: Likewise.
3025 (all): Remove target.
3026 * sysvipc/Makefile: Include Makeconfig immediately after defining
3027 subdir.
3028 * termios/Makefile: Likewise.
3029 * time/Makefile: Likewise.
3030 * timezone/Makefile: Likewise.
3031 (all): Remove target.
3032 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3033 subdir.
3034 * wctype/Makefile: Likewise.
3035
5b456e9d
SE
30362014-02-26 Steve Ellcey <sellcey@mips.com>
3037
3038 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3039 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3040 (libc_feholdexcept_setround_mips): Ditto.
3041 (libc_feholdsetround): New.
3042 (libc_feholdsetroundf): New.
3043 (libc_feholdsetroundl): New.
3044 (libc_feupdateenv_test_mips): New.
3045 (libc_feupdateenv_test): New.
3046 (libc_feupdateenv_testf): New.
3047 (libc_feupdateenv_testl): New.
3048 (libc_feresetround): New.
3049 (libc_feresetroundf): New.
3050 (libc_feresetroundl): New.
3051 (libc_fetestexcept_mips): New.
3052 (libc_fetestexcept): New.
3053 (libc_fetestexceptf): New.
3054 (libc_fetestexceptl): New.
3055 (HAVE_RM_CTX): New.
3056 (libc_feholdexcept_setround_mips_ctx): New.
3057 (libc_feholdexcept_setround_ctx): New.
3058 (libc_feholdexcept_setroundf_ctx): New.
3059 (libc_feholdexcept_setroundl_ctx): New.
3060 (libc_fesetenv_mips_ctx): New.
3061 (libc_fesetenv_ctx): New.
3062 (libc_fesetenv_ctxf): New.
3063 (libc_fesetenv_ctxl): New.
3064 (libc_feupdateenv_mips_ctx): New.
3065 (libc_feupdateenv_ctx): New.
3066 (libc_feupdateenvf_ctx): New.
3067 (libc_feupdateenvl_ctx): New.
3068 (libc_feholdsetround_mips_ctx): New.
3069 (libc_feholdsetround_ctx): New.
3070 (libc_feholdsetroundf_ctx): New.
3071 (libc_feholdsetroundl_ctx): New.
3072 (libc_feresetround_mips_ctx): New.
3073 (libc_feresetround_ctx): New.
3074 (libc_feresetroundf_ctx): New.
3075 (libc_feresetroundl_ctx): New.
3076
085d0e35
CD
30772014-02-26 Carlos O'Donell <carlos@redhat.com>
3078
f067bf1f
CD
3079 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3080
085d0e35
CD
3081 * manual/ipc.texi: New file.
3082 * manual/Makefile (chapters): Add ipc.
3083 * manual/job.texi: Add "Inter-Process Communication" to next.
3084 * manual/process.texi: Add "Inter-Process Communication" to prev.
3085
86e58c08
AZ
30862014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3087
3088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3089
4248f0da
OB
30902014-02-26 Ondřej Bílka <neleai@seznam.cz>
3091
3092 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3093
cf822e3c
OB
3094 * manual/arith.texi: Fix spaces after sentences.
3095 * manual/charset.texi: Likewise.
3096 * manual/errno.texi: Likewise.
3097 * manual/install.texi: Likewise.
3098 * manual/llio.texi: Likewise.
3099 * manual/locale.texi: Likewise.
3100 * manual/maint.texi: Likewise.
3101 * manual/math.texi: Likewise.
3102 * manual/memory.texi: Likewise.
3103 * manual/message.texi: Likewise.
3104 * manual/probes.texi: Likewise.
3105 * manual/resource.texi: Likewise.
3106 * manual/signal.texi: Likewise.
3107 * manual/socket.texi: Likewise.
3108 * manual/stdio.texi: Likewise.
3109 * manual/string.texi: Likewise.
3110 * manual/time.texi: Likewise.
3111 * manual/users.texi: Likewise.
3112
ade40b10
CD
31132014-02-25 Carlos O'Donell <carlos@redhat.com>
3114
3115 [BZ #16632]
3116 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3117 _DEFAULT_SOURCE is defined.
3118
d0503676
CD
31192014-02-25 Ulrich Drepper <drepper@gmail.com>
3120 Carlos O'Donell <carlos@redhat.com>
3121
3122 [BZ #16613]
3123 * elf/dl-tls.c (_dl_count_modids): New function.
3124 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3125 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3126 audit library and increment generation counter.
3127 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3128 * elf/tst-audit9.c: New file.
3129 * elf/tst-auditmod9a.c: New file.
3130 * elf/tst-auditmod9b.c: New file.
3131 * elf/Makefile: Add rules to build and run tst-audit9.
3132
4cbf380c
FW
31332014-02-25 Florian Weimer <fweimer@redhat.com>
3134
3135 [BZ #15347]
3136 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3137
80a56cc3
WN
31382014-02-25 Will Newton <will.newton@linaro.org>
3139
3140 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3141 (__longjmp): Restore sp and lr before restoring callee
3142 saved registers. Add longjmp and longjmp_target
3143 SystemTap probe point.
3144 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3145 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3146 Define to zero to match jmpbuf layout.
3147 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3148 (__sigsetjmp): Save sp and lr before saving callee
3149 saved registers. Add setjmp SystemTap probe point.
3150
3ea0f74e
SL
31512014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3152
3153 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3154
b04acb26
AS
31552014-02-24 Andreas Schwab <schwab@suse.de>
3156
3157 [BZ #15804]
3158 * elf/pldd.c (wait_for_ptrace_stop): New function.
3159 (main): Call it after attaching.
3160
098ad55c
RM
31612014-02-22 Roland McGrath <roland@hack.frob.com>
3162
d4ec6ae1
RM
3163 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3164 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3165 Versions files is now verboten.
3166 * hurd/Versions (libc: GLIBC_2.0):
3167 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3168 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3169 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3170 * mach/Versions: Likewise.
3171
098ad55c
RM
3172 * csu/Versions: Remove unused %include.
3173 * resolv/Versions: Likewise.
3174
acd7f096
JM
31752014-02-21 Joseph Myers <joseph@codesourcery.com>
3176
f0881698
JM
3177 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3178 ($(objpfx)check-local-headers.out): Likewise.
3179 ($(objpfx)begin-end-check.out): Likewise.
3180 * Makerules (check-abi-%.out): Likewise.
3181 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3182 ($(objpfx)test2.cat): Likewise.
3183 ($(objpfx)de/libc.cat): Likewise.
3184 ($(objpfx)test-gencat.out): Likewise.
3185 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3186 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3187 ($(objpfx)noload-mem): Likewise.
3188 ($(objpfx)tst-pathopt.out): Likewise.
3189 ($(objpfx)tst-rtld-load-self.out): Likewise.
3190 ($(objpfx)tst-array1-cmp.out): Likewise.
3191 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3192 ($(objpfx)tst-array2-cmp.out): Likewise.
3193 ($(objpfx)tst-array3-cmp.out): Likewise.
3194 ($(objpfx)tst-array4-cmp.out): Likewise.
3195 ($(objpfx)tst-array5-cmp.out): Likewise.
3196 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3197 ($(objpfx)check-textrel.out): Likewise.
3198 ($(objpfx)check-execstack.out): Likewise.
3199 ($(objpfx)check-localplt.out): Likewise.
3200 ($(objpfx)order2-cmp.out): Likewise.
3201 ($(objpfx)tst-leaks1-mem): Likewise.
3202 ($(objpfx)tst-leaks1-static-mem): Likewise.
3203 ($(objpfx)tst-initorder-cmp.out): Likewise.
3204 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3205 ($(objpfx)tst-unused-dep.out): Likewise.
3206 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3207 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3208 * iconv/Makefile (test-iconvconfig): Likewise.
3209 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3210 ($(objpfx)iconv-test.out): Likewise.
3211 ($(objpfx)tst-tables.out): Likewise.
3212 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3213 ($(objpfx)tst-gettext.out): Likewise.
3214 ($(objpfx)tst-translit.out): Likewise.
3215 ($(objpfx)tst-gettext2.out): Likewise.
3216 ($(objpfx)tst-gettext4.out): Likewise.
3217 ($(objpfx)tst-gettext6.out): Likewise.
3218 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3219 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3220 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3221 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3222 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3223 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3224 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3225 ($(objpfx)wordexp-tst.out): Likewise.
3226 ($(objpfx)annexc.out): Likewise.
3227 ($(objpfx)tst-fnmatch-mem): Likewise.
3228 ($(objpfx)bug-regex2-mem): Likewise.
3229 ($(objpfx)bug-regex14-mem): Likewise.
3230 ($(objpfx)bug-regex21-mem): Likewise.
3231 ($(objpfx)bug-regex31-mem): Likewise.
3232 ($(objpfx)tst-vfork3-mem): Likewise.
3233 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3234 ($(objpfx)tst-pcre-mem): Likewise.
3235 ($(objpfx)tst-boost-mem): Likewise.
3236 ($(objpfx)tst-getconf.out): Likewise.
3237 ($(objpfx)bug-ga2-mem): Likewise.
3238 ($(objpfx)bug-glob2-mem): Likewise.
3239 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3240 ($(objpfx)mtrace-tst-leaks2): Likewise.
3241 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3242 ($(objpfx)tst-printf.out): Likewise.
3243 ($(objpfx)tst-setvbuf1.out): Likewise.
3244 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3245 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3246 ($(objpfx)tst-fmtmsg.out): Likewise.
3247 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3248 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3249
acd7f096
JM
3250 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3251 * bits/sigaction.h [__USE_MISC]: Likewise.
3252 * bits/waitstatus.h: Update #endif comments.
3253 * ctype/ctype.h: Likewise.
3254 * dirent/dirent.h: Likewise.
3255 [__USE_MISC]: Remove redundant conditionals.
3256 * grp/grp.h: Update #endif comments.
3257 [__USE_GNU]: Remove redundant conditionals.
3258 [__USE_MISC]: Likewise.
3259 * inet/netinet/in.h [__USE_GNU]: Likewise.
3260 * io/sys/stat.h [__USE_MISC]: Likewise.
3261 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3262 * libio/bits/stdio.h: Update #endif comments.
3263 [__USE_MISC]: Remove redundant conditionals.
3264 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3265 * libio/stdio.h: Update #endif comments.
3266 [__USE_MISC]: Remove redundant conditionals.
3267 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3268 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3269 * math/math.h: Update #else and #endif comments.
3270 [__USE_MISC]: Remove redundant conditionals.
3271 * misc/sys/uio.h: Update #endif comments.
3272 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3273 * posix/glob.h [__USE_MISC]: Likewise.
3274 * posix/sys/types.h: Update #endif comments.
3275 [__USE_MISC]: Remove redundant conditionals.
3276 * posix/sys/wait.h: Update #endif comments.
3277 [__USE_MISC]: Remove redundant conditionals.
3278 * posix/unistd.h: Update #endif comments.
3279 [__USE_MISC]: Remove redundant conditionals.
3280 * pwd/pwd.h [__USE_GNU]: Likewise.
3281 [__USE_MISC]: Likewise.
3282 * resolv/netdb.h [__USE_GNU]: Likewise.
3283 * signal/signal.h: Update #endif comments.
3284 [__USE_MISC]: Remove redundant conditionals.
3285 * stdlib/stdlib.h: Update #else and #endif comments.
3286 [__USE_MISC]: Remove redundant conditionals.
3287 [__USE_GNU]: Likewise.
3288 * string/bits/string2.h [__USE_MISC]: Likewise.
3289 * string/string.h: Update #endif comments.
3290 [__USE_MISC]: Remove redundant conditionals.
3291 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3292 Likewise.
3293 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3294 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3295 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3298 Likewise.
3299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3300 comments.
3301 [__USE_MISC]: Remove redundant conditionals.
3302 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3303 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3304 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3305 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3306 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3307 Likewise.
3308 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3309 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3310 Likewise.
3311 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3313 Likewise.
3314 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3315 Likewise.
3316 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3317 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3318 Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3320 Likewise.
3321 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3322 * sysdeps/x86/bits/string.h: Update #endif comments.
3323 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3324 conditionals.
3325 * time/sys/time.h: Update #endif comments.
3326 * time/time.h: Likewise.
3327 [__USE_MISC]: Remove redundant conditionals.
3328
a5d82e4e
YG
33292014-02-21 Yury Gribov <y.gribov@samsung.com>
3330
3331 [BZ #16600]
3332 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3333
9a80491d
AS
33342014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3335
3336 * Versions.def (librt): Add GLIBC_2.17.
3337
105fa381
AC
33382014-02-21 Adam Conrad <adconrad@0c3.net>
3339
3340 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3341 synonym for _SYS_AUXV_H to allow direct inclusion.
3342 * sysdeps/sparc/bits/hwcap.h: Likewise.
3343 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3344 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3345 * sysdeps/sparc/sysdep.h: Likewise.
3346
b8cd1c4e
SP
33472014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3348
3349 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3350
bd939d23
RS
33512014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3352
3353 * benchtests/bench-strrchr.c: Print length instead of position.
3354
5d7b57ca
JM
33552014-02-20 Joseph Myers <joseph@codesourcery.com>
3356
bc688c10
JM
3357 [BZ #16611]
3358 * sysdeps/unix/sysv/linux/kernel-features.h
3359 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3360 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3361 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3362 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3363 Likewise.
3364 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3365 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3366 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3367 (__ASSUME_SENDMMSG): Define instead of using previous
3368 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3369 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3370 (__ASSUME_SENDMMSG_SYSCALL): Define.
3371 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3372 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3373 Likewise.
3374 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3375 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3376 Likewise.
3377 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3378 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3379 Likewise.
3380 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3381 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3382 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3383 [__ASSUME_SENDMMSG]: Change conditionals to
3384 [__ASSUME_SENDMMSG_SOCKETCALL].
3385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3386 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3387 Define.
3388 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3389 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3390 Likewise.
3391 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3392 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3393 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3394 [!__ASSUME_SENDMMSG]: Change conditional to
3395 [!__ASSUME_SENDMMSG_SOCKETCALL].
3396 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3397 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3398 Define.
3399
0e31b18c
JM
3400 [BZ #16610]
3401 * sysdeps/unix/sysv/linux/kernel-features.h
3402 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3403 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3404 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3405 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3406 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3407 [__i386__ || __sparc__]
3408 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3409 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3410 (__ASSUME_RECVMMSG): Define instead of using previous
3411 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3412 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3413 (__ASSUME_RECVMMSG_SYSCALL): Define.
3414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3416 Likewise.
3417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3418 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3419 Likewise.
3420 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3421 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3422 Likewise.
3423 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3424 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3425 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3426 [__ASSUME_RECVMMSG]: Change condition to
3427 [__ASSUME_RECVMMSG_SOCKETCALL].
3428 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3429 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3430 Define.
3431 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3433 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3434 Likewise.
3435 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3436 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3437 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3438 [!__ASSUME_RECVMMSG]: Change condition to
3439 [!__ASSUME_RECVMMSG_SOCKETCALL].
3440 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3441 (__ASSUME_RECVMMSG_SYSCALL): Define.
3442
dd481ccf
JM
3443 [BZ #16609]
3444 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3445 __powerpc__ || __s390__ || __sh__ || __sparc__]
3446 (__ASSUME_SOCKETCALL): Define.
3447 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3448 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3449 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3450 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3451 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3452 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3453 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3454 (__ASSUME_ACCEPT4): Define instead of using previous
3455 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3456 __powerpc__ || __sparc__ || __s390__)] condition.
3457 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3458 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3459 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3460 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3461 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3462 [!__ASSUME_ACCEPT4]: Change condition to
3463 [!__ASSUME_ACCEPT4_SOCKETCALL].
3464 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3465 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3466 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3467 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3468 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3469 __ASSUME_ACCEPT4_SYSCALL.
3470 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3471 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3472 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3473 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3474 __ASSUME_ACCEPT4_SYSCALL.
3475 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3476 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3477 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3478 [__ASSUME_ACCEPT4]: Change condition to
3479 [__ASSUME_ACCEPT4_SOCKETCALL].
3480 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3481 (__ASSUME_SOCKETCALL): Define.
3482 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3484 (__ASSUME_SOCKETCALL): Define.
3485 (__ASSUME_ACCEPT4): Remove.
3486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3487 Define.
3488 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3489 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3490 Likewise.
3491 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3492 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3493
5d7b57ca
JM
3494 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3495 macro.
3496 (HWCAP_ARM_LPAE): Likewise.
3497 (HWCAP_ARM_EVTSTRM): Likewise.
3498 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3499 Add vpfd32, lpae and evtstrm.
3500 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3501 Increase to 22.
3502
63689d61
JM
35032014-02-19 Joseph Myers <joseph@codesourcery.com>
3504
3505 * math/auto-libm-test-in: Add tests of clog10.
3506 * math/auto-libm-test-out: Regenerated.
3507 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3508 * sysdeps/i386/fpu/libm-test-ulps: Update.
3509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3510
ab09bf61
AS
35112014-02-18 Andreas Schwab <schwab@suse.de>
3512
3513 [BZ #16574]
3514 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3515 Store non-zero if the second buffer was newly allocated.
3516 (send_dg): Likewise.
3517 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3518 to send_vc and send_dg.
3519 (res_nsend): Pass NULL for ansp2_malloced.
3520 * resolv/res_query.c (__libc_res_nquery): Add parameter
3521 answerp2_malloced and pass it down to __libc_res_nsend.
3522 (res_nquery): Pass additional NULL to __libc_res_nquery.
3523 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3524 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3525 second answer buffer if answerp2_malloced was set.
3526 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3527 (__libc_res_nquerydomain): Add parameter
3528 answerp2_malloced and pass it down to __libc_res_nquery.
3529 (res_nquerydomain): Pass additional NULL to
3530 __libc_res_nquerydomain.
3531 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3532 additional NULL to __libc_res_nsend and __libc_res_nquery.
3533 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3534 additional NULL to __libc_res_nsearch.
3535 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3536 parameter of __libc_res_nsearch to check for separately allocated
3537 second buffer.
3538 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3539 __libc_res_nquery.
3540 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3541 additional NULL to __libc_res_nquery.
3542 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3543 __libc_res_nsearch.
3544 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3545 * include/resolv.h: Update prototypes of __libc_res_nquery,
3546 __libc_res_nsearch, __libc_res_nsend.
3547
a4fb7861
JM
35482014-02-18 Joseph Myers <joseph@codesourcery.com>
3549
c6af2d89
JM
3550 * math/auto-libm-test-in: Add tests of fma.
3551 * math/auto-libm-test-out: Regenerated.
3552 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3553 (fma_towardzero_test_data): Likewise.
3554 (fma_downward_test_data): Likewise.
3555 (fma_upward_test_data): Likewise.
3556 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3557 mpc_mode.
3558 (rounding_modes): Add values for new field.
3559 (func_calc_method): Add value mpfr_fff_f.
3560 (func_calc_desc): Add mpfr_fff_f union field.
3561 (test_function): Add field exact_args.
3562 (FUNC): Add macro argument EXACT_ARGS.
3563 (FUNC_mpfr_f_f): Update call to FUNC.
3564 (FUNC_mpfr_f_f): Likewise.
3565 (FUNC_mpfr_ff_f): Likewise.
3566 (FUNC_mpfr_if_f): Likewise.
3567 (FUNC_mpc_c_f): Likewise.
3568 (FUNC_mpc_c_c): Likewise.
3569 (test_functions): Add fma. Update calls to FUNC.
3570 (handle_input_arg): Add argument exact_args.
3571 (add_test): Update call to handle_input_arg.
3572 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3573 (output_for_one_input_case): Update call to calc_generic_results.
3574 Recalculate exact zero results in each rounding mode.
3575
a4fb7861
JM
3576 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3577 non-negative before setting low bit.
3578 * math/auto-libm-test-in: Mark one asin test possibly having
3579 spurious underflow.
3580 * math/auto-libm-test-out: Regenerated.
3581 * sysdeps/i386/fpu/libm-test-ulps: Update.
3582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3583
ef114eaf
DH
35842014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3585
2b7f4f2c
SP
3586 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3587 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3588 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3589 * README: Add missing listing for microblaze*-*-linux-gnu.
3590
c70a4b1d
MF
35912014-02-16 Mike Frysinger <vapier@gentoo.org>
3592
3593 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3594 * sysdeps/unix/sysv/linux/ia64: Move directory from
3595 ports/sysdeps/unix/sysv/linux/ia64.
3596 * README: Update listing for ia64-*-linux-gnu.
3597
591aeaf7
TD
35982014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3599 Joseph Myers <joseph@codesourcery.com>
3600
3601 * Makeconfig (test-name): New variable.
3602 (evaluate-test): Likewise.
3603 * Makerules (do-test-clean): Remove .test-result files.
3604 (common-mostlyclean): Likewise.
3605 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3606 * scripts/evaluate-test.sh: New file.
3607
6e89caf1
JM
36082014-02-14 Joseph Myers <joseph@codesourcery.com>
3609
7f98f180
JM
3610 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3611 separate $(objpfx)tst-fopenloc-cmp.out and
3612 $(objpfx)tst-fopenloc-mem.out targets.
3613 (tests): Update dependencies.
3614 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3615 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3616 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3617 (tst-rxspencer-no-utf8-ARGS): New variable.
3618 (tst-rxspencer-no-utf8-ENV): Likewise.
3619 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3620 instead of $(objpfx)tst-rxspencer-mem.
3621 ($(objpfx)tst-rxspencer-mem): Change target to
3622 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3623 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3624 * posix/tst-rxspencer-no-utf8.c: New file.
3625
6e89caf1
JM
3626 * elf/Makefile ($(objpfx)order.out): Remove rule.
3627 [$(run-built-tests) = yes] (tests): Depend on
3628 $(objpfx)order-cmp.out.
3629 ($(objpfx)order-cmp.out): New rule.
3630 [$(run-built-tests) = yes] (tests): Depend on
3631 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3632 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3633 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3634 $(objpfx)tst-array5-static-cmp.out.
3635 ($(objpfx)tst-array1.out): Remove rule.
3636 ($(objpfx)tst-array1-cmp.out): New rule.
3637 ($(objpfx)tst-array1-static.out): Remove rule.
3638 ($(objpfx)tst-array1-static-cmp.out): New rule.
3639 ($(objpfx)tst-array2.out): Remove rule.
3640 ($(objpfx)tst-array2-cmp.out): New rule.
3641 ($(objpfx)tst-array3.out): Remove rule.
3642 ($(objpfx)tst-array3-cmp.out): New rule.
3643 ($(objpfx)tst-array4.out): Remove rule.
3644 ($(objpfx)tst-array4-cmp.out): New rule.
3645 ($(objpfx)tst-array5.out): Remove rule.
3646 ($(objpfx)tst-array5-cmp.out): New rule.
3647 ($(objpfx)tst-array5-static.out): Remove rule.
3648 ($(objpfx)tst-array5-static-cmp.out): New rule.
3649 [$(run-built-tests) = yes] (tests): Depend on
3650 $(objpfx)order2-cmp.out.
3651 ($(objpfx)order2.out): Remove rule.
3652 ($(objpfx)order2-cmp.out): New rule.
3653 ($(objpfx)tst-initorder.out): Remove rule.
3654 [$(run-built-tests) = yes] (tests): Depend on
3655 $(objpfx)tst-initorder-cmp.out.
3656 ($(objpfx)tst-initorder-cmp.out): New rule.
3657 ($(objpfx)tst-initorder2.out): Remove rule.
3658 [$(run-built-tests) = yes] (tests): Depend on
3659 $(objpfx)tst-initorder2-cmp.out.
3660 ($(objpfx)tst-initorder2-cmp.out): New rule.
3661 [$(run-built-tests) = yes] (tests): Depend on
3662 $(objpfx)tst-unused-dep-cmp.out.
3663 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3664 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3665 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3666 on $(objpfx)tst-setvbuf1-cmp.out.
3667 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3668 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3669 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3670 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3671 ($(objpfx)tst-svc.out): Remove rule.
3672 ($(objpfx)tst-svc-cmp.out): New rule.
3673
ed9a38e2
JM
36742014-02-13 Joseph Myers <joseph@codesourcery.com>
3675
3676 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3677 * ctype/ctype.h [__USE_MISC]: Likewise.
3678 * dirent/dirent.h [__USE_MISC]: Likewise.
3679 * grp/grp.h [__USE_MISC]: Likewise.
3680 * io/fcntl.h [__USE_MISC]: Likewise.
3681 * io/sys/stat.h [__USE_MISC]: Likewise.
3682 * libio/stdio.h [__USE_MISC]: Likewise.
3683 * posix/unistd.h [__USE_MISC]: Likewise.
3684 * pwd/pwd.h [__USE_MISC]: Likewise.
3685 * stdlib.h [__USE_MISC]: Likewise.
3686 * string/bits/string2.h [__USE_MISC]: Likewise.
3687 * string/string.h [__USE_MISC]: Likewise.
3688 * time/time.h [__USE_MISC]: Likewise.
3689
d6680619
AS
36902014-02-13 Andreas Schwab <schwab@suse.de>
3691
3692 [BZ #16574]
3693 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3694 second answer buffer if it was separately allocated.
3695
ace614b8
JM
36962014-02-12 Joseph Myers <joseph@codesourcery.com>
3697
743151ae
JM
3698 * sysdeps/mips/math-tests.h: Include <features.h>.
3699 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3700 (ROUNDING_TESTS_long_double): Do not define.
3701 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3702 (EXCEPTION_TESTS_long_double): Likewise.
3703 * sysdeps/mips/mips64/libm-test-ulps: Update.
3704
498afc54
JM
3705 * include/features.h (__USE_BSD): Remove macro definitions.
3706 (__USE_SVID): Likewise.
3707 (_BSD_SOURCE): Likewise.
3708 (_SVID_SOURCE): Likewise.
3709 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3710 from definition of _DEFAULT_SOURCE.
3711 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3712 [_DEFAULT_SOURCE].
3713 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3714 * bits/mman.h [__USE_BSD]: Likewise.
3715 * bits/termios.h [__USE_BSD]: Likewise.
3716 * bits/waitstatus.h [__USE_BSD]: Likewise.
3717 * ctype/ctype.h [__USE_SVID]: Likewise.
3718 * dirent/dirent.h [__USE_BSD]: Likewise.
3719 * grp/grp.h [__USE_SVID]: Likewise.
3720 [__USE_BSD]: Likewise.
3721 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3722 * io/fcntl.h [__USE_BSD]: Likewise.
3723 * io/ftw.h [__USE_BSD]: Likewise.
3724 * io/sys/stat.h [__USE_BSD]: Likewise.
3725 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3726 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3727 * libio/stdio.h [__USE_SVID]: Likewise.
3728 [__USE_BSD]: Likewise.
3729 * math/math.h [__USE_SVID]: Likewise.
3730 [__USE_BSD]: Likewise.
3731 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3732 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3733 * misc/search.h [__USE_SVID]: Likewise.
3734 * misc/sys/mman.h [__USE_BSD]: Likewise.
3735 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3736 * misc/sys/uio.h [__USE_BSD]: Likewise.
3737 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3738 * posix/glob.h [__USE_BSD]: Likewise.
3739 * posix/regex.h [__USE_BSD]: Likewise.
3740 * posix/sys/types.h [__USE_BSD]: Likewise.
3741 [__USE_SVID]: Likewise.
3742 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3743 * posix/sys/wait.h [__USE_BSD]: Likewise.
3744 [__USE_SVID]: Likewise.
3745 * posix/unistd.h [__USE_BSD]: Likewise.
3746 [__USE_SVID]: Likewise.
3747 * pwd/pwd.h [__USE_SVID]: Likewise.
3748 * resolv/netdb.h [__USE_BSD]: Likewise.
3749 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3750 * signal/signal.h [__USE_BSD]: Likewise.
3751 [__USE_SVID]: Likewise.
3752 * socket/sys/socket.h [__USE_BSD]: Likewise.
3753 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3754 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3755 [__USE_SVID]: Likewise.
3756 * string/bits/string2.h [__USE_BSD]: Likewise.
3757 [__USE_SVID]: Likewise.
3758 * string/bits/string3.h [__USE_BSD]: Likewise.
3759 * string/endian.h [__USE_BSD]: Likewise.
3760 * string/string.h [__USE_SVID]: Likewise.
3761 [__USE_BSD]: Likewise.
3762 * string/strings.h [__USE_BSD]: Likewise.
3763 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3764 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3765 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3766 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3767 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3768 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3769 Likewise.
3770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3771 Likewise.
3772 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3773 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3774 Likewise.
3775 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3776 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3777 Likewise.
3778 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3779 Likewise.
3780 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3781 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3782 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3783 Likewise.
3784 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3785 Likewise.
3786 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3787 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3788 * termios/termios.h [__USE_BSD]: Likewise.
3789 * time/sys/time.h [__USE_BSD]: Likewise.
3790 * time/time.h [__USE_BSD]: Likewise.
3791 [__USE_SVID]: Likewise.
3792
dd7b064c
JM
3793 * Makefile (subdir_targets): Remove subdir_lint.out.
3794
a2c4c199
JM
3795 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3796 (do-tst-printf): Likewise.
3797 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3798 $(objpfx)tst-printf.out.
3799
8756f740
JM
3800 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3801
1b6dd3f1
JM
3802 * Makerules (check-abi-%): Change target to
3803 $(objpfx)check-abi-%.out.
3804 (check-abi target): Update dependencies.
3805 (check-abi-pattern variable): Redirect output of diff to $@.
3806 (check-abi variable): Likewise.
3807 * elf/Makefile (check-abi): Update dependencies.
3808
ace614b8
JM
3809 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3810 unused.
3811 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3812 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3813 subnormal range.
3814 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3815 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3816 value has largest subnormal exponent.
3817 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3818 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3819 * sysdeps/aarch64/soft-fp/sfp-machine.h
3820 (_FP_TININESS_AFTER_ROUNDING): New macro.
3821 * sysdeps/alpha/soft-fp/sfp-machine.h
3822 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3823 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3824 Likewise.
3825 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3826 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3827 * sysdeps/mips/soft-fp/sfp-machine.h
3828 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3829 * sysdeps/powerpc/soft-fp/sfp-machine.h
3830 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3831 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3832 Likewise.
3833 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3834 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3836 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3837 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3838 Likewise.
3839
fbfdf9cb
DAS
38402014-02-12 Dylan Alex Simon <dylan@dylex.net>
3841
3842 [BZ #16545]
3843 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3844 model 1.
3845
68b7efaa
RH
38462014-02-12 Richard Henderson <rth@redhat.com>
3847
c70a4b1d 3848 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3849 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3850 * sysdeps/unix/sysv/linux/alpha: Move directory from
3851 ports/sysdeps/unix/sysv/linux/alpha.
3852 * README: Update listing for alpha-*-linux-gnu.
3853
cb4a2928
JM
38542014-02-11 Joseph Myers <joseph@codesourcery.com>
3855
c941736c
JM
3856 * include/features.h: Update comment documenting feature test
3857 macros.
3858 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3859 _DEFAULT_SOURCE.
3860 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3861 (_SVID_SOURCE): Likewise.
3862 (_DEFAULT_SOURCE): Update description of default features.
3863 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3864 with _GNU_SOURCE.
3865 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3866 (S_ISVTX): Likewise.
3867 * manual/math.texi (Mathematical Constants): Likewise.
3868 * manual/signal.texi (Interrupted Primitives): Likewise.
3869 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3870 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3871 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3872 Don't refer to _SVID_SOURCE in warning text.
3873
e8d8d7ec
JM
3874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3875
cb4a2928
JM
3876 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3877 already defined.
3878 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3879 * sysdeps/mips/dl-lookup.c: Remove.
3880 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3881
7e6424e3
AK
38822014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3883
3884 [BZ #16447]
3885 * math/auto-libm-test-in: Add testcase for expl.
3886 * math/auto-libm-test-out: Regenerate.
3887 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3888 calculation of unsafe.
3889 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3890
75eff3fe
MS
38912014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3892
3893 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3894 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3895 ports/sysdeps/unix/sysv/linux/aarch64.
3896 * README: Update listing for aarch64*-*-linux-gnu.
3897
d35f1e80
WN
38982014-02-11 Will Newton <will.newton@linaro.org>
3899
3900 * manual/probes.texi (Mathematical Function Probes): Use
3901 "triggered" instead of "hit".
3902
7b3436d4
WN
39032014-02-11 Will Newton <will.newton@linaro.org>
3904
3905 * manual/probes.texi (Internal Probes): Add documentation
3906 of setjmp, longjmp and longjmp_target probes.
3907
b4f12ca3
WN
39082014-02-11 Will Newton <will.newton@linaro.org>
3909
3910 * include/stap-probe.h: Add comment about probe argument
3911 format.
3912
c13a72b7
WN
39132014-02-11 Will Newton <will.newton@linaro.org>
3914
3915 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3916 definition. (tr_where, tr_freehook, tr_mallochook,
3917 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3918
195b8165
DM
39192014-02-11 David S. Miller <davem@davemloft.net>
3920
3921 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3922 processing int_tests.
3923
2ad7600b
JM
39242014-02-10 Joseph Myers <joseph@codesourcery.com>
3925
3926 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3927 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3928 * sysdeps/unix/sysv/linux/mips: Move directory from
3929 ports/sysdeps/unix/sysv/linux/mips.
3930 * README: Update listing for mips-*-linux-gnu and
3931 mips64-*-linux-gnu.
3932
73588a72
AS
39332014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3934
3935 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3936 * sysdeps/unix/sysv/linux/m68k: Move directory from
3937 ports/sysdeps/unix/sysv/linux/m68k.
3938 * README: Update listing for m68k-*-linux-gnu.
3939
4372980f
CM
39402014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3941
3942 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3943 * sysdeps/unix/sysv/linux/generic: Move directory from
3944 ports/sysdeps/unix/sysv/linux/generic.
3945 * sysdeps/unix/sysv/linux/tile: Move directory from
3946 ports/sysdeps/unix/sysv/linux/tile.
3947 * README: Update listing for tile*-*-linux-gnu.
3948
a1ffb40e
OB
39492014-02-10 Ondřej Bílka <neleai@seznam.cz>
3950
3951 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3952 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3953 * catgets/open_catalog.c (__open_catalog): Likewise.
3954 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3955 * debug/confstr_chk.c: Likewise.
3956 * debug/fread_chk.c (__fread_chk): Likewise.
3957 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3958 * debug/getgroups_chk.c: Likewise.
3959 * debug/mbsnrtowcs_chk.c: Likewise.
3960 * debug/mbsrtowcs_chk.c: Likewise.
3961 * debug/mbstowcs_chk.c: Likewise.
3962 * debug/memcpy_chk.c: Likewise.
3963 * debug/memmove_chk.c: Likewise.
3964 * debug/mempcpy_chk.c: Likewise.
3965 * debug/memset_chk.c: Likewise.
3966 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3967 * debug/strcat_chk.c (__strcat_chk): Likewise.
3968 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3969 * debug/strncat_chk.c (__strncat_chk): Likewise.
3970 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3971 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3972 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3973 * debug/wcpncpy_chk.c: Likewise.
3974 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3975 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3976 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3977 * debug/wcsncpy_chk.c: Likewise.
3978 * debug/wcsnrtombs_chk.c: Likewise.
3979 * debug/wcsrtombs_chk.c: Likewise.
3980 * debug/wcstombs_chk.c: Likewise.
3981 * debug/wmemcpy_chk.c: Likewise.
3982 * debug/wmemmove_chk.c: Likewise.
3983 * debug/wmempcpy_chk.c: Likewise.
3984 * debug/wmemset_chk.c: Likewise.
3985 * dirent/scandirat.c (SCANDIRAT): Likewise.
3986 * dlfcn/dladdr1.c (dladdr1): Likewise.
3987 * dlfcn/dladdr.c (dladdr): Likewise.
3988 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3989 * dlfcn/dlerror.c (__dlerror): Likewise.
3990 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3991 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3992 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3993 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3994 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3995 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3996 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3997 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3998 Likewise.
3999 * elf/dl-conflict.c: Likewise.
4000 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4001 * elf/dl-dst.h: Likewise.
4002 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4003 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4004 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4005 * elf/dl-init.c (call_init, _dl_init): Likewise.
4006 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4007 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
4008 _dl_map_object_from_fd, open_verify, open_path,
4009 _dl_map_object): Likewise.
4010 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4011 Likewise.
4012 * elf/dl-minimal.c (__libc_memalign): Likewise.
4013 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4014 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4015 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4016 * elf/dl-sym.c (do_sym): Likewise.
4017 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4018 _dl_tls_get_addr_soft): Likewise.
4019 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4020 * elf/dl-writev.h (_dl_writev): Likewise.
4021 * elf/ldconfig.c (search_dir): Likewise.
4022 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4023 dl_main): Likewise.
4024 * elf/setup-vdso.h (setup_vdso): Likewise.
4025 * grp/compat-initgroups.c (compat_call): Likewise.
4026 * grp/fgetgrent.c (fgetgrent): Likewise.
4027 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4028 * grp/putgrent.c (putgrent): Likewise.
4029 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4030 Likewise.
4031 * hurd/hurdinit.c: Likewise.
4032 * iconvdata/8bit-gap.c (struct): Likewise.
4033 * iconvdata/ansi_x3.110.c : Likewise.
4034 * iconvdata/big5.c : Likewise.
4035 * iconvdata/big5hkscs.c : Likewise.
4036 * iconvdata/cp1255.c: Likewise.
4037 * iconvdata/cp1258.c : Likewise.
4038 * iconvdata/cp932.c : Likewise.
4039 * iconvdata/euc-cn.c: Likewise.
4040 * iconvdata/euc-jisx0213.c : Likewise.
4041 * iconvdata/euc-jp.c: Likewise.
4042 * iconvdata/euc-jp-ms.c : Likewise.
4043 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4044 * iconvdata/gb18030.c : Likewise.
4045 * iconvdata/gbbig5.c (const): Likewise.
4046 * iconvdata/gbgbk.c: Likewise.
4047 * iconvdata/gbk.c : Likewise.
4048 * iconvdata/ibm1364.c : Likewise.
4049 * iconvdata/ibm930.c : Likewise.
4050 * iconvdata/ibm932.c: Likewise.
4051 * iconvdata/ibm933.c : Likewise.
4052 * iconvdata/ibm935.c : Likewise.
4053 * iconvdata/ibm937.c : Likewise.
4054 * iconvdata/ibm939.c : Likewise.
4055 * iconvdata/ibm943.c: Likewise.
4056 * iconvdata/iso_11548-1.c: Likewise.
4057 * iconvdata/iso-2022-cn.c : Likewise.
4058 * iconvdata/iso-2022-cn-ext.c : Likewise.
4059 * iconvdata/iso-2022-jp-3.c: Likewise.
4060 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4061 * iconvdata/iso-2022-kr.c : Likewise.
4062 * iconvdata/iso646.c (gconv_end): Likewise.
4063 * iconvdata/iso_6937-2.c : Likewise.
4064 * iconvdata/iso_6937.c : Likewise.
4065 * iconvdata/iso8859-1.c: Likewise.
4066 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4067 * iconvdata/shift_jisx0213.c : Likewise.
4068 * iconvdata/sjis.c : Likewise.
4069 * iconvdata/t.61.c : Likewise.
4070 * iconvdata/tcvn5712-1.c : Likewise.
4071 * iconvdata/tscii.c: Likewise.
4072 * iconvdata/uhc.c : Likewise.
4073 * iconvdata/unicode.c (gconv_end): Likewise.
4074 * iconvdata/utf-16.c (gconv_end): Likewise.
4075 * iconvdata/utf-32.c (gconv_end): Likewise.
4076 * iconvdata/utf-7.c (base64): Likewise.
4077 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4078 * iconv/gconv_close.c (__gconv_close): Likewise.
4079 * iconv/gconv_open.c (__gconv_open): Likewise.
4080 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4081 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4082 internal_ucs4le_loop_single, ucs4le_internal_loop,
4083 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4084 * iconv/iconv.c (iconv): Likewise.
4085 * iconv/iconv_close.c: Likewise.
4086 * iconv/loop.c (SINGLE): Likewise.
4087 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4088 * include/atomic.h: Likewise.
4089 * inet/inet6_option.c (option_alloc): Likewise.
4090 * intl/bindtextdom.c (set_binding_values): Likewise.
4091 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4092 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4093 * intl/localealias.c (read_alias_file): Likewise.
4094 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4095 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4096 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4097 * libio/fmemopen.c (fmemopen): Likewise.
4098 * libio/iofgets.c (_IO_fgets): Likewise.
4099 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4100 * libio/iofgetws.c (fgetws): Likewise.
4101 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4102 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4103 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4104 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4105 * locale/findlocale.c (_nl_find_locale): Likewise.
4106 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4107 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4108 Likewise.
4109 * locale/setlocale.c (setlocale): Likewise.
4110 * login/programs/pt_chown.c (main): Likewise.
4111 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4112 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4113 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4114 mmap, mmap64, mremap, munmap): Likewise.
4115 * math/e_exp2l.c: Likewise.
4116 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4117 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4118 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4119 * math/s_catan.c (__catan): Likewise.
4120 * math/s_catanf.c (__catanf): Likewise.
4121 * math/s_catanh.c (__catanh): Likewise.
4122 * math/s_catanhf.c (__catanhf): Likewise.
4123 * math/s_catanhl.c (__catanhl): Likewise.
4124 * math/s_catanl.c (__catanl): Likewise.
4125 * math/s_ccosh.c (__ccosh): Likewise.
4126 * math/s_ccoshf.c (__ccoshf): Likewise.
4127 * math/s_ccoshl.c (__ccoshl): Likewise.
4128 * math/s_cexp.c (__cexp): Likewise.
4129 * math/s_cexpf.c (__cexpf): Likewise.
4130 * math/s_cexpl.c (__cexpl): Likewise.
4131 * math/s_clog10.c (__clog10): Likewise.
4132 * math/s_clog10f.c (__clog10f): Likewise.
4133 * math/s_clog10l.c (__clog10l): Likewise.
4134 * math/s_clog.c (__clog): Likewise.
4135 * math/s_clogf.c (__clogf): Likewise.
4136 * math/s_clogl.c (__clogl): Likewise.
4137 * math/s_csin.c (__csin): Likewise.
4138 * math/s_csinf.c (__csinf): Likewise.
4139 * math/s_csinh.c (__csinh): Likewise.
4140 * math/s_csinhf.c (__csinhf): Likewise.
4141 * math/s_csinhl.c (__csinhl): Likewise.
4142 * math/s_csinl.c (__csinl): Likewise.
4143 * math/s_csqrt.c (__csqrt): Likewise.
4144 * math/s_csqrtf.c (__csqrtf): Likewise.
4145 * math/s_csqrtl.c (__csqrtl): Likewise.
4146 * math/s_ctan.c (__ctan): Likewise.
4147 * math/s_ctanf.c (__ctanf): Likewise.
4148 * math/s_ctanh.c (__ctanh): Likewise.
4149 * math/s_ctanhf.c (__ctanhf): Likewise.
4150 * math/s_ctanhl.c (__ctanhl): Likewise.
4151 * math/s_ctanl.c (__ctanl): Likewise.
4152 * math/w_pow.c: Likewise.
4153 * math/w_powf.c: Likewise.
4154 * math/w_powl.c: Likewise.
4155 * math/w_scalb.c (sysv_scalb): Likewise.
4156 * math/w_scalbf.c (sysv_scalbf): Likewise.
4157 * math/w_scalbl.c (sysv_scalbl): Likewise.
4158 * misc/error.c (error_tail): Likewise.
4159 * misc/pselect.c (__pselect): Likewise.
4160 * nis/nis_callback.c (__nis_create_callback): Likewise.
4161 * nis/nis_call.c (__nisfind_server): Likewise.
4162 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4163 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4164 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4165 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4166 * nis/nis_lookup.c (nis_lookup): Likewise.
4167 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4168 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4169 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4170 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4171 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4172 internal_getgrgid_r): Likewise.
4173 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4174 Likewise.
4175 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4176 internal_getpwuid_r): Likewise.
4177 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4178 internal_getspnam_r): Likewise.
4179 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4180 _nss_nis_getaliasbyname_r): Likewise.
4181 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4182 _nss_nis_getntohost_r): Likewise.
4183 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4184 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4185 Likewise.
4186 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4187 internal_nis_gethostent_r, internal_gethostbyname2_r,
4188 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4189 _nss_nis_gethostbyname4_r): Likewise.
4190 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4191 initgroups_netid): Likewise.
4192 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4193 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4194 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4195 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4196 _nss_nis_getprotobynumber_r): Likewise.
4197 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4198 _nss_nis_getsecretkey): Likewise.
4199 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4200 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4201 Likewise.
4202 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4203 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4204 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4205 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4206 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4207 _nss_nis_getspnam_r): Likewise.
4208 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4209 Likewise.
4210 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4211 _nss_nisplus_getntohost_r): Likewise.
4212 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4213 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4214 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4215 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4216 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4217 Likewise.
4218 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4219 _nss_nisplus_getnetbyaddr_r): Likewise.
4220 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4221 _nss_nisplus_getprotobynumber_r): Likewise.
4222 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4223 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4224 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4225 Likewise.
4226 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4227 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4228 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4229 _nss_nisplus_getspnam_r): Likewise.
4230 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4231 * nscd/aicache.c (addhstaiX): Likewise.
4232 * nscd/cache.c (cache_search, prune_cache): Likewise.
4233 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4234 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4235 * nscd/grpcache.c (addgrbyX): Likewise.
4236 * nscd/hstcache.c (addhstbyX): Likewise.
4237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4238 * nscd/mem.c (gc, mempool_alloc): Likewise.
4239 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4240 Likewise.
4241 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4242 Likewise.
4243 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4244 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4246 Likewise.
4247 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4248 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4249 * nscd/nscd_helper.c (__readvall, open_socket,
4250 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4251 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4252 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4253 * nscd/pwdcache.c (addpwbyX): Likewise.
4254 * nscd/selinux.c (preserve_capabilities): Likewise.
4255 * nscd/servicescache.c (addservbyX): Likewise.
4256 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4257 * posix/fnmatch.c (fnmatch): Likewise.
4258 * posix/getopt.c (_getopt_internal_r): Likewise.
4259 * posix/glob.c (glob, glob_in_dir): Likewise.
4260 * posix/wordexp.c (exec_comm_child): Likewise.
4261 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4262 gaih_getanswer_slice): Likewise.
4263 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4264 * resolv/res_init.c: Likewise.
4265 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4266 * resolv/res_query.c (__libc_res_nquery): Likewise.
4267 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4268 Likewise.
4269 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4270 * stdio-common/perror.c (perror): Likewise.
4271 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4272 * stdio-common/tmpnam.c (tmpnam): Likewise.
4273 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4274 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4275 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4276 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4277 * stdlib/putenv.c (putenv): Likewise.
4278 * stdlib/setenv.c (__add_to_environ): Likewise.
4279 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4280 * stdlib/strtol_l.c (INTERNAL): Likewise.
4281 * string/memmem.c (memmem): Likewise.
4282 * string/strerror.c (strerror): Likewise.
4283 * string/strnlen.c (__strnlen): Likewise.
4284 * string/test-memmem.c (simple_memmem): Likewise.
4285 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4286 * sunrpc/pm_getport.c (__get_socket): Likewise.
4287 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4288 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4289 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4290 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4291 Likewise.
4292 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4294 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4295 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4296 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4297 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4298 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4299 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4300 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4301 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4302 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4303 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4305 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4306 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4307 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4308 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4309 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4310 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4311 Likewise.
4312 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4313 Likewise.
4314 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4315 Likewise.
4316 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4318 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4319 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4320 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4321 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4322 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4323 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4324 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4325 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4331 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4332 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4333 Likewise.
4334 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4335 Likewise.
4336 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4337 Likewise.
4338 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4340 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4341 Likewise.
4342 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4343 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4344 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4345 * sysdeps/posix/sleep.c: Likewise.
4346 * sysdeps/posix/tempname.c: Likewise.
4347 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4348 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4349 Likewise.
4350 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4351 elf_machine_rela): Likewise.
4352 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4354 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4355 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4356 Likewise.
4357 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4358 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4359 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4360 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4361 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4362 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4363 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4364 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4365 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4366 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4368 elf_machine_lazy_rel): Likewise.
4369 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4371 elf_machine_lazy_rel): Likewise.
4372 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4373 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4374 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4375 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4376 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4377 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4378 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4380 Likewise.
4381 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4382 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4383 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4384 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4385 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4386 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4387 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4388 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4389 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4390 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4391 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4392 Likewise.
4393 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4394 (__posix_fallocate64_l64): Likewise.
4395 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4396 (posix_fallocate): Likewise.
4397 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4399 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4400 getifaddrs_internal): Likewise.
4401 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4402 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4403 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4404 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4405 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4406 (__posix_fallocate64_l64): Likewise.
4407 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4408 Likewise.
4409 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4410 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4411 Likewise.
4412 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4413 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4414 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4417 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4418 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4419 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4420 Likewise.
4421 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4422 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4423 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4424 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4425 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4426 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4427 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4428 Likewise.
4429 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4430 (posix_fallocate): Likewise.
4431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4432 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4433 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4434 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4435 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4436 Likewise.
4437 * time/asctime.c (asctime_internal): Likewise.
4438 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4439 * time/tzset.c (__tzset_parse_tz): Likewise.
4440 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4441 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4442 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4443 * wcsmbs/wcsmbsload.h: Likewise.
4444
f3d338c9
OB
44452014-02-10 Ondřej Bílka <neleai@seznam.cz>
4446
4447 [BZ #15894]
4448 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4449
bdfe308a
OB
44502014-02-10 Ondřej Bílka <neleai@seznam.cz>
4451
4452 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4453 arena_get2): Remove THREAD_STATS conditionals.
4454 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4455 __malloc_stats, int): Likewise.
4456
d674667c
MF
44572014-02-08 Mike Frysinger <vapier@gentoo.org>
4458
4459 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4460 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4461
6349768c
MF
44622014-02-08 Mike Frysinger <vapier@gentoo.org>
4463
4464 * manual/setjmp.texi: Fix typos/grammar errors.
4465
0b7c7473
MF
44662014-02-08 Mike Frysinger <vapier@gentoo.org>
4467
4468 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4469 Only return early when n is <= 0. Delete unused return statement.
4470
ac8cc9e3
MF
44712014-02-08 Mike Frysinger <vapier@gentoo.org>
4472
4473 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4474 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4475 * debug/tst-longjmp_chk3.c: New file.
4476
c5bb8e23
MF
44772014-02-08 Mike Frysinger <vapier@gentoo.org>
4478
4479 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4480 (test_main): Replace code with set_fortify_handler call.
4481 * debug/test-strcpy_chk.c: Likewise.
4482 * debug/tst-chk1.c: Likewise.
4483 * debug/tst-longjmp_chk.c: Likewise.
4484 * test-skeleton.c: Include fcntl.h & paths.h
4485 (set_fortify_handler): Define.
4486
10444e42
MF
44872014-02-08 Mike Frysinger <vapier@gentoo.org>
4488
4489 * debug/tst-longjmp_chk.c: Add header comment and include
4490 ../test-skeleton.c.
4491 (do_test): Mark static.
4492 (TEST_FUNCTION): Define.
4493
1e805e8d
MF
44942014-02-08 Mike Frysinger <vapier@gentoo.org>
4495
4496 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4497 (IP_PMTUDISC_INTERFACE): Likewise.
4498 (IP_MULTICAST_IF): Likewise.
4499 (IP_MULTICAST_TTL): Likewise.
4500 (IP_MULTICAST_LOOP): Likewise.
4501 (IP_ADD_MEMBERSHIP): Likewise.
4502 (IP_DROP_MEMBERSHIP): Likewise.
4503 (IP_UNBLOCK_SOURCE): Likewise.
4504 (IP_BLOCK_SOURCE): Likewise.
4505 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4506 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4507 (IP_MSFILTER): Likewise.
4508 (MCAST_JOIN_GROUP): Likewise.
4509 (MCAST_BLOCK_SOURCE): Likewise.
4510 (MCAST_UNBLOCK_SOURCE): Likewise.
4511 (MCAST_LEAVE_GROUP): Likewise.
4512 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4513 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4514 (MCAST_MSFILTER): Likewise.
4515 (IP_MULTICAST_ALL): Likewise.
4516 (IP_UNICAST_IF): Likewise.
4517
73f79bb7
MF
45182014-02-08 Mike Frysinger <vapier@gentoo.org>
4519
4520 * timezone/Makefile: Delete $(have-ksh) check.
4521 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4522 * timezone/tzselect.ksh: Add +x mode bits.
4523
8da79b60
MF
45242014-02-08 Mike Frysinger <vapier@gentoo.org>
4525
4526 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4527 (ANON_INODE_FS_MAGIC): Likewise.
4528 (BDEVFS_MAGIC): Likewise.
4529 (BINFMTFS_MAGIC): Likewise.
4530 (BTRFS_TEST_MAGIC): Likewise.
4531 (CRAMFS_MAGIC_WEND): Likewise.
4532 (DEBUGFS_MAGIC): Likewise.
4533 (ECRYPTFS_SUPER_MAGIC): Likewise.
4534 (EXT3_SUPER_MAGIC): Likewise.
4535 (EXT4_SUPER_MAGIC): Likewise.
4536 (FUTEXFS_SUPER_MAGIC): Likewise.
4537 (HOSTFS_SUPER_MAGIC): Likewise.
4538 (HUGETLBFS_MAGIC): Likewise.
4539 (MINIX3_SUPER_MAGIC): Likewise.
4540 (MTD_INODE_FS_MAGIC): Likewise.
4541 (NILFS_SUPER_MAGIC): Likewise.
4542 (OPENPROM_SUPER_MAGIC): Likewise.
4543 (PIPEFS_MAGIC): Likewise.
4544 (PSTOREFS_MAGIC): Likewise.
4545 (QNX6_SUPER_MAGIC): Likewise.
4546 (RAMFS_MAGIC): Likewise.
4547 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4548 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4549 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4550 (SECURITYFS_MAGIC): Likewise.
4551 (SELINUX_MAGIC): Likewise.
4552 (SMACK_MAGIC): Likewise.
4553 (SOCKFS_MAGIC): Likewise.
4554 (SQUASHFS_MAGIC): Likewise.
4555 (STACK_END_MAGIC): Likewise.
4556 (TMPFS_MAGIC): Likewise.
4557 (USBDEVICE_SUPER_MAGIC): Likewise.
4558 (V9FS_MAGIC): Likewise.
4559 (XENFS_SUPER_MAGIC): Likewise.
4560 (CRAMFS_MAGIC): Fix typo in comment.
4561 (EXT2_SUPER_MAGIC): Update comment.
4562 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4563
464263cc
JM
45642014-02-08 Joseph Myers <joseph@codesourcery.com>
4565
c6bfe5c4
JM
4566 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4567 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4568 * sysdeps/unix/sysv/linux/arm: Move directory from
4569 ports/sysdeps/unix/sysv/linux/arm.
4570 * README: Update listing for arm-*-linux-gnueabi.
4571
464263cc
JM
4572 * README: Remove mention of am33.
4573
32749f6c
RM
45742014-02-07 Roland McGrath <roland@hack.frob.com>
4575
4576 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4577 than the comma operator, to avoid "rhs of comma has no effect"
4578 compiler warnings.
4579 (__sigfillset, __sigandset, __sigorset): Likewise.
4580 * include/signal.h (__sigemptyset): Likewise.
4581 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4582
d5b396c1
AM
45832014-02-07 Allan McRae <allan@archlinux.org>
4584
4585 * version.h (RELEASE): Set to "development".
4586 (VERSION): Set to "2.19.90"
4587 * NEWS: Add 2.20 section.
4588
3bfff2ed
CD
45892014-02-06 Carlos O'Donell <carlos@redhat.com>
4590
4591 [BZ #16529]
4592 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4593
ee7cc385
SP
45942014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4595
4596 * manual/contrib.texi: Update entry for Carlos O'Donell,
4597 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4598
f877c4f2
CD
45992014-02-05 Carlos O'Donell <carlos@rehdat.com>
4600
27e839f6
CD
4601 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4602
f877c4f2
CD
4603 * sysdeps/unix/sysv/linux/kernel-features.h
4604 [__LINUX_KERNEL_VERSION >= 0x020621]
4605 (__ASSUME_PROC_PID_TASK_COMM): Define.
4606
68159946
SP
46072014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4608
ba17cdbd
SP
4609 [BZ #16398]
4610 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4611 conversion when destination buffer does not have enough space.
4612 * libio/tst-ftell-partial-wide.c: New test case.
4613 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4614
68159946
SP
4615 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4616 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4617 Leonard and Allan McRae.
4618
2b528732
DM
46192014-02-04 David S. Miller <davem@davemloft.net>
4620
4621 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4622 32-bit.
4623
0ff82463
AZ
46242014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4625
c01603f7
AZ
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4627 file
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4629 New file
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4631 file.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4633 file.
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4635 New file.
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4637 file.
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4639 file.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4641 New file.
4642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4643 New file.
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4645 New file.
4646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4647 New file.
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4649 New file.
4650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4651 New file.
4652
46532014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4654
0ff82463
AZ
4655 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4656 * shlib-versions: Likewise.
4657
1695c773
AZ
46582014-02-04 Roland McGrath <roland@hack.frob.com>
4659 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4660
4661 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4662 (abilist-pattern): New variable, set to %-le.abilist.
4663
4664 * Makerules (abilist-pattern): New variable.
4665 (vpath): Use $(abilist-pattern) in place of %.abilist.
4666 (check-abi-% pattern rule): Likewise.
4667 (check-abi, update-abi): Likewise.
4668
6c0ce4b4
EW
46692014-02-04 Eric Wong <normalperson@yhbt.net>
4670
4671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4672
dc98b8f5
EW
46732014-02-04 Eric Wong <normalperson@yhbt.net>
4674
4675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4676
481e3524
CD
46772014-02-03 Carlos O'Donell <carlos@redhat.com>
4678
4679 * manual/startup.texi: Add next, previous, and top entries for
4680 the `Program Arguments' and `Environment Variables' nodes.
4681
375592d3
AO
46822014-02-03 Alexandre Oliva <aoliva@redhat.com>
4683
4684 * manual/macros.texi: Add comments before MTASC-safety macros.
4685
f54838ba
AO
4686 * manual/users.texi: Document MTASC-safety properties.
4687
909e12ad
AO
4688 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4689 pthread_getspecific, pthread_setspecific): Format with
4690 @deftypefun, and add @safety note.
4691 * manual/signal.texi: Move comments that analyze the above
4692 functions to their home place.
4693
fd3daba4
AM
46942014-02-03 Allan McRae <allan@archlinux.org>
4695
4696 * po/sl.po: Update Slovenian translation from translation project.
4697
597636d7
AO
46982014-02-02 Alexandre Oliva <aoliva@redhat.com>
4699
4700 * manual/time.texi (timegm): Add missing blank after @c.
4701 Reported by Joseph Myers <joseph@codesourcery.com>.
4702
ee196e3c
AO
47032014-02-01 Alexandre Oliva <aoliva@redhat.com>
4704
4705 * manual/check-safety.sh: New.
4706 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4707
f8d529d5
AO
4708 * manual/terminal.texi: Document MTASC-safety properties.
4709
de55fdf4
AO
4710 * manual/filesys.texi: Document MTASC-safety properties.
4711
c3299c08
AO
4712 * manual/errno.texi: Document MTASC-safety properties.
4713
06e90b14
AO
4714 * manual/intro.texi: Document safety identifiers and
4715 conditionals.
4716
1acd4371
AO
4717 * manual/string.texi (wcstok): Fix prototype.
4718 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4719
23e5b8cb
AO
4720 * manual/time.texi: Document MTASC-safety properties.
4721
11087373
AO
4722 * manual/string.texi: Document MTASC-safety properties.
4723
5da2c93d
AO
4724 * manual/threads.texi: Document MTASC-safety properties.
4725
171e9210
AO
4726 * manual/stdio.texi: Document MTASC-safety properties.
4727
d9e02532
AO
4728 * manual/syslog.texi: Document MTASC-safety properties.
4729
6af8bab7
AO
4730 * manual/sysinfo.texi: Document MTASC-safety properties.
4731
663b02d7
AO
4732 * manual/startup.texi: Document MTASC-safety properties.
4733
973f180b
AO
4734 * manual/socket.texi: Document MTASC-safety properties.
4735
8f3c25c8
AO
4736 * manual/signal.texi: Document MTASC-safety properties.
4737
542210fb
AO
47382014-01-31 Alexandre Oliva <aoliva@redhat.com>
4739
4740 * manual/setjmp.texi: Document MTASC-safety properties.
4741
433c45a2
AO
4742 * manual/search.texi: Document MTASC-safety properties.
4743
c8ce789c
AO
4744 * manual/resource.texi: Document MTASC-safety properties.
4745
19f5d29c
AO
4746 * manual/process.texi: Document MTASC-safety properties.
4747
e2dfb7f4
AO
4748 * manual/platform.texi: Document MTASC-safety properties.
4749
8c1413f5
AO
4750 * manual/pipe.texi: Document MTASC-safety properties.
4751
03483ada
AO
4752 * manual/pattern.texi: Document MTASC-safety properties.
4753
29e7e2df
AO
4754 * manual/message.texi: Document MTASC-safety properties.
4755
9f529d7c
AO
4756 [BZ #12751]
4757 * manual/memory.texi: Document MTASC-safety properties.
4758
27aaa791
AO
4759 * manual/math.texi: Document MTASC-safety properties.
4760
f2d58726
AO
4761 * manual/locale.texi: Document MTASC-safety properties.
4762
2cc3615c
AO
4763 * manual/llio.texi: Document MTASC-safety properties.
4764
d9f0ec97
AO
4765 * manual/libdl.texi: New.
4766
e7c4409a
AO
4767 * manual/lang.texi: Document MTASC-safety properties.
4768
27bdc63c
AO
4769 * manual/job.texi: Document MTASC-safety properties.
4770
a7b90ea9
AO
4771 * manual/getopt.texi: Document MTASC-safety properties.
4772
c49130e3
AO
4773 * manual/ctype.texi: Document MTASC-safety properties.
4774
0d23a5c1
MR
47752014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4776
4777 [BZ #16046]
4778 * csu/libc-tls.c (static_map): Remove variable.
4779 (__libc_setup_tls): Use main executable's link map for TLS data.
4780 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4781 casing for LM_ID_BASE and GL(dl_nns).
4782 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4783 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4784 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4785 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4786 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4787 member.
4788 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4789 l_phnum members.
4790
0037bb60
AO
47912014-01-30 Alexandre Oliva <aoliva@redhat.com>
4792
4793 * manual/debug.texi: Document MTASC-safety properties.
4794
409e00bd
L
47952014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4796
4797 [BZ #16510]
4798 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4799 of __x86_64__ when disabling x87 inline functions.
4800
86e60666
AO
48012014-01-29 Alexandre Oliva <aoliva@redhat.com>
4802
4803 * manual/charset.texi: Document MTASC-safety properties.
4804
76167637
AO
4805 * manual/crypt.texi: Document MTASC-safety properties.
4806
e567f2a0
AO
4807 * manual/conf.texi: Document MTASC-safety properties.
4808
b719dafd
AO
4809 * manual/arith.texi: Document MTASC-safety properties.
4810
4a16c662
AO
4811 * manual/argp.texi: Document MTASC-safety properties.
4812
0a57b83e
AO
4813 * manual/macros.texi: Introduce macros to document multi
4814 thread, asynchronous signal and asynchronous cancellation
4815 safety properties.
4816 * manual/intro.texi: Introduce the properties themselves.
4817
feab2397
KK
48182014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4819
4820 * sysdeps/sh/sh4/Makefile: New file.
4821
1c0d11bc
AS
48222014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4823
4824 * math/gen-libm-test.pl ($srcdir): New variable.
4825 ($auto_input): Use it.
4826
af37a8a3
SP
48272014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4828
d7b00f98
SP
4829 [BZ #16506]
4830 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4831 access beyond array bounds when parsing netgroups file.
4832
af37a8a3
SP
4833 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4834 the old buffer before realloc.
4835
0c00f062
AM
48362014-01-27 Allan McRae <allan@archlinux.org>
4837
4838 * po/fr.po: Update French translation from translation project.
4839
7d69a1b0
KK
48402014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4841
4842 * sysdeps/sh/libm-test-ulps: Regenerate.
4843
6e697ff7
DM
48442014-01-24 David S. Miller <davem@davemloft.net>
4845
4846 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4847
9cadb35c
KK
48482014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4849
4850 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4851 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4852
5d41dadf
SP
48532013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4854
4855 [BZ #16474]
4856 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4857 string pointers after reallocation.
4858
0bad441c
KK
48592014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4860
4861 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4862 __SH4A__ instead of __SH_FPU_ANY__.
4863
7007c661
KK
48642014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4865
4866 * sysdeps/sh/fpu_control.h: New file.
4867 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4868 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4869 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4870 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4871 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4872 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4873 * sysdeps/sh/sys/ucontext.h: Remove.
4874 * sysdeps/sh/sys: Remove directory.
4875
0f0c35e4
AK
48762014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4877
4878 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4879 s390/sys/ucontext.h.
4880 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4882
4959e284
L
48832014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4884
4885 [BZ #15605]
4886 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4887
d98720e0
AZ
48882014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4889
4890 [BZ#16431]
4891 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4892 Adjust the vDSO correctly for internal calls.
4893 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4894
91cbd0bc
AM
48952014-01-20 Allan McRae <allan@archlinux.org>
4896
4897 * po/ca.po: Update Catalan translation from translation project.
4898
7a02cfad
MF
48992014-01-16 Mike Frysinger <vapier@gentoo.org>
4900
4901 * sysdeps/s390/sotruss-lib.c: New file.
4902
736c304a
AZ
49032014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4904
4905 [BZ#16430]
6e077ee5 4906 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4907 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4908 local calls issues by not having a PLT stub required for IFUNC calls.
4909 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4910
94d0cea0
JM
49112014-01-16 Joseph Myers <joseph@codesourcery.com>
4912
4913 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4914 * math/test-fpucw-static.c: Likewise.
4915
980cb518
SP
49162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4917
4918 [BZ #16453]
4919 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4920
2393fc01
AZ
49212014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4922
4923 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4924 implementation for powerpc.
4925
d359bcc2
OB
49262014-01-15 Ondřej Bílka <neleai@seznam.cz>
4927
4928 [BZ #14782]
4929 * sysdeps/posix/system.c (__libc_system): Do not enable
4930 asynchronous cancellation.
4931
7beb48cb
AK
49322014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4933
4934 [BZ #16427]
4935 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4936 handling only for numbers special also in the IEEE case.
4937
c20d5bf5
AK
49382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4939
4940 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4941
e83bd4ee
AM
49422014-01-11 Allan McRae <allan@archlinux.org>
4943
76d0ea69
AM
4944 * po/bg.po: Update Bulgarian translation from translation project.
4945
e83bd4ee
AM
4946 * po/de.po: Update German translation from translation project.
4947
bc2ba20a
RM
49482014-01-10 Roland McGrath <roland@hack.frob.com>
4949
4950 * sysdeps/generic/gcc-compat.h: New file.
4951
649ecea2
SP
49522014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4953
4954 * benchtests/asin-inputs: Correct slow inputs.
4955 * benchtests/acos-inputs: Likewise.
4956
1b19c006
AM
49572014-01-10 Allan McRae <allan@archlinux.org>
4958
a46dab08
AM
4959 * po:sv.po: Update Swedish translation from translation project.
4960
421df74a
AM
4961 * po/vi.po: Update Vietnamese translation from translation project.
4962
d61c51a7
AM
4963 * po/eo.po: Update Esperanto translation from translation project.
4964
0339a319
AM
4965 * po/cs.po: Update Czech translation from translation project.
4966
94ad3e99
AM
4967 * po/nl.po: Update Dutch translation from translation project.
4968
e349ca71
AM
4969 * po/pl.po: Update Polish translation from translation project.
4970
ddf930c1
AM
4971 * po/ru.po: Update Russian translation from translation project.
4972
1b19c006
AM
4973 * po/uk.po: Update Ukrainian translation from translation project.
4974
9f236c49
BM
49752014-01-08 Brooks Moses <bmoses@google.com>
4976
4977 * elf/dl-load.c: Fix comment typo.
4978
cd6701cf
CD
49792014-01-08 Carlos O'Donell <carlos@redhat.com>
4980
4981 * po/header.pot: Rename to...
4982 * po/pot.header: ... this.
4983 * po/Makefile: Use pot.header.
4984
66671c84
YK
49852014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4986 Maxim Kuvyrkov <maxim@kugelworks.com>
4987
4988 [BZ #16394]
cd6701cf
CD
4989 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4990 SRC and DEST against LEN.
66671c84 4991
38f34581
AZ
49922014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4993
4994 [BZ #16414]
4995 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4996 implementation.
4997 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4998
49992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5000
5001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5002
4c327f2a
JM
50032014-01-08 Joseph Myers <joseph@codesourcery.com>
5004
5005 [BZ #16408]
5006 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5007 for large positive arguments.
5008
b821f414
JM
50092014-01-07 Joseph Myers <joseph@codesourcery.com>
5010
1f0f2067
JM
5011 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5012
a5a326f6
JM
5013 * math/auto-libm-test-in: Mark various tests with
5014 xfail-rounding:ldbl-128ibm.
5015 * math/auto-libm-test-out: Regenerated.
5016
b821f414
JM
5017 [BZ #16407]
5018 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5019 Increase overflow threshold.
5020
94c8a4bc
OB
50212014-01-07 Ondřej Bílka <neleai@seznam.cz>
5022
5023 [BZ #14286]
5024 * stdio-common/vfprintf.c: Check for integer overflow.
5025
87ded0c3
AK
50262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5027
5028 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5029 the first argument and return value of __tls_get_addr_internal.
5030
c5eebdd0
AK
50312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5032
5033 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5034 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5035
05d138ef
AK
50362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5037
5038 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5039 * sysdeps/s390/rtld-global-offsets.sym: New file.
5040 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5041 GLIBC_2.19 symbol.
5042 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5043 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5044 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5045 ... this.
5046 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5047 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5048 ... this.
5049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5050 Regenerate.
5051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5052 Regenerate.
5053 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5054 halfs of GPRs for high_gprs contexts.
5055 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5056 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5057 field.
5058 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5059 uc_flags field.
5060 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5061 64 bit versions:
5062 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5063 for high GPRs (uc_high_gprs) and for future extensions
5064 (__reserved).
5065 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5066 for future extensions (__reserved).
5067 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5068 64 bit versions:
5069 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5070 SC_HIGHGPRS offset definition.
5071 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5072 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5073
93a45ff1
AK
50742014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5075
5076 * Versions.def: Add GLIBC_2.19 for libpthread.
5077 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5078 siglongjmp for libpthread with GLIBC_2.19 symver.
5079 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5080 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5081 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5082 * sysdeps/s390/__longjmp.c: New file.
5083 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5084 * sysdeps/s390/longjmp.c: New file.
5085 * sysdeps/s390/setjmp.S: New file.
5086 * sysdeps/s390/sigjmp.S: New file.
5087 * sysdeps/s390/v1-longjmp.c: New file.
5088 * sysdeps/s390/v1-setjmp.h: New file.
5089 * sysdeps/s390/v1-sigjmp.c: New file.
5090 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5091 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5092 GLIBC_2.19 version.
5093 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5094 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5095 versioned symbols for ____longjmp_chk.
5096 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5097 Likewise.
5098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5099 Regenerate.
5100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5101 Regenerate.
5102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5103 Regenerate.
5104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5105 Regenerate.
5106 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5107 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5108 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5109 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5110 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5111 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5112 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5113 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5114 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5115 * sysdeps/s390/rtld-__longjmp.c: New file.
5116 * sysdeps/s390/rtld-setjmp.S: New file.
5117
eb3fc44b
JM
51182014-01-06 Joseph Myers <joseph@codesourcery.com>
5119
5120 [BZ #16400]
5121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5122 Return -__logl (x) for small positive arguments without evaluating
5123 a polynomial.
5124
9341dde4
MF
51252014-01-06 Mike Frysinger <vapier@gentoo.org>
5126
5127 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5128 Rename to ...
5129 (__ptrace_peeksiginfo_args): ... this.
5130 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5131 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5132 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5133
4cff0293
AM
51342014-01-06 Allan McRae <allan@archlinux.org>
5135
5136 * inet/netinet/in.h: Fix typo in comment.
5137
75595dcf
AJ
51382014-01-05 Andreas Jaeger <aj@suse.de>
5139
5140 * sysdeps/i386/fpu/libm-test-ulps: Update.
5141
79c1e109
AM
51422014-01-05 Allan McRae <allan@archlinux.org>
5143
dd804818
AM
5144 * po/libc.pot: Regenerated.
5145
79c1e109
AM
5146 * malloc/memusagestat.c: Fix gettext call formatting.
5147
0c813d1f
SK
51482014-01-04 Sami Kerola <kerolasa@iki.fi>
5149
5150 * nscd/nscd.c: Improve usage() output.
5151
20f4a8d9
MF
51522014-01-04 Mike Frysinger <vapier@gentoo.org>
5153
5154 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5155 * sysdeps/unix/sysv/linux/configure: Regenerated.
5156 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5157 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5158
22562bb2
JM
51592014-01-03 Joseph Myers <joseph@codesourcery.com>
5160
5161 [BZ #16390]
5162 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5163 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5164
d7ad2d9b
AZ
51652014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5166
5167 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5168 extra tokens at end of #undef directive.
5169 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5170 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5171 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5172
7dd009d8
JM
51732014-01-03 Joseph Myers <joseph@codesourcery.com>
5174
24db925a
JM
5175 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5176
7dd009d8
JM
5177 * math/auto-libm-test-in: Mark various tests with
5178 xfail-rounding:ldbl-128ibm.
5179 * math/auto-libm-test-out: Regenerated.
5180
396e3ecf
JM
51812014-01-02 Joseph Myers <joseph@codesourcery.com>
5182
819e5d50
JM
5183 [BZ #16386]
5184 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5185 numbers with subnormal high part when calculating exponent.
5186
90b6a1e5
JM
5187 [BZ #16385]
5188 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5189 fabs.
5190
396e3ecf
JM
5191 [BZ #16384]
5192 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5193 M_LN2l.
5194 (__ieee754_acoshl): Use __log1pl not __log1p.
5195
6c8dbf00
OB
51962013-01-02 Ondřej Bílka <neleai@seznam.cz>
5197
5198 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5199 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5200 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5201 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5202 Convert to GNU style.
5203 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5204 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5205 memalign_check, __malloc_set_state): Likewise.
5206 * malloc/mallocbug.c (main): Likewise.
5207 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5208 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5209 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5210 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5211 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5212 * malloc/malloc.h: Likewise.
5213 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5214 memalignhook, reallochook, mabort): Likewise.
5215 * malloc/mcheck.h: Likewise.
5216 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5217 mmap64, mremap, munmap, dest): Likewise.
5218 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5219 * malloc/morecore.c (__default_morecore): Likewise.
5220 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5221 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5222 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5223 print_and_abort): Likewise.
5224 * malloc/obstack.h: Likewise.
5225 * malloc/set-freeres.c (__libc_freeres): Likewise.
5226 * malloc/tst-mallocstate.c (main): Likewise.
5227 * malloc/tst-mtrace.c (main): Likewise.
5228 * malloc/tst-realloc.c (do_test): Likewise.
5229
d4124212
SP
52302013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
9a3c6a6f
SP
5232 [BZ #16366]
5233 * nscd/netgroupcache.c (do_notfound): New function.
5234 (addgetnetgrentX): Use it.
5235
d4124212
SP
5236 [BZ # 16365]
5237 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5238 NSS_STATUS_NOTFOUND.
5239
97b9a009
JM
52402014-01-01 Joseph Myers <joseph@codesourcery.com>
5241
5242 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5244
d4697bc9
AM
52452014-01-01 Allan McRae <allan@archlinux.org>
5246
ddb3687f
AM
5247 * scripts/update-copyrights: Update configure input file suffix.
5248
88726d48
AM
5249 * NEWS: Update copyright year.
5250 * catgets/gencat.c: Likewise.
5251 * csu/version.c: Likewise.
5252 * debug/catchsegv.sh: Likewise.
5253 * debug/pcprofiledump.c: Likewise.
5254 * debug/xtrace.sh: Likewise.
5255 * elf/ldconfig.c: Likewise.
5256 * elf/ldd.bash.in: Likewise.
5257 * elf/pldd.c: Likewise.
5258 * elf/sotruss.ksh: Likewise.
5259 * elf/sprof.c: Likewise.
5260 * iconv/iconv_prog.c: Likewise.
5261 * iconv/iconvconfig.c: Likewise.
5262 * locale/programs/locale.c: Likewise.
5263 * locale/programs/localedef.c: Likewise.
5264 * login/programs/pt_chown.c: Likewise.
5265 * malloc/memusage.sh: Likewise.
5266 * malloc/memusagestat.c: Likewise.
5267 * malloc/mtrace.pl: Likewise.
5268 * manual/libc.texinfo: Likewise.
5269 * nscd/nscd.c: Likewise.
5270 * nss/getent.c: Likewise.
5271 * nss/makedb.c: Likewise.
5272 * posix/getconf.c: Likewise.
5273 * scripts/test-installation.pl: Likewise.
5274
d4697bc9
AM
5275 * All files with FSF copyright notices: Update copyright dates
5276 using scripts/update-copyrights.
5277 * intl/plural.c: Regenerated.
5278 * locale/programs/charmap-kw.h: Likewise.
5279 * locale/programs/locfile-kw.h: Likewise.
5280
c8590f9d
MF
52812013-12-31 Mike Frysinger <vapier@gentoo.org>
5282
5283 * sysdeps/unix/sysv/linux/configure: Regenerated.
5284 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5285 the linux/fanotify.h header.
5286 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5287 HAVE_LINUX_FANOTIFY_H is defined.
5288
b19221b9
SP
52892013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5290
dd1d85e5
SP
5291 * benchtests/cos-inputs: New inputs.
5292 * benchtests/sin-inputs: Likewise.
5293
1acbb90f
SP
5294 * benchtests/atan-inputs: New inputs. Fix name of multiple
5295 precision fallback inputs.
5296
4c012ed3
SP
5297 * benchtests/atanh-inputs: New inputs.
5298 * benchtests/tanh-inputs: Likewise.
5299
eff98324
SP
5300 * benchtests/acosh-inputs: New inputs.
5301 * benchtests/asinh-inputs: Likewise.
5302
ce641152
SP
5303 * benchtests/cosh-inputs: New inputs.
5304 * benchtests/sinh-inputs: Likewise.
5305
b19221b9
SP
5306 * benchtests/acos-inputs: Add more inputs.
5307 * benchtests/asin-inputs: Likewise.
5308
030a4976 53092013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5310
030a4976 5311 [BZ #16375]
9dcc8f11
VS
5312 * manual/arith.texi: Fix spelling.
5313 * manual/charset.texi: Likewise.
5314 * manual/errno.texi: Likewise.
5315 * manual/filesys.texi: Likewise.
5316 * manual/lang.texi: Likewise.
5317 * manual/llio.texi: Likewise.
5318 * manual/locale.texi: Likewise.
5319 * manual/message.texi: Likewise.
5320 * manual/resource.texi: Likewise.
5321 * manual/search.texi: Likewise.
5322 * manual/setjmp.texi: Likewise.
5323 * manual/stdio.texi: Likewise.
5324 * manual/string.texi: Likewise.
5325 * manual/sysinfo.texi: Likewise.
5326 * manual/time.texi: Likewise.
5327
11520a57
CD
53282013-12-27 Carlos O'Donell <carlos@redhat.com>
5329
5330 * po/sl.po: New file.
5331
471103ae
MF
53322013-12-27 Mike Frysinger <vapier@gentoo.org>
5333
5334 * .gitignore: Add core/.gdbinit/.gdb_history.
5335
6c9642ed
AM
53362013-12-27 Allan McRae <allan@archlinux.org>
5337
5338 [BZ #16369]
5339 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5340 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5341
3f637079
BM
53422013-12-24 Brooks Moses <bmoses@google.com>
5343
5344 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5345 all compilers that claim C++98 compliance, not just GCC.
5346 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5347 Likewise.
5348
abc26e99
MK
53492013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5350
5351 * NEWS: Restore accidentally deleted bug-fix entries.
5352
362b47fe
MK
53532013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5354 Ondřej Bílka <neleai@seznam.cz>
5355
5356 [BZ #15073]
5357 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5358 have_lock.
362b47fe 5359
b9bcbbcb
OB
53602013-12-23 Ondřej Bílka <neleai@seznam.cz>
5361
5362 [BZ #12986]
5363 * manual/stdio.texi (String Input Conversions): Clarify that character
5364 classes are not supported.
5365
fb55fcd2
AZ
53662013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367
5368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5369
ef7344f0
JM
53702013-12-22 Joseph Myers <joseph@codesourcery.com>
5371
4f40e4b3
JM
5372 [BZ #16337]
5373 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5374 Calculate results for small negative arguments directly rather
5375 than using reflection formula with special underflow handling.
5376
ef7344f0
JM
5377 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5378 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5379 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5380 (fchflags): Likewise.
5381 (revoke): Likewise.
5382 (setlogin): Likewise.
5383 (sigaltstack): Likewise.
5384 (wait4): Likewise.
5385 (sigblock): Remove.
5386 (sigsetmask): Likewise.
5387 (wait3): Likewise.
5388 (waitpid): Likewise.
5389 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5390 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5391 file.
5392 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5393 * sysdeps/unix/bsd/Makefile: ... here.
5394 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5395 * sysdeps/unix/bsd/Versions: ... here.
5396 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5397 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5398 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5399 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5400 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5401 * sysdeps/unix/bsd/sigblock.c: ... here.
5402 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5403 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5404 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5405 * sysdeps/unix/bsd/sigvec.c: ... here.
5406 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5407 * sysdeps/unix/bsd/tcdrain.c: ... here.
5408 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5409 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5410 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5411 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5412 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5413 * sysdeps/unix/bsd/wait.c: ... here.
5414 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5415 * sysdeps/unix/bsd/wait3.c: ... here.
5416 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5417 * sysdeps/unix/bsd/waitpid.c: ... here.
5418
5b0626b9
JM
54192013-12-21 Joseph Myers <joseph@codesourcery.com>
5420
5421 [BZ #16356]
5422 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5423 round-to-nearest for [!USE_AS_EXPM1L].
5424 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5425 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5426 more tests of exp and exp10. Expect some exp10 tests to miss
5427 exceptions or fail in directed rounding modes.
5428 * math/auto-libm-test-out: Regenerated.
5429 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5430 (exp10_test_tonearest): New function.
5431 (exp10_towardzero_test_data): New array.
5432 (exp10_test_towardzero): New function.
5433 (exp10_downward_test_data): New array.
5434 (exp10_test_downward): New function.
5435 (exp10_upward_test_data): New array.
5436 (exp10_test_upward): New function.
5437 (main): Call the new functions.
5438 * sysdeps/i386/fpu/libm-test-ulps: Update.
5439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440
7fda5682
JM
54412013-12-20 Joseph Myers <joseph@codesourcery.com>
5442
31e3a405
JM
5443 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5444 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5445 * math/auto-libm-test-out: Regenerated.
5446 * math/libm-test.inc (acosh_test_data): Add more tests.
5447 (atanh_test_data): Likewise.
5448 (ceil_test_data): Likewise.
5449 (copysign_test_data): Likewise.
5450 * sysdeps/i386/fpu/libm-test-ulps: Update.
5451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5452
85bff96a
JM
5453 * timezone/checktab.awk: Update from tzcode 2013i.
5454 * timezone/private.h: Likewise.
5455 * timezone/scheck.c: Likewise.
5456 * timezone/tzfile.h: Likewise.
5457 * timezone/tzselect.ksh: Likewise.
5458 * timezone/zdump.c: Likewise.
5459 * timezone/zic.c: Likewise.
5460
b7867a3b
JM
5461 * math/auto-libm-test-in: Add tests of cpow.
5462 * math/auto-libm-test-out: Regenerated.
5463 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5464 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5465 mpc_cc_c.
5466 (func_calc_desc): Add mpc_cc_c union field.
5467 (test_functions): Add cpow.
5468 (special_fill_2pi): New function.
5469 (special_real_inputs): Add 2pi.
5470 (calc_generic_results): Handle mpc_cc_c.
5471 * sysdeps/i386/fpu/libm-test-ulps: Update.
5472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5473
7fda5682
JM
5474 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5475 csqrt, ctan and ctanh.
5476 * math/auto-libm-test-out: Regenerated.
5477 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5478 (TEST_COND_x86): Likewise.
5479 (ccos_test_data): Use AUTO_TESTS_c_c.
5480 (ccosh_test_data): Likewise.
5481 (cexp_test_data): Likewise.
5482 (clog_test_data): Likewise.
5483 (csqrt_test_data): Likewise.
5484 (ctan_test_data): Likewise.
5485 (ctan_tonearest_test_data): Likewise.
5486 (ctan_towardzero_test_data): Likewise.
5487 (ctan_downward_test_data): Likewise.
5488 (ctan_upward_test_data): Likewise.
5489 (ctanh_test_data): Likewise.
5490 (ctanh_tonearest_test_data): Likewise.
5491 (ctanh_towardzero_test_data): Likewise.
5492 (ctanh_downward_test_data): Likewise.
5493 (ctanh_upward_test_data): Likewise.
5494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5495 mpc_c_c.
5496 (func_calc_desc): Add mpc_c_c union field.
5497 (FUNC_mpc_c_c): New macro.
5498 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5499 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5500 ctanh.
5501 (special_fill_min_subnorm_p120): New function.
5502 (special_real_inputs): Add min_subnorm_p120.
5503 (calc_generic_results): Handle mpc_c_c.
5504 * sysdeps/i386/fpu/libm-test-ulps: Update.
5505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5506
5ff8d60e
SP
55072013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5508
392dd2de
SP
5509 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5510 do_sin_slow): New functions.
5511 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5512 cslow2, csloww1, csloww2): Use the new functions.
5513
84ba214c
SP
5514 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5515 Use M to change sign of result instead of X. Assume X is
5516 positive.
5517 (csloww1): Likewise.
5518 (__sin): Adjust.
5519 (__cos): Adjust.
5520
975195e4
SP
5521 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5522 arguments A and DA.
5523 (__sin): Adjust.
5524 (__cos): Likewise.
5525
5ff8d60e
SP
5526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5527 (__cos): Likewise.
5528 (sloww1): Don't adjust sign of DX.
5529 (csloww1): Likewise.
5530 (sloww2): Use X directly and don't adjust sign of DX.
5531 (csloww2): Likewise.
5532
eb983568
JM
55332013-12-19 Joseph Myers <joseph@codesourcery.com>
5534
64a17f1a
JM
5535 * math/auto-libm-test-in: Add tests of cabs and carg.
5536 * math/auto-libm-test-out: Regenerated.
5537 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5538 (carg_test_data): Likewise.
5539 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5540 mpc_c_f.
5541 (func_calc_desc): Add mpc_c_f union field.
5542 (test_functions): Add cabs and carg.
5543 (calc_generic_results): Handle mpc_c_f.
5544
eb983568
JM
5545 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5546 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5547 as a macro and a compat symbol.
5548 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5549 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5550 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5551 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5552 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5553 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5554 not use .hidden.
5555 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5556 Likewise.
5557 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5558 Likewise.
5559 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5560 Likewise.
5561 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5562 Likewise.
5563 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5564 Likewise.
5565 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5566 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5567 from GLIBC_2.3.2.
5568
6eeb678a
AZ
55692013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5570
5571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5572
6f6fc482
JM
55732013-12-19 Joseph Myers <joseph@codesourcery.com>
5574
21fea2e2
JM
5575 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5576 trailing whitespace removed.
5577 * scripts/config.guess: Update to version 2013-11-29.
5578 * scripts/config.sub: Update to version 2013-10-01.
5579
6f6fc482
JM
5580 * math/auto-libm-test-in: Add tests of sincos.
5581 * math/auto-libm-test-out: Regenerated.
5582 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5583 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5584 mpfr_f_11.
5585 (func_calc_desc): Add mpfr_f_11 union field.
5586 (test_functions): Add sincos.
5587 (calc_generic_results): Handle mpfr_f_11.
5588 * sysdeps/i386/fpu/libm-test-ulps: Update.
5589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5590
83f5c32d
AS
55912013-12-19 Andreas Schwab <schwab@suse.de>
5592
5593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5594 CALL_MCOUNT.
5595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5597 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5598
c688b419
JM
55992013-12-19 Joseph Myers <joseph@codesourcery.com>
5600
335ee092
JM
5601 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5602 * sysdeps/i386/fpu/libm-test-ulps: Update.
5603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5604
f88acd39
JM
5605 [BZ #16293]
5606 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5607 round-to-nearest mode when using frndint.
5608 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5609 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5610 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5611 Likewise.
5612 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5613 sinh test to fail.
5614 * math/auto-libm-test-out: Regenerated.
5615 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5616 (TEST_COND_x86): Likewise.
5617 (expm1_tonearest_test_data): New array.
5618 (expm1_test_tonearest): New function.
5619 (expm1_towardzero_test_data): New array.
5620 (expm1_test_towardzero): New function.
5621 (expm1_downward_test_data): New array.
5622 (expm1_test_downward): New function.
5623 (expm1_upward_test_data): New array.
5624 (expm1_test_upward): New function.
5625 (main): Run the new test functions.
5626 * sysdeps/i386/fpu/libm-test-ulps: Update.
5627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628
c688b419
JM
5629 * include/features.h: Update comment documenting feature test
5630 macros. Mention _DEFAULT_SOURCE in comment.
5631 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5632 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5633 _BSD_SOURCE and _SVID_SOURCE.
5634 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5635 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5636 !_SVID_SOURCE]: Likewise.
5637 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5638 (__USE_POSIX_IMPLICITLY): Define.
5639 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5640 (_POSIX_SOURCE): Undefine and redefine.
5641 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5642 (_POSIX_C_SOURCE): Likewise.
5643 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5644 (Feature Test Macros): Update documentation of default features.
5645
9f6e964c
RS
56462013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5647
5648 * benchtests/Makefile: Add bench-strtok.
5649 * benchtests/bench-strtok.c: New file: strtok benchtest.
5650
ee0a148a
AM
56512013-12-19 Allan McRae <allan@archlinux.org>
5652
5653 * manual/install.texi: Suppress menu for plain text output.
5654 * INSTALL: Regenerated.
5655
b9ab448f
BM
56562013-12-18 Brooks Moses <bmoses@google.com>
5657
5658 [BZ #15846]
5659 * misc/getauxval.c: Include errno.h.
5660 (__getauxval): Set errno to ENOENT if the requested type is not
5661 found.
5662 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5663 don't declare with __attribute_const__.
5664 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5665 * manual/startup.texi: Document that getauxval sets errno.
5666
23776487
JM
56672013-12-18 Joseph Myers <joseph@codesourcery.com>
5668
f889953b
JM
5669 * math/auto-libm-test-in: Add tests of jn and yn.
5670 * math/auto-libm-test-out: Regenerated.
5671 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5672 (yn_test_data): Likewise.
5673 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5674 mpfr_if_f.
5675 (func_calc_desc): Add mpfr_if_f union field.
5676 (FUNC_mpfr_if_f): New macro.
5677 (test_functions): Add jn and yn.
5678 (calc_generic_results): Assert type of second input for
5679 mpfr_ff_f. Handle mpfr_if_f.
5680 (output_for_one_input_case): Disable all checking for arguments
5681 fitting floating-point types in case of an integer argument.
5682 * sysdeps/i386/fpu/libm-test-ulps: Update.
5683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5684
23776487
JM
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5686 Don't expect fegetround reference in libm.so.
5687
cb756c6d
MS
56882013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5689
5690 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5691 $(config-cflags-nofma).
5692
2dec468f
JM
56932013-12-18 Joseph Myers <joseph@codesourcery.com>
5694
5953eb3a
JM
5695 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5696 * math/auto-libm-test-out: Regenerated.
5697
2dec468f
JM
5698 [BZ #16338]
5699 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5700 to determine exponent and adjust argument to have exponent of -1.
5701 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5702 log2.
5703 * math/auto-libm-test-out: Regenerated.
5704 * sysdeps/i386/fpu/libm-test-ulps: Update.
5705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5706
4d84e6ad
OB
57072013-12-18 Ondřej Bílka <neleai@seznam.cz>
5708
5709 * manual/probes.texi: Remove cases when per-thread arenas are
5710 disabled.
5711
1818483b
AS
57122013-12-18 Andreas Schwab <schwab@suse.de>
5713
5714 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5715 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5716 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5717 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5718 * sysdeps/i386/i686/multiarch/Makefile: Update.
5719 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5720
25de95bf
JM
57212013-12-17 Joseph Myers <joseph@codesourcery.com>
5722
5723 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5724 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5725
674762d9
PE
57262013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5727
ed27ed83 5728 [BZ #15968]
0748546f
PE
5729 Support TZ transition times < 00:00:00.
5730 This is needed for version-3 tz-format files; it supports time
5731 stamps past 2037 for America/Godthab (the only entry in the tz
5732 database for which this change is relevant).
5733 * manual/time.texi (TZ Variable): Document transition times
5734 from -167:59:59 through -00:00:01.
5735 * time/tzset.c (tz_rule): Time of day is now signed.
5736 (__tzset_parse_tz): Parse negative time of day.
5737
4480e934
PE
5738 Document TZ transition times >= 25:00:00.
5739 * manual/time.texi (TZ Variable): Document transition times from
5740 25:00:00 through 167:59:59. These are already supported, and this
5741 support will help with version-3 tz-format files.
5742
69947401
PE
5743 * manual/time.texi (TZ Variable): Modernize North America example
5744 to reflect current (i.e., 2007-and-later) daylight saving rules.
5745
674762d9
PE
5746 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5747
7011c262
JM
57482013-12-17 Joseph Myers <joseph@codesourcery.com>
5749
2fc6557e
JM
5750 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5751 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5754 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5755 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5756 * sysdeps/unix/bsd/clock.c: Likewise.
5757 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5758 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5759 * sysdeps/unix/bsd/init-posix.c: Likewise.
5760 * sysdeps/unix/bsd/poll.c: Likewise.
5761 * sysdeps/unix/bsd/ptsname.c: Likewise.
5762 * sysdeps/unix/bsd/seekdir.c: Likewise.
5763 * sysdeps/unix/bsd/setegid.c: Likewise.
5764 * sysdeps/unix/bsd/seteuid.c: Likewise.
5765 * sysdeps/unix/bsd/setgid.c: Likewise.
5766 * sysdeps/unix/bsd/setrgid.c: Likewise.
5767 * sysdeps/unix/bsd/setruid.c: Likewise.
5768 * sysdeps/unix/bsd/setsid.c: Likewise.
5769 * sysdeps/unix/bsd/setuid.c: Likewise.
5770 * sysdeps/unix/bsd/sigaction.c: Likewise.
5771 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5772 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5773 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5774 * sysdeps/unix/bsd/telldir.c: Likewise.
5775 * sysdeps/unix/bsd/times.c: Likewise.
5776 * sysdeps/unix/bsd/usleep.c: Likewise.
5777
029c7b25
JM
5778 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5779 ($(objpfx)libbsd-compat.a): Remove rule.
5780
7011c262
JM
5781 * include/features.h (__FAVOR_BSD): Do not define.
5782 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5783 features conflicting with POSIX.
5784 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5785 (_BSD_SOURCE): Remove description of not being a subset of other
5786 feature test macros.
5787 * manual/job.texi (getpgrp): Do not document BSD version.
5788 (getpgid): Do not document by reference to BSD getpgrp.
5789 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5790 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5791 * signal/signal.h [__FAVOR_BSD]: Likewise.
5792 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5793 instead of making contents conditional on [__FAVOR_BSD].
5794 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5795
affb6f78
AZ
57962013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5797
5798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5799
c88769dd
JM
58002013-12-17 Joseph Myers <joseph@codesourcery.com>
5801
6432a540
JM
5802 [BZ #16314]
5803 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5804 values below 2**-450, not 2**-500.
5805 * math/auto-libm-test-in: Don't allow spurious underflow from
5806 hypot.
5807 * math/auto-libm-test-out: Regenerated.
5808
c88769dd
JM
5809 [BZ #16316]
5810 [BZ #16330]
5811 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5812 values of ha and hb and sort them after adjusting subnormal
5813 arguments.
5814 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5815 Likewise.
5816 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5817 values of ea and eb and sort them after adjusting subnormal
5818 arguments.
5819 * math/auto-libm-test-in: Do not expect some hypot tests of
5820 subnormals to fail. Add more hypot tests.
5821 * math/auto-libm-test-out: Regenerated.
5822
29618f6b
KK
58232013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5824
5825 [BZ #13304]
5826 * sysdeps/sh/s_fma.c: New file.
5827 * sysdeps/sh/s_fmaf.c: New file.
5828 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5829 version.
5830 * sysdeps/sh/Implies: Add sh/soft-fp.
5831
eacfdfbf
RM
58322013-12-16 Roland McGrath <roland@hack.frob.com>
5833
5834 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5835 level of indirection to members `objname', `errstring', `malloced'.
5836 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5837 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5838 it as the __longjmp argument (just pass 1 instead).
5839 (_dl_catch_error): Initialize C with argument pointers and address of
5840 volatile local ERRCODE rather than copying values out of C at return.
5841
ff362e5b
JM
58422013-12-16 Joseph Myers <joseph@codesourcery.com>
5843
5844 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5845 * math/auto-libm-test-out: Regenerated.
5846 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5847 (hypot_test_data): Likewise.
5848 (pow_test_data): Likewise.
5849 (pow_tonearest_test_data): Likewise.
5850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5851 mpfr_ff_f.
5852 (func_calc_desc): Add mpfr_ff_f union field.
5853 (FUNC_mpfr_ff_f): New macro.
5854 (test_functions): Add atan2, hypot and pow.
5855 (special_fill_min): New function.
5856 (special_fill_minus_min): Likewise.
5857 (special_fill_min_subnorm): Likewise.
5858 (special_fill_minus_min_subnorm): Likewise.
5859 (special_real_inputs): Add min, -min, min_subnorm and
5860 -min_subnorm.
5861 (calc_generic_results): Handle mpfr_ff_f.
5862 * sysdeps/i386/fpu/libm-test-ulps: Update.
5863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5864
5764c27f
WN
58652013-12-16 Will Newton <will.newton@linaro.org>
5866
5867 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5868 (Aligned Memory Blocks): Add documentation for aligned_alloc
5869 and suggest it as an alternative to posix_memalign.
5870 (Hooks for Malloc): Document __memalign_hook is also called
5871 for aligned_alloc. (Summary of Malloc): Add summary for
5872 aligned alloc. Document __memalign_hook is also called
5873 for aligned_alloc.
5874
0a096e44
WN
58752013-12-16 Will Newton <will.newton@linaro.org>
5876
5877 * manual/memory.texi (Malloc Examples): Clarify default
5878 alignment documentation. Suggest posix_memalign rather
5879 than memalign or valloc.
5880 (Aligned Memory Blocks): Remove suggestion to use memalign
5881 or valloc. Remove obsolete comment about BSD.
5882 Document memalign errno values and mark the function obsolete.
5883 Document posix_memalign returned error codes. Mark valloc
5884 as obsolete. (Hooks for Malloc): __memalign_hook is also
5885 called for posix_memalign and valloc.
5886 (Summary of Malloc): Add posix_memalign to function summary.
5887 __memalign_hook is also called for posix_memalign and valloc.
5888
8d561986
SP
58892013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5890
5891 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5892 TAYLOR_SIN.
5893 (__sin): Adjust.
5894 (__cos): Likewise.
5895 (sloww): Use mynumber union. Expand ternary operator into
5896 if-else statements.
5897 (cslow): use mynumber union.
5898
73616a74
AM
58992013-12-16 Allan McRae <allan@archlinux.org>
5900
9e8ac24b
AM
5901 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5902 * configure: Regenerated.
5903
6f8e37eb
AM
5904 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5905
8894bad3
AM
5906 [BZ #14120]
5907 * configure.ac: Added --enable-maintainer-mode. Check for
5908 autoconf when enabled.
5909 * configure: Regenerated.
5910
73616a74
AM
5911 * nscd/nscd.service: New file.
5912 * nscd/nscd.tmpfiles: New file.
5913
584b18eb
OB
59142013-12-14 Ondřej Bílka <neleai@seznam.cz>
5915
5916 [BZ #12100]
5917 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5918 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5919 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5920 (strstr): Add __strstr_sse2_unaligned ifunc.
5921 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5922 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5923 (strcasestr): Remove __strcasestr_sse42 ifunc.
5924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5927
8a5c7897
KK
59282013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5929
5930 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5931 * sysdeps/sh/bits/fenv.h: ... here.
5932 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5933
fd712ef3
AZ
59342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935
5936 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5937
42fcb46c
AZ
59382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5939
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5941 hypotf multiarch implementations.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5943 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5945 multiarch hypot for PPC64.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5947 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5949 multiarch hypotf for PPC64.
5950
83efded4
AZ
59512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5952
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5954 modff multiarch implementations.
5955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5958 multiarch modf for PPC64.
5959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5962 multiarch modff for PPC64.
5963
43e246d2
AZ
59642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5965
5966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5967 and logl multiarch implementations.
5968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5971 multiarch logb for PPC64.
5972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5975 multiarch logb for PPC64.
5976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5979 multiarch logb for PPC64.
5980
8fdad123
AZ
59812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5982
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5984 isinff multiarch implementation.
5985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5986 file.
5987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5989 multiarch isinf for PPC64.
5990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5991 file.
5992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5993 multiarch isinff for PPC64.
5994
1481d706
AZ
59952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996
5997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5998 finitef multiarch implementation.
5999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6000 file.
6001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6003 multiarch finite for PPC64.
6004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6005 file.
6006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6007 multiarch finitef for PPC64.
6008
5ccd5fc8
AZ
60092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6010
6011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6012 lrint multiarch implementation.
6013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6014 file.
6015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6017 multiarch llrint for PPC64.
6018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6019 multiarch lrint for PPC64.
6020
2568f3fa
AZ
60212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6022
6023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6024 copysignf multiarch implementation.
6025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6026 file.
6027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6028 file.
6029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6030 multiarch copysign for PPC64.
6031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6032 multiarch copysignf for PPC64.
6033
1cb341fd
AZ
60342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6035
6036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6037 multiarch implementation.
6038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6039 file.
6040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6041 file.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6043 file.
6044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6045 file.
6046 multiarch llround for PPC64.
6047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6048 multiarch trunc for PPC64.
6049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6050 multiarch truncf for PPC64.
6051
59a3e194
AZ
60522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053
6054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6055 multiarch implementation.
6056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6057 file.
6058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6059 file.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6061 file.
6062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6063 file.
6064 multiarch llround for PPC64.
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6066 multiarch round for PPC64.
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6068 multiarch roundf for PPC64.
6069
357fd3b4
AZ
60702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071
6072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6073 multiarch implementation.
6074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6075 file.
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6077 file.
6078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6079 file.
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6081 file.
6082 multiarch llround for PPC64.
6083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6084 multiarch floor for PPC64.
6085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6086 multiarch floorf for PPC64.
6087
96770f12
AZ
60882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6089
6090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6091 multiarch implementation.
6092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6093 file.
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6095 file.
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6097 file.
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6099 file.
6100 multiarch llround for PPC64.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6102 multiarch ceil for PPC64.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6104 multiarch ceilf for PPC64.
6105
c3627f6e
AZ
61062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6107
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6109 multiarch implementation.
6110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6111 file.
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6113 file.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6115 file.
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6117 multiarch llround for PPC64.
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6119 multiarch lround for PPC64.
6120
b2284ad7
AZ
61212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6122
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6124 multiarch implementation.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6128 file.
6129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6132 multiarch isnan for PPC64.
6133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6134 multiarch isnanf for PPC64.
6135
69bbc63d
AZ
61362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6137
6138 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6139 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6140 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6141 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6142 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6144
c24517c9
AZ
61452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6146
6147 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6151
a52374e8
AZ
61522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153
6154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6155 multiarch implementations.
6156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6157 (__libc_ifunc_impl_list): Likewise.
6158 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6159 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6160 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6161 multiarch stpcpy for PPC64.
6162
7f5ec113
AZ
61632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6164
6165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6166 multiarch implementations.
6167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6168 (__libc_ifunc_impl_list): Likewise.
6169 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6170 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6171 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6172 multiarch strcpy for PPC64.
6173
e28bcd42
AZ
61742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175
6176 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6177 redefine function name.
6178 (_wordcopy_fwd_dest_aligned): Likewise.
6179 (_wordcopy_bwd_aligned): Likewise.
6180 (_wordcopy_bwd_dest_aligned): Likewise.
6181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6182 multiarch implementations.
6183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6184 (__libc_ifunc_impl_list): Likewise.
6185 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6188 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6189 multiarch wcscpy for PPC64.
6190
92cacfce
AZ
61912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6192
6193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6194 multiarch implementations.
6195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6196 (__libc_ifunc_impl_list): Likewise.
6197 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6198 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6199 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6200 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6201 multiarch wcscpy for PPC64.
6202
7b714620
AZ
62032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6204
6205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6206 multiarch implementations.
6207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6208 (__libc_ifunc_impl_list): Likewise.
6209 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6210 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6211 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6212 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6213 multiarch wcsrchr for PPC64.
6214
16fd2ae3
AZ
62152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216
6217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6218 multiarch implementations.
6219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6220 (__libc_ifunc_impl_list): Likewise.
6221 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6222 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6223 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6224 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6225 multiarch wcschr for PPC64.
6226
9ee2969b
AZ
62272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6228
6229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6230 multiarch implementations.
6231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6232 (__libc_ifunc_impl_list): Likewise.
6233 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6234 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6235 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6236 multiarch strchrnul for PPC64.
6237
372dc060
AZ
62382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6239
6240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6241 implementations.
6242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6243 (__libc_ifunc_impl_list): Likewise.
6244 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6245 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6246 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6247 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6248 strchr for PPC64.
6249
24c2c3b9
AZ
62502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251
6252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6253 implementations.
6254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6255 (__libc_ifunc_impl_list): Likewise.
6256 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6257 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6258 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6259 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6260 strncmp for PPC64.
6261
1c92d9a0
AZ
62622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6263
6264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6265 multiarch implementations.
6266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6267 (__libc_ifunc_impl_list): Likewise.
6268 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6269 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6270 strncasecmp for PPC64.
6271 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6272 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6273 multiarch strncasecmp_l for PPC64.
6274
17de3ee3
AZ
62752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6276
6277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6278 multiarch implementations.
6279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6280 (__libc_ifunc_impl_list): Likewise.
6281 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6282 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6283 multiarch strcasecmp for PPC64.
6284 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6285 file.
6286 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6287 multiarch strcasecmp_l for PPC64.
6288
62982bf9
AZ
62892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6290
6291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6292 implementations.
6293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6294 (__libc_ifunc_impl_list): Likewise.
6295 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6296 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6297 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6298 strnlen for PPC64.
6299
a65f4904
AZ
63002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6301
6302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6303 implementations.
6304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6305 (__libc_ifunc_impl_list): Likewise.
6306 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6307 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6308 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6309 strlen for PPC64.
6310
1fd005ad
AZ
63112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312
6313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6314 implementations.
6315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6316 (__libc_ifunc_impl_list): Likewise.
6317 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6318 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6319 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6320 rawmemrchr for PPC64.
6321
cd05ba91
AZ
63222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323
6324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6325 implementation.
6326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6327 (__libc_ifunc_impl_list): Likewise.
6328 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6329 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6330 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6331 memrchr for PPC64.
6332
870f8676
AZ
63332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6334
6335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6336 implementation.
6337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6338 (__libc_ifunc_impl_list): Likewise.
6339 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6340 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6341 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6342 memchr for PPC64.
6343
f00be62b
AZ
63442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345
6346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6347 implementation.
6348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6349 (__libc_ifunc_impl_list): Likewise.
6350 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6351 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6352 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6353 mempcpy for PPC64.
6354
8a29a3d0
AZ
63552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6356
6357 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6358 avoid cretion of __bzero symbol.
6359 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6360 Likewise.
6361 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6362 Likewise.
6363 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6364 Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6366 multiarch implementations.
6367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6368 (__libc_ifunc_impl_list): Likewise.
6369 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6370 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6371 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6372 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6373 bzero for PPC32.
6374 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6375 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6376 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6377 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6378 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6379 memset for PPC64.
6380 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6381
07253fcf
AZ
63822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6383
6384 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6386 implementations.
6387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6388 (__libc_ifunc_impl_list): Likewise.
6389 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6390 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6391 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6392 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6393 memcmp for PPC64.
6394
b5beafbc
AZ
63952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6398 multiarch for POWER/PPC64.
6399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6400 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6401 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6402 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6403 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6404 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6405 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6406 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6407 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6408 memcpy for PPC64.
6409
5e6a4d4b
AZ
64102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6411
6412 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6413 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6414 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6415 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6416 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6417 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6418 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6419 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6420 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6421 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6422 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6423 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6424 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6425 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6426 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6434
ddfab6dc
KK
64352013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6436
6437 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6438
19b5525e
SP
64392013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6440
6441 * benchtests/Makefile (bench): Add exp2 and log2.
6442 (LDLIBS-bench-exp2): Add -lm.
6443 (LDLIBS-bench-log2): Likewise.
6444 * benchtests/exp2-inputs: New inputs file.
6445 * benchtests/log2-inputs: New inputs file.
6446 * benchtests/log-inputs: Add new inputs.
6447 * benchtests/tan-inputs: Likewise.
6448
196f7f5d
SP
64492013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6450
7a74607f
SP
6451 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6452 definition...
6453 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6454 csloww1, csloww2): ... from here.
6455
196f7f5d
SP
6456 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6457 instead of structures.
6458 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6459 (POLYNOMIAL): Likewise.
6460 (TAYLOR_SLOW): Likewise.
6461 (__sin): Likewise.
6462 (__cos): Likewise.
6463 (slow1): Likewise.
6464 (slow2): Likewise.
6465 (sloww): Likewise.
6466 (sloww1); Likewise.
6467 (sloww2): Likewise.
6468 (bsloww1): Likewise.
6469 (bsloww2): Likewise.
6470 (cslow2): Likewise.
6471 (csloww): Likewise.
6472 (csloww1): Likewise.
6473 (csloww2): Likewise.
6474
0dfa665c
OB
64752013-12-10 Ondřej Bílka <neleai@seznam.cz>
6476
6477 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6478 (__malloc_assert, __libc_realloc, __libc_calloc,
6479 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6480 memcpy and memset.
6481 * malloc/hooks.c (realloc_check): Likewise.
6482
5782a80f
OB
64832013-12-10 Ondřej Bílka <neleai@seznam.cz>
6484
6485 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6486 * malloc/arena.c: Remove PER_THREAD conditional.
6487 [!PER_THREAD]: Remove code.
6488 (ptmalloc_unlock_all2): Likewise.
6489 (ptmalloc_init): Likewise.
6490 (_int_new_arena): Likewise.
6491 (arena_get2): Likewise.
6492 * malloc/hooks.c (__malloc_get_state): Likewise.
6493 (__malloc_set_state): Likewise.
6494 * malloc/malloc.c: Likewise.
6495 (struct malloc_state): Likewise.
6496 (struct malloc_par): Likewise.
6497 (__libc_realloc): Likewise.
6498 (__libc_mallopt): Likewise.
6499
aeb95445
AZ
65002013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6501
6502 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6503
e8349efd
OB
65042013-12-09 Ondřej Bílka <neleai@seznam.cz>
6505
6506 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6507 macro to a function. Check for zero perturb_byte.
6508 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6509
f3eeb3fc
OB
65102013-12-09 Ondřej Bílka <neleai@seznam.cz>
6511
6512 * malloc/malloc.c: (force_reg): Remove.
6513 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6514 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6515 force_reg by atomic_forced_read.
6516 * malloc/arena.c (ptmalloc_init): Likewise.
6517 * malloc/hooks.c (top_check): Likewise.
6518
be2f9009
AZ
65192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6520
6521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6522
e7b914bd
MT
65232013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6524
6525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6526
9f0be4f8
JM
65272013-12-08 Joseph Myers <joseph@codesourcery.com>
6528
6529 * math/auto-libm-test-in: Add tests of lgamma.
6530 * math/auto-libm-test-out: Regenerated.
6531 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6532 (M_LOG_2_SQRT_PIl): Likewise.
6533 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6534 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6535 mpfr_f_f1.
6536 (func_calc_desc): Add mpfr_f_f1 union field.
6537 (ARGS1): New macro.
6538 (ARGS2): Likewise.
6539 (ARGS3): Likewise.
6540 (ARGS4): Likewise.
6541 (RET1): Likewise.
6542 (RET2): Likewise.
6543 (CALC): Likewise.
6544 (FUNC): Likewise.
6545 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6546 (test_functions): Add lgamma.
6547 (calc_generic_results): Handle mpfr_f_f1.
6548 * sysdeps/i386/fpu/libm-test-ulps: Update.
6549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6550
24eeafdb
AZ
65512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6552
6553 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6554 __mpn_add_n for PowerPC64/POWER7.
6555 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6556 __mpn_sub_n for PowerPC64/POWER7.
6557
4a2c0fd4
AZ
65582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6559
6560 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6561 __mpn_addmul_1 for PowerPC64.
6562 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6563 __mpn_submul_1 for PowerPC64.
6564 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6565 for PowerPC64.
6566 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6567 for PowerPC64.
6568
4b5b548c
FS
65692013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6570
6571 [BZ #15089]
6572 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6573
0a3ac0aa
AZ
65742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6575
6576 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6577
ccdc8438
AZ
65782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6579
6580 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6581 add multiarch folders.
6582 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6583 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6584 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6585 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6586 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6587 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6588 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6589 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6590 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6591 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6592 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6599
2e973d99
AZ
66002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6601
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6603 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6605 New file.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6607 New file.
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6609 multiarch __ieee754_hypot for PowerPC32.
6610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6611 New file.
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6613 New file.
6614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6615 multiarch __ieee754_hypotf for PowerPC32.
6616
2d9470b2
AZ
66172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6618
6619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6620 long_double_symbol only if __logbl is defined.
6621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6622 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6624 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6626 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6628 path for implementation.
6629 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6630 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6632 logb, and logbl multiarch implementations for PowerPC32.
6633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6634 file.
6635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6636 file.
6637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6638 multiarch logb for PowerPC32.
6639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6640 file.
6641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6642 file.
6643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6644 multiarch logbf for PowerPC32.
6645 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6647 file.
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6649 multiarch logbl implementation for PowerPC32.
6650
5212ffce
AZ
66512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6652
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6654 and modff multiarch implementations.
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6656 New file.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6658 New file.
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6660 multiarch modf for PowerPC32.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6662 New file.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6664 New file.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6666 multiarch modff for PowerPC32.
6667
79dccf31
AZ
66682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6669
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6671 and lrintf multiarch implementations.
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6673 New file.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6675 New file.
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6677 multiarch lrint for PowerPC32.
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6679 file: multiarch lrintf for PowerPC32.
6680
deb66480
AZ
66812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6682
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6684 and lroundf multiarch implementations.
6685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6686 New file.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6688 New file.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6690 New file.
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6692 multiarch lround for PowerPC32.
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6694 file: multiarch lroundf for PowerPC32.
6695
264b036b
AZ
66962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6697
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6699 copysign and copysignf multiarch implementations.
6700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6701 New file.
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6703 New file.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6705 file: multiarch copysign for PowerPC32.
6706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6707 file: multiarch copysignf for PowerPC32.
6708
d47db6c9
AZ
67092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6710
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6712 and truncf multiarch implementations.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6714 New file.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6716 file.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6718 multiarch trunc for PowerPC32.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6720 New file.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6722 New file.
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6724 multiarch truncf for PowerPC32.
6725
ddb60b5a
AZ
67262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6729 and roundf multiarch implementations.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6731 New file.
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6733 file.
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6735 multiarch round for PowerPC32.
6736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6737 New file.
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6739 New file.
6740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6741 multiarch roundf for PowerPC32.
6742
bedcf49b
AZ
67432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6744
6745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6746 and floorf multiarch implementations.
6747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6748 New file.
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6750 file.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6752 multiarch floor for PowerPC32.
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6754 New file.
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6756 New file.
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6758 multiarch floorf for PowerPC32.
6759
35ae5b40
AZ
67602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6761
6762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6763 and ceilf multiarch implementations.
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6765 New file.
6766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6767 file.
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6769 multiarch ceil for PowerPC32.
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6771 New file.
6772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6773 file.
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6775 multiarch ceilf for PowerPC32.
6776
ae1a4cd9
AZ
67772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778
6779 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6780 is defined.
6781 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6782 FINITEF is defined.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6784 and finitef multiarch implementations.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6786 New file.
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6788 file.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6790 multiarch finite for PowerPC32.
6791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6792 New file.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6794 file: multiarch finitef for PowerPC32.
6795
64fffd65
AZ
67962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6797
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6799 and isinff multiarch implementations.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6801 file.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6803 file.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6805 multiarch isinf for PowerPC32.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6807 New file.
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6809 multiarch isinff for PowerPC32.
6810
8e4e7ba2
AZ
68112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6812
6813 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6814 alias when __isnan is defined.
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6816 and isnanf multiarch implementations.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6818 file.
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6820 file.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6822 file.
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6824 file.
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6826 multiarch isnan for PowerPC32.
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6828 New file.
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6830 New file.
6831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6832 multiarch isnanf for PowerPC32.
6833
ddba588e
AZ
68342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6837 and sqrtf multiarch implementations.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6839 file.
6840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6841 file.
6842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6843 multiarch sqrt for PowerPC32.
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6845 file.
6846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6847 file.
6848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6849 multiarch sqrtf for PowerPC32.
6850
0f96a2f0
AZ
68512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6852
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6854 and llroundf multiarch implementations.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6856 New file.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6858 New file.
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6860 New file.
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6862 file: multiarch llround for PowerPC32.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6864 file: multiarch llroundf for PowerPC32.
6865
c9b5d79e
AZ
68662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6867
6868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6869 multiarch PowerPC32 fpu implementations.
6870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6871 New file.
6872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6873 New file.
6874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6875 multiarch llrint for PowerPC32.
6876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6877 New file.
6878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6879 New file.
6880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6881 file.
6882
9cbb3aab
AZ
68832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6884
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6886
ea5a72f8
AZ
68872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6888
6889 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6890 file.
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6892 file.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6894 file.
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6896 multiarch wordcopy for PPC32.
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6898 wordcopy objects.
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6900 (__libc_ifunc_impl_list): Likewise.
6901 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6902 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6904 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6905 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6906 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6907
93be09e7
AZ
69082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909
6910 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6912 file.
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6914 file.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6916 file.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6918 multiarch wcscpy for PPC32.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6920 multiarch objects.
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6922 (__libc_ifunc_impl_list): Likewise.
6923 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6924 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6925 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6926 sysdeps/powerpc/power6/wcscpy.c.
6927
bb04e529
AZ
69282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6929
6930 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6932 file.
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6934 file.
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6936 file.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6938 multiarch wcsrchr for PPC32.
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6940 multiarch objects.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6942 (__libc_ifunc_impl_list): Likewise.
6943 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6944 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6945 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6946 sysdeps/powerpc/power6/wcsrchr.c.
6947
05b5cd1c
AZ
69482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6951 file.
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6953 file.
6954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6956 multiarch wcschr for PPc32.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6958 multiarch objects.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6960 (__libc_ifunc_impl_list): Likewise.
6961 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6962 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6963 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6964 sysdeps/powerpc/power6/wcschr.c.
6965
ba964147
AZ
69662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6970 file.
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6972 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6973 file: multiarch strchr for PPC32.
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6975 multiarch objects.
6976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6977 (__libc_ifunc_impl_list): Likewise.
6978
31c81aaa
AZ
69792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980
6981 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6982 name.
6983 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6984 file.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6986 file.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6988 multiarch strchrnul for PPC32.
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6990 multiarch objects.
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6992 (__libc_ifunc_impl_list): Likewise.
6993
0d0607d9
AZ
69942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6995
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6997 file.
6998 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6999 multiarch strncasecmp for PPC32.
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7001 file.
7002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7003 multiarch strncasecmp_l for PPC32.
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7005 strncasecmp multiarch objects.
7006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7007 (__libc_ifunc_impl_list): Likewise.
7008
4dfd5c86
AZ
70092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7010
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7012 file.
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7014 multiarch strncasecmp for PPC32.
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7016 New file.
7017 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7018 multiarch strcasecmp_l for PPC32.
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7020 multiarch objects.
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7022 (__libc_ifunc_impl_list): Likewise.
7023
a19e01a3
AZ
70242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7025
7026 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7027 file.
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7029 file.
7030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7031 multiarch strncmp for PPC32.
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7033 multiarch objects.
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7035 (__libc_ifunc_impl_list): Likewise.
7036
ae9cf7a2
AZ
70372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7038
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7040 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7041 file.
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7043 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7045 multiarch objects.
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7047 (__libc_ifunc_impl_list): Likewise.
7048
3148bb7d
AZ
70492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7050
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7052 file.
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7054 file.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7057 multiarch objects.
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7059 (__libc_ifunc_impl_list): Likewise.
7060
7af8b946
AZ
70612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7062
7063 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7064 file.
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7066 file.
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7068 multiarch rawmemchr for PPC32.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7070 multiarch objects.
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7072 (__libc_ifunc_impl_list): Likewise.
7073
03a6aa6a
AZ
70742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7075
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7077 file.
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7079 file.
7080 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7081 file: memrchr multiarch for PPC32.
7082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7083 multiarch objects.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7085 (__libc_ifunc_impl_list): Likewise.
7086
1c62e6d9
AZ
70872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088
7089 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7091 file.
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7094 multiarch memchr for PPC32.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7096 multiarch objects.
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7098 (__libc_ifunc_impl_list): Likewise.
7099
87da8bdb
AZ
71002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7101
7102 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7104 file.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7106 file.
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7108 file: multiarch mempcpy for PPC32.
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7110 multiarch objects.
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7112 (__libc_ifunc_impl_list): Likewise.
7113
20ed4714
AZ
71142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7115
7116 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7120 multiarch bzero for PPC32.
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7122 file.
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7124 file.
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7126 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7127 file: multiarch memset for PPC32.
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7130 memset multiarch objects.
7131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7132 (__libc_ifunc_impl_list): Likewise.
7133
ab3e3a46
AZ
71342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7137 file.
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7140 memcmp for PPC32.
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7143 multiarch objects.
7144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7145 (__libc_ifunc_impl_list): Likewise.
7146
930de6f0
AZ
71472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7148
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7152 file.
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7154 file.
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7156 file.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7158 multiarch memcpy for PPC32.
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7160 multiarch objects.
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7162 (__libc_ifunc_impl_list): Likewise.
7163
4c628e00
AZ
71642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7165
7166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7167 support multiarch for POWER/PPC32.
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7169 Likewise.
7170 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7172 Implies file to make multiarch folder appers before the fpu and
7173 default folder for power4 configuration.
7174
f4479220
SP
71752013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7176
7177 * scripts/bench.pl: Append volatile keyword to type.
7178
8517800f
KK
71792013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7180
7181 * sysdeps/sh/sotruss-lib.c: New file.
7182 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7183
180138f1
AZ
71842013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7185
7186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7187
bbf37bdc
JM
71882013-12-05 Joseph Myers <joseph@codesourcery.com>
7189
e47cc4e0
JM
7190 [BZ #6810]
7191 * math/w_tgamma.c: Include <errno.h>.
7192 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7193 * math/w_tgammaf.c: Include <errno.h>.
7194 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7195 * math/w_tgammal.c: Include <errno.h>.
7196 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7197 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7198 underflow. Add more tgamma tests.
7199 * math/auto-libm-test-out: Regenerated.
7200 * sysdeps/i386/fpu/libm-test-ulps: Update.
7201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7202
bbf37bdc
JM
7203 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7204 sin, sinh, tan, tanh, tgamma, y0 and y1.
7205 * math/auto-libm-test-out: Regenerated.
7206 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7207 (TEST_COND_x86): Likewise.
7208 (M_E2l): Remove macro.
7209 (M_E3l): Likewise.
7210 (M_2_SQRT_PIl): Likewise.
7211 (M_SQRT_PIl): Likewise.
7212 (M_1_DIV_El): Likewise.
7213 (log_test_data): Use AUTO_TESTS_f_f.
7214 (log10_test_data): Likewise.
7215 (log1p_test_data): Likewise.
7216 (log2_test_data): Likewise.
7217 (sin_test_data): Likewise.
7218 (sin_tonearest_test_data): Likewise.
7219 (sin_towardzero_test_data): Likewise.
7220 (sin_downward_test_data): Likewise.
7221 (sin_upward_test_data): Likewise.
7222 (sinh_test_data): Likewise.
7223 (sinh_tonearest_test_data): Likewise.
7224 (sinh_towardzero_test_data): Likewise.
7225 (sinh_downward_test_data): Likewise.
7226 (sinh_upward_test_data): Likewise.
7227 (tan_test_data): Likewise.
7228 (tan_tonearest_test_data): Likewise.
7229 (tan_towardzero_test_data): Likewise.
7230 (tan_downward_test_data): Likewise.
7231 (tan_upward_test_data): Likewise.
7232 (tanh_test_data): Likewise.
7233 (tgamma_test_data): Likewise.
7234 (y0_test_data): Likewise.
7235 (y1_test_data): Likewise.
7236 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7237 (special_real_inputs): Add pi/4.
7238 * sysdeps/i386/fpu/libm-test-ulps: Update.
7239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7240
eb5ad6b9
AZ
72412013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7242
7243 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7244 "longjmp_target" static probes.
7245 (__longjmp): Rename to __longjmp_symbol.
7246 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7247 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7248 on which longjmp to generate.
7249 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7250 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7251 probe.
7252 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7253 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7254 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7255 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7256 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7257 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7259 __longjmp_symbol based on which __longjmp to generate.
7260 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7261 probe.
7262 (setjmp): Rename to setjmp_symbol.
7263 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7264 (_setjmp): Rename to _setjmp_symbol.
7265 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7266 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7267 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7268 which setjmp to generate.
7269 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7270 "longjmp_target" static probes.
7271
d136c6dc
SP
72722013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7273
9298ecba
SP
7274 * benchtests/README: Add note about output arguments.
7275 * benchtests/bench-sincos.c: Remove file.
7276 * benchtests/sincos-inputs: New file.
7277 * scripts/bench.pl: Identify output arguments and define
7278 static variables for them.
7279
232983e9
SP
7280 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7281
d136c6dc
SP
7282 [BZ #15941]
7283 * Makefile (INSTALL): Add install-plain.texi as the primary
7284 dependency.
7285 * manual/install-plain.texi: New file.
7286 * manual/install.texi: Include node directive only for
7287 non-plaintext output.
7288
699ff837
JM
72892013-12-04 Joseph Myers <joseph@codesourcery.com>
7290
ab07cea8
JM
7291 * stdlib/longlong.h: Update from GCC.
7292
699ff837
JM
7293 [BZ #6807]
7294 [BZ #15901]
7295 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7296 * math/w_j0f.c (y0f): Likewise.
7297 * math/w_j0l.c (__y0l): Likewise.
7298 * math/w_j1.c (y1): Likewise.
7299 * math/w_j1f.c (y1f): Likewise.
7300 * math/w_j1l.c (__y1l): Likewise
7301 * math/w_jn.c (yn): Likewise.
7302 * math/w_jnf.c (ynf): Likewise.
7303 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7304 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7305 value for Bessel function domain errors outside _SVID_ mode.
7306 Adjust sign of return value for yn (negative integer, 0).
7307 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7308 by zero in return for negative x and set sign appropriately for
7309 negative n.
7310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7311 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7312 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7313 expectations in error cases.
7314 (y1_test_data): Likewise.
7315 (yn_test_data): Likewise.
7316 * sysdeps/i386/fpu/libm-test-ulps: Update.
7317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7318
5b118558
UW
73192013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7320
7321 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7322 "64" to "64-v1". Add "64-v2".
7323 (abi-64-options): Rename to ...
7324 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7325 (abi-64-condition): Rename to ...
7326 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7327 (abi-64-ld-soname): Rename to ...
7328 (abi-64-v1-ld-soname): ... this.
7329 (abi-64-v2-options): Define.
7330 (abi-64-v2-condition): Likewise.
7331 (abi-64-v2-ld-soname): Likewise.
7332 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7333 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7337
61cd8fe4
UW
73382013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7339 Alan Modra <amodra@gmail.com>
7340
7341 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7342 New versions for use with the ELFv2 ABI.
7343 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7344 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7345 declaration.
7346 (struct La_ppc64v2_retval): Likewise.
7347 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7348 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7349 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7350 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7351 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7352 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7353 Do not save or restore CR.
7354 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7355 (_dl_profile_resolve): Do no save or restore CR. Support extended
7356 return values for ELFv2 ABI. Fix location of FPR return registers.
7357 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7358 updated values for _CALL_ELF == 2.
7359 (La_regs, La_retval, int_retval): Likewise.
7360
8b8a692c
UW
73612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7362
7363 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7364 (FRAME_MIN_SIZE_PARM): Likewise.
7365 (FRAME_BACKCHAIN): Likewise.
7366 (FRAME_CR_SAVE): Likewise.
7367 (FRAME_LR_SAVE): Likewise.
7368 (FRAME_TOC_SAVE): Likewise.
7369 (FRAME_PARM_SAVE): Likewise.
7370 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7371 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7372 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7373 (call_mcount_parm_offset): New macro.
7374 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7375 (PROF): Use symbolic stack frame offsets.
7376 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7377 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7378 Redefine in terms of FRAME_MIN_SIZE.
7379 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7380 (_dl_profile_resolve): Likewise. Update comment.
7381 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7382 symbols stack frame offsets.
7383 (__sigsetjmp): Likewise.
7384 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7385 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7386 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7387 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7388
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7390 (FRAME_BACKCHAIN): Remove.
7391 (FRAME_CR_SAVE): Likewise.
7392 (FRAME_LR_SAVE): Likewise.
7393 (FRAME_COMPILER_DW): Likewise.
7394 (FRAME_LINKER_DW): Likewise.
7395 (FRAME_TOC_SAVE): Likewise.
7396 (FRAME_PARM_SAVE): Likewise.
7397 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7398 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7399 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7401 (CHECK_SP): Use symbolic stack frame offsets.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7403 zone" instead of caller's parameter save area for temp storage.
7404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7405 Likewise. Also, use symbolic stack frame offsets.
7406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7407 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7408 our own stack frame instead of the caller's.
7409 (__socket): Use symbolic stack frame offsets.
7410
122b66de
UW
74112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7412 Alan Modra <amodra@gmail.com>
7413
7414 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7415 Define.
7416 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7417 PPC64_LOCAL_ENTRY_OFFSET): Define.
7418 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7419 New function.
7420 (elf_machine_fixup_plt): Call it.
7421 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7422 reloc arguments.
7423 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7424 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7425 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7426 r2 before calling target.
7427
696caf1d
UW
74282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7429 Alan Modra <amodra@gmail.com>
7430
7431 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7432 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7433 versions of macros to support ELFv2 ABI.
7434 (LOCALENTRY): New macro.
7435 (ENTRY, EALIGN): Use it.
7436 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7437 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7438 fall through into ENTRY entry point.
7439 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7440 Only define if _CALL_ELF != 2.
7441
7442 (elf_machine_matches_host): Verify ABI version matches.
7443 (RTLD_START): Use LOCALENTRY.
7444 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7445 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7446 (PLT_ENTRY_WORDS): New macro.
7447 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7448 (elf_machine_runtime_setup): Support ELFv2 ABI.
7449 (elf_machine_fixup_plt): Likewise.
7450 (elf_machine_plt_conflict): Likewise.
7451 (resolve_ifunc): Likewise.
7452 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7453 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7454 Likewise.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7456 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7458 (makecontext): Support ELFv2 ABI.
7459 * elf/elf.h (EF_PPC64_ABI): Define.
7460
d31beafa
UW
74612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7462
7463 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7464 New assembler macro.
7465 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7466 [ASSEMBLER] (ENTRY): ... but instead here ...
7467 [ASSEMBLER] (EALIGN): ... and here.
7468 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7469 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7470 [!ASSEMBLER] (ENTRY_2): Use it.
7471 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7472 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7473 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7474 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7475 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7477 Use PPC64_LOAD_FUNCPTR.
7478
b525166b
UW
74792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7480
7481 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7482
7ec07d9a
AM
74832013-12-04 Alan Modra <amodra@gmail.com>
7484
7485 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7486 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7487 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7488 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7489
7490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7491 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7492 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7493 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7494 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7495 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7496
5162e7dd
UW
74972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7498
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7500 (__makecontext): Fix incorrect CFI when backtracing out of
7501 context created via makecontext.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7503 (__setcontext): Fix incorrect CFI during switch to new context.
7504 (__novec_setcontext): Likewise.
7505
19e3372b
OB
75062013-12-04 Ondřej Bílka <neleai@seznam.cz>
7507
7508 [BZ #4772]
7509 * time/strptime_l.c (__strptime_internal): Allow modifiers
7510 in strptime.
7511 * time/tst-strptime.c (day_tests): Add testcase.
7512
7513
ecaf142d
SP
75142013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7515
7516 * scripts/bench.pl: Skip over blank lines.
7517
fbf964ae
PE
75182013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7519
7520 [BZ #926]
7521 * manual/time.texi (Calendar Time): Clarify what timezone functions
7522 use.
7523
fa60a674
AZ
75242013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7525
7526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7527
d674f0ef
OB
75282013-12-04 Ondřej Bílka <neleai@seznam.cz>
7529
7530 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7531 implementation.
7532 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7533 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7534 * debug/memset_chk.c (__memset_chk): Likewise.
7535 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7536 * debug/strncpy_chk.c: Likewise.
7537
17dea188
JM
75382013-12-03 Joseph Myers <joseph@codesourcery.com>
7539
749008ff
JM
7540 [BZ #15268]
7541 [BZ #15425]
7542 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7543 (__ieee754_exp): For possibly underflowing results, check size of
7544 result and force underflow exception if required.
7545 * math/auto-libm-test-in: Add more tests of exp.
7546 * math/auto-libm-test-out: Regenerated.
7547 * sysdeps/i386/fpu/libm-test-ulps: Update.
7548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7549
17dea188
JM
7550 [BZ #16283]
7551 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7552 * math/w_exp2f.c (__exp2f): Likewise.
7553 * math/w_exp2l.c (__exp2l): Likewise.
7554 * math/auto-libm-test-in: Do not allow missing errno on exp2
7555 underflow.
7556 * math/auto-libm-test-out: Regenerated.
7557
b20de2c3
OB
75582013-12-03 Ondřej Bílka <neleai@seznam.cz>
7559
7560 [BZ #16274]
7561 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7562 handle filename validation.
7563 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7564 (do_open): Delete.
7565
d8e2dbe3
JM
75662013-12-03 Joseph Myers <joseph@codesourcery.com>
7567
34e16df5
JM
7568 [BZ #6786]
7569 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7570 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7571 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7572 <float.h>.
7573 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7575 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7577 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7578 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7579 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7580 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7581 Add more erfc tests.
7582 * math/auto-libm-test-out: Regenerated.
7583 * sysdeps/i386/fpu/libm-test-ulps: Update.
7584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585
d8e2dbe3
JM
7586 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7587 exp2, expm1, j0 and j1.
7588 * math/auto-libm-test-out: Regenerated.
7589 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7590 (erfc_test_data): Likewise.
7591 (exp_test_data): Likewise.
7592 (exp_tonearest_test_data): Likewise.
7593 (exp_towardzero_test_data): Likewise.
7594 (exp_downward_test_data): Likewise.
7595 (exp_upward_test_data): Likewise.
7596 (exp10_test_data): Likewise.
7597 (exp2_test_data): Likewise.
7598 (expm1_test_data): Likewise.
7599 (j0_test_data): Likewise.
7600 (j1_test_data): Likewise.
7601 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7602 (input_flag_type): Add flag_xfail_rounding.
7603 (input_flags): Add xfail-rounding.
7604 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7605 (output_for_one_input_case): Handle flag_xfail_rounding.
7606 * sysdeps/i386/fpu/libm-test-ulps: Update.
7607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7608
18d14251
AJ
76092013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7610
3d2e6075 7611 [BZ #16289]
18d14251
AJ
7612 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7613 division by 0.
7614
520d437b
SP
76152013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7616
7617 [BZ #16195]
7618 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7619 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7620 (STAP_PROBE0): New macro.
7621 (STAP_PROBE1): Likewise.
7622 (STAP_PROBE2): Likewise.
7623 (STAP_PROBE3): Likewise.
7624 (STAP_PROBE4): Likewise.
7625
416e0145
OB
76262013-12-02 Ondřej Bílka <neleai@seznam.cz>
7627
7628 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7629
9d17796a
SE
76302013-12-02 Steve Ellcey <sellcey@mips.com>
7631
7632 * benchtests/Makefile (bench): Add sqrt.
7633 (LDLIBS-bench-sqrt): New.
7634 * benchtests/sqrt-input: New.
7635
f524d6a8
PS
76362013-12-02 Pavel Simerda <psimerda@redhat.com>
7637
639a0ef8
PS
7638 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7639 (GAIH_EAI): Likewise.
7640 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7641 (gaih_inet): Likewise.
7642 (getaddrinfo): Don't use GAIH_EAI.
7643
f524d6a8
PS
7644 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7645 (struct gaih): Remove definition.
7646
df3aedaf
SP
76472013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7648
7649 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7650 Use HERRNOP directly.
7651
1ab19dec
AZ
76522013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7653
b42ad38d 7654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7655
176b0c79
JM
76562013-11-30 Joseph Myers <joseph@codesourcery.com>
7657
7658 * math/gen-auto-libm-tests.c (test_functions): Add more
7659 single-argument functions.
7660 (special_fill_pi_2): New function.
7661 (special_fill_minus_pi_2): Likewise.
7662 (special_fill_pi_6): Likewise.
7663 (special_fill_minus_pi_6): Likewise.
7664 (special_fill_pi_3): Likewise.
7665 (special_fill_2pi_3): Likewise.
7666 (special_fill_e): Likewise.
7667 (special_fill_1_e): Likewise.
7668 (special_fill_e_minus_1): Likewise.
7669 (special_real_inputs): Add more special inputs.
7670 (output_for_one_input_case): Do not require ERANGE on underflow to
7671 zero if round-to-nearest result does not underflow to zero, unless
7672 exact results required.
7673 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7674 atan, atanh, cbrt, cos and cosh.
7675 * math/auto-libm-test-out: Regenerated.
7676 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7677 (acos_tonearest_test_data): Likewise.
7678 (acos_towardzero_test_data): Likewise.
7679 (acos_downward_test_data): Likewise.
7680 (acos_upward_test_data): Likewise.
7681 (acosh_test_data): Likewise.
7682 (asin_test_data): Likewise.
7683 (asin_tonearest_test_data): Likewise.
7684 (asin_towardzero_test_data): Likewise.
7685 (asin_upward_test_data): Likewise.
7686 (asinh_test_data): Likewise.
7687 (atan_test_data): Likewise.
7688 (atanh_test_data): Likewise.
7689 (cbrt_test_data): Likewise.
7690 (cos_test_data): Likewise.
7691 (cos_tonearest_test_data): Likewise.
7692 (cos_towardzero_test_data): Likewise.
7693 (cos_downward_test_data): Likewise.
7694 (cos_upward_test_data): Likewise.
7695 (cosh_test_data): Likewise.
7696 (cosh_tonearest_test_data): Likewise.
7697 (cosh_towardzero_test_data): Likewise.
7698 (cosh_downward_test_data): Likewise.
7699 (cosh_upward_test_data): Likewise.
7700 * sysdeps/i386/fpu/libm-test-ulps: Update.
7701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7702
ffb536d0
JM
77032013-11-29 Joseph Myers <joseph@codesourcery.com>
7704
2a77a467
JM
7705 [BZ #6787]
7706 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7707 * math/w_exp10f.c (__exp10f): Likewise.
7708 * math/w_exp10l.c (__exp10l): Likewise.
7709 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7710 errno settings in existing tests.
7711
ea3bc4e8
JM
7712 [BZ #14032]
7713 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7714 precision control set to double precision.
7715 * sysdeps/i386/fpu/w_sqrt.c: New file.
7716 * math/auto-libm-test-in: Add more tests.
7717 * math/auto-libm-test-out: Update.
7718
0712c9d8
JM
7719 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7720 (sqrt_test_tonearest): New function.
7721 (sqrt_towardzero_test_data): New variable.
7722 (sqrt_test_towardzero): New function.
7723 (sqrt_downward_test_data): New variable.
7724 (sqrt_test_downward): New function.
7725 (sqrt_upward_test_data): New variable.
7726 (sqrt_test_upward): New function.
7727 (main): Call the new functions.
7728
ffb536d0
JM
7729 * math/gen-auto-libm-tests.c: New file.
7730 * math/auto-libm-test-in: Likewise.
7731 * math/auto-libm-test-out: New generated file.
7732 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7733 variables.
7734 (%beautify): Add generated representations of zero.
7735 (top level): Set $auto_input and call parse_auto_input.
7736 (beautify): Remove trailing "f" from hex float constants.
7737 (parse_args): Handle XFAIL_TEST.
7738 (convert_condition): New function.
7739 (or_value): Likewise.
7740 (or_cond_value): Likewise.
7741 (generate_testfile): Handle AUTO_TESTS_* lines.
7742 (parse_auto_input): New function.
7743 * math/libm-test.inc (XFAIL_TEST): New macro.
7744 (ERRNO_UNCHANGED): Update value.
7745 (ERRNO_EDOM): Likewise.
7746 (ERRNO_ERANGE): Likewise.
7747 (IGNORE_RESULT): Likewise.
7748 (TEST_COND_flt_32): New macro.
7749 (TEST_COND_dbl_64): Likewise.
7750 (TEST_COND_ldbl_96_intel): Likewise.
7751 (TEST_COND_ldbl_96_m68k): Likewise.
7752 (TEST_COND_ldbl_128): Likewise.
7753 (TEST_COND_ldbl_128ibm): Likewise.
7754 (TEST_COND_long32): Likewise.
7755 (TEST_COND_long64): Likewise.
7756 (TEST_COND_before_rounding): Likewise.
7757 (TEST_COND_after_rounding): Likewise.
7758 (enable_test): Handle XFAIL_TEST flag.
7759 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7760 with finite results.
7761 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7762 auto-libm-test-out.
7763
acd98a8e
AK
77642013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7765 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7766
7767 [BZ #16214]
7768 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7769 __tls_get_addr_internal instead of __tls_get_offset in order to
7770 avoid GOT pointer dependency. Make rtld export
7771 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7772 __tls_get_addr since we are a __tls_get_offset platform.
7773 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7774 GOT pointer being set up before.
7775 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7776
3c1c46a6
JM
77772013-11-28 Joseph Myers <joseph@codesourcery.com>
7778
7475aef5
JM
7779 * manual/math.texi (Errors in Math Functions): Document accuracy
7780 goals.
7781
8bca7cd8
JM
7782 [BZ #15004]
7783 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7784 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7787 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7789 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7799
91a1f3fe
JM
7800 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7801 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7802 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7803 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7804 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7805 Likewise.
7806 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7807 Likewise.
7808 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7809 Likewise.
7810 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7811 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7812 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7813 atomic-feupdateenv and flt-rounds.
7814 * sysdeps/powerpc/nofpu/Versions (libc): Add
7815 __atomic_feholdexcept, __atomic_feclearexcept,
7816 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7818 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7819 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7820 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7821 here.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7823 Update.
7824
c5df7609
JM
7825 * manual/arith.texi (FP Exceptions): Document that exceptions may
7826 not be raised when matherr is used.
7827 (Math Error Reporting): Document overflow in directed rounding
7828 modes. Document that errno may not be set when finite values are
7829 returned on overflow. Document intent to set errno on underflow
7830 only for underflow to zero.
7831
3c1c46a6
JM
7832 [BZ #16271]
7833 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7834 round-to-nearest then adjust result for other rounding modes.
7835 * include/fenv.h (fegetround): Use libm_hidden_proto.
7836 * math/fegetround.c (fegetround): Use libm_hidden_def.
7837 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7838 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7839 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7840 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7841 Likewise.
7842 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7843 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7844 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7845 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7846
5a4c6d53
SP
78472013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7848
7849 [BZ #16077]
7850 * nss/Versions (libnss_files): Add
7851 _nss_files_gethostbyname3_r.
7852 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7853 New function.
7854 (HOST_DB_LOOKUP): Remove macro.
7855 (_nss_files_gethostbyname_r): Implement function without the
7856 HOST_DB_LOOKUP macro.
7857 (_nss_files_gethostbyname2_r): Likewise.
7858
897b98ba
OB
78592013-11-28 Ondřej Bílka <neleai@seznam.cz>
7860
7861 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7862
6f476861
UB
78632013-11-26 Uros Bizjak <ubizjak@gmail.com>
7864
7865 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7866 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7867 warning.
7868
bd12ab55
AZ
78692013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7870
7871 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7872 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7873 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7874 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7875 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7876 __fe_nomask_env_priv and attribute_hidden.
7877 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7878 (libc_feupdateenv_test_ppc): Likewise.
7879 (libc_feresetround_ppc): Likewise.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7881 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7882 compat_symbol macro.
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7884 (__fe_nomask_env): Likewise.
7885 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7886
52bb6543
OB
78872013-11-26 Ondřej Bílka <neleai@seznam.cz>
7888
7889 * string/Makefile: Remove ifunc tests.
7890 * string/test-string.h: Define TEST_IFUNC.
7891 * string/test-bcopy-ifunc.c: Remove.
7892 * string/test-bzero-ifunc.c: Likewise.
7893 * string/test-memccpy-ifunc.c: Likewise.
7894 * string/test-memchr-ifunc.c: Likewise.
7895 * string/test-memcmp-ifunc.c: Likewise.
7896 * string/test-memcpy-ifunc.c: Likewise.
7897 * string/test-memmem-ifunc.c: Likewise.
7898 * string/test-memmove-ifunc.c: Likewise.
7899 * string/test-mempcpy-ifunc.c: Likewise.
7900 * string/test-memrchr-ifunc.c: Likewise.
7901 * string/test-memset-ifunc.c: Likewise.
7902 * string/test-rawmemchr-ifunc.c: Likewise.
7903 * string/test-stpcpy-ifunc.c: Likewise.
7904 * string/test-stpncpy-ifunc.c: Likewise.
7905 * string/test-strcasecmp-ifunc.c: Likewise.
7906 * string/test-strcasestr-ifunc.c: Likewise.
7907 * string/test-strcat-ifunc.c: Likewise.
7908 * string/test-strchr-ifunc.c: Likewise.
7909 * string/test-strchrnul-ifunc.c: Likewise.
7910 * string/test-strcmp-ifunc.c: Likewise.
7911 * string/test-strcpy-ifunc.c: Likewise.
7912 * string/test-strcspn-ifunc.c: Likewise.
7913 * string/test-strlen-ifunc.c: Likewise.
7914 * string/test-strncasecmp-ifunc.c: Likewise.
7915 * string/test-strncat-ifunc.c: Likewise.
7916 * string/test-strncmp-ifunc.c: Likewise.
7917 * string/test-strncpy-ifunc.c: Likewise.
7918 * string/test-strnlen-ifunc.c: Likewise.
7919 * string/test-strpbrk-ifunc.c: Likewise.
7920 * string/test-strrchr-ifunc.c: Likewise.
7921 * string/test-strspn-ifunc.c: Likewise.
7922 * string/test-strstr-ifunc.c: Likewise.
7923
ab260039 79242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7925
7926 * benchtests/Makefile: Remove ifunc tests.
7927 * benchtests/bench-string.h: Define TEST_IFUNC.
7928 * benchtests/bench-bcopy-ifunc.c: Remove.
7929 * benchtests/bench-bzero-ifunc.c: Likewise.
7930 * benchtests/bench-memccpy-ifunc.c: Likewise.
7931 * benchtests/bench-memchr-ifunc.c: Likewise.
7932 * benchtests/bench-memcmp-ifunc.c: Likewise.
7933 * benchtests/bench-memcpy-ifunc.c: Likewise.
7934 * benchtests/bench-memmem-ifunc.c: Likewise.
7935 * benchtests/bench-memmove-ifunc.c: Likewise.
7936 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7937 * benchtests/bench-memrchr-ifunc.c: Likewise.
7938 * benchtests/bench-memset-ifunc.c: Likewise.
7939 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7940 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7941 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7942 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7943 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7944 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7945 * benchtests/bench-strcat-ifunc.c: Likewise.
7946 * benchtests/bench-strchr-ifunc.c: Likewise.
7947 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7948 * benchtests/bench-strcmp-ifunc.c: Likewise.
7949 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7950 * benchtests/bench-strcpy-ifunc.c: Likewise.
7951 * benchtests/bench-strcspn-ifunc.c: Likewise.
7952 * benchtests/bench-strlen-ifunc.c: Likewise.
7953 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7954 * benchtests/bench-strncat-ifunc.c: Likewise.
7955 * benchtests/bench-strncmp-ifunc.c: Likewise.
7956 * benchtests/bench-strncpy-ifunc.c: Likewise.
7957 * benchtests/bench-strnlen-ifunc.c: Likewise.
7958 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7959 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7960 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7961 * benchtests/bench-strspn-ifunc.c: Likewise.
7962 * benchtests/bench-strstr-ifunc.c: Likewise.
7963
79642013-11-26 Ondřej Bílka <neleai@seznam.cz>
7965
ab260039
OB
7966 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7967
d1d9eaf4 79682013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7969
d1d9eaf4
OB
7970 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7971 * rt/aio.h: Likewise.
7972 * sysdeps/gnu/bits/utmp.h: Likewise.
7973 * sysdeps/gnu/bits/utmpx.h: Likewise.
7974 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7975 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7976 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7977 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7978 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7979 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7980 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7981 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7982 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7984 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7985 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7986 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7988 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7989 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7990 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7991 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7992 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7993 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7994 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7995 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7996 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7997 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7998 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8000 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8001 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8002 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8003 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8005 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8007 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8008 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8009 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8010 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8011 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8012 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8013 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8014 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8015 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8016
a7624ed9
CD
80172013-11-25 Carlos O'Donell <carlos@redhat.com>
8018
8019 [BZ #16245]
8020 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8021 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8022
63cfe52b
JM
80232013-11-25 Joseph Myers <joseph@codesourcery.com>
8024
8025 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8026 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8027 Likewise.
8028
41e8926a
AZ
80292013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8030
8031 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8032 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8033 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8034 (__fesetround): Remove define.
8035 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8036 rounding and exceptions handling.
8037 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8038 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8039 (__fe_nomask_env): Likewise.
8040 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8041 __fegetround instead of fegetround.
8042 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8043 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8044
6851bd4d
RM
80452013-11-21 Roland McGrath <roland@hack.frob.com>
8046
070906ff
RM
8047 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8048 it's there.
8049
6851bd4d
RM
8050 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8051
84ae135d
MI
80522013-11-21 Meador Inge <meadori@codesourcery.com>
8053
8054 [BZ #11157]
8055 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8056 (encrypt_r): Likewise.
8057 * malloc/obstack.h (obstack_free): Likewise.
8058 * posix/unistd.h (encrypt): Likewise.
8059
daf75146
GM
80602013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8061
8062 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8063 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8064 DL_CALL_DT_FINI() that call the functions directly.
8065 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8066 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8067 * elf/dl-fini.c: Likewise.
8068
10ad46bc
OB
80692013-11-20 Ondřej Bílka <neleai@seznam.cz>
8070
8071 * malloc/hooks.c (memalign_check): Add alignment rounding.
8072 * malloc/malloc.c (_mid_memalign): New function.
8073 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8074 Implement by calling _mid_memalign.
8075 * manual/probes.texi (Memory Allocation Probes): Remove
8076 memory_valloc_retry and memory_pvalloc_retry.
8077
f3fd2628
SP
80782013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8079
4712799f
SP
8080 * locale/programs/locarchive.c (open_archive): Add const
8081 qualifier to ARCHIVEFNAME and copy default fname to
8082 DEFAULT_FNAME.
8083
0417b20f
SP
8084 [BZ #15601]
8085 * libio/tst-widetext.input: Rename Oriya to Odia.
8086 * locale/iso-639.def: Likewise.
8087
f3fd2628
SP
8088 * manual/probes.texi (Mathematical Function Probes): Add
8089 documentation for sin, cos, asin and acos probes.
8090 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8091 (__sin32): Add slowasin probe.
8092 (__cos32): Add slowacos probe.
8093 (__mpsin): Add slowsin probe.
8094 (__mpcos): Add slowcos probe.
8095
73c1ce4f
JM
80962013-11-19 Joseph Myers <joseph@codesourcery.com>
8097
8098 [BZ #15483]
8099 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8100 thread-local __sim_exceptions_thread and global
8101 __sim_exceptions_global.
8102 (__sim_disabled_exceptions): Change to thread-local
8103 __sim_disabled_exceptions_thread and global
8104 __sim_disabled_exceptions_global.
8105 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8106 and global __sim_round_mode_global.
8107 (__simulate_exceptions): Use thread-local floating-point state and
8108 set global state from it as needed.
8109 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8110 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8111 __sim_round_mode_thread.
8112 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8113 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8114 and global __sim_exceptions_global.
8115 (__sim_disabled_exceptions): Change to thread-local
8116 __sim_disabled_exceptions_thread and global
8117 __sim_disabled_exceptions_global.
8118 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8119 and global __sim_round_mode_global.
8120 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8121 (SIM_SET_GLOBAL): Likewise.
8122 * sysdeps/powerpc/soft-fp/sfp-machine.h
8123 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8124 __sim_round_mode_thread.
8125 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8126 __sim_disabled_exceptions_thread.
8127 (__sim_exceptions): Change to __sim_exceptions_thread.
8128 (__sim_disabled_exceptions): Change to
8129 __sim_disabled_exceptions_thread.
8130 (__sim_round_mode): Change to __sim_round_mode_thread.
8131 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8132 thread-local floating-point state and set global state from it as
8133 needed.
8134 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8135 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8136 (__sim_disabled_exceptions): Remove extern declaration.
8137 (feenableexcept): Use thread-local floating-point state and set
8138 global state from it as needed.
8139 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8140 extern declaration.
8141 (__sim_disabled_exceptions): Likewise.
8142 (__sim_round_mode): Likewise.
8143 (__fegetenv): Use thread-local floating-point state.
8144 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8145 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8146 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8147 floating-point state and set global state from it as needed.
8148 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8149 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8150 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8151 Likewise.
8152 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8153 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8154 Likewise.
8155 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8156 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8157 Use __sim_round_mode_thread.
8158 * math/test-fenv-tls.c: New file.
8159 * math/Makefile (tests): Add test-fenv-tls.
8160 ($(objpfx)test-fenv-tls): Depend on
8161 $(common-objpfx)nptl/libpthread.so.
8162
b5449b12
AS
81632013-11-19 Andreas Schwab <schwab@suse.de>
8164
8165 * locale/programs/locale.c (show_info): Decode wordarray elements.
8166 * locale/categories.def (LC_MONETARY): Add element for
8167 _NL_MONETARY_CRNCYSTR.
8168 * locale/C-monetary.c (conversion_rate): New variable.
8169 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8170 element.
8171
e186536b
CM
81722013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8173
8174 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8175 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8176
5c349950
PP
81772013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8178
8179 * elf/Makefile (tst-auxv): New test.
8180 * elf/tst-auxv.c: New
8181 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8182
699df45b
JM
81832013-11-18 Joseph Myers <joseph@codesourcery.com>
8184
8185 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8186 (hidden_proto): Caller changed.
8187 (hidden_tls_proto): New macro.
8188 (libc_hidden_tls_proto): Likewise.
8189 (rtld_hidden_tls_proto): Likewise.
8190 (libm_hidden_tls_proto): Likewise.
8191 (libresolv_hidden_tls_proto): Likewise.
8192 (librt_hidden_tls_proto): Likewise.
8193 (libdl_hidden_tls_proto): Likewise.
8194 (libnss_files_hidden_tls_proto): Likewise.
8195 (libnsl_hidden_tls_proto): Likewise.
8196 (libnss_nisplus_hidden_tls_proto): Likewise.
8197 (libutil_hidden_tls_proto): Likewise.
8198
b7589107
OB
81992013-11-18 Ondřej Bílka <neleai@seznam.cz>
8200
8201 [BZ #10253]
8202 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8203 (decompose_rpath): Defer expansion to fillin_rpath.
8204 (_dl_init_paths): Pass linkmap to fillin_rpath.
8205
250c23bd
RS
82062013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8207
8208 * benchtests/Makefile: Add strsep.
8209 * benchtests/bench-strsep.c: New file: strsep benchtest.
8210 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8211
a7931fcf
AS
82122013-11-18 Andreas Schwab <schwab@suse.de>
8213
8214 * locale/programs/locale.c (show_info) [case byte]: Check for
8215 '\377' instead of '\177'.
8216 * locale/C-monetary.c (not_available): Always use "\377".
8217 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8218 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8219 detect unavailable sign_posn locale elements.
8220 * locale/localeconv.c (__localeconv): For grouping and
8221 mon_grouping handle "\177" and "\377" like no grouping.
8222 (INT_ELEM): New macro. Use it to set all numeric members.
8223 * locale/programs/ld-monetary.c (monetary_read)
8224 <tok_mon_grouping>: Normalize single -1 to the empty string.
8225 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8226 Likewise.
8227
728dab0e
OB
82282013-11-07 Ondřej Bílka <neleai@seznam.cz>
8229
8230 [BZ #16055]
8231 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8232 when we match (nil).
8233 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8234
66294491
JM
82352013-11-16 Joseph Myers <joseph@codesourcery.com>
8236
ce665817
JM
8237 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8238 (NO_TEST_INLINE): Update value.
8239 (ERRNO_UNCHANGED): Likewise.
8240 (ERRNO_EDOM): Likewise.
8241 (ERRNO_ERANGE): Likewise.
8242 (IGNORE_RESULT): Likewise.
8243 (check_float_internal): Check signs of NaN results if
8244 TEST_NAN_SIGN used.
8245 (check_complex): Pass TEST_NAN_SIGN flag through to second
8246 check_float_internal call.
8247 (copysign_test_data): Add tests with quiet NaNs as second
8248 argument. Use TEST_NAN_SIGN.
8249 (fabs_test_data): Add test of negative quiet NaN argument. Use
8250 TEST_NAN_SIGN.
8251 (signbit_test_data): Add tests of quiet NaN argument.
8252 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8253
ee1466a9
JM
8254 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8255 $ignore_result.
8256 (parse_args): Handle function results specified as IGNORE.
8257 * math/libm-test.inc (IGNORE_RESULT): New macro.
8258 (check_float_internal): Do not check numerical result if flag
8259 IGNORE_RESULT set.
8260 (check_complex): Pass through IGNORE_RESULT to second
8261 check_float_internal call.
8262 (check_int): Do not check numerical result if flag IGNORE_RESULT
8263 set.
8264 (check_long): Likewise.
8265 (check_bool): Likewise.
8266 (check_longlong): Likewise.
8267 (lrint_test_data): Add tests of infinite and NaN arguments.
8268 (lrint_tonearest_test_data): Likewise.
8269 (lrint_towardzero_test_data): Likewise.
8270 (lrint_downward_test_data): Likewise.
8271 (lrint_upward_test_data): Likewise.
8272 (llrint_test_data): Likewise.
8273 (llrint_tonearest_test_data): Likewise.
8274 (llrint_towardzero_test_data): Likewise.
8275 (llrint_downward_test_data): Likewise.
8276 (llrint_upward_test_data): Likewise.
8277 (lround_test_data): Likewise.
8278 (llround_test_data): Likewise.
8279
14407b7e
JM
8280 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8281 (ERRNO_UNCHANGED): Update value.
8282 (ERRNO_EDOM): Likewise.
8283 (ERRNO_ERANGE): Likewise.
8284 (NO_TEST_INLINE_FLOAT): New macro.
8285 (NO_TEST_INLINE_DOUBLE): Likewise.
8286 (enable_test): New function.
8287 (RUN_TEST_f_f): Check enable_test before running test.
8288 (RUN_TEST_2_f): Likewise.
8289 (RUN_TEST_fff_f): Likewise.
8290 (RUN_TEST_c_f): Likewise.
8291 (RUN_TEST_f_f1): Likewise.
8292 (RUN_TEST_fF_f1): Likewise.
8293 (RUN_TEST_fI_f1): Likewise.
8294 (RUN_TEST_ffI_f1): Likewise.
8295 (RUN_TEST_c_c): Likewise.
8296 (RUN_TEST_cc_c): Likewise.
8297 (RUN_TEST_f_i): Likewise.
8298 (RUN_TEST_f_i_tg): Likewise.
8299 (RUN_TEST_ff_i_tg): Likewise.
8300 (RUN_TEST_f_b): Likewise.
8301 (RUN_TEST_f_b_tg): Likewise.
8302 (RUN_TEST_f_l): Likewise.
8303 (RUN_TEST_f_L): Likewise.
8304 (RUN_TEST_fFF_11): Likewise.
8305 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8306 conditionals.
8307 (cosh_test_data): Likewise.
8308 (exp_test_data): Likewise.
8309 (expm1_test_data): Likewise.
8310 (hypot_test_data): Likewise.
8311 (pow_test_data): Likewise.
8312 (sinh_test_data): Likewise.
8313 (tanh_test_data): Likewise.
8314 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8315 flags argument.
8316
ca07f197
JM
8317 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8318 tests with quiet NaN input and output.
8319 (acosh_test_data): Likewise.
8320 (asin_test_data): Likewise.
8321 (asinh_test_data): Likewise.
8322 (atan_test_data): Likewise.
8323 (atanh_test_data): Likewise.
8324 (atan2_test_data): Likewise.
8325 (cbrt_test_data): Likewise.
8326 (cos_test_data): Likewise.
8327 (cosh_test_data): Likewise.
8328 (erf_test_data): Likewise.
8329 (erfc_test_data): Likewise.
8330 (exp_test_data): Likewise.
8331 (exp10_test_data): Likewise.
8332 (exp2_test_data): Likewise.
8333 (expm1_test_data): Likewise.
8334 (hypot_test_data): Likewise.
8335 (j0_test_data): Likewise.
8336 (j1_test_data): Likewise.
8337 (jn_test_data): Likewise.
8338 (lgamma_test_data): Likewise.
8339 (log_test_data): Likewise.
8340 (log10_test_data): Likewise.
8341 (log1p_test_data): Likewise.
8342 (log2_test_data): Likewise.
8343 (pow_test_data): Likewise.
8344 (scalb_test_data): Likewise.
8345 (sin_test_data): Likewise.
8346 (sincos_test_data): Likewise.
8347 (sinh_test_data): Likewise.
8348 (tan_test_data): Likewise.
8349 (tanh_test_data): Likewise.
8350 (tgamma_test_data): Likewise.
8351 (y0_test_data): Likewise.
8352 (y1_test_data): Likewise.
8353 (yn_test_data): Likewise.
8354
66294491
JM
8355 [BZ #16167]
8356 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8357 argument being NaN and avoid computations with second argument in
8358 that case.
8359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8360 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8361 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8362
1820b143
CL
83632013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8364
8365 * locale/iso-639.def: Add Chitwani Tharu (the).
8366
714bd261
AS
83672013-11-14 Andreas Schwab <schwab@suse.de>
8368
8369 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8370 word instead of empty string.
8371
7ab44563
AZ
83722013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8373
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8375 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8377 (__fe_nomask_env): Likewise.
8378
e8470ea2
SE
83792013-11-13 Steve Ellcey <sellcey@mips.com>
8380
8381 * benchtests/bench-timing.h: Include time.h.
8382
17c1d9f0
L
83832013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8384
8385 [BZ #15997]
8386 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8387 to 3.4.0 for x32.
8388 * sysdeps/unix/sysv/linux/configure: Regenerated.
8389
9310c284
JM
83902013-11-13 Joseph Myers <joseph@codesourcery.com>
8391
8392 [BZ #16151]
8393 * stdlib/strtod_l.c (round_and_return): Do not consider
8394 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8395 exponent one less than half the least subnormal exponent.
8396 * stdlib/test-strtod-round-data: Add more tests.
8397 * stdlib/tst-strtod-round.c (tests): Regenerated.
8398
7a2ad8cf
AZ
83992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8400
8401 [BZ #14143]
8402 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8403 (__fe_mask_env): Likewise.
8404 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8405 libm_hidden_proto and add function prototype.
8406 (__fe_mask_env): Add function prototype.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8408 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8410 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8412 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8413
50727aa7
MS
84142013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8415
b2f386c1 8416 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8417 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8418
a615be46
MS
84192013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8420
8421 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8422 of htab_find_slot().
8423
7ddace62
DM
84242013-11-11 David S. Miller <davem@davemloft.net>
8425
8426 [BZ #16150]
8427 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8428 symbol in the non-vis3 case in static builds.
8429 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8430 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8431 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8432 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8433
9182aa67
JK
84342013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8435
8436 [BZ #387]
8437 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8438 it is empty.
8439
450a2e2d
AZ
84402013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8441
b2f386c1
SP
8442 * benchtests/Makefile: Add bench-strtod.
8443 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8444
8ec3f656
AS
84452013-11-11 Andreas Schwab <schwab@suse.de>
8446
8447 [BZ #16153]
8448 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8449 terminating NUL in key length.
8450
76a9b998
AZ
84512013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8452
8453 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8454 Add artificial ODP entry for vDSO symbol for PPC64.
8455 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8456 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8457
e4368156
OB
84582013-11-07 Ondřej Bílka <neleai@seznam.cz>
8459
8460 [BZ #15374]
8461 * nss/getent.c (services_keys): Recognize services starting with digit.
8462
8d6bb57c
DM
84632013-11-06 David S. Miller <davem@davemloft.net>
8464
8465 [BZ #15985]
8466 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8467 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8468
e256c421
WN
84692013-11-06 Will Newton <will.newton@linaro.org>
8470
8471 * manual/memory.texi (Malloc Examples): Remove register
8472 keyword from examples.
8473
f6e12daa 84742013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8475
f6e12daa 8476 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8477
9d880655
AS
84782013-11-04 Joseph Myers <joseph@codesourcery.com>
8479
fd2f9486 8480 [BZ #6981]
9d880655
AS
8481 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8482 depending on [__GCC_IEC_559 > 0].
8483 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8484 depending on [__GCC_IEC_559_COMPLEX > 0].
8485
ae129d3c
CL
84862013-11-03 Chris Leonard <cjl@sugarlabs.org>
8487
8488 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8489 to iso-639.def.
8490
4a15c2a4 84912013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8492
8493 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8494
8b35e35d
OB
84952013-11-01 Ondřej Bílka <neleai@seznam.cz>
8496
8497 [BZ #16112]
8498 * malloc/malloc (malloc_info): Do not handle first bin as
8499 special case.
8500
1d70fd6c
CL
85012013-11-01 Chris Leonard <cjl@sugarlabs.org>
8502
8503 * locale/iso-639.def: Add Central Nahuatl (nhn).
8504
8c5c2600
BH
85052013-11-01 Bruno Haible <bruno@clisp.org>
8506
8507 [BZ #7003]
8508 * manual/math.texi (BSD Random): Specify range upper bound as
8509 in POSIX.
8510
da5579c2
CL
85112013-10-31 Chris Leonard <cjl@sugarlabs.org>
8512
8513 * locale/iso-639.def: Add Meadow Mari (mhr).
8514
5d30d853
OB
85152013-10-31 Ondřej Bílka <neleai@seznam.cz>
8516
8517 [BZ #14752], [BZ #15763]
8518 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8519 Validate name.
8520 * rt/tst_shm.c: Add test for escaping directory.
8521
a4966c61
AS
85222013-10-31 Andreas Schwab <schwab@suse.de>
8523
8a43e768 8524 [BZ #15917]
a4966c61
AS
8525 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8526 followed by 'x' as part of digit sequence.
8527 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8528
28d708c4
MAP
85292013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8530
8531 [BZ #16037]
8532 * configure.ac: allow GNU Make 4.0 and greater.
8533 * configure: Regenerated.
8534
a56ee40b
WN
85352013-10-30 Will Newton <will.newton@linaro.org>
8536
8537 [BZ #16038]
8538 * malloc/hooks.c (memalign_check): Limit alignment to the
8539 maximum representable power of two.
8540 * malloc/malloc.c (__libc_memalign): Likewise.
8541 * malloc/tst-memalign.c (do_test): Add test for very
8542 large alignment values.
8543 * malloc/tst-posix_memalign.c (do_test): Likewise.
8544
c6e4925d
OB
85452013-10-30 Ondřej Bílka <neleai@seznam.cz>
8546
8547 [BZ #11087]
8548 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8549 (munmap_chunk): Likewise.
8550 (mremap_chunk): Likewise.
8551
85522013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8553
8a43e768 8554 [BZ #15799]
bbea82f7
OB
8555 * stdlib/div.c (div): Remove obsolete code.
8556 * stdlib/ldiv.c (ldiv): Likewise.
8557 * stdlib/lldiv.c (lldiv): Likewise.
8558
977f4b31
SP
85592013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8560
8561 [BZ #16071]
8562 * nss/nss_files/files-XXX.c (get_contents_ret): New
8563 enumerator.
8564 (get_contents): New function.
8565 (internal_getent): Use it. Expand size of LINEBUFLEN.
8566
cb8a6dbd
MF
85672013-10-30 Mike Frysinger <vapier@gentoo.org>
8568
8569 * configure.in: Moved to ...
8570 * configure.ac: ... here. Change reference to configure.in
8571 to configure.ac.
8572 * sysdeps/arm/preconfigure.ac: ... here.
8573 configure.in to configure.ac.
8574 * sysdeps/gnu/configure.in: Moved to ...
8575 * sysdeps/gnu/configure.ac: ... here.
8576 * sysdeps/i386/configure.in: Moved to ...
8577 * sysdeps/i386/configure.ac: ... here.
8578 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8579 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8580 * sysdeps/mach/configure.in: Moved to ...
8581 * sysdeps/mach/configure.ac: ... here.
8582 * sysdeps/mach/hurd/configure.in: Moved to ...
8583 * sysdeps/mach/hurd/configure.ac: ... here.
8584 * sysdeps/powerpc/configure.in: Moved to ...
8585 * sysdeps/powerpc/configure.ac: ... here.
8586 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8587 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8588 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8589 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8590 * sysdeps/s390/s390-32/configure.in: Moved to ...
8591 * sysdeps/s390/s390-32/configure.ac: ... here.
8592 * sysdeps/s390/s390-64/configure.in: Moved to ...
8593 * sysdeps/s390/s390-64/configure.ac: ... here.
8594 * sysdeps/sh/configure.in: Moved to ...
8595 * sysdeps/sh/configure.ac: ... here.
8596 * sysdeps/sparc/configure.in: Moved to ...
8597 * sysdeps/sparc/configure.ac: ... here.
8598 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8599 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8600 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8601 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8602 * sysdeps/x86_64/configure.in: Moved to ...
8603 * sysdeps/x86_64/configure.ac: ... here.
8604 * sysdeps/x86_64/preconfigure.in: Moved to ...
8605 * sysdeps/x86_64/preconfigure.ac: ... here.
8606 * aclocal.m4: Change reference to configure.in to configure.ac.
8607 * config.h.in: Likewise.
8608 * manual/install.texi: Likewise.
8609 * manual/maint.texi: Likewise.
8610 * Makefile: Likewise.
8611 * malloc/Makefile: Likewise.
8612 * nscd/Makefile: Likewise.
8613 * Makeconfig: Change reference to configure.in and
8614 preconfigure.in to configure.ac and preconfigure.ac
8615 respectively.
8616 * INSTALL: Regenerated.
8617 * configure: Likewise.
8618 * sysdeps/gnu/configure: Likewise.
8619 * sysdeps/i386/configure: Likewise.
8620 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8621 * sysdeps/mach/configure: Likewise.
8622 * sysdeps/mach/hurd/configure: Likewise.
8623 * sysdeps/powerpc/configure: Likewise.
8624 * sysdeps/powerpc/powerpc32/configure: Likewise.
8625 * sysdeps/powerpc/powerpc64/configure: Likewise.
8626 * sysdeps/s390/s390-32/configure: Likewise.
8627 * sysdeps/s390/s390-64/configure: Likewise.
8628 * sysdeps/sh/configure: Likewise.
8629 * sysdeps/sparc/configure: Likewise.
8630 * sysdeps/unix/sysv/linux/configure: Likewise.
8631 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8632 * sysdeps/x86_64/configure: Likewise.
8633 * sysdeps/x86_64/preconfigure: Likewise.
8634
36a4953a
AS
86352013-10-29 Andreas Schwab <schwab@suse.de>
8636
8637 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8638
c79a1204
SP
86392013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8640
dfa1b402
SP
8641 * benchtests/pow-inputs: Add new inputs.
8642
54f73d9c
SP
8643 * benchtests/exp-inputs: Add new inputs.
8644
c79a1204
SP
8645 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8646 conditional check for return value.
8647 (__cos32): Likewise.
8648
67beb545 86492013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8650
8651 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8652 to provide a boost for large inputs with word alignment.
8653 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8654 implementation based on optimized PPC64 strcpy.
8655 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8656 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8657 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8658 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8659
151659f6
OB
86602013-10-25 Ondřej Bílka <neleai@seznam.cz>
8661
482a077e 8662 [BZ #2801]
151659f6
OB
8663 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8664
10b0f26b
OB
86652013-10-25 Ondřej Bílka <neleai@seznam.cz>
8666
8667 [BZ #14876]
8668 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8669 * time/tst-strptime.c (day_tests): Add testcase.
8670
ca42d35e
OB
86712013-10-25 Ondřej Bílka <neleai@seznam.cz>
8672
482a077e 8673 [BZ #14029]
ca42d35e
OB
8674 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8675
52e6d801
FB
86762013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8677
8678 [BZ #16074]
8679 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8680 MAP_FAILED on error.
8681
7cbcdb36
SP
86822013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8683
8684 [BZ #16072]
8685 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8686 heap for large requests.
8687
894f3f10
AM
86882013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8689
8690 [BZ #9954]
8691 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8692 result if the result has no associated interface.
8693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8694 interface for all 127.X.Y.Z addresses.
8695
b85545a6
CL
86962013-10-24 Chris Leonard <cjl@sugarlabs.org>
8697
8698 * locale/iso-639.def: Add Ligurian (lij)
8699
d1f23d46
OB
87002013-10-21 Ondřej Bílka <neleai@seznam.cz>
8701
8702 [BZ #15825]
8703 * sunrpc/rpc_main.c: Document rpcgen -5.
8704
4db5b08f
MS
87052013-10-19 Michael Stahl <mstahl@redhat.com>
8706
8707 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8708
a471e96a
OB
87092013-10-19 Ondřej Bílka <neleai@seznam.cz>
8710
d1f23d46 8711 [BZ #10278]
a471e96a
OB
8712 * posix/glob.c: Match only directories when trailing slash is present.
8713 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8714 (main): Add testcase.
8715
45c30c61
OB
87162013-10-19 Ondřej Bílka <neleai@seznam.cz>
8717
8718 [BZ #15670]
8719 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8720
484c12fb
CD
87212013-10-18 Carlos O'Donell <carlos@redhat.com>
8722
3d7dc513
CD
8723 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8724 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8725 AUTH_DES and cindex for FIPS 140-2.
8726 (DES Encryption): Add cindex FIPS 46-3.
8727
484c12fb
CD
8728 * locale/locarchive.h (struct locarhandle): Add fname.
8729 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8730 if an optional argument was specified to --list-archive,
8731 otherwise NULL.
8732 * locale/programs/locarchive.c (show_archive_content): Take new
8733 argument fname and pass it via ah.fname to open_archive.
8734 * locale/programs/localedef.h: Update decl.
8735 (open_archive): If AH->fname is non-null, open that file
8736 rather than the default file name, and don't ignore ENOENT.
8737 (create_archive): Set AH.fname to NULL.
8738 (delete_locales_from_archive): Likewise.
8739 (add_locales_to_archive): Likewise.
8740 * locale/programs/locfile.c (write_all_categories): Likewise.
8741
3c8325fb
JM
87422013-10-18 Joseph Myers <joseph@codesourcery.com>
8743 Aldy Hernandez <aldyh@redhat.com>
8744
8745 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8746 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8747 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8748 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8749 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8750 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8751 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8752 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8753 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8754 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8755 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8756 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8757 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8758 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8759 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8760 Likewise.
8761 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8762 Likewise.
8763 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8764 Likewise.
8765 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8766 Likewise.
8767 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8768 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8769 Likewise.
8770 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8771 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8772 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8773 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8774 Likewise.
8775 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8776 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8777 * sysdeps/powerpc/preconfigure: Likewise.
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8779 Likewise.
8780 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8781 Replace contents of file by #include of <fenv_libc.h>.
8782 * sysdeps/powerpc/soft-fp/sfp-machine.h
8783 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8784 and <sys/prctl.h>.
8785 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8790 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8792 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8793 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8796 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8798 Allow copysignl PLT reference to be missing.
8799
5abe0682
RS
88002013-10-18 Richard Sandiford <richard@codesourcery.com>
8801 Joseph Myers <joseph@codesourcery.com
8802
8803 [BZ #15948]
8804 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8805 single character.
8806 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8807
c7738d08
SP
88082013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8809
8810 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8811 * elf/tst-tls1.c: Likewise.
8812 * elf/tst-tls10.h: Likewise.
8813 * elf/tst-tls14.c: Likewise.
8814 * elf/tst-tls2.c: Likewise.
8815 * elf/tst-tls3.c: Likewise.
8816 * elf/tst-tls4.c: Likewise.
8817 * elf/tst-tls5.c: Likewise.
8818 * elf/tst-tls6.c: Likewise.
8819 * elf/tst-tls7.c: Likewise.
8820 * elf/tst-tls8.c: Likewise.
8821 * elf/tst-tls9.c: Likewise.
8822 * elf/tst-tlsmod1.c: Likewise.
8823 * elf/tst-tlsmod13.c: Likewise.
8824 * elf/tst-tlsmod13a.c: Likewise.
8825 * elf/tst-tlsmod14a.c: Likewise.
8826 * elf/tst-tlsmod16a.c: Likewise.
8827 * elf/tst-tlsmod16b.c: Likewise.
8828 * elf/tst-tlsmod2.c: Likewise.
8829 * elf/tst-tlsmod3.c: Likewise.
8830 * elf/tst-tlsmod4.c: Likewise.
8831 * elf/tst-tlsmod5.c: Likewise.
8832 * elf/tst-tlsmod6.c: Likewise.
8833
0bfcf2c7
OB
88342013-10-18 Ondřej Bílka <neleai@seznam.cz>
8835
8836 [BZ #12486]
8837 * malloc/malloc.c: remove checks for statistics.
8838
264aad1e
OB
88392013-10-17 Ondřej Bílka <neleai@seznam.cz>
8840
8841 [BZ #15277]
8842 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8843 * inet/tst-network.c: Add testcase.
8844
b957ced8
AS
88452013-10-17 Andreas Schwab <schwab@suse.de>
8846
8847 [BZ #15218]
8848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8849 to determine canonical name.
8850
c5d5d574
OB
88512013-10-17 Ondřej Bílka <neleai@seznam.cz>
8852
8853 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8854 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8877 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8878 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8911
e5c2c2d0
JM
89122013-10-17 Joseph Myers <joseph@codesourcery.com>
8913
8914 [BZ #16041]
8915 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8916 make result into a quiet NaN.
8917
51ca9e29
JM
89182013-10-16 Joseph Myers <joseph@codesourcery.com>
8919
8920 * soft-fp/adddf3.c: Fix horizontal whitespace.
8921 * soft-fp/addsf3.c: Likewise.
8922 * soft-fp/addtf3.c: Likewise.
8923 * soft-fp/divdf3.c: Likewise.
8924 * soft-fp/divsf3.c: Likewise.
8925 * soft-fp/divtf3.c: Likewise.
8926 * soft-fp/double.h: Likewise.
8927 * soft-fp/eqdf2.c: Likewise.
8928 * soft-fp/eqsf2.c: Likewise.
8929 * soft-fp/eqtf2.c: Likewise.
8930 * soft-fp/extenddftf2.c: Likewise.
8931 * soft-fp/extended.h: Likewise.
8932 * soft-fp/extendsfdf2.c: Likewise.
8933 * soft-fp/extendsftf2.c: Likewise.
8934 * soft-fp/extendxftf2.c: Likewise.
8935 * soft-fp/fixdfdi.c: Likewise.
8936 * soft-fp/fixdfsi.c: Likewise.
8937 * soft-fp/fixdfti.c: Likewise.
8938 * soft-fp/fixsfdi.c: Likewise.
8939 * soft-fp/fixsfsi.c: Likewise.
8940 * soft-fp/fixsfti.c: Likewise.
8941 * soft-fp/fixtfdi.c: Likewise.
8942 * soft-fp/fixtfsi.c: Likewise.
8943 * soft-fp/fixtfti.c: Likewise.
8944 * soft-fp/fixunsdfdi.c: Likewise.
8945 * soft-fp/fixunsdfsi.c: Likewise.
8946 * soft-fp/fixunsdfti.c: Likewise.
8947 * soft-fp/fixunssfdi.c: Likewise.
8948 * soft-fp/fixunssfsi.c: Likewise.
8949 * soft-fp/fixunssfti.c: Likewise.
8950 * soft-fp/fixunstfdi.c: Likewise.
8951 * soft-fp/fixunstfsi.c: Likewise.
8952 * soft-fp/fixunstfti.c: Likewise.
8953 * soft-fp/floatdidf.c: Likewise.
8954 * soft-fp/floatdisf.c: Likewise.
8955 * soft-fp/floatditf.c: Likewise.
8956 * soft-fp/floatsidf.c: Likewise.
8957 * soft-fp/floatsisf.c: Likewise.
8958 * soft-fp/floatsitf.c: Likewise.
8959 * soft-fp/floattidf.c: Likewise.
8960 * soft-fp/floattisf.c: Likewise.
8961 * soft-fp/floattitf.c: Likewise.
8962 * soft-fp/floatundidf.c: Likewise.
8963 * soft-fp/floatundisf.c: Likewise.
8964 * soft-fp/floatunditf.c: Likewise.
8965 * soft-fp/floatunsidf.c: Likewise.
8966 * soft-fp/floatunsisf.c: Likewise.
8967 * soft-fp/floatunsitf.c: Likewise.
8968 * soft-fp/floatuntidf.c: Likewise.
8969 * soft-fp/floatuntisf.c: Likewise.
8970 * soft-fp/floatuntitf.c: Likewise.
8971 * soft-fp/fmadf4.c: Likewise.
8972 * soft-fp/fmasf4.c: Likewise.
8973 * soft-fp/fmatf4.c: Likewise.
8974 * soft-fp/gedf2.c: Likewise.
8975 * soft-fp/gesf2.c: Likewise.
8976 * soft-fp/getf2.c: Likewise.
8977 * soft-fp/ledf2.c: Likewise.
8978 * soft-fp/lesf2.c: Likewise.
8979 * soft-fp/letf2.c: Likewise.
8980 * soft-fp/muldf3.c: Likewise.
8981 * soft-fp/mulsf3.c: Likewise.
8982 * soft-fp/multf3.c: Likewise.
8983 * soft-fp/negdf2.c: Likewise.
8984 * soft-fp/negsf2.c: Likewise.
8985 * soft-fp/negtf2.c: Likewise.
8986 * soft-fp/op-1.h: Likewise.
8987 * soft-fp/op-2.h: Likewise.
8988 * soft-fp/op-4.h: Likewise.
8989 * soft-fp/op-8.h: Likewise.
8990 * soft-fp/op-common.h: Likewise.
8991 * soft-fp/quad.h: Likewise.
8992 * soft-fp/single.h: Likewise.
8993 * soft-fp/soft-fp.h: Likewise.
8994 * soft-fp/sqrtdf2.c: Likewise.
8995 * soft-fp/sqrtsf2.c: Likewise.
8996 * soft-fp/sqrttf2.c: Likewise.
8997 * soft-fp/subdf3.c: Likewise.
8998 * soft-fp/subsf3.c: Likewise.
8999 * soft-fp/subtf3.c: Likewise.
9000 * soft-fp/truncdfsf2.c: Likewise.
9001 * soft-fp/trunctfdf2.c: Likewise.
9002 * soft-fp/trunctfsf2.c: Likewise.
9003 * soft-fp/trunctfxf2.c: Likewise.
9004 * soft-fp/unorddf2.c: Likewise.
9005 * soft-fp/unordsf2.c: Likewise.
9006 * soft-fp/unordtf2.c: Likewise.
9007
9ebb0332
JM
90082013-10-15 Joseph Myers <joseph@codesourcery.com>
9009
9010 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9011 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9012
4b1a6d8b
OB
90132013-10-15 Ondřej Bílka <neleai@seznam.cz>
9014
9015 * elf/dl-libc.c: Clear initfini list after freeing.
9016
1e145589
JM
90172013-10-14 Joseph Myers <joseph@codesourcery.com>
9018
9019 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9020 * soft-fp/addsf3.c: Likewise.
9021 * soft-fp/addtf3.c: Likewise.
9022 * soft-fp/divdf3.c: Likewise.
9023 * soft-fp/divsf3.c: Likewise.
9024 * soft-fp/divtf3.c: Likewise.
9025 * soft-fp/double.h: Likewise.
9026 * soft-fp/eqdf2.c: Likewise.
9027 * soft-fp/eqsf2.c: Likewise.
9028 * soft-fp/eqtf2.c: Likewise.
9029 * soft-fp/extenddftf2.c: Likewise.
9030 * soft-fp/extended.h: Likewise.
9031 * soft-fp/extendsfdf2.c: Likewise.
9032 * soft-fp/extendsftf2.c: Likewise.
9033 * soft-fp/extendxftf2.c: Likewise.
9034 * soft-fp/fixdfdi.c: Likewise.
9035 * soft-fp/fixdfsi.c: Likewise.
9036 * soft-fp/fixdfti.c: Likewise.
9037 * soft-fp/fixsfdi.c: Likewise.
9038 * soft-fp/fixsfsi.c: Likewise.
9039 * soft-fp/fixsfti.c: Likewise.
9040 * soft-fp/fixtfdi.c: Likewise.
9041 * soft-fp/fixtfsi.c: Likewise.
9042 * soft-fp/fixtfti.c: Likewise.
9043 * soft-fp/fixunsdfdi.c: Likewise.
9044 * soft-fp/fixunsdfsi.c: Likewise.
9045 * soft-fp/fixunsdfti.c: Likewise.
9046 * soft-fp/fixunssfdi.c: Likewise.
9047 * soft-fp/fixunssfsi.c: Likewise.
9048 * soft-fp/fixunssfti.c: Likewise.
9049 * soft-fp/fixunstfdi.c: Likewise.
9050 * soft-fp/fixunstfsi.c: Likewise.
9051 * soft-fp/fixunstfti.c: Likewise.
9052 * soft-fp/floatdidf.c: Likewise.
9053 * soft-fp/floatdisf.c: Likewise.
9054 * soft-fp/floatditf.c: Likewise.
9055 * soft-fp/floatsidf.c: Likewise.
9056 * soft-fp/floatsisf.c: Likewise.
9057 * soft-fp/floatsitf.c: Likewise.
9058 * soft-fp/floattidf.c: Likewise.
9059 * soft-fp/floattisf.c: Likewise.
9060 * soft-fp/floattitf.c: Likewise.
9061 * soft-fp/floatundidf.c: Likewise.
9062 * soft-fp/floatundisf.c: Likewise.
9063 * soft-fp/floatunsidf.c: Likewise.
9064 * soft-fp/floatunsisf.c: Likewise.
9065 * soft-fp/floatuntidf.c: Likewise.
9066 * soft-fp/floatuntisf.c: Likewise.
9067 * soft-fp/floatuntitf.c: Likewise.
9068 * soft-fp/fmadf4.c: Likewise.
9069 * soft-fp/fmasf4.c: Likewise.
9070 * soft-fp/fmatf4.c: Likewise.
9071 * soft-fp/gedf2.c: Likewise.
9072 * soft-fp/gesf2.c: Likewise.
9073 * soft-fp/getf2.c: Likewise.
9074 * soft-fp/ledf2.c: Likewise.
9075 * soft-fp/lesf2.c: Likewise.
9076 * soft-fp/letf2.c: Likewise.
9077 * soft-fp/muldf3.c: Likewise.
9078 * soft-fp/mulsf3.c: Likewise.
9079 * soft-fp/multf3.c: Likewise.
9080 * soft-fp/negdf2.c: Likewise.
9081 * soft-fp/negsf2.c: Likewise.
9082 * soft-fp/negtf2.c: Likewise.
9083 * soft-fp/op-1.h: Likewise.
9084 * soft-fp/op-2.h: Likewise.
9085 * soft-fp/op-4.h: Likewise.
9086 * soft-fp/op-8.h: Likewise.
9087 * soft-fp/op-common.h: Likewise.
9088 * soft-fp/quad.h: Likewise.
9089 * soft-fp/single.h: Likewise.
9090 * soft-fp/soft-fp.h: Likewise.
9091 * soft-fp/sqrtdf2.c: Likewise.
9092 * soft-fp/sqrtsf2.c: Likewise.
9093 * soft-fp/sqrttf2.c: Likewise.
9094 * soft-fp/subdf3.c: Likewise.
9095 * soft-fp/subsf3.c: Likewise.
9096 * soft-fp/subtf3.c: Likewise.
9097 * soft-fp/truncdfsf2.c: Likewise.
9098 * soft-fp/trunctfdf2.c: Likewise.
9099 * soft-fp/trunctfsf2.c: Likewise.
9100 * soft-fp/trunctfxf2.c: Likewise.
9101 * soft-fp/unorddf2.c: Likewise.
9102 * soft-fp/unordsf2.c: Likewise.
9103 * soft-fp/unordtf2.c: Likewise.
9104
17c48a60
OB
91052013-10-14 Ondřej Bílka <neleai@seznam.cz>
9106
9107 [BZ #15672]
9108 * misc/error.c (error_tail): Fix possible buffer overflow.
9109
cabba934
OB
91102013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9111
9112 [BZ #13028]
9113 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9114 address.
9115
94bf958a
PM
91162013-10-14 P. J. McDermott <pj@pehjota.net>
9117
9118 [BZ #832]
9119 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9120 testing pipefail option.
9121
71b4dea7
JM
91222013-10-12 Joseph Myers <joseph@codesourcery.com>
9123
9124 * soft-fp/double.h: Indent preprocessor directives inside #if.
9125 * soft-fp/extended.h: Likewise.
9126 * soft-fp/op-2.h: Likewise.
9127 * soft-fp/op-4.h: Likewise.
9128 * soft-fp/op-common.h: Likewise.
9129 * soft-fp/quad.h: Likewise.
9130 * soft-fp/single.h: Likewise.
9131 * soft-fp/soft-fp.h: Likewise.
9132
55602758
YC
91332013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9134
9135 * iconv/iconv_prog.c: Fix typos.
9136 * stdio-common/psiginfo-data.h: Likewise.
9137
9cd83302
RT
91382013-10-12 Reuben Thomas <rrt@sc3d.org>
9139
9140 [BZ #15764]
9141 * locale/setlocale.c: Fix typo.
9142
99fd9f47
JM
91432013-10-12 Joseph Myers <joseph@codesourcery.com>
9144
b7ea74f0
JM
9145 [BZ #16036]
9146 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9147 signaling NaN arguments.
9148 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9149 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9150
8a509447
JM
9151 [BZ #14910]
9152 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9153 unordered operands.
9154 * soft-fp/gesf2.c (__gesf2): Likewise.
9155 * soft-fp/getf2.c (__getf2): Likewise.
9156 * soft-fp/ledf2.c (__ledf2): Likewise.
9157 * soft-fp/lesf2.c (__lesf2): Likewise.
9158 * soft-fp/letf2.c (__letf2): Likewise.
9159
98998e9f
JM
9160 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9161 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9162 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9163 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9164 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9165 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9166 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9167 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9168 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9169 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9170 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9171 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9172 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9173 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9174 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9175 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9176 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9177 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9178 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9179 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9180 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9181 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9182 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9183 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9184 * soft-fp/floattidf.c (__floattidf): Likewise.
9185 * soft-fp/floattisf.c (__floattisf): Likewise.
9186 * soft-fp/floattitf.c (__floattitf): Likewise.
9187 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9188 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9189 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9190 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9191 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9192 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9193 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9194 * soft-fp/gesf2.c (__gesf2): Likewise.
9195 * soft-fp/getf2.c (__getf2): Likewise.
9196 * soft-fp/ledf2.c (__ledf2): Likewise.
9197 * soft-fp/lesf2.c (__lesf2): Likewise.
9198 * soft-fp/letf2.c (__letf2): Likewise.
9199
8edc4a11
JM
9200 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9201 Undefine and redefine.
9202 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9203 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9204 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9205 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9206 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9207 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9208 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9209 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9210 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9211 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9212 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9213 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9214 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9215 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9216 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9217
8399acaf
JM
9218 [BZ #16032]
9219 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9220 without decrementing exponent if mantissa >= that for the
9221 denominator, not >.
9222 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9223 denominator, not >. Decrement exponent in < case instead of
9224 incrementing in >= case.
9225 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9226 without decrementing exponent if mantissa >= that for the
9227 denominator, not >.
9228
99fd9f47
JM
9229 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9230 computing saturated result for unsigned overflow.
9231
10e1cf6b
SP
92322013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9233 Jeff Law <law@redhat.com>
9234
9235 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9236 (atan2Mp): Add systemtap probe marker.
9237 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9238 (__ieee754_log): Add systemtap probe marker.
9239 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9240 (atanMp): Add systemtap probe marker.
9241 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9242 (tanMp): Add systemtap probe marker.
9243 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9244 (__slowexp): Add systemtap probe marker.
9245 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9246 (__slowpow): Add systemtap probe marker.
9247 * manual/probes.texi: Document probes.
9248
3d110c7c
EB
92492013-10-11 Eric Biggers <ebiggers3@gmail.com>
9250
9251 [BZ #15362]
9252 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9253 written.
9254 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9255 written.
9256 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9257 written to buffer but not flushed.
9258 * libio/iofwrite_u.c: Likewise.
9259 * libio/iopadn.c: Return bytes returned even if EOF was
9260 encountered.
9261 * libio/iowpadn.c: Likewise.
9262 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9263 if _IO_padn does not write the whole buffer.
9264 [!COMPILE_WPRINTF] (PAD): Likewise.
9265
75b4202a
DM
92662013-10-10 David S. Miller <davem@davemloft.net>
9267
9268 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9269 directory block.
9270
6c6352e6
JM
92712013-10-10 Joseph Myers <joseph@codesourcery.com>
9272
33b853c3
JM
9273 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9274 instead of FSF address.
9275 * soft-fp/fixdfti.c: Likewise.
9276 * soft-fp/fixsfti.c: Likewise.
9277 * soft-fp/fixtfti.c: Likewise.
9278 * soft-fp/fixunsdfti.c: Likewise.
9279 * soft-fp/fixunssfti.c: Likewise.
9280 * soft-fp/fixunstfti.c: Likewise.
9281 * soft-fp/floattidf.c: Likewise.
9282 * soft-fp/floattisf.c: Likewise.
9283 * soft-fp/floattitf.c: Likewise.
9284 * soft-fp/floatuntidf.c: Likewise.
9285 * soft-fp/floatuntisf.c: Likewise.
9286 * soft-fp/floatuntitf.c: Likewise.
9287 * soft-fp/trunctfxf2.c: Likewise.
9288
6c6352e6
JM
9289 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9290 * soft-fp/fixdfti.c: Likewise.
9291 * soft-fp/fixsfti.c: Likewise.
9292 * soft-fp/fixtfti.c: Likewise.
9293 * soft-fp/fixunsdfti.c: Likewise.
9294 * soft-fp/fixunssfti.c: Likewise.
9295 * soft-fp/fixunstfti.c: Likewise.
9296 * soft-fp/floattidf.c: Likewise.
9297 * soft-fp/floattisf.c: Likewise.
9298 * soft-fp/floattitf.c: Likewise.
9299 * soft-fp/floatuntidf.c: Likewise.
9300 * soft-fp/floatuntisf.c: Likewise.
9301 * soft-fp/floatuntitf.c: Likewise.
9302 * soft-fp/trunctfxf2.c: Likewise.
9303
3bf78b71
DM
93042013-10-10 David S. Miller <davem@davemloft.net>
9305
9306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9307
6f10289e
JM
93082013-10-10 Joseph Myers <joseph@codsourcery.com>
9309
bd878fc0
JM
9310 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9311 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9312 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9313 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9314 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9315 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9316 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9317
6f10289e
JM
9318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9319 for NaNs before doing comparisons on argument.
9320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9321 Likewise.
9322
321e2684
WN
93232013-10-10 Will Newton <will.newton@linaro.org>
9324
9325 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9326 passed to _int_memalign does not overflow.
9327
40fefba1
TR
93282013-10-10 Torvald Riegel <triegel@redhat.com>
9329
9330 * scripts/bench.pl: Add include-sources directive.
9331 * benchtests/README: Update documentation.
9332
2ae21ed2
JM
93332013-10-10 Joseph Myers <joseph@codesourcery.com>
9334
dcc2dd3f
JM
9335 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9336 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9337 instead of FP_INIT_ROUNDMODE.
9338 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9339 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9340
2ae21ed2
JM
9341 [BZ #16034]
9342 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9343 copy class of input value.
9344 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9345 not handle exceptions.
9346 * soft-fp/negsf2.c (__negsf2): Likewise.
9347 * soft-fp/negtf2.c (__negtf2): Likewise.
9348 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9349
cb8f9562
JM
93502013-10-09 Joseph Myers <joseph@codesourcery.com>
9351
9352 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9353 semicolon. From Linux kernel.
9354
5b60c59d
AB
93552013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9356
9357 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9358
b86835ca
YC
93592013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9360
9361 [BZ #156]
9362 * manual/socket.texi: Added statement about buffer
9363 for gethostbyname2_r.
9364
e7044ea7
OB
93652013-10-08 Ondřej Bílka <neleai@seznam.cz>
9366
9367 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9368 Use .p2align directive instead, throughout.
9369 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9370 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9371 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9374 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9375 * sysdeps/x86_64/strchr.S: Likewise.
9376 * sysdeps/x86_64/strrchr.S: Likewise.
9377
09544cbc
SP
93782013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9379
88576635
SP
9380 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9381
e7b2d1dd
SP
9382 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9383
09544cbc
SP
9384 * sysdeps/generic/math_private.h (__mpsin1): Remove
9385 declaration.
9386 (__mpcos1): Likewise.
9387 (__mpsin): New argument __range_reduce.
9388 (__mpcos): Likewise.
9389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9390 (slow): Use __mpsin and __mpcos.
9391 (slow1): Likewise.
9392 (slow2): Likewise.
9393 (sloww): Likewise.
9394 (sloww1): Likewise.
9395 (sloww2): Likewise.
9396 (bsloww): Likewise.
9397 (bsloww1): Likewise.
9398 (bsloww2): Likewise.
9399 (cslow2): Likewise.
9400 (csloww): Likewise.
9401 (csloww1): Likewise.
9402 (csloww2): Likewise.
9403 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9404 range_reduce. Merge in __mpsin1.
9405 (__mpcos): Likewise.
9406 (__mpsin1): Remove.
9407 (__mpcos1): Likewise.
9408
7602d070
JM
94092013-10-07 Joseph Myers <joseph@codesourcery.com>
9410
9411 * locale/loadlocale.c (_nl_intern_locale_data): Use
9412 LOCFILE_ALIGNED_P.
9413 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9414 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9415 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9416 obstack data is appropriately aligned.
9417 (obstack_int32_grow_fast): Likewise.
9418 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9419 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9420 (add_locale_uint32_array): Likewise.
9421
a357259b
SP
94222013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9423
9424 * benchtests/Makefile: Remove ARGLIST and RET variables.
9425 ($(objpfx)bench-%.c): Pass only function name to the script.
9426 * benchtests/README: Update documentation.
9427 * benchtests/acos-inputs: Add new directives.
9428 * benchtests/acosh-inputs: Likewise.
9429 * benchtests/asin-inputs: Likewise.
9430 * benchtests/asinh-inputs: Likewise.
9431 * benchtests/atan-inputs: Likewise.
9432 * benchtests/atanh-inputs: Likewise.
9433 * benchtests/cos-inputs: Likewise.
9434 * benchtests/cosh-inputs: Likewise.
9435 * benchtests/exp-inputs: Likewise.
9436 * benchtests/log-inputs: Likewise.
9437 * benchtests/pow-inputs: Likewise.
9438 * benchtests/rint-inputs: Likewise.
9439 * benchtests/sin-inputs: Likewise.
9440 * benchtests/sinh-inputs: Likewise.
9441 * benchtests/tan-inputs: Likewise.
9442 * benchtests/tanh-inputs: Likewise.
9443 * scripts/bench.pl: Add support for new directives.
9444
9ec1b13d
AM
94452013-10-07 Alan Modra <amodra@gmail.com>
9446
9447 * README: Fix careless merge.
9448
8b7d57cd
AM
94492013-10-05 Alan Modra <amodra@gmail.com>
9450
9451 * NEWS: Mention powerpc64le support and bugs fixed.
9452 * README: Both big-endian and little-endian powerpc64 supported.
9453
7b7bab13
ST
94542013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9455
9456 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9457 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9458 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9459 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9460
d39baad1
RA
94612013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9462
9463 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9464 match prototype.
9465
cd78f7e7
JM
94662013-10-04 Joseph Myers <joseph@codesourcery.com>
9467
29d73d86
JM
9468 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9469 Move -mhard-float appending from
9470 ports/sysdeps/powerpc/powerpc32/Makefile.
9471 [$(with-fp) = yes] (ASFLAGS): Likewise.
9472 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9473 * sysdeps/powerpc/nofpu: Move directory from
9474 ports/sysdeps/powerpc/nofpu.
9475 * sysdeps/powerpc/soft-fp: Move directory from
9476 ports/sysdeps/powerpc/soft-fp.
9477 * sysdeps/powerpc/powerpc32/405: Move directory from
9478 ports/sysdeps/powerpc/powerpc32/405.
9479 * sysdeps/powerpc/powerpc32/440: Move directory from
9480 ports/sysdeps/powerpc/powerpc32/440.
9481 * sysdeps/powerpc/powerpc32/464: Move directory from
9482 ports/sysdeps/powerpc/powerpc32/464.
9483 * sysdeps/powerpc/powerpc32/476: Move directory from
9484 ports/sysdeps/powerpc/powerpc32/476.
9485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9486 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9488 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9490 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9492 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9494 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9495 * README: Update for powerpc-*-linux-gnu software floating point
9496 support in libc.
9497
e246b347
JM
9498 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9499 case to powerpc/powerpc32*.
9500 * sysdeps/unix/sysv/linux/configure: Regenerated.
9501
89c2003e
JM
9502 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9503 (_FPU_MASK_OM): Define as 0x04.
9504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9506 0x00c10080.
9507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9508 0x0000003c.
9509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9510
cd78f7e7
JM
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9512 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9513 getcontext_e500.
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9515 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9516 setcontext_e500.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9518 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9519 and setcontext_e500.
9520
c755294d
CL
95212013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9522
9523 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9524
e16d221c
SP
95252013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9526
9527 * manual/threads.texi (Default Thread Attributes): Fix typo.
9528
215c7d43
WN
95292013-10-04 Will Newton <will.newton@linaro.org>
9530
9531 * malloc/Makefile: Add tst-memalign.
9532 * malloc/tst-memalign.c: New file.
9533
27d0461b
WN
9534 * malloc/tst-posix_memalign.c: Add comments.
9535 (do_test): Add comments and call free on all potentially
9536 allocated pointers. Add space after cast.
9537
1bc92709
WN
9538 * malloc/tst-pvalloc.c: Add comments.
9539 (do_test): Add comments and call free on all potentially
9540 allocated pointers. Remove duplicate check for NULL pointer.
9541 Add space after cast.
9542
66a9be9d
WN
9543 * malloc/tst-valloc.c: Add comments.
9544 (do_test): Add comments and call free on all potentially
9545 allocated pointers. Remove duplicate check for NULL pointer.
9546 Add space after cast.
9547
4cb81307
AM
95482013-10-04 Alan Modra <amodra@gmail.com>
9549
9550 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9551 Use stdint types in rather than __attribute__((mode())).
9552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9553
f8e3e9f3
AM
95542013-10-04 Alan Modra <amodra@gmail.com>
9555
9556 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9557 Correct handling of unaligned relocs for little-endian.
9558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9559
8f9ebb08
AM
95602013-10-04 Alan Modra <amodra@gmail.com>
9561
9562 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9563 * configure: Regenerate.
9564 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9565 * shlib-versions: Likewise.
9566
0edf96c2
AM
95672013-10-04 Alan Modra <amodra@gmail.com>
9568
9569 * string/tester.c (test_memrchr): Increment reported test cycle.
9570
e0f7a380
AM
95712013-10-04 Alan Modra <amodra@gmail.com>
9572
9573 * string/test-memcpy.c (do_one_test): When reporting errors, print
9574 string address and don't overrun end of string.
9575
466b0393
AM
95762013-10-04 Alan Modra <amodra@gmail.com>
9577
9578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9579 insrdi. Make better use of reg selection to speed exit slightly.
9580 Schedule entry path a little better. Remove useless "are we done"
9581 checks on entry to main loop. Handle wrapping around zero address.
9582 Correct main loop count. Handle single left-over word from main
9583 loop inline rather than by using loop_small. Remove extra word
9584 case in loop_small caused by wrong loop count. Add little-endian
9585 support.
9586 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9588 cache hint.
9589 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9590 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9591 support. Avoid rlwimi.
9592 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9593
3be87c77
AM
95942013-10-04 Alan Modra <amodra@gmail.com>
9595
9596 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9597 insrdi. Formatting.
3be87c77
AM
9598 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9599 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9600 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9601 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9602 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9603 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9604
759cfef3
AM
96052013-10-04 Alan Modra <amodra@gmail.com>
9606
9607 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9610 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9611 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9612 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9613 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9614 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9615 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9616 use of regs. Use power7 mtocrf. Tidy function tails.
9617
fe6e95d7
AM
96182013-10-04 Alan Modra <amodra@gmail.com>
9619
9620 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9621 Formatting. Consistently use rXXX register defines or rN defines.
9622 Use early exit labels that avoid restoring unused non-volatile regs.
9623 Make cr field use more consistent with rWORDn compares. Rename
9624 regs used as shift registers for unaligned loop, using rN defines
9625 for short lifetime/multiple use regs.
9626 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9627 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9628 addi 1,1,64 to pop stack frame. Simplify return value code.
9629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9630
664318c3
AM
96312013-10-04 Alan Modra <amodra@gmail.com>
9632
9633 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9634 support. Correct typos, formatting. Optimize tail. Use insrdi
9635 rather than rlwimi.
9636 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9637 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9638 little-endian support. Correct typos.
9639 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9640 rather than rlwimi.
9641 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9642 in loop and entry code to keep "and." results.
9643 (strchr): Add little-endian support. Comment. Move cntlzd
9644 earlier in tail.
9645 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9646
43b84013
AM
96472013-10-04 Alan Modra <amodra@gmail.com>
9648
9649 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9650 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9651 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9652 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9653
8a7413f9
AM
96542013-10-04 Alan Modra <amodra@gmail.com>
9655
9656 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9657 (rTMP): Define as r11.
9658 (strcmp): Add little-endian support. Optimise tail.
9659 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9660 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9661 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9662 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9663 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9666
33ee81de
AM
96672013-10-04 Alan Modra <amodra@gmail.com>
9668
9669 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9670 little-endian support. Remove unnecessary "are we done" tests.
9671 Handle "s" wrapping around zero and extremely large "size".
9672 Correct main loop count. Handle single left-over word from main
9673 loop inline rather than by using small_loop. Correct comments.
9674 Delete "zero" tail, use "end_max" instead.
9675 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9676
db9b4570
AM
96772013-10-04 Alan Modra <amodra@gmail.com>
9678
9679 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9680 support. Don't branch over align.
9681 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9682 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9683 support. Rearrange tmp reg use to suit. Comment.
9684 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9685
f7c399cf
AM
96862013-10-04 Alan Modra <amodra@gmail.com>
9687
9688 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9689
0b2c2ace
AM
96902013-10-04 Alan Modra <amodra@gmail.com>
9691
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9693 conditional form of branch and link when obtaining pc.
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9695
02f04a6c
AM
96962013-10-04 Alan Modra <amodra@gmail.com>
9697
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9699 HIWORD/LOWORD.
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9702
9b874b2f
AM
97032013-10-04 Alan Modra <amodra@gmail.com>
9704
9705 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9706 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9707 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9708 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9709 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9710 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9711 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9712 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9713 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9714 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9715
be1e5d31
AB
97162013-10-04 Anton Blanchard <anton@au1.ibm.com>
9717 Alistair Popple <alistair@ozlabs.au.ibm.com>
9718 Alan Modra <amodra@gmail.com>
9719
9720 [BZ #15723]
9721 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9722 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9723 _dl_hwcap access for little-endian.
9724 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9725 destroy vmx regs when saving unaligned.
9726 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9727 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9728 destroy vmx regs when saving unaligned.
9729
fef13a78
AM
97302013-10-04 Alan Modra <amodra@gmail.com>
9731
9732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9733 Don't use a union to pack hi/low value.
9734
76a66d51
AB
97352013-10-04 Anton Blanchard <anton@au1.ibm.com>
9736
9737 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9738 for little-endian.
9739 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9741 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9742 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9743 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9744
6a31fe7f
AM
97452013-10-04 Alan Modra <amodra@gmail.com>
9746
9747 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9748 constants to usual value for .cst8 section, and remove redundant
9749 high address load.
9750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9751 constant for 0x1p52. Load little-endian words of double from
9752 correct stack offsets.
9753
7b88401f
AM
97542013-10-04 Alan Modra <amodra@gmail.com>
9755
9756 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9757 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9758 words of double from correct stack offsets.
9759 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9760 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9761 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9762 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9763 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9766 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9767 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9771 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9772 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9773 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9774 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9775 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9776
9c008155
AM
97772013-10-04 Alan Modra <amodra@gmail.com>
9778
9779 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9780 64-bit int/double union.
9781 (_FPU_SETCW): Likewise.
9782 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9783 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9784
da13146d
AM
97852013-10-04 Alan Modra <amodra@gmail.com>
9786
9787 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9788 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9789
603e8410
AM
97902013-10-04 Alan Modra <amodra@gmail.com>
9791
9792 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9793 use vector int constants.
9794 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9795
4a28b3ca
AB
97962013-10-04 Anton Blanchard <anton@au1.ibm.com>
9797
9798 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9799 array with long long.
9800 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9801 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9802 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9803 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9804 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9805 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9806 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9807 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9808 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9809 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9810 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9811 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9812 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9813
2ca85d2b
AB
98142013-10-04 Anton Blanchard <anton@au1.ibm.com>
9815
9816 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9817 (__signbit): Likewise. Correct for little-endian.
9818 (__signbitl): Call __signbit.
9819 (lrint): Correct for little-endian.
9820 (lrintf): Call lrint.
9821
62a728ae
AM
98222013-10-04 Alan Modra <amodra@gmail.com>
9823
9824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9825 union 32-bit int array member with 64-bit int array.
9826 (t515, tm256): Double rather than long double.
9827 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9828
32c301df
AM
98292013-10-04 Alan Modra <amodra@gmail.com>
9830
9831 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9832 Delete.
9833 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9835 version of math_ldbl.h.
9836
650ef4bd
AM
98372013-10-04 Alan Modra <amodra@gmail.com>
9838
9839 [BZ #15734], [BZ #15735]
9840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9841 all uses of ieee875 long double macros and unions. Simplify test
9842 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9843 ldbl_extract_mantissa value for ix,iy exponents. Properly
9844 normalize after ldbl_extract_mantissa, and don't add hidden bit
9845 already handled. Don't treat low word of ieee854 mantissa like
9846 low word of IBM long double and mask off bit when testing for
9847 zero.
9848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9849 all uses of ieee875 long double macros and unions. Simplify tests
9850 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9851 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9852 two1022, instead use their values. Recognise that tests for large
9853 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9854 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9855 Rewrite all uses of ieee875 long double macros and unions. Simplify
9856 test for 0.0L and nan. Correct negation.
9857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9858 ieee875 long double macros and unions. Correct output for large
9859 magnitude x. Correct absolute value calculation.
9860 (__erfcl): Likewise.
9861 * math/libm-test.inc: Add tests for errors discovered in IBM long
9862 double versions of fmodl, remainderl, erfl and erfcl.
9863
765714ca
AM
98642013-10-04 Alan Modra <amodra@gmail.com>
9865
9866 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9867 all uses of ieee854 long double macros and unions. Simplify tests
9868 for long doubles that are fully specified by the high double.
9869 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9870 Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9872 Remove dead code too.
9873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9874 (__ieee754_ynl): Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9878 Remove dead code too.
9879 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9883 Simplify.
9884 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9885 Simplify.
9886 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9889 Comment on variable precision.
9890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9892 Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9897 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9898
4ebd120c
AM
98992013-10-04 Alan Modra <amodra@gmail.com>
9900
9901 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9902 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9903 all uses of ieee854 long double macros and unions.
9904 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9910 Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9912 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9913 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9917 Simplify sign and nan test too.
9918 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9922 Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9925 Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9932
1b6adf88
AM
99332013-10-04 Alan Modra <amodra@gmail.com>
9934
9935 * stdio-common/printf_size.c (__printf_size): Don't use
9936 union ieee854_long_double in fpnum union.
9937 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9938 signbit macro to retrieve sign from long double.
9939 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9940 retrieve sign from long double.
9941 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9942 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9944 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9945 * math/test-misc.c (main): Don't use union ieee854_long_double.
9946
4cf69995
AM
99472013-10-04 Alan Modra <amodra@gmail.com>
9948
9949 [BZ #15680]
9950 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9951 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9952 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9953 calculation. Remove unnecessary test for denormal exponent.
9954 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9955 Correct handling of denormals. Avoid undefined shift behaviour.
9956 Correct normalisation of low mantissa when low double is denormal.
9957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9958 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9959 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9960 Correct normalisation of low mantissa. Test for overflow of high
9961 mantissa and normalise.
9962 (ldbl_nearbyint): Use more readable constant for two52.
9963 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9964 (__mpn_construct_long_double): Fix test for overflow of high
9965 mantissa and correct normalisation. Avoid undefined shift.
9966
9605ca6c
AM
99672013-10-04 Alan Modra <amodra@gmail.com>
9968
9969 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9970 (union ibm_extended_long_double): Define as an array of ieee754_double.
9971 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9972 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9973 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9974 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9982
975569d0
JM
99832013-10-03 Joseph Myers <joseph@codesourcery.com>
9984
d3d23756
JM
9985 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9986 page size instead of calling getpagesize.
9987
975569d0
JM
9988 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9989 (LOCFILE_ALIGN_MASK): Likewise.
9990 (LOCFILE_ALIGN_UP): Likewise.
9991 (LOCFILE_ALIGNED_P): Likewise.
9992 * locale/programs/ld-collate.c (collate_output): Use the new
9993 macros instead of __alignof__ (int32_t).
9994 * locale/weight.h (findidx): Likewise.
9995
b1fe1f2b
OB
99962013-10-03 Ondřej Bílka <neleai@seznam.cz>
9997
9998 [BZ #431]
9999 * manual/string.texi: Fix strncat and wcsncat.
10000
5f855e35
BM
100012013-10-03 Brooks Moses <bmoses@google.com>
10002
10003 [BZ #15915]
10004 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10005 * Makerules: ...here, and adjust associated comments.
10006
3cef6009
WN
100072013-10-02 Will Newton <will.newton@linaro.org>
10008
10009 * malloc/Makefile: Add tst-pvalloc.
10010 * malloc/tst-pvalloc.c: New file.
10011
7815420b
WN
100122013-10-02 Will Newton <will.newton@linaro.org>
10013
10014 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10015 improve test coverage.
10016
4868b204
WN
100172013-10-02 Will Newton <will.newton@linaro.org>
10018
10019 * malloc/Makefile: Add tst-posix_memalign.
10020 * malloc/tst-posix_memalign.c: New file.
10021
29c793b3
EB
100222013-10-01 Eric Blake <eblake@redhat.com>
10023
10024 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10025 Use __THROWNL rather than __THROW on static functions.
10026
fd967522
PM
100272013-09-30 Petr Machata <pmachata@redhat.com>
10028
10029 * elf/elf.h (R_AARCH64_ABS16): New macro.
10030 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10031 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10032 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10033 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10034 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10035 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10036 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10037 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10038 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10039 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10040 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10041 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10042 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10043 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10044 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10045 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10046 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10047 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10048 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10049 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10050 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10051 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10052 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10053 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10054 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10055 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10056 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10057 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10058 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10059 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10060 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10061 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10062 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10063 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10064 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10065 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10066 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10067 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10068 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10069 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10070 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10071 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10072 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10073 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10074 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10075 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10076 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10077 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10078 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10079 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10080 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10081 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10082 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10083 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10084 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10085 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10086 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10087 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10088 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10089 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10090 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10091 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10092 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10093 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10094 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10095 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10096 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10097 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10098 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10099 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10100 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10101 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10102 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10103 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10104 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10105 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10106 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10107 (R_AARCH64_TLSDESC_LDR): Likewise.
10108 (R_AARCH64_TLSDESC_ADD): Likewise.
10109 (R_AARCH64_TLSDESC_CALL): Likewise.
10110
b2179107
AS
101112013-09-30 Andreas Schwab <schwab@suse.de>
10112
10113 [BZ #15048]
10114 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10115 the nss database lookup.
10116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10118
47f28d0a
MF
101192013-09-28 Mike Frysinger <vapier@gentoo.org>
10120
10121 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10122
101232013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10124
10125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10126 ${Bash-specific parameter/pattern/string} parameter expansion.
10127 * sysdeps/unix/make-syscalls.sh: Likewise.
10128
f4518a17
KK
101292013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10130
10131 * sysdeps/sh/stackguard-macros.h: New file.
10132
dc1a95c7
OB
101332013-09-26 Ondřej Bílka <neleai@seznam.cz>
10134
10135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10137 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10138 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10139 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10140 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10141
5ebbff8f
AZ
101422013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10143
10144 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10145 Fix thread ID register.
10146
4fd2cf9f
JM
101472013-09-25 Joseph Myers <joseph@codesourcery.com>
10148
10149 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10150 [POSIX || UNIX98]: Require rather than permitting all symbols from
10151 <time.h>.
10152 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10153 element of struct sched_param.
10154 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10155 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10156 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10157 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10158 constant.
10159
12c22bc4
OL
101602013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10161
10162 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10163 argument calculation.
10164
a03d8ea7
JM
101652013-09-24 Joseph Myers <joseph@codesourcery.com>
10166
10167 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10168 Expect macro.
10169 [POSIX] (pthread_attr_t): Do not require type.
10170 [POSIX] (pthread_cond_t): Likewise.
10171 [POSIX] (pthread_condattr_t): Likewise.
10172 [POSIX] (pthread_key_t): Likewise.
10173 [POSIX] (pthread_mutex_t): Likewise.
10174 [POSIX] (pthread_mutexattr_t): Likewise.
10175 [POSIX] (pthread_once_t): Likewise.
10176 [POSIX] (pthread_t): Likewise.
10177 [POSIX-based standards] (pthread_atfork): Expect function.
10178
6055173a
JM
101792013-09-24 Joseph Myers <joseph@codesourcery.com>
10180 Richard Sandiford <richard@codesourcery.com>
10181
10182 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10183 (swap_endianness_p): New extern variable.
10184 (set_big_endian): New inline function.
10185 (maybe_swap_uint32): Likewise.
10186 (maybe_swap_uint32_array): Likewise.
10187 (maybe_swap_uint32_obstack): Likewise.
10188 * locale/programs/locfile.c: Include <stdbool.h>.
10189 (swap_endianness_p): New variable.
10190 (add_locale_uint32): Call maybe_swap_uint32.
10191 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10192 (write_locale_data): Call maybe_swap_uint32_array.
10193 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10194 maybe_swap_uint32.
10195 (obstack_int32_grow_fast): Likewise.
10196 (output_weightwc): Call maybe_swap_uint32_obstack.
10197 (collate_output): Likewise.
10198 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10199 (OPT_LITTLE_ENDIAN): Likewise.
10200 (options): Add --little-endian and --big-endian options.
10201 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10202 * locale/programs/locarchive.c: Include "locfile.h".
10203 (GET): New macro.
10204 (SET): Likewise.
10205 (INC): Likewise.
10206 (create_archive): Use the new macros to access fields of
10207 structures directly mapped from or written to locale archives.
10208 (oldlocrecentcmp): Likewise.
10209 (enlarge_archive): Likewise.
10210 (insert_name): Likewise.
10211 (add_alias): Likewise.
10212 (add_locale): Likewise.
10213 (delete_locales_from_archive): Likewise.
10214 (show_archive_content): Likewise.
10215 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10216 locale data.
10217
39bf0bb4
RM
102182013-09-24 Roland McGrath <roland@hack.frob.com>
10219
10220 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10221 http://www.gnu.org/doc/freemanuals.texi.
10222 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10223
f02eed10
WN
102242013-09-24 Will Newton <will.newton@linaro.org>
10225
10226 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10227 macro.
10228
a3a6c312
JM
102292013-09-23 Joseph Myers <joseph@codesourcery.com>
10230
10231 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10232 unsigned char.
10233
107375ac
MR
102342013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10235
10236 * manual/threads.texi (POSIX Threads): Fix a typo.
10237
141f3a77
SP
102382013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10239
303e567a
SP
10240 [BZ #14547]
10241 * string/tst-strcoll-overflow.c: New test case.
10242 * string/Makefile (xtests): Add tst-strcoll-overflow.
10243 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10244 cache if string sizes may cause integer overflow.
10245
141f3a77
SP
10246 [BZ #14547]
10247 * string/strcoll_l.c (coll_seq): New members rule, idx,
10248 save_idx and back_us.
10249 (get_next_seq_nocache): New function.
10250 (do_compare_nocache): New function.
10251 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10252 when malloc fails.
10253
c61b4d41
CD
102542013-09-23 Carlos O'Donell <carlos@redhat.com>
10255
0b1f8e35
CD
10256 [BZ #15754]
10257 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10258 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10259 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10260
c61b4d41
CD
10261 [BZ #15754]
10262 * elf/Makefile (tests): Add tst-ptrguard1.
10263 (tests-static): Add tst-ptrguard1-static.
10264 (tst-ptrguard1-ARGS): Define.
10265 (tst-ptrguard1-static-ARGS): Define.
10266 * elf/tst-ptrguard1.c: New file.
10267 * elf/tst-ptrguard1-static.c: New file.
10268 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10269 * sysdeps/i386/stackguard-macros.h: Likewise.
10270 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10271 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10272 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10273 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10274 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10275 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10276
102772013-09-23 Hector Marco <hecmargi@upv.es>
10278 Ismael Ripoll <iripoll@disca.upv.es>
10279 Carlos O'Donell <carlos@redhat.com>
10280
10281 [BZ #15754]
10282 * sysdeps/generic/stackguard-macros.h: Define
10283 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10284 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10285 Define __pointer_chk_guard_local.
10286 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10287 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10288
f5f4e7b4
VV
102892013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10290
10291 [BZ #15859]
10292 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10293
5bb43a43
AS
102942013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10295
10296 * include/string.h (__ffs): Declare as hidden.
10297 * string/ffs.c (__ffs): Define as hidden.
10298 * sysdeps/i386/ffs.c (__ffs): Likewise.
10299 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10300 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10301 * sysdeps/s390/ffs.c (__ffs): Likewise.
10302 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10303
3ea5be54
AO
103042013-09-20 Alexandre Oliva <aoliva@redhat.com>
10305
ffb89e53
AO
10306 * NEWS: Mention malloc probes.
10307
322dea08
AO
10308 * malloc/arena.c (new_heap): New memory_heap_new probe.
10309 (grow_heap): New memory_heap_more probe.
10310 (shrink_heap): New memory_heap_less probe.
10311 (heap_trim): New memory_heap_free probe.
10312 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10313 (systrim): New memory_sbrk_less probe.
10314 * manual/probes.texi: Document them.
10315
655673f3
AO
10316 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10317 * manual/probes.texi: Document it.
10318
35fed6f1
AO
10319 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10320 (__libc_realloc): Add memory_realloc_retry probe.
10321 (__libc_memalign): Add memory_memalign_retry probe.
10322 (__libc_valloc): Add memory_valloc_retry probe.
10323 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10324 (__libc_calloc): Add memory_calloc_retry probe.
10325 * manual/probes.texi: Document them.
10326
6999d38c
AO
10327 * malloc/arena.c (get_free_list): Add probe
10328 memory_arena_reuse_free_list.
10329 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10330 and memory_arena_reuse.
10331 (arena_get2) [!PER_THREAD]: Likewise.
10332 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10333 memory_arena_reuse_realloc.
10334 * manual/probes.texi: Document them.
10335
0653427f
AO
10336 * malloc/malloc.c (__libc_free): Add
10337 memory_mallopt_free_dyn_thresholds probe.
10338 (__libc_mallopt): Add multiple memory_mallopt probes.
10339 * manual/probes.texi: Document them.
10340
3ea5be54
AO
10341 * malloc/malloc.c: Include stap-probe.h.
10342 (__libc_mallopt): Add memory_mallopt probe.
10343 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10344 * manual/probes.texi: New.
10345 * manual/Makefile (chapters): Add probes.
10346 * manual/threads.texi: Set next node.
10347
e35696c3 103482013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10349
e35696c3
CL
10350 [BZ #15963, #13985]
10351 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10352 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10353 Add `Chinese' to `nan' entry name.
10354
4aafb73c
SP
103552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10356
10357 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10358 (POLYNOMIAL): Likewise.
10359 (TAYLOR_SINCOS): Likewise.
10360 (TAYLOR_SLOW): Likewise.
10361 (__sin): Use TAYLOR_SINCOS.
10362 (__cos): Likewise.
10363 (slow): Use TAYLOR_SLOW.
10364 (sloww): Likewise.
10365 (bsloww): Likewise.
10366 (csloww): Likewise.
10367
d84f25c7
LD
103682013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10369
10370 * stdlib/strtod_l.c: Fix buffer overrun.
10371
5eea0404
SP
103722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10373
7849ff93
SP
10374 * benchtests/Makefile (bench): Add sincos.
10375 * benchtests/bench-sincos.c: New file.
10376
cfa3c886
SP
10377 * math/libm-test.inc (cos_test_data): New test inputs.
10378 (sin_test_data): Likewise.
10379
b348e1e3
SP
10380 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10381 macro.
10382 (__sin): Use it.
10383 (__cos): Likewise.
10384 (slow1): Likewise.
10385 (slow2): Likewise.
10386 (sloww1): Likewise.
10387 (sloww2): Likewise.
10388 (bsloww1): Likewise.
10389 (bsloww2): Likewise.
10390 (cslow2): Likewise.
10391 (csloww1): Likewise.
10392 (csloww2): Likewise.
10393
6cce25f8
SP
10394 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10395 function.
10396 (__sin): Use it.
10397 (__cos): Likewise.
10398
5eea0404
SP
10399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10400 gotos.
10401 (__cos): Likewise.
10402
9c21573c
MR
104032013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10404
10405 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10406 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10407 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10408 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10409 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10410 * elf/cache.c (print_entry): Handle the new cache flags.
10411
24d22e65
JM
104122013-09-18 Joseph Myers <joseph@codesourcery.com>
10413 Aldy Hernandez <aldyh@redhat.com>
10414
10415 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10416 Change condition to [_SOFT_FLOAT].
10417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10429 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10432 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10433 declaration.
10434
d13ef066
JM
104352013-09-18 Joseph Myers <joseph@codesourcery.com>
10436
2e071de0
JM
10437 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10438 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10439 (__longjmp): Use LOAD_GP to load saved GPRs.
10440 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10441 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10442 (__sigsetjmp): Use SAVE_GP to save GPRs.
10443
d13ef066
JM
10444 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10445 Do not append -msoft-float.
10446 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10447
97a0650b
SP
104482013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10449
10450 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10451
11ca09e9
JM
104522013-09-17 Joseph Myers <joseph@codesourcery.com>
10453
10454 [BZ #15966]
10455 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10456 (_FPU_GETCW): Use initial "__" on variable and field names but not
10457 on macro parameter name.
10458 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10459 parentheses around reference to macro parameter.
10460
08ffcf34
RS
104612013-09-13 Richard Sandiford <richard@codesourcery.com>
10462
10463 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10464 prototype.
10465 (ctype_startup): Use uint32_t in cast and sizeof for
10466 ctype->charnames.
10467
ae7080d3
JL
104682013-09-11 Jia Liu <proljc@gmail.com>
10469
10470 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10471 __daddr_t_defined.
10472 [__FreeBSD__]: Likewise.
10473
5905e7b3
OB
104742013-09-11 Ondřej Bílka <neleai@seznam.cz>
10475
10476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10477 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10478 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10479 (strchr): Remove __strchr_sse42 ifunc selection.
10480 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10481 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10482
b987c776
WN
104832013-09-11 Will Newton <will.newton@linaro.org>
10484
10485 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10486 parameter to RES. Remove hardcoded 1000 value.
10487 * benchtests/bench-skeleton.c (main): Pass RES parameter
10488 to TIMING_INIT and multiply result by 1000.
10489
ddf985af
AZ
104902013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10491
10492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10493
ffdd3181
AS
104942013-09-11 Andreas Schwab <schwab@suse.de>
10495
10496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10497 if not defined.
10498 (O_TMPFILE) [__USE_GNU]: Define.
10499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10500 Define.
10501
b73ed247
WN
105022013-09-11 Will Newton <will.newton@linaro.org>
10503
10504 [BZ #15857]
10505 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10506 does not overflow.
10507
55e17aad
WN
105082013-09-11 Will Newton <will.newton@linaro.org>
10509
10510 [BZ #15856]
10511 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10512 does not overflow.
10513
1159a193
WN
105142013-09-11 Will Newton <will.newton@linaro.org>
10515
10516 [BZ #15855]
10517 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10518 does not overflow.
10519
5905e7b3 105202013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10521
10522 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10527
cdfc721b
AM
105282013-09-10 Allan McRae <allan@archlinux.org>
10529
aa04af00
AM
10530 [BZ #15748]
10531 * manual/arith.texi (Parsing of Floats): Clarify
10532 cross-reference.
10533
cdfc721b
AM
10534 [BZ #15849]
10535 * manual/install.texi (Running make install): Mention
10536 --enable-pt-chown.
10537 * INSTALL: Regenerated.
10538
95e7cf29
MR
105392013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10540
10541 * csu/init-first.c (_init): Remove the !SHARED condition around
10542 FPU control word initialization.
10543 * elf/dl-support.c (_dl_fpu_control): New variable.
10544 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10545 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10546 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10547 * math/test-fpucw-static.c: New file.
10548 * math/test-fpucw-ieee.c: New file.
10549 * math/test-fpucw-ieee-static.c: New file.
10550 * math/Makefile (tests): Add `test-fpucw-ieee' and
10551 `$(tests-static)'.
10552 (tests-static): New variable.
10553 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10554 dependency to...
10555 [($(build-shared),yes)]
10556 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10557 ... this.
10558 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10559 New dependency.
10560
83e43bf0
AM
105612013-09-09 Allan McRae <allan@archlinux.org>
10562
a9f5ce09
AM
10563 [BZ #15939]
10564 * manual/string.texi (Collation Functions): Fix typo in
10565 strcoll example.
10566 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10567
34829bc2
AM
10568 [BZ #15893]
10569 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10570
3932737d
AM
10571 [BZ #15892]
10572 * libio/memstream.c (open_memstream): Fix memory leak.
10573 * libio/wmemstream.c (open_wmemstream): Likewise.
10574
83e43bf0
AM
10575 [BZ #15895]
10576 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10577
0c66b8e9
WN
105782013-09-09 Will Newton <will.newton@linaro.org>
10579
10580 * malloc/Makefile: Add tst-realloc to tests.
10581 * malloc/tst-realloc.c: New file.
10582
f6b00fd1
AM
105832013-09-09 Allan McRae <allan@archlinux.org>
10584
10585 [BZ #15844]
10586 * COPYING: Update from GNU website to fix FSF address.
10587 * COPYING.LIB: Likewise.
10588
eec55e16
DM
105892013-09-06 David S. Miller <davem@davemloft.net>
10590
10591 * po/zh_TW.po: Update Chinese (traditional) translation from
10592 translation project.
10593
1ecbb381
RS
105942013-09-06 Richard Sandiford <richard@codesourcery.com>
10595 Joseph Myers <joseph@codesourcery.com>
10596
10597 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10598 "localeinfo.h".
10599 (obstack_chunk_alloc): New macro.
10600 (obstack_chunk_free): Likewise.
10601 (record_offset): New function.
10602 (init_locale_data): Likewise.
10603 (align_locale_data): Likewise.
10604 (add_locale_empty): Likewise.
10605 (add_locale_raw_data): Likewise.
10606 (add_locale_raw_obstack): Likewise.
10607 (add_locale_string): Likewise.
10608 (add_locale_wstring): Likewise.
10609 (add_locale_uint32): Likewise.
10610 (add_locale_uint32_array): Likewise.
10611 (add_locale_char): Likewise.
10612 (start_locale_structure): Likewise.
10613 (end_locale_structure): Likewise.
10614 (start_locale_prelude): Likewise.
10615 (end_locale_prelude): Likewise.
10616 (write_locale_data): Take locale_file structure rather than an
10617 iovec.
10618 * locale/programs/locfile.h: Include "obstack.h".
10619 (struct locale_file): Change to store locale file contents instead
10620 of header.
10621 (init_locale_data): New prototype.
10622 (align_locale_data): Likewise.
10623 (add_locale_empty): Likewise.
10624 (add_locale_raw_data): Likewise.
10625 (add_locale_raw_obstack): Likewise.
10626 (add_locale_string): Likewise.
10627 (add_locale_wstring): Likewise.
10628 (add_locale_uint32): Likewise.
10629 (add_locale_uint32_array): Likewise.
10630 (add_locale_char): Likewise.
10631 (start_locale_structure): Likewise.
10632 (end_locale_structure): Likewise.
10633 (start_locale_prelude): Likewise.
10634 (end_locale_prelude): Likewise.
10635 (write_locale_data): Update prototype.
10636 * locale/programs/3level.h (struct TABLE): Remove result field.
10637 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10638 Use new locale_file interface.
10639 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10640 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10641 * locale/programs/ld-address.c (address_output): Use new
10642 locale_file interface.
10643 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10644 NO_ADD_LOCALE.
10645 (collate_finish): Don't call collseq_table_finalize.
10646 (collate_output): Use new locale_file interface.
10647 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10648 in file.
10649 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10650 (TABLE): Move defines earlier in file.
10651 (ELEMENT): Likewise.
10652 (DEFAULT): Likewise.
10653 (wctrans_table_add): Move macro and inline function earlier in
10654 file.
10655 (struct wctype_table): Move type earlier in file.
10656 (add_locale_wctype_table): New static prototype.
10657 (struct locale_ctype_t): Use logical types instead of struct iovec
10658 pointers for members.
10659 (ctype_output): Use new locale_file interface.
10660 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10661 new locale_file interface.
10662 (allocate_arrays): Update for use of new locale_file interface.
10663 * locale/programs/ld-identification.c (identification_output): Use
10664 new locale_file interface.
10665 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10666 * locale/programs/ld-messages.c (messages_output): Likewise.
10667 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10668 * locale/programs/ld-name.c (name_output): Likewise.
10669 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10670 * locale/programs/ld-paper.c (paper_output): Likewise.
10671 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10672 * locale/programs/ld-time.c (time_output): Likewise.
10673
e029e2e5
AZ
106742013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10675
10676 * benchtests/Makefile: Add memrchr benchmark.
10677 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10678 benchmark as memrchr.
10679 * benchtests/bench-memrchr-ifunc.c: New file.
10680 * benchtests/bench-memrchr.c: New file.
10681
bbf6e8e4
WN
106822013-09-06 Will Newton <will.newton@linaro.org>
10683
10684 * benchtests/Makefile (string-bench): Add memcpy.
10685
6c82a2f8
CD
106862013-09-05 Carlos O'Donell <carlos@redhat.com>
10687 Cong Wang <amwang@redhat.com>
10688
e732c5f0 10689 [BZ #15850]
6c82a2f8
CD
10690 * sysdeps/unix/sysv/linux/bits/in.h
10691 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10692 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10693 before __USE_KERNEL_IPV6_DEFS uses.
10694 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10695 IPPROTO_BEETPH.
10696 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10697 sockaddr_in6, or ipv6_mreq.
10698
5430fc65
AZ
106992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10700
10701 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10702 memory access for final bytes in some large inputs.
10703 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10704
4660856c
AZ
107052013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10706
10707 * string/test-memrchr.c: New file.
10708 * string/test-memrchr-ifunc.c: New file.
10709 * string/Makefile: Add new memrchr testcase.
10710
bb8ea713
MF
107112013-09-05 Mike Frysinger <vapier@gentoo.org>
10712
10713 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10714 fanotify_init returns EPERM.
10715
b92a20b5
JM
107162013-09-04 Joseph Myers <joseph@codesourcery.com>
10717
10718 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10719 errors.
10720 (top level): Treat second token from macro or constant entries for
10721 allowed headers as allowed.
10722 * include/complex.h: Condition internal declarations on
10723 [!_ISOMAC].
10724 * include/fenv.h: Condition include of <stdbool.h> and internal
10725 declarations on [!_ISOMAC].
7447ccd9
CL
10726
107272013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10728
3e181dda 10729 [BZ #15923]
7447ccd9
CL
10730 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10731
3f2e46a4
JM
107322013-09-04 Joseph Myers <joseph@codesourcery.com>
10733
10734 * configure.in (--enable-versioning): Remove configure option.
10735 (libc_cv_asm_symver_directive): Remove configure test.
10736 (libc_cv_ld_version_script_option): Likewise.
10737 (VERSIONING): Remove variable and AC_SUBST.
10738 (DO_VERSIONING): Remove AC_DEFINE.
10739 * configure: Regenerated.
10740 * config.h.in (DO_VERSIONING): Remove macro.
10741 * Makerules [$(versioning) = yes]: Change conditionals to
10742 [$(build-shared) = yes].
10743 * config.make.in (versioning): Remove variable.
10744 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10745 [$(build-shared) = yes].
10746 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10747 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10748 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10749 [$(build-shared) = yes].
10750 * extra-lib.mk [$(versioning) = yes]: Likewise.
10751 * hurd/Makefile [$(versioning) = yes]: Likewise.
10752 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10753 [SHARED].
10754 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10755 [SHARED].
10756 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10757 [SHARED && !NO_HIDDEN].
10758 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10759 [SHARED].
10760 [SHARED && DO_VERSIONING]: Likewise..
10761 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10762 [$(build-shared) = yes].
10763 * manual/install.texi (--disable-versioning): Remove
10764 documentation.
10765 * INSTALL: Regenerated.
10766 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10767 to [SHARED].
10768 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10769 [$(build-shared) = yes].
10770 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10771 * sysdeps/i386/i686/multiarch/strstr-c.c
10772 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10773 [SHARED && !NO_HIDDEN].
10774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10775 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10776 * sysdeps/powerpc/powerpc32/dl-machine.c
10777 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10778 * sysdeps/powerpc/powerpc32/sysdep.h
10779 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10780 to [SHARED && PIC && !NO_HIDDEN].
10781 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10782 conditional to [SHARED].
10783
44558701
WN
107842013-09-04 Will Newton <will.newton@linaro.org>
10785
10786 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10787 * benchtests/bench-string.h: Include bench-timing.h instead
10788 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10789 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10790 call to HP_TIMING_DIFF_INIT.
10791 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10792 instead of hp-timing.h macros.
10793 * benchtests/bench-memchr.c: Likewise.
10794 * benchtests/bench-memcmp.c: Likewise.
10795 * benchtests/bench-memcpy.c: Likewise.
10796 * benchtests/bench-memmem.c: Likewise.
10797 * benchtests/bench-memmove.c: Likewise.
10798 * benchtests/bench-memset.c: Likewise.
10799 * benchtests/bench-rawmemchr.c: Likewise.
10800 * benchtests/bench-strcasecmp.c: Likewise.
10801 * benchtests/bench-strcasestr.c: Likewise.
10802 * benchtests/bench-strcat.c: Likewise.
10803 * benchtests/bench-strchr.c: Likewise.
10804 * benchtests/bench-strcmp.c: Likewise.
10805 * benchtests/bench-strcpy.c: Likewise.
10806 * benchtests/bench-strcpy_chk.c: Likewise.
10807 * benchtests/bench-strlen.c: Likewise.
10808 * benchtests/bench-strncasecmp.c: Likewise.
10809 * benchtests/bench-strncat.c: Likewise.
10810 * benchtests/bench-strncmp.c: Likewise.
10811 * benchtests/bench-strncpy.c: Likewise.
10812 * benchtests/bench-strnlen.c: Likewise.
10813 * benchtests/bench-strpbrk.c: Likewise.
10814 * benchtests/bench-strrchr.c: Likewise.
10815 * benchtests/bench-strspn.c: Likewise.
10816 * benchtests/bench-strstr.c: Likewise.
10817
cae16d66
WN
108182013-09-04 Will Newton <will.newton@linaro.org>
10819
10820 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10821
ffa3cd7f
JM
108222013-09-03 Joseph Myers <joseph@codesourcery.com>
10823
10824 [BZ #15427]
10825 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10826 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10827 * math/libm-test.inc (lgamma_test_data): Add more tests.
10828 * sysdeps/i386/fpu/libm-test-ulps: Update.
10829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10830
8f02859f
OB
108312013-09-03 Ondřej Bílka <neleai@seznam.cz>
10832
10833 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10834 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10835 Add ifunc.
10836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10837 Add strcmp-sse2-unaligned
10838 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10839
18d43716
MF
108402013-09-02 Mike Frysinger <vapier@gentoo.org>
10841
10842 * Versions.def (libc): Add GLIBC_2.19.
10843
ac444012
MF
108442013-09-02 Mike Frysinger <vapier@gentoo.org>
10845
10846 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10847 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10848
b7835e32
JM
108492013-09-02 Joseph Myers <joseph@codesourcery.com>
10850
10851 [BZ #14155]
10852 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10853 intermediate calculations in recurrence.
10854 (__ieee754_ynf): Likewise.
10855 * math/libm-test.inc (jn_test_data): Do not allow spurious
10856 underflow exception. Add more tests.
10857 (yn_test_data): Add more tests.
10858 * sysdeps/i386/fpu/libm-test-ulps: Update.
10859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10860
8220f4f0
OB
108612013-09-02 Ondřej Bílka <neleai@seznam.cz>
10862
10863 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10864
f24a6d08
OB
108652013-08-30 Ondřej Bílka <neleai@seznam.cz>
10866
10867 * csu/init-first.c: Fix then/than typos.
10868 * locale/programs/ld-collate.c: Likewise.
10869 * locale/programs/linereader.h: Likewise.
10870 * manual/charset.texi: Likewise.
10871 * manual/filesys.texi: Likewise.
10872 * manual/stdio.texi: Likewise.
10873 * manual/string.texi: Likewise.
10874 * stdlib/fmtmsg.c: Likewise.
10875 * sysdeps/i386/stpncpy.S: Likewise.
10876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10877 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10879 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10880
382466e0
OB
108812013-08-30 Ondřej Bílka <neleai@seznam.cz>
10882
10883 * elf/dl-open.c: Fix typos.
10884 * iconvdata/gbbig5.c: Likewise.
10885 * iconvdata/iso-2022-jp.c: Likewise.
10886 * iconv/gconv_int.h: Likewise.
10887 * iconv/loop.c: Likewise.
10888 * nis/rpcsvc/nis.h: Likewise.
10889 * resolv/ns_name.c: Likewise.
10890 * stdio-common/vfscanf.c: Likewise.
10891 * streams/stropts.h: Likewise.
10892 * sunrpc/rpc_thread.c: Likewise.
10893 * sysdeps/i386/strpbrk.S: Likewise.
10894 * sysdeps/ieee754/k_standard.c: Likewise.
10895 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10897 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10898 * sysdeps/mach/hurd/profil.c: Likewise.
10899 * sysdeps/s390/dl-procinfo.h: Likewise.
10900 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10901 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10902 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10903 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10904 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10905
0186c6e9
OB
109062013-08-30 Ondřej Bílka <neleai@seznam.cz>
10907
10908 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10910
d4e16af1
OB
109112013-08-29 Ondřej Bílka <neleai@seznam.cz>
10912
10913 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10914 aix specific files.
10915 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10916 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10917 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10918 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10919 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10920 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10921 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10922 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10923
88335980
TS
109242013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10925 Roland McGrath <roland@hack.frob.com>
10926
10927 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10928 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10929
ed479b02
ST
109302013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10931
10932 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10933 __executable_start symbol instead of _start.
10934
f1cc4c86
TS
109352013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10936
d821f07c
TS
10937 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10938 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10939 Move macros to...
10940 * sysdeps/gnu/ldsodefs.h: ... this new file.
10941
c54290cf
TS
10942 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10943 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10944 instead of ELFOSABI_LINUX.
10945
0007fc9b 10946 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10947 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10948 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10949 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10950 Likewise.
10951 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10952 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10954 Likewise.
10955 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10956 (ibm_extended_long_double): Add ieee_nan member.
10957 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10958 (do_test): New function.
10959
f1cc4c86
TS
10960 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10961 TEST_TRUNC.
10962 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10963 functions, renamed from truncdfsf_test, trunctfsf_test,
10964 trunctfdf_test.
10965 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10966 functions.
10967 (do_test): Run all these.
10968
6f65e668
OB
109692013-08-29 Ondřej Bílka <neleai@seznam.cz>
10970
10971 * argp/argp-help.c: Fix typos.
10972 * argp/argp-parse.c: Likewise.
10973 * debug/backtracesyms.c: Likewise.
10974 * elf/elf.h: Likewise.
10975 * malloc/malloc.c: Likewise.
10976 * nis/nis_print.c: Likewise.
10977 * resolv/res_comp.c: Likewise.
10978 * stdlib/stdlib.h: Likewise.
10979 * sunrpc/clnt_tcp.c: Likewise.
10980 * sunrpc/clnt_udp.c: Likewise.
10981 * sunrpc/clnt_unix.c: Likewise.
10982 * sysdeps/unix/bsd/ptsname.c: Likewise.
10983 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10984 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10986 Likewise.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10988 Likewise.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10990 Likewise.
6f65e668
OB
10991 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10992
3a309239
SP
109932013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10994
10995 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10997
3b813b29
MF
109982013-08-27 Mike Frysinger <vapier@gentoo.org>
10999
11000 [BZ #15897]
11001 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11002 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11003 ($(objpfx)bug-dl-leaf): New rule.
11004 ($(objpfx)bug-dl-leaf.so): Likewise.
11005 ($(objpfx)bug-dl-leaf.out): Likewise.
11006 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11007 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11008 * dlfcn/bug-dl-leaf.c: New test.
11009 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11010 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11011 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11012 (dlclose): Likewise.
11013 (dlmopen): Likewise.
11014
8cc3269f
RM
110152013-08-27 Roland McGrath <roland@hack.frob.com>
11016
7f9d0034
RM
11017 * include/netdb.h [!_ISOMAC]:
11018 Don't include <tls.h>.
11019 (h_errno, __libc_h_errno): Move declaration and macros out of
11020 [_LIBC_REENTRANT].
11021
fb431262
RM
11022 * include/resolv.h [_RESOLV_H_]:
11023 Don't include <tls.h>.
11024 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11025 * resolv/res_libc.c: Don't include <tls.h>.
11026 (_res): Use __attribute__ ((nocommon)) in place of
11027 __attribute__ ((section (".bss"))).
11028
bd81123a
RM
11029 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11030 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11031
c4e42566
RM
11032 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11033
f890a59b
RM
11034 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11035 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11036
11037 * resolv/res_mkquery.c: Include <sys/time.h>.
11038
5d1f0a09
RM
11039 * inet/ifreq.c: Moved to ...
11040 * sysdeps/unix/ifreq.c: ... here.
11041 * inet/ifreq.c: New file, true stub version.
11042
6fcf28b3
RM
11043 * socket/sa_len.c: New file.
11044 * socket/Makefile (aux): Add it.
11045 * sysdeps/unix/sysv/linux/Makefile
11046 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11047 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11048 and #include <socket/sa_len.c>.
11049 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11050 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11051
e041fb8b
RM
11052 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11053 * bits/socket.h: ... here.
11054
8cc3269f
RM
11055 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11056 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11057 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11058
5d228a43
AS
110592013-08-27 Andreas Schwab <schwab@suse.de>
11060
45b8accc
AS
11061 [BZ #15736]
11062 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11063 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11064 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11065 * string/test-strcasecmp.c (test_main): Run tests in several
11066 locales.
11067 * string/test-strncasecmp.c (test_main): Likewise.
11068
5d228a43
AS
11069 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11070 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11071 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11073 (__strncasecmp_ssse3) [PIC]: Likewise.
11074
59d112a4
RM
110752013-08-26 Roland McGrath <roland@hack.frob.com>
11076
53234cc3
RM
11077 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11078
59d112a4
RM
11079 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11080 instead of explicitly declaring xdecrypt.
11081 * nis/nss_nis/nis-publickey.c: Likewise.
11082
595aba70
SP
110832013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11084
11085 [BZ #15890]
11086 * nscd/aicache.c: Include res_hconf.h.
11087 (addhstaiX): Initialize res_hconf.
11088
ffabd393
AS
110892013-08-26 Andreas Schwab <schwab@suse.de>
11090
11091 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11092 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11093
e0a69f5c
SP
110942013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11095
11096 * nscd/aicache.c (addhstaiX): Fix indentation.
11097
8c12f01d
MF
110982013-08-25 Mike Frysinger <vapier@gentoo.org>
11099
11100 * configure.ac: Quote $build_pt_chown test.
11101 * configure: Regenerated.
11102
8fe89494
JM
111032013-08-23 Joseph Myers <joseph@codesourcery.com>
11104
11105 [BZ #15532]
11106 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11107 * math/s_cexpf.c (__cexpf): Likewise.
11108 * math/s_cexpl.c (__cexpl): Likewise.
11109 * math/libm-test.inc (cexp_test_data): Correct expected return
11110 value for NaN + i0. Add another test.
11111
75b181d6
DM
111122013-08-22 David S. Miller <davem@davemloft.net>
11113
11114 * po/ca.po: Update Catalan translation from translation project.
936241e4 11115 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11116
acd06bb1
JM
111172013-08-21 Joseph Myers <joseph@codesourcery.com>
11118
11119 [BZ #15797]
11120 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11121 is infinite, not alongside NaN test.
11122 * math/s_fdimf.c (__fdimf): Likewise.
11123 * math/s_fdiml.c (__fdiml): Likewise.
11124 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11125 errno is unchanged.
11126
c0c3f78a
OB
111272013-08-21 Ondřej Bílka <neleai@seznam.cz>
11128
11129 * argp/argp-help.c: Fix typos.
11130 * crypt/speeds.c: Likewise.
11131 * csu/check_fds.c: Likewise.
11132 * elf/dl-load.c: Likewise.
11133 * elf/dl-open.c: Likewise.
11134 * elf/reldep3.c: Likewise.
11135 * elf/reldep.c: Likewise.
11136 * elf/sprof.c: Likewise.
11137 * iconv/iconv_charmap.c: Likewise.
11138 * iconv/skeleton.c: Likewise.
11139 * iconv/strtab.c: Likewise.
11140 * io/lockf64.c: Likewise.
11141 * libio/libioP.h: Likewise.
11142 * resolv/gai_notify.c: Likewise.
11143 * resolv/ns_name.c: Likewise.
11144 * resolv/ns_samedomain.c: Likewise.
11145 * resolv/res_send.c: Likewise.
11146 * stdlib/random.c: Likewise.
11147 * sunrpc/rpc/xdr.h: Likewise.
11148 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11149 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11150 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11151 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11152 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11153 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11155 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11156 * sysdeps/mach/hurd/check_fds.c: Likewise.
11157 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11158 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11159 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11161 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11162 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11163 * sysdeps/pthread/aio_notify.c: Likewise.
11164 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11165 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11166 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11168 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11169
46ed1038
LD
111702013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11171
11172 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11173 version if bit_Slow_SSE4_2 is set.
11174 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11175 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11176
d400dcac
AZ
111772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11178
11179 [BZ #15867]
11180 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11181 trampoline stack frame information.
11182 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11184 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11185 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11186 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11187 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11188 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11189 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11190 sa_flags value.
11191 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11192 interrupting a syscall and set with option SA_SIGINFO.
11193
42c8fdd8
JM
111942013-08-20 Joseph Myers <joseph@codesourcery.com>
11195
c980f2f4
JM
11196 [BZ #15531]
11197 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11198 argument is infinite.
11199 * math/s_cprojf.c (__cprojf): Likewise.
11200 * math/s_cprojl.c (__cprojl): Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11202 * math/libm-test.inc (cproj_test_data): Add more tests.
11203
0716c4fc
JM
11204 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11205
42c8fdd8
JM
11206 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11207 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11208 size. Use __ffs to determine corresponding shift.
11209
b31469d0
JM
112102013-08-20 Joseph Myers <joseph@codesourcery.com>
11211 Roland McGrath <roland@hack.frob.com>
11212
11213 * Makefile (INSTALL): Remove trailing blank lines from output of
11214 makeinfo.
11215
4e39af6e
AK
112162013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11217
11218 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11219 Align 32 bit compat elf_greg to 8 bytes.
11220
f315524e
AA
112212013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11222
11223 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11224
1326ba1a
SP
112252013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11226
11227 * string/strcoll_l.c (coll_seq): New structure.
11228 (get_next_seq_cached): New function.
11229 (get_next_seq): New function.
11230 (do_compare): New function.
11231 (STRCOLL): Use GNU style definition. Simplify implementation
11232 by using get_next_seq, get_next_seq_cached and do_compare.
11233
91ce4085
FW
112342013-08-16 Florian Weimer <fweimer@redhat.com>
11235
11236 [BZ #14699]
11237 CVE-2013-4237
11238 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11239 member.
11240 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11241 member.
11242 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11243 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11244 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11245 conditional.
11246 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11247 GETDENTS_64BIT_ALIGNED.
11248 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11249 * manual/filesys.texi (Reading/Closing Directory): Document
11250 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11251 strongly.
11252 * manual/conf.texi (Limits for Files): Add portability note to
11253 NAME_MAX, PATH_MAX.
11254 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11255
ca0a6bc4
AS
112562013-08-13 Andreas Schwab <schwab@suse.de>
11257
11258 [BZ #15749]
11259 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11260 of fabs.
11261 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11262 LDBL_MAX_EXP >= 16384]: Add tests for it.
11263
6c1fd795
DM
112642013-08-12 David S. Miller <davem@davemloft.net>
11265
11266 * version.h (RELEASE): Set to "development".
11267 (VERSION): Set to "2.18.90".
11268 * NEWS: Add 2.19 section.
11269
31ad488d
DM
112702013-08-03 David S. Miller <davem@davemloft.net>
11271
11272 * po/ko.po: Update Korean translation from translation project.
11273
db24e684
DM
112742013-08-01 David S. Miller <davem@davemloft.net>
11275
11276 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11277 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11278 Bilka.
11279
f723285b
DM
112802013-07-30 David S. Miller <davem@davemloft.net>
11281
11282 * po/fr.po: Update French translation from translation project.
11283
3cbc52db
DM
112842013-07-28 David S. Miller <davem@davemloft.net>
11285
30bbc0cc
DM
11286 * po/cs.po: Update Czech translation from translation project.
11287
3cbc52db
DM
11288 * po/sv.po: Update Swedish translation from translation project.
11289
d492e6d0
DM
112902013-07-27 David S. Miller <davem@davemloft.net>
11291
f1a7f492
DM
11292 * po/eo.po: Update Esperanto translation from translation project.
11293
90e62a4a
DM
11294 * po/vi.po: Update Vietnamese translation from translation project.
11295
d492e6d0
DM
11296 * po/de.po: Update German translation from translation project.
11297
d4baa62d
DM
112982013-07-26 David S. Miller <davem@davemloft.net>
11299
641aa7b4
DM
11300 * po/bg.po: Update Bulgarian translation from translation project.
11301
d4baa62d
DM
11302 * po/nl.po: Update Dutch translation from translation project.
11303 * po/pl.po: Update Polish translation from translation project.
11304 * po/ru.po: Update Russian translation from translation project.
11305
61a9dcb9
DM
113062013-07-24 David S. Miller <davem@davemloft.net>
11307
11308 * po/libc.pot: Update.
11309
7b1f8b58
AZ
113102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11311
11312 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11313 variable page size.
11314 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11315 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11316 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11317
a8fc7a03
AK
113182013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11319
11320 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11321
e4608715
CD
113222013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11323 Andreas Schwab <schwab@suse.de>
11324 Roland McGrath <roland@hack.frob.com>
11325 Joseph Myers <joseph@codesourcery.com>
11326 Carlos O'Donell <carlos@redhat.com>
11327
11328 [BZ #15755]
11329 * config.h.in: Define HAVE_PT_CHOWN.
11330 * config.make.in (build-pt-chown): New variable.
11331 * configure.in (--enable-pt_chown): New configure option.
11332 * configure: Regenerate.
11333 * login/Makefile: Include Makeconfig. Build pt_chown only if
11334 build-pt-chown is enabled.
11335 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11336 pt_chown to fix pty ownership.
11337 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11338 CLOSE_ALL_FDS.
11339 * manual/install.texi (Configuring and compiling): Mention
11340 --enable-pt_chown. Add @findex for grantpt.
11341 * INSTALL: Regenerate.
11342
da2d62df
DM
113432013-07-20 David S. Miller <davem@davemloft.net>
11344
11345 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11346 difference between 32-bit and 64-bit.
11347
d7e06450
CD
113482013-07-15 Carlos O'Donell <carlos@redhat.com>
11349
11350 [BZ #15711]
11351 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11352 Avoid system header dependency with -ffreestanding.
11353 ($(objpfx)bits/syscall%d): Likewise.
11354
f959cfd7
DM
113552013-07-13 David S. Miller <davem@davemloft.net>
11356
11357 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11358 underflows from atanl/atan2l due to bug 15319.
11359 (casinh_test_data): Likewise.
11360
c61f8513
DM
113612013-07-07 David S. Miller <davem@davemloft.net>
11362
11363 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11364
72c90ed0
JA
113652013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11366
11367 * sysdeps/i386/fpu/libm-test-ulps: Update.
11368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11369
52dfbe13
SP
113702013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11371
11372 * configure.in (--enable-lock-elision): Fix message text.
11373 * INSTALL: Regenerate.
11374 * configure: Regenerate.
11375
3f169543
AZ
113762013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11377
11378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11379
521c6785
AJ
113802013-07-03 Andreas Jaeger <aj@suse.de>
11381
11382 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11383 define.
11384 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11385 (ptrace_peeksiginfo_args): Add.
11386 (__ptrace_peeksiginfo_flags): Add.
11387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11390
d2cc15cb
AM
113912013-07-03 Allan McRae <allan@archlinux.org>
11392
11393 * sysdeps/i386/fpu/libm-test-ulps: Update.
11394
3aaeeca7
DM
113952013-07-02 David S. Miller <davem@davemloft.net>
11396
11397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11398
5314ed1a
MT
113992013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11400
11401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11402
67338156
JM
114032013-07-02 Joseph Myers <joseph@codesourcery.com>
11404
11405 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11407
1717da59
AK
114082013-07-02 Andi Kleen <ak@linux.intel.com>
11409
11410 * config.h.in (ENABLE_LOCK_ELISION): Add.
11411 * configure.in (--enable-lock-elision): Add option.
11412 * manual/install.texi: Document --enable lock elision.
11413 * configure: Regenerate
11414 * INSTALL: Regenerate.
11415
1c81621c
L
114162013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11417
11418 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11419 SSE4.2 strcasecmp for libc.a.
11420 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11421
77f01ab5
JM
114222013-07-02 Joseph Myers <joseph@codesourcery.com>
11423
11424 [BZ #13304]
11425 * soft-fp/op-common.h (_FP_FMA): New macro.
11426 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11427 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11428 (_FP_MUL_MEAT_1_imm): ... here.
11429 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11430 (_FP_MUL_MEAT_1_wide): ... here.
11431 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11432 (_FP_MUL_MEAT_1_hard): ... here.
11433 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11434 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11435 (_FP_MUL_MEAT_2_wide): ... here.
11436 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11437 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11438 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11439 (_FP_MUL_MEAT_2_gmp): ... here.
11440 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11441 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11442 (_FP_MUL_MEAT_4_wide): ... here.
11443 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11444 (_FP_MUL_MEAT_4_gmp): ... here.
11445 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11446 (_FP_WFRACBITS_DW_S): Likewise.
11447 (_FP_WFRACXBITS_DW_S): Likewise.
11448 (_FP_HIGHBIT_DW_S): Likewise.
11449 (FP_FMA_S): Likewise.
11450 (_FP_FRAC_HIGH_DW_S): Likewise.
11451 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11452 (_FP_WFRACBITS_DW_D): Likewise.
11453 (_FP_WFRACXBITS_DW_D): Likewise.
11454 (_FP_HIGHBIT_DW_D): Likewise.
11455 (FP_FMA_D): Likewise.
11456 (_FP_FRAC_HIGH_DW_D): Likewise.
11457 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11458 (_FP_WFRACBITS_DW_E): Likewise.
11459 (_FP_WFRACXBITS_DW_E): Likewise.
11460 (_FP_HIGHBIT_DW_E): Likewise.
11461 (FP_FMA_E): Likewise.
11462 (_FP_FRAC_HIGH_DW_E): Likewise.
11463 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11464 (_FP_WFRACBITS_DW_Q): Likewise.
11465 (_FP_WFRACXBITS_DW_Q): Likewise.
11466 (_FP_HIGHBIT_DW_Q): Likewise.
11467 (FP_FMA_Q): Likewise.
11468 (_FP_FRAC_HIGH_DW_Q): Likewise.
11469 * soft-fp/fmasf4.c: New file.
11470 * soft-fp/fmadf4.c: Likewise.
11471 * soft-fp/fmatf4.c: Likewise.
11472
6308fd9a
LD
114732013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11474
11475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11476 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11477 Silvermont.
11478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11479 macro.
11480 (index_Slow_SSE4_2): Likewise.
11481 (index_Prefer_PMINUB_for_stringop): Likewise.
11482 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11483 bit_Slow_SSE4_2 is set.
11484 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11485 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11486
89cd9569
RA
114872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11488
11489 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11490 rtld_global._dl_hwcap2.
11491 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11492 POWER8.
11493 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11494 POWER8 feature descriptions defined in _dl_hwcap2.
11495 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11496 string handling for POWER8 feature bits.
11497 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11498 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11499 _dl_powerpc_cap_flags.
11500 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11501 * sysdeps/powerpc/rtld-global-offsets.sym
11502 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11503 _dl_hwcap2 in the rtld_global_ro structure.
11504
1ae8bfe0
RA
115052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11506
11507 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11508 hardware capabilities in support of AT_HWCAP2.
11509 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11510 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11511 GLRO(dl_hwcap2).
11512 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11513 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11514 explicitly the unknown a_type display mechanism is used.
11515 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11516 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11517 struct member.
11518 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11519 to macro prototype for AT_HWCAP2 support.
11520 * sysdeps/i386/dl-procinfo.h: Likewise.
11521 * sysdeps/s390/dl-procinfo.h: Likewise.
11522 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11523 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11524 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11525 return -1 for unknown a_type display fallback.
11526 * sysdeps/sparc/dl-procinfo.h: Likewise.
11527 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11528 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11529
8fbec010
JM
115302013-06-28 Joseph Myers <joseph@codesourcery.com>
11531
11532 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11533 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11534
0432680e
PY
115352013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11536
11537 [BZ #12492]
11538 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11539 mprotect making __stack_prot writable.
11540
ce61a2ad
NF
115412013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11542 Joseph Myers <joseph@codesourcery.com>
11543
11544 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11545 as being properly aligned.
11546
f91f1c0f
MR
115472013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11548
3d0f5d0c
MR
11549 * dlfcn/modstatic5.c: New file.
11550 * dlfcn/tststatic5.c: New file.
11551 * dlfcn/Makefile (tests): Add tststatic5.
11552 (tests-static): Likewise.
11553 (modules-names): Add modstatic5.
11554 (tststatic5-ENV): New variable.
11555 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11556
f91f1c0f
MR
11557 [BZ #15022]
11558 * elf/dl-support.c (_dl_main_map): New variable.
11559 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11560 (_dl_nns, _dl_load_adds): Set to 1.
11561 (_dl_initial_searchlist): Refer to _dl_main_map.
11562 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11563 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11564 call to _dl_get_origin.
11565 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11566 around call_map.
11567 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11568 * dlfcn/modstatic3.c: New file.
11569 * dlfcn/tststatic3.c: New file.
11570 * dlfcn/tststatic4.c: New file.
11571 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11572 (tests-static): Likewise.
11573 (modules-names): Add modstatic3.
11574 (tststatic3-ENV, tststatic4-ENV): New variables.
11575 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11576 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11577
cbe7d24b
JM
115782013-06-26 Joseph Myers <joseph@codesourcery.com>
11579
11580 * configure.in (CC): Require GCC version 4.4 or later.
11581 * configure: Regenerated.
11582 * manual/install.texi (Tools for Compilation): Update GCC version
11583 requirement.
11584 * INSTALL: Regenerated.
11585
11b8a0e1
LD
115862013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11587
11588 [BZ #15674]
bb5bb87c
L
11589 * string/test-memcmp.c (check2): New.
11590 (main): Call check2.
11591
11b8a0e1
LD
11592 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11593
b0037103
MR
115942013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11595
11596 [BZ #15022]
11597 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11598 over to...
11599 (dl_open_worker) [!SHARED]: ... here.
11600
c18c701d
RA
116012013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11602
11603 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11604
1d17fa5f
RH
116052013-06-25 Richard Henderson <rth@redhat.com>
11606
11607 * locale/programs/locarchive.c: Include <libc-internal.h>
11608
8fcb833a
JM
116092013-06-25 Joseph Myers <joseph@codesourcery.com>
11610
11611 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11612 trailing whitespace removed.
11613
17db6e8d
MF
116142013-06-24 Mike Frysinger <vapier@gentoo.org>
11615
11616 [BZ #10283]
17db6e8d
MF
11617 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11618 * locale/programs/locarchive.c: Include libc-mmap.h.
11619 (prepare_address_space): Take two new outputs (the mmap base and len).
11620 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11621 values.
11622 (create_archive): Declare new mmap base and len values for
11623 prepare_address_space, and store the result in ah.
11624 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11625 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11626 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11627 Declare new mmap base and len values for
11628 prepare_address_space, and store the result in new_ah.
11629 (open_archive): Declare new mmap base and len values for
11630 prepare_address_space, and store the result in ah.
11631 (close_archive): If ah->mmap_base is not NULL, use that and
11632 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11633 * sysdeps/generic/libc-mmap.h: New file.
11634
d605071e
MF
116352013-06-24 Mike Frysinger <vapier@gentoo.org>
11636
11637 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11638 (ALIGN_UP): Likewise.
11639 (PTR_ALIGN_DOWN): Likewise.
11640 (PTR_ALIGN_UP): Likewise.
11641
2f063a6e
RA
116422013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11643
11644 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11645 entry mapped to PPC_PLATFORM_POWER8.
11646 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11647 POWER8.
11648 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11649 (_dl_string_platform): Add case for exporting platform position for
11650 POWER8.
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11652 search path to sysdeps/powerpc/powerpc32/power8 directory.
11653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11654 search path to sysdeps/powerpc/powerpc64/power8 directory.
11655 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11656 power7 directories.
11657 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11658 power7 directories.
11659
a31ee4b3
SP
116602013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11661
a74ca98f
SP
11662 * INSTALL: Regenerate.
11663
a31ee4b3
SP
11664 * nscd/connections.c (nscd_init): Fix comment.
11665
695c378f
JM
116662013-06-22 Joseph Myers <joseph@codesourcery.com>
11667
d8412221
JM
11668 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11669
695c378f
JM
11670 [BZ #15667]
11671 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11672 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11673
d1d54715
MR
116742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11675
11676 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11677 DL_DST_REQ_STATIC.
11678 (DL_DST_REQ_STATIC): Remove macro.
11679
8fdda7af
JM
116802013-06-21 Joseph Myers <joseph@codesourcery.com>
11681
11682 [BZ #7006]
11683 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11684 with a shift of 0 bits.
11685
f3bc5e5a
MR
116862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11687
11688 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11689 $(tststatic-ENV).
11690
be09e8c9
KK
116912013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11692
11693 [BZ #15655]
11694 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11695
85c2e611
AZ
116962013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11697
11698 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11699 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11700 accepts -fno-tree-loop-distribute-patterns.
11701 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11702 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11703 recursive call.
11704 * string/memset.c (memset): Likewise.
11705 * string/test-memmove.c (simple_memmove): Disable loop transformation
11706 to library calls.
11707 * string/test-memset.c (simple_memset): Likewise.
11708 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11709 * benchtests/bench-memset.c (simple_memset): Likewise.
11710 * configure: Regenerated.
11711
c91e0825
JM
117122013-06-20 Joseph Myers <joseph@codesourcery.com>
11713
b8c792af
JM
11714 * math/test-misc.c (main): Ignore fesetround failure when failures
11715 of subsequent rounding tests would be ignored.
11716
c91e0825
JM
11717 [BZ #15654]
11718 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11719 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11720 * math/fegetenv.c (__fegetenv): Return 0.
11721 * math/fegetexcept.c (fegetexcept): Return 0.
11722 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11723 FE_TONEAREST.
11724 * math/feholdexcpt.c (feholdexcept): Return 0.
11725 * math/fesetenv.c (__fesetenv): Return 0.
11726 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11727 argument FE_TONEAREST.
11728 * math/feupdateenv.c (__feupdateenv): Return 0.
11729 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11730
bfcacbde
RM
117312013-06-18 Roland McGrath <roland@hack.frob.com>
11732
11733 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11734 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11735 ($(objpfx)rtld-%.os rules): Use them.
11736
e55a9b25
AZ
117372013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11738
11739 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11740 fields.
11741
346d65b3
RM
117422013-06-17 Roland McGrath <roland@hack.frob.com>
11743
12086fb4
RM
11744 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11745 length of target pattern, then descending length of dependency pattern.
11746 * configure.in (AWK): Require gawk 3.1.2 or newer.
11747 * manual/install.texi (Tools for Compilation): Say that we do.
11748 * configure: Regenerated.
11749
346d65b3
RM
11750 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11751 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11752 * scripts/sysd-rules.awk: ... this new script.
11753 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11754 than a glob-style pattern.
11755
1a846317
JM
117562013-06-17 Joseph Myers <joseph@codesourcery.com>
11757
11758 * math/test-misc.c (main): Do not treat incorrectly rounded
11759 conversions as failure unless ROUNDING_TESTS passes.
11760
8fc75e6f
JM
117612013-06-15 Joseph Myers <joseph@codesourcery.com>
11762
3711a167
JM
11763 [BZ #15631]
11764 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11765 restore exception state around main square root computation, then
11766 check for inexactness explicitly.
11767
8fc75e6f
JM
11768 * math/libm-test.inc (fma_test_data): Add another test.
11769
61dd6208
SP
117702013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11771
adf23d2c
SP
11772 * manual/threads.texi (Non-POSIX Extensions): New document
11773 node. Document pthread_getattr_default_np and
11774 pthread_setattr_default_np.
11775
61dd6208
SP
11776 * Versions.def (libpthread): Add GLIBC_2.18.
11777 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11779 Likewise.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11781 Likewise.
11782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11783 Likewise.
11784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11785 Likewise.
11786 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11787 Likewise.
11788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11789 Likewise.
11790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11791 Likewise.
11792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11793 Likewise.
11794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11795 Likewise.
11796
d086fc7b
LD
117972013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11798
11799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11800 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11801
747ef469
SP
118022013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11803 H.J. Lu <hjl.tools@gmail.com>
11804
11805 [BZ #15627]
11806 * sysdeps/x86_64/rtld-memset.c: Remove file.
11807 * sysdeps/x86_64/rtld-memset.S: New file.
11808
1b2feed2
JM
118092013-06-14 Joseph Myers <joseph@codesourcery.com>
11810
11811 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11812 (test_in_one_mode): Take arguments for whether the rounding mode
11813 is supported for each floating-point type.
11814 (do_test): Pass new arguments to test_in_one_mode using
11815 ROUNDING_TESTS.
11816
a58ad3f8
RM
118172013-06-13 Roland McGrath <roland@hack.frob.com>
11818
11819 * posix/tst-waitid.c (do_test): Distinguish different instances of
11820 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11821 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11822 before entering the kernel for waitpid.
11823
c204ab28
SP
118242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11825
11826 * NEWS: Fix note on clock function precision. Text by Roland
11827 McGrath.
11828
f4a29fba
RM
118292013-06-13 Roland McGrath <roland@hack.frob.com>
11830
11831 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11832 it into place only when and if the sanity check passes.
11833
1f24b9ad
JM
118342013-06-13 Joseph Myers <joseph@codesourcery.com>
11835
11836 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11837 output for whether conversion result is exact. Take argument
11838 indicating whether type is IBM long double.
11839 (round_for_all): Change need_exact field to ibm_ld.
11840 * stdlib/tst-strtod-round.c (struct exactness): New type.
11841 (struct test): Change bool ld_ok field to struct exactness exact.
11842 (TEST): Update all definitions for change to field.
11843 (tests): Regenerate array contents.
11844 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11845 field value. Check for IBM long double here.
11846 (do_test): Update calls to test_in_one_mode.
11847
58206c68
SP
118482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11849
11850 [BZ #12515]
11851 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11852 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11853
2d6f4c5b 118542013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11855
11856 [BZ #15605]
11857 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11858 generated by the compiler on loop optimizations.
11859 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11860 general definitions.
11861
94f2c076
JM
118622013-06-12 Joseph Myers <joseph@codesourcery.com>
11863
11864 * math/bug-nextafter.c: Include <math-tests.h>.
11865 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11866 the relevant type.
11867 * math/bug-nexttoward.c: Include <math-tests.h>.
11868 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11869 the relevant type.
11870 * math/test-misc.c: Include <math-tests.h>.
11871 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11872 the relevant type.
11873
e0e50a0a
AJ
118742013-06-12 Andreas Jaeger <aj@suse.de>
11875
11876 * po/ia.po: Update Interlingua translation from translation
11877 project.
11878
25061094
SP
118792013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11880
11881 * include/fenv.h: Include stdbool.h.
11882 (struct rm_ctx): New structure.
11883 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11884 Define macro.
11885 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11886 (SET_RESTORE_ROUNDF): Likewise.
11887 (SET_RESTORE_ROUNDL): Likewise.
11888 (SET_RESTORE_ROUND_NOEX): Likewise.
11889 (SET_RESTORE_ROUND_NOEXF): Likewise.
11890 (SET_RESTORE_ROUND_NOEXL): Likewise.
11891 (SET_RESTORE_ROUND_53BIT): Likewise.
11892 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11893 (libc_feresetround_noexf_ctx): Likewise.
11894 (libc_feresetround_noexl_ctx): Likewise.
11895 (libc_feholdsetround_53bit_ctx): Likewise.
11896 (libc_feresetround_53bit_ctx): Likewise.
11897 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11898 (libc_feholdexcept_setround_sse_ctx): New function.
11899 (libc_fesetenv_sse_ctx): Likewise.
11900 (libc_feupdateenv_sse_ctx): Likewise.
11901 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11902 (libc_feholdexcept_setround_387_ctx): Likewise.
11903 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11904 (libc_feholdsetround_387_prec_ctx): Likewise.
11905 (libc_feholdsetround_387_ctx): Likewise.
11906 (libc_feholdsetround_387_53bit_ctx): Likewise.
11907 (libc_feholdsetround_sse_ctx): Likewise.
11908 (libc_feresetround_sse_ctx): Likewise.
11909 (libc_feresetround_387_ctx): Likewise.
11910 (libc_feupdateenv_387_ctx): Likewise.
11911 (libc_feholdexcept_setroundf_ctx): Define macro.
11912 (libc_fesetenvf_ctx): Likewise.
11913 (libc_feupdateenvf_ctx): Likewise.
11914 (libc_feholdsetroundf_ctx): Likewise.
11915 (libc_feresetroundf_ctx): Likewise.
11916 (libc_feholdexcept_setround_ctx): Likewise.
11917 (libc_fesetenv_ctx): Likewise.
11918 (libc_feupdateenv_ctx): Likewise.
11919 (libc_feholdsetround_ctx): Likewise.
11920 (libc_feresetround_ctx): Likewise.
11921 (libc_feholdexcept_setroundl_ctx): Likewise.
11922 (libc_feupdateenvl_ctx): Likewise.
11923 (libc_feholdsetroundl_ctx): Likewise.
11924 (libc_feresetroundl_ctx): Likewise.
11925 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11926 (libc_feresetround_53bit_ctx): Likewise.
11927
59b30555
SP
119282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11929
11930 * locale/iso-639.def: Convert to UTF-8.
11931
f1d73d30
JM
119322013-06-11 Joseph Myers <joseph@codesourcery.com>
11933
11934 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11935 (EXCEPTION_TESTS_double): Likewise.
11936 (EXCEPTION_TESTS_long_double): Likewise.
11937 (EXCEPTION_TESTS): Likewise.
11938 * math/libm-test.inc (test_exceptions): Only test exceptions if
11939 EXCEPTION_TESTS (FLOAT).
11940
94aca5e7
SP
119412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11942
11943 * benchtests/Makefile (string-bench): Add strcpy_chk and
11944 stpcpy_chk.
11945 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11946 * benchtests/bench-stpcpy_chk.c: New file.
11947 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11948 * benchtests/bench-strcpy_chk.c: New file.
11949 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11950 code.
11951 (do_test): Likewise.
11952
fac0c5f2
RA
119532013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11954
11955 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11956 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11957 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11958 with tabs where appropriate.
11959 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11960 dl-procinfo.h.
11961 [PPC_PLATFORM_PPC440]: Likewise.
11962 [PPC_PLATFORM_PPC464]: Likewise.
11963 [PPC_PLATFORM_PPC476]: Likewise.
11964 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11965 ppc464, and ppc476 platform strings merging from ports/
11966 dl-procinfo.h.
11967
f22bc486
AS
119682013-06-11 Andreas Schwab <schwab@suse.de>
11969
11970 [BZ #14991]
11971 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11972 (from_ucs4_idx): Regenerate.
11973 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11974 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11975 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11976 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11977 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11978 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11979 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11980 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11981 from FROM_LOOP and TO_LOOP specific macros.
11982 (BODY): Handle combining characters.
11983 * iconvdata/BIG5HKSCS.irreversible: Update.
11984 * iconvdata/BIG5HKSCS.precomposed: New file.
11985 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11986 characters.
11987 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11988
c1f75dc3
SP
119892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11990
4eacded2
SP
11991 * include/sys/time.h: Fix indentation and add copyright header.
11992
fec799f8
SP
11993 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11994 (do_test): Likewise.
11995 * string/test-memchr.c (do_one_test): Likewise.
11996 (do_test): Likewise.
11997 * string/test-memcmp.c (do_one_test): Likewise.
11998 (do_test): Likewise.
11999 * string/test-memcpy.c (do_one_test): Likewise.
12000 (do_test): Likewise.
12001 * string/test-memmem.c (do_one_test): Likewise.
12002 (do_test): Likewise.
12003 (do_random_tests): Likewise.
12004 * string/test-memmove.c (do_one_test): Likewise.
12005 (do_test): Likewise.
12006 * string/test-memset.c (do_one_test): Likewise.
12007 (do_test): Likewise.
12008 * string/test-rawmemchr.c (do_one_test): Likewise.
12009 (do_test): Likewise.
12010 * string/test-strcasecmp.c (do_one_test): Likewise.
12011 (do_test): Likewise.
12012 * string/test-strcasestr.c (do_one_test): Likewise.
12013 (do_test): Likewise.
12014 * string/test-strcat.c (do_one_test): Likewise.
12015 (do_test): Likewise.
12016 * string/test-strchr.c (do_one_test): Likewise.
12017 (do_test): Likewise.
12018 * string/test-strcmp.c (do_one_test): Likewise.
12019 (do_test): Likewise.
12020 * string/test-strcpy.c (do_one_test): Likewise.
12021 (do_test): Likewise.
12022 * string/test-string.h: Likewise.
12023 (test_init): Likewise.
12024 * string/test-strlen.c (do_one_test): Likewise.
12025 (do_test): Likewise.
12026 * string/test-strncasecmp.c (do_one_test): Likewise.
12027 (do_test): Likewise.
12028 * string/test-strncat.c (do_one_test): Likewise.
12029 (do_test): Likewise.
12030 * string/test-strncmp.c (do_one_test): Likewise.
12031 (do_test_limit): Likewise.
12032 (do_test): Likewise.
12033 * string/test-strncpy.c (do_one_test): Likewise.
12034 (do_test): Likewise.
12035 * string/test-strnlen.c (do_one_test): Likewise.
12036 (do_test): Likewise.
12037 * string/test-strpbrk.c (do_one_test): Likewise.
12038 (do_test): Likewise.
12039 * string/test-strrchr.c (do_one_test): Likewise.
12040 (do_test): Likewise.
12041 * string/test-strspn.c (do_one_test): Likewise.
12042 (do_test): Likewise.
12043 * string/test-strstr.c (do_one_test): Likewise.
12044 (do_test): Likewise.
12045
97020474
SP
12046 * benchtests/Makefile (string-bench): Add string benchmarks.
12047 * benchtests/bench-bcopy-ifunc.c: New file.
12048 * benchtests/bench-bcopy.c: New file.
12049 * benchtests/bench-bzero-ifunc.c: New file.
12050 * benchtests/bench-bzero.c: New file.
12051 * benchtests/bench-memccpy-ifunc.c: New file.
12052 * benchtests/bench-memccpy.c: New file.
12053 * benchtests/bench-memchr-ifunc.c: New file.
12054 * benchtests/bench-memchr.c: New file.
12055 * benchtests/bench-memcmp-ifunc.c: New file.
12056 * benchtests/bench-memcmp.c: New file.
12057 * benchtests/bench-memmem-ifunc.c: New file.
12058 * benchtests/bench-memmem.c: New file.
12059 * benchtests/bench-memmove-ifunc.c: New file.
12060 * benchtests/bench-memmove.c: New file.
12061 * benchtests/bench-mempcpy-ifunc.c: New file.
12062 * benchtests/bench-mempcpy.c: New file.
12063 * benchtests/bench-memset-ifunc.c: New file.
12064 * benchtests/bench-memset.c: New file.
12065 * benchtests/bench-rawmemchr-ifunc.c: New file.
12066 * benchtests/bench-rawmemchr.c: New file.
12067 * benchtests/bench-stpcpy-ifunc.c: New file.
12068 * benchtests/bench-stpcpy.c: New file.
12069 * benchtests/bench-stpncpy-ifunc.c: New file.
12070 * benchtests/bench-stpncpy.c: New file.
12071 * benchtests/bench-strcasecmp-ifunc.c: New file.
12072 * benchtests/bench-strcasecmp.c: New file.
12073 * benchtests/bench-strcasestr-ifunc.c: New file.
12074 * benchtests/bench-strcasestr.c: New file.
12075 * benchtests/bench-strcat-ifunc.c: New file.
12076 * benchtests/bench-strcat.c: New file.
12077 * benchtests/bench-strchr-ifunc.c: New file.
12078 * benchtests/bench-strchr.c: New file.
12079 * benchtests/bench-strchrnul-ifunc.c: New file.
12080 * benchtests/bench-strchrnul.c: New file.
12081 * benchtests/bench-strcmp-ifunc.c: New file.
12082 * benchtests/bench-strcmp.c: New file.
12083 * benchtests/bench-strcpy-ifunc.c: New file.
12084 * benchtests/bench-strcpy.c: New file.
12085 * benchtests/bench-strcspn-ifunc.c: New file.
12086 * benchtests/bench-strcspn.c: New file.
12087 * benchtests/bench-strlen-ifunc.c: New file.
12088 * benchtests/bench-strlen.c: New file.
12089 * benchtests/bench-strncasecmp-ifunc.c: New file.
12090 * benchtests/bench-strncasecmp.c: New file.
12091 * benchtests/bench-strncat-ifunc.c: New file.
12092 * benchtests/bench-strncat.c: New file.
12093 * benchtests/bench-strncmp-ifunc.c: New file.
12094 * benchtests/bench-strncmp.c: New file.
12095 * benchtests/bench-strncpy-ifunc.c: New file.
12096 * benchtests/bench-strncpy.c: New file.
12097 * benchtests/bench-strnlen-ifunc.c: New file.
12098 * benchtests/bench-strnlen.c: New file.
12099 * benchtests/bench-strpbrk-ifunc.c: New file.
12100 * benchtests/bench-strpbrk.c: New file.
12101 * benchtests/bench-strrchr-ifunc.c: New file.
12102 * benchtests/bench-strrchr.c: New file.
12103 * benchtests/bench-strspn-ifunc.c: New file.
12104 * benchtests/bench-strspn.c: New file.
12105 * benchtests/bench-strstr-ifunc.c: New file.
12106 * benchtests/bench-strstr.c: New file.
12107
c1f75dc3
SP
12108 * benchtests/Makefile: Disable parallel execution of targets.
12109 (string-bench): Add memcpy.
12110 (benchset): New variable to store a list of benchmark sets.
12111 (bench-func): Renamed from bench.
12112 (bench-set): New target.
12113 (bench): Depend on bench-func and bench-set.
12114 * benchtests/README: Add section on benchmark sets.
12115 * benchtests/bench-memcpy-ifunc.c: New file.
12116 * benchtests/bench-memcpy.c: New file.
12117 * benchtests/bench-string.h: New file.
12118
50fd745b
AS
121192013-06-11 Andreas Schwab <schwab@suse.de>
12120
12121 [BZ #15577]
12122 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12123 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12124 values in the triple.
12125 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12126 terminator in the group key.
12127
3ee7e9fe
AJ
121282013-06-11 Andreas Jaeger <aj@suse.de>
12129
12130 * po/zh_TW.po: Update Chinese (traditional) translation from
12131 translation project.
12132
89fb6835
SP
121332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12134
12135 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12136 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12137 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12138 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12139 (clock_getcpuclockid): Likewise.
12140 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12141 Add weak_alias and libc_hidden_def.
12142 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12143 * rt/clock_gettime.c (clock_gettime): Rename to
12144 __clock_gettime. Add weak_alias and libc_hidden_def.
12145 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12146 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12147 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12148 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12149 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12150 Likewise.
12151 * rt/clock_settime.c (clock_settime): Rename to
12152 __clock_settime. Add weak_alias and libc_hidden_def.
12153 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12154
0efa6f8b
JM
121552013-06-10 Joseph Myers <joseph@codesourcery.com>
12156
b8c61b4b
JM
12157 * mach/err_boot.sub: Remove trailing whitespace.
12158 * mach/err_ipc.sub: Likewise.
12159 * mach/err_mach.sub: Likewise.
12160
0efa6f8b
JM
12161 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12162 (ROUNDING_TESTS_double): Likewise.
12163 (ROUNDING_TESTS_long_double): Likewise.
12164 (ROUNDING_TESTS): Likewise.
12165 * math/libm-test.inc: Include <math-tests.h>.
12166 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12167 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12168 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12169 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12170
50b818bf
SP
121712013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12172
12173 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12174 of assigning.
12175
60d2f8f3
JM
121762013-06-08 Joseph Myers <joseph@codesourcery.com>
12177
4902d2c3
JM
12178 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12179 otherwise empty TRANS lines.
12180 * sysdeps/gnu/errlist.c: Regenerated.
12181
60d2f8f3
JM
12182 * catgets/gencat.c (error_print): Use (void) in function
12183 definition.
12184 * crypt/crypt_util.c (__init_des): Likewise.
12185 * crypt/speeds.c (Stop): Likewise.
12186 (main): Likewise.
12187 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12188 * inet/ruserpass.c (token): Likewise.
12189 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12190 * intl/localealias.c (extend_alias_table): Likewise.
12191 * intl/plural-exp.c (init_germanic_plural): Likewise.
12192 * libio/fcloseall.c (__fcloseall): Likewise.
12193 * libio/genops.c (_IO_flush_all): Likewise.
12194 (_IO_flush_all_linebuffered): Likewise.
12195 (_IO_cleanup): Likewise.
12196 (_IO_iter_begin): Likewise.
12197 (_IO_iter_end): Likewise.
12198 (_IO_list_lock): Likewise.
12199 (_IO_list_unlock): Likewise.
12200 (_IO_list_resetlock): Likewise.
12201 * libio/getchar.c (getchar): Likewise.
12202 * libio/getchar_u.c (getchar_unlocked): Likewise.
12203 * libio/getwchar.c (getwchar): Likewise.
12204 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12205 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12206 * login/getpt.c (__getpt): Likewise.
12207 * login/tst-utmp.c (main): Likewise.
12208 * malloc/hooks.c (__malloc_check_init): Likewise.
12209 * malloc/malloc.c (__malloc_stats): Likewise.
12210 * malloc/mtrace.c (tr_break): Likewise.
12211 (mtrace): Likewise.
12212 (muntrace): Likewise.
12213 * misc/fstab.c (endfsent): Likewise.
12214 * misc/getclktck.c (__getclktck): Likewise.
12215 * misc/getdtsz.c (__getdtablesize): Likewise.
12216 * misc/gethostid.c (gethostid): Likewise.
12217 * misc/getpagesize.c (__getpagesize): Likewise.
12218 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12219 (__get_nprocs): Likewise.
12220 (__get_phys_pages): Likewise.
12221 (__get_avphys_pages): Likewise.
12222 * misc/getttyent.c (getttyent): Likewise.
12223 (setttyent): Likewise.
12224 (endttyent): Likewise.
12225 * misc/getusershell.c (getusershell): Likewise.
12226 (endusershell): Likewise.
12227 (setusershell): Likewise.
12228 (initshells): Likewise.
12229 * misc/hsearch.c (__hdestroy): Likewise.
12230 * misc/sync.c (sync): Likewise.
12231 * misc/syslog.c (closelog_internal): Likewise.
12232 (closelog): Likewise.
12233 * misc/ttyslot.c (ttyslot): Likewise.
12234 * misc/vhangup.c (vhangup): Likewise.
12235 * posix/fork.c (__fork): Likewise.
12236 * posix/getegid.c (__getegid): Likewise.
12237 * posix/geteuid.c (__geteuid): Likewise.
12238 * posix/getgid.c (__getgid): Likewise.
12239 * posix/getpid.c (__getpid): Likewise.
12240 * posix/getppid.c (__getppid): Likewise.
12241 * posix/getuid.c (__getuid): Likewise.
12242 * posix/pause.c (pause): Likewise.
12243 * posix/setpgrp.c (setpgrp): Likewise.
12244 * posix/setsid.c (__setsid): Likewise.
12245 * posix/test-vfork.c (noop): Likewise.
12246 * resolv/gethnamaddr.c (_endhtent): Likewise.
12247 (_gethtent): Likewise.
12248 (ht_endhostent): Likewise.
12249 (gethostent): Likewise.
12250 (dns_service): Likewise.
12251 * stdlib/drand48.c (drand48): Likewise.
12252 * stdlib/lrand48.c (lrand48): Likewise.
12253 * stdlib/mrand48.c (mrand48): Likewise.
12254 * stdlib/rand.c (rand): Likewise.
12255 * stdlib/random.c (__random): Likewise.
12256 * stdlib/setenv.c (clearenv): Likewise.
12257 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12258 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12259 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12260 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12261 (__get_nprocs): Likewise.
12262 (__get_phys_pages): Likewise.
12263 (__get_avphys_pages): Likewise.
12264 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12265 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12266 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12267 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12268 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12269 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12270 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12271 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12272 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12273 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12274 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12275 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12276 * sysdeps/posix/clock.c (clock): Likewise.
12277 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12278 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12279 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12280 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12281 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12283 (__get_nprocs_conf): Likewise.
12284 (__get_phys_pages): Likewise.
12285 (__get_avphys_pages): Likewise.
12286 * time/clock.c (clock): Likewise.
12287 * time/tzset.c (__tzname_max): Likewise.
12288
2e09a79a
JM
122892013-06-07 Joseph Myers <joseph@codesourcery.com>
12290
12291 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12292 (__bswap_32): Do not use "register".
12293 * crypt/crypt.c (_ufc_doit_r): Likewise.
12294 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12295 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12296 * gmon/gmon.c (__monstartup): Likewise.
12297 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12298 * hurd/hurdmalloc.c (more_memory): Likewise.
12299 (malloc): Likewise.
12300 (free): Likewise.
12301 (realloc): Likewise.
12302 (malloc_fork_prepare): Likewise.
12303 (malloc_fork_parent): Likewise.
12304 (malloc_fork_child): Likewise.
12305 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12306 (_svcauth_des): Likewise.
12307 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12308 * inet/inet_net.c (inet_network): Likewise.
12309 * inet/inet_netof.c (inet_netof): Likewise.
12310 * inet/rcmd.c (__validuser2_sa): Likewise.
12311 * io/fts.c (fts_open): Likewise.
12312 (fts_load): Likewise.
12313 (fts_close): Likewise.
12314 (fts_read): Likewise.
12315 (fts_children): Likewise.
12316 (fts_build): Likewise.
12317 (fts_stat): Likewise.
12318 (fts_sort): Likewise.
12319 (fts_alloc): Likewise.
12320 (fts_lfree): Likewise.
12321 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12322 (_IO_file_xsgetn): Likewise.
12323 (_IO_file_xsgetn_mmap): Likewise.
12324 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12325 (_IO_cookie_write): Likewise.
12326 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12327 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12328 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12329 * malloc/obstack.c (_obstack_begin): Likewise.
12330 (_obstack_begin_1): Likewise.
12331 (_obstack_newchunk): Likewise.
12332 (_obstack_allocated_p): Likewise.
12333 (obstack_free): Likewise.
12334 (_obstack_memory_used): Likewise.
12335 * misc/getttyent.c (getttynam): Likewise.
12336 (getttyent): Likewise.
12337 (skip): Likewise.
12338 (value): Likewise.
12339 * misc/getusershell.c (initshells): Likewise.
12340 * misc/syslog.c (__vsyslog_chk): Likewise.
12341 * misc/ttyslot.c (ttyslot): Likewise.
12342 * nis/nis_hash.c (__nis_hash): Likewise.
12343 * posix/fnmatch_loop.c (FCT): Likewise.
12344 * posix/getconf.c (print_all): Likewise.
12345 (main): Likewise.
12346 * posix/getopt.c (exchange): Likewise.
12347 * posix/glob.c (globfree): Likewise.
12348 (prefix_array): Likewise.
12349 (__glob_pattern_type): Likewise.
12350 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12351 (NS_GET32): Likewise.
12352 (NS_PUT16): Likewise.
12353 (NS_PUT32): Likewise.
12354 * resolv/gethnamaddr.c (getanswer): Likewise.
12355 (gethostbyname2): Likewise.
12356 (gethostbyaddr): Likewise.
12357 (_gethtent): Likewise.
12358 (_gethtbyname2): Likewise.
12359 (_gethtbyaddr): Likewise.
12360 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12361 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12362 * resolv/res_init.c (__res_vinit): Likewise.
12363 (net_mask): Likewise.
12364 * resolv/res_mkquery.c (outchar): Likewise.
12365 (PRINT): Likewise.
12366 * stdio-common/printf_fp.c (outchar): Likewise.
12367 (PRINT): Likewise.
12368 * stdio-common/printf_fphex.c (outchar): Likewise.
12369 (PRINT): Likewise.
12370 * stdio-common/printf_size.c (outchar): Likewise.
12371 (PRINT): Likewise.
12372 * stdio-common/test_rdwr.c (main): Likewise.
12373 * stdio-common/tfformat.c (matches): Likewise.
12374 * stdio-common/vfprintf.c (outchar): Likewise.
12375 (printf_unknown): Likewise.
12376 (buffered_vfprintf): Likewise.
12377 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12378 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12379 (ReadFile): Likewise.
12380 * stdlib/qsort.c (SWAP): Likewise.
12381 (_quicksort): Likewise.
12382 * stdlib/setenv.c (__add_to_environ): Likewise.
12383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12384 * stdlib/strtol_l.c (__strtol_l): Likewise.
12385 * stdlib/tst-strtod.c (main): Likewise.
12386 * stdlib/tst-strtol.c (main): Likewise.
12387 * stdlib/tst-strtoll.c (main): Likewise.
12388 * string/bits/string2.h (__strcmp_cc): Likewise.
12389 (__strcmp_cg): Likewise.
12390 (__strcspn_c1): Likewise.
12391 (__strcspn_c2): Likewise.
12392 (__strcspn_c3): Likewise.
12393 (__strspn_c1): Likewise.
12394 (__strspn_c2): Likewise.
12395 (__strspn_c3): Likewise.
12396 (__strsep_1c): Likewise.
12397 (__strsep_2c): Likewise.
12398 (__strsep_3c): Likewise.
12399 * string/memccpy.c (__memccpy): Likewise.
12400 * string/stpcpy.c (__stpcpy): Likewise.
12401 * string/strcmp.c (strcmp): Likewise.
12402 * string/strrchr.c (strrchr): Likewise.
12403 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12404 Likewise.
12405 * sysdeps/mach/hurd/getcwd.c
12406 (_hurd_canonicalize_directory_name_internal): Likewise.
12407 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12408 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12409 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12410 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12411 Likewise, in both definitions.
12412 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12413 definitions.
12414 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12415 64] (__bswap_64): Likewise.
12416 * time/test_time.c (main): Likewise.
12417 * time/tzfile.c (__tzfile_read): Likewise.
12418 (__tzfile_compute): Likewise.
12419 * time/tzset.c (__tzset_parse_tz): Likewise.
12420 (tzset_internal): Likewise.
12421 (compute_change): Likewise.
12422 * wcsmbs/wcscat.c (__wcscat): Likewise.
12423 * wcsmbs/wcschr.c (wcschr): Likewise.
12424 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12425 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12426 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12427 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12428 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12429 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12430 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12431 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12432 * wcsmbs/wmemset.c (wmemset): Likewise.
12433
9e54314b
JM
124342013-06-06 Joseph Myers <joseph@codesourcery.com>
12435
12436 * scripts/config.guess: Update to version 2013-05-16.
12437 * scripts/config.sub: Update to version 2013-04-24.
12438 * scripts/install-sh: Update to version 2011-11-20.07.
12439 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12440 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12441
350635a5
OB
124422013-06-06 Ondřej Bílka <neleai@seznam.cz>
12443
12444 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12445 * elf/sln.c: Likewise.
12446 * hurd/hurd/ioctl.h: Likewise.
12447 * hurd/hurdmalloc.c: Likewise.
12448 * hurd/xattr.c: Likewise.
12449 * include/shlib-compat.h: Likewise.
12450 * inet/ruserpass.c: Likewise.
12451 * libio/iofgets_u.c: Likewise.
12452 * libio/iofgetws_u.c: Likewise.
12453 * locale/programs/ld-identification.c: Likewise.
12454 * locale/programs/ld-time.c: Likewise.
12455 * mach/msg-destroy.c: Likewise.
12456 * nss/nss_files/files-netgrp.c: Likewise.
12457 * resolv/res_data.c: Likewise.
12458 * soft-fp/op-1.h: Likewise.
12459 * soft-fp/op-2.h: Likewise.
12460 * soft-fp/op-4.h: Likewise.
12461 * soft-fp/op-common.h: Likewise.
12462 * stdio-common/printf_fphex.c: Likewise.
12463 * stdlib/strtod_l.c: Likewise.
12464 * sunrpc/rpc/clnt.h: Likewise.
12465 * sysdeps/generic/framestate.c: Likewise.
12466 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12467 * sysdeps/i386/bsd-setjmp.S: Likewise.
12468 * sysdeps/i386/__longjmp.S: Likewise.
12469 * sysdeps/i386/setjmp.S: Likewise.
12470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12471 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12488 * sysdeps/ieee754/support.c: Likewise.
12489 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12490 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12491 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12492 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12493 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12494 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12495 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12496 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12497 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12498 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12499 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12500 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12501 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12502 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12503 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12504 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12505 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12507
44a988af
OB
125082013-06-05 Ondřej Bílka <neleai@seznam.cz>
12509
25506f09 12510 * posix/transbug.c: Remove executable mode.
44a988af 12511
9c84384c
JM
125122013-06-05 Joseph Myers <joseph@codesourcery.com>
12513
12514 * crypt/speeds.c: Remove trailing whitespace.
12515 * dlfcn/default.c: Likewise.
12516 * elf/ifuncdep2.c: Likewise.
12517 * elf/ifuncmain1.c: Likewise.
12518 * elf/ifuncmain1vis.c: Likewise.
12519 * elf/testobj.h: Likewise.
12520 * elf/tst-stackguard1.c: Likewise.
12521 * gmon/sys/gmon.h: Likewise.
12522 * hurd/hurdmsg.c: Likewise.
12523 * hurd/new-fd.c: Likewise.
12524 * hurd/ports-get.c: Likewise.
12525 * iconvdata/ibm1008_420.c: Likewise.
12526 * inet/tst-getni1.c: Likewise.
12527 * inet/tst-getni2.c: Likewise.
12528 * libio/ioungetc.c: Likewise.
12529 * libio/wfiledoalloc.c: Likewise.
12530 * manual/libm-err-tab.pl: Likewise.
12531 * math/w_dremf.c: Likewise.
12532 * misc/ftruncate.c: Likewise.
12533 * posix/bug-glob2.c: Likewise.
12534 * posix/tst-pcre.c: Likewise.
12535 * posix/wait4.c: Likewise.
12536 * resolv/README: Likewise.
12537 * resolv/res_debug.h: Likewise.
12538 * resolv/tst-inet_ntop.c: Likewise.
12539 * setjmp/bug269-setjmp.c: Likewise.
12540 * soft-fp/extended.h: Likewise.
12541 * soft-fp/op-1.h: Likewise.
12542 * soft-fp/op-2.h: Likewise.
12543 * soft-fp/op-4.h: Likewise.
12544 * soft-fp/op-8.h: Likewise.
12545 * soft-fp/testit.c: Likewise.
12546 * stdio-common/bug16.c: Likewise.
12547 * stdlib/random.c: Likewise.
12548 * sunrpc/rpcsvc/rquota.x: Likewise.
12549 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12550 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12551 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12552 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12553 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12554 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12555 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12557 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12558 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12559 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12578 * sysdeps/ieee754/s_lib_version.c: Likewise.
12579 * sysdeps/mach/hurd/check_fds.c: Likewise.
12580 * sysdeps/mach/hurd/getsockname.c: Likewise.
12581 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12582 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12583 * sysdeps/powerpc/bits/link.h: Likewise.
12584 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12585 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12586 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12587 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12588 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12589 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12590 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12591 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12592 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12593 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12594 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12595 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12596 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12597 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12599 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12601 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12602 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12603 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12604 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12605 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12606 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12607 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12608 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12609 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12611 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12612 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12613 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12614 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12615 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12616 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12617 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12618 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12619 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12620 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12621 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12622 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12623 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12624 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12625 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12626 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12628 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12629 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12630 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12631 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12632 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12633 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12636 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12637 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12638 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12639 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12640 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12641 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12642 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12643 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12644 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12645 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12646 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12647 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12648 * sysdeps/powerpc/sysdep.h: Likewise.
12649 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12650 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12651 * sysdeps/sh/dl-trampoline.S: Likewise.
12652 * sysdeps/sh/memset.S: Likewise.
12653 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12654 * sysdeps/sh/strlen.S: Likewise.
12655 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12656 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12657 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12658 * sysdeps/sparc/sparc32/rem.S: Likewise.
12659 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12660 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12661 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12662 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12663 * sysdeps/sparc/sparc32/urem.S: Likewise.
12664 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12665 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12666 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12667 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12668 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12669 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12670 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12671 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12672 * sysdeps/unix/bsd/times.c: Likewise.
12673 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12674 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12678 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12679 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12680 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12682 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12683 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12684 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12685 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12686 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12687 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12688 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12689 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12690 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12691 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12692 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12693 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12694 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12695 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12696 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12697 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12698 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12699 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12700 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12701 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12702 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12703 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12704 * sysdeps/x86_64/strcspn.S: Likewise.
12705
869378a5
RA
127062013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12707
12708 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12709 generated file. Regenerate properly from gen-translit.pl.
12710 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12711 locale/C-translit.h.
12712
840e2943
AS
127132013-06-05 Andreas Schwab <schwab@suse.de>
12714
12715 [BZ #15100]
12716 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12717 week as 6 instead of -1.
12718 * time/tst-strptime.c (day_tests): Add test case.
12719
4c60cb0c
SP
127202013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12721
12722 * sysdeps/generic/math_private.h
12723 (libc_feholdexcept_setround_53bit): Replace with
12724 libc_feholdsetround_53bit.
12725 (libc_feupdateenv_53bit): Replace with
12726 libc_feresetround_53bit.
12727 (SET_RESTORE_ROUND_53BIT): Adjust.
12728
d180203e
SP
127292013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12730
96df079a
SP
12731 * string/test-strchrnul.c: Add copyright header.
12732
d180203e
SP
12733 * posix/tst-getaddrinfo4.c: Increase test timeout.
12734
8b0ccb2d
CD
127352013-06-03 Carlos O'Donell <carlos@redhat.com>
12736
12737 [BZ #15536]
12738 * math/libm-test.inc (MAX_EXP): Remove
12739 (MIN_EXP): Define.
12740 (ulp): Use MIN_EXP - MANT_DIG.
12741 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12742
3b3c4d40
CD
127432013-05-31 Carlos O'Donell <carlos@redhat.com>
12744
12745 * po/be.po: Revert last change.
12746 * po/zh_CN.po: Likewise.
12747 * po/header.pot: Likewise.
12748
fab7ce3f
JM
127492013-05-31 Joseph Myers <joseph@codesourcery.com>
12750
12751 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12752 link-libc-deps to empty as target-specific variable.
12753 * Makerules (link-libc-args): New variable.
12754 (libc-for-link): Likewise.
12755 (link-libc-deps): Likewise.
12756 (lib%.so): Depend on $(link-libc-deps). Link with
12757 $(link-libc-args).
12758 (build-module): Link with $(link-libc-args).
12759 (build-module-asneeded): Likewise.
12760 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12761 list of objects.
12762 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12763 target-specific variable.
12764 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12765 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12766 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12767 libc.
12768 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12769 libc and ld.so.
12770 ($(objpfx)libpcprofile.so): Likewise.
12771 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12772 libc_nonshared.a.
12773 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12774 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12775 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12776 $(link-libc-deps).
12777 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12778 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12779 * login/Makefile ($(objpfx)libutil.so): Likewise.
12780 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12781 * math/Makefile ($(objpfx)libm.so): Likewise.
12782 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12783 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12784 variable instead of depending directly on libc.
12785 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12786 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12787 $(link-libc-deps).
12788 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12789 libc.
12790 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12791 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12792 ($(objpfx)libanl.so): Likewise.
12793 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12794 ld.so.
12795 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12796 $(link-libc-deps).
12797 * sysdeps/i386/fpu/Makefile: Remove file.
12798 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12799 ($(objpfx)libm.so): Remove dependency on ld.so.
12800
eca5920c
PF
128012013-05-30 Patsy Franklin <pfrankli@redhat.com>
12802
12803 [BZ # 15553]
12804 * nis/yp_xdr.c (XDRMAXNAME): Define.
12805 (XDRMAXRECORD): Define.
12806 (xdr_domainname): Use XDRMAXNAME.
12807 (xdr_mapname): Likewise.
12808 (xdr_peername): Likewise.
12809 (xdr_keydat): Use XDRMAXRECORD.
12810 (xdr_valdat): Likewise.
12811
128122013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12813
12814 [BZ #14256]
12815 * manual/errno.texi (ESTALE): Update to account for more than
12816 just NFS file systems.
12817 * sysdeps/gnu/errlist.c: Regenerated.
12818
b9375348
SP
128192013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12820
12821 [BZ #15465]
12822 * elf/Makefile (tests): Add tst-null-argv.
12823 (modules-names): Add tst-null-argv-lib.
12824 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12825 (tst-null-argv-ENV): Set environment for tst-null-argv.
12826 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12827 (RTLD_PROGNAME): New macro.
12828 * elf/tst-null-argv.c: New test case.
12829 * elf/tst-null-argv-lib.c: Library for test case.
12830 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12831 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12832 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12833 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12834 * elf/dl-init.c (call_init): Likewise.
12835 (_dl_init): Likewise.
12836 * elf/dl-load.c (print_search_path): Likewise.
12837 (_dl_map_object): Likewise.
12838 * elf/dl-lookup.c (do_lookup_x): Likewise.
12839 (add_dependency): Likewise.
12840 (_dl_lookup_symbol_x): Likewise.
12841 (_dl_debug_bindings): Likewise.
12842 * elf/dl-open.c (_dl_show_scope): Likewise.
12843 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12844 * elf/dl-version.c (match_symbol): Likewise.
12845 (_dl_check_map_versions): Likewise.
12846 * elf/rtld.c (dl_main): Likewise.
12847 (print_unresolved): Use RTLD_PROGNAME.
12848 (print_missing_version): Likewise.
12849 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12850 (elf_machine_rela): Likewise.
12851 * sysdeps/powerpc/powerpc32/dl-machine.c
12852 (__process_machine_rela): Likewise.
12853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12854 Likewise.
12855 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12856 Likewise.
12857 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12858 Likewise.
12859 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12861 Likewise.
12862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12863 Likewise.
12864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12865
8a9f20c8
CD
128662013-05-28 Carlos O'Donell <carlos@redhat.com>
12867
12868 * po/be.po: Add descriptive title.
12869 * po/zh_CN.po: Likewise.
12870 * po/header.pot: Likewise.
12871
0e60d68e
MF
128722013-05-28 Mike Frysinger <vapier@gentoo.org>
12873
12874 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12875 error message.
12876 (enlarge_archive): Likewise.
12877
56b672e9
BN
128782013-05-28 Ben North <ben@redfrontdoor.org>
12879
12880 * manual/arith.texi (frexp): It is the magnitude of the return
12881 value which lies in [0.5, 1), not the return value itself.
12882
5e056687
AZ
128832013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12884
12885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12886
2b66ef5d
TS
128872013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12888
528c2405
TS
12889 * stdio-common/bug26.c (main): Correct fscanf template.
12890
07b4c13d
TS
12891 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12892 declare _dl_skip_args.
12893
ec9dd97c
TS
12894 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12895 Don't declare.
12896
2b66ef5d
TS
12897 * manual/platform.texi: Add missing @end deftypefun.
12898
4f8dfe27
JM
128992013-05-24 Joseph Myers <joseph@codesourcery.com>
12900
0323d086
JM
12901 [BZ #15529]
12902 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12903 bit of mantissa of 2^16382.
12904 * math/libm-test.inc (hypot_test_data): Add more tests.
12905
dd4259b9
JM
12906 * math/libm-test.inc: Add drem and pow10 to list of tested
12907 functions.
12908 (pow10_test): New function.
12909 (drem_test): Likewise.
12910 (drem_test_tonearest): Likewise.
12911 (drem_test_towardzero): Likewise.
12912 (drem_test_downward): Likewise.
12913 (drem_test_upward): Likewise.
12914 (main): Call the new functions.
12915
4f8dfe27
JM
12916 * math/libm-test.inc (finite_test_data): Remove.
12917 (finite_test): Run tests from isfinite_test_data.
12918 (gamma_test_data): Remove.
12919 (gamma_test): Run tests from lgamma_test_data.
12920 * sysdeps/i386/fpu/libm-test-ulps: Update.
12921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12922
d116b7c4
AZ
129232013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12924
12925 * manual/platform.texi: Add PowerPC PPR function set documentation.
12926 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12927 implementation.
12928
e96e3767
CD
129292013-05-24 Carlos O'Donell <carlos@redhat.com>
12930
12931 * math/libm-test.inc (MAX_EXP): Define.
12932 (ULPDIFF): Define.
12933 (ulp): New function.
12934 (check_float_internal): Use ULPDIFF.
12935 (cpow_test): Disable failing test.
12936 (check_ulp): Test ulp() implemetnation.
12937 (main): Call check_ulp before starting tests.
12938
b679a606
JM
129392013-05-24 Joseph Myers <joseph@codesourcery.com>
12940
e8bdba36
JM
12941 * math/gen-libm-test.pl (generate_testfile): Do not handle
12942 START_DATA and END_DATA.
12943 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12944 END_DATA.
12945 (acos_tonearest_test_data): Likewise.
12946 (acos_towardzero_test_data): Likewise.
12947 (acos_downward_test_data): Likewise.
12948 (acos_upward_test_data): Likewise.
12949 (acosh_test_data): Likewise.
12950 (asin_test_data): Likewise.
12951 (asin_tonearest_test_data): Likewise.
12952 (asin_towardzero_test_data): Likewise.
12953 (asin_downward_test_data): Likewise.
12954 (asin_upward_test_data): Likewise.
12955 (asinh_test_data): Likewise.
12956 (atan_test_data): Likewise.
12957 (atanh_test_data): Likewise.
12958 (atan2_test_data): Likewise.
12959 (cabs_test_data): Likewise.
12960 (cacos_test_data): Likewise.
12961 (cacosh_test_data): Likewise.
12962 (carg_test_data): Likewise.
12963 (casin_test_data): Likewise.
12964 (casinh_test_data): Likewise.
12965 (catan_test_data): Likewise.
12966 (catanh_test_data): Likewise.
12967 (cbrt_test_data): Likewise.
12968 (ccos_test_data): Likewise.
12969 (ccosh_test_data): Likewise.
12970 (ceil_test_data): Likewise.
12971 (cexp_test_data): Likewise.
12972 (cimag_test_data): Likewise.
12973 (clog_test_data): Likewise.
12974 (clog10_test_data): Likewise.
12975 (conj_test_data): Likewise.
12976 (copysign_test_data): Likewise.
12977 (cos_test_data): Likewise.
12978 (cos_tonearest_test_data): Likewise.
12979 (cos_towardzero_test_data): Likewise.
12980 (cos_downward_test_data): Likewise.
12981 (cos_upward_test_data): Likewise.
12982 (cosh_test_data): Likewise.
12983 (cosh_tonearest_test_data): Likewise.
12984 (cosh_towardzero_test_data): Likewise.
12985 (cosh_downward_test_data): Likewise.
12986 (cosh_upward_test_data): Likewise.
12987 (cpow_test_data): Likewise.
12988 (cproj_test_data): Likewise.
12989 (creal_test_data): Likewise.
12990 (csin_test_data): Likewise.
12991 (csinh_test_data): Likewise.
12992 (csqrt_test_data): Likewise.
12993 (ctan_test_data): Likewise.
12994 (ctan_tonearest_test_data): Likewise.
12995 (ctan_towardzero_test_data): Likewise.
12996 (ctan_downward_test_data): Likewise.
12997 (ctan_upward_test_data): Likewise.
12998 (ctanh_test_data): Likewise.
12999 (ctanh_tonearest_test_data): Likewise.
13000 (ctanh_towardzero_test_data): Likewise.
13001 (ctanh_downward_test_data): Likewise.
13002 (ctanh_upward_test_data): Likewise.
13003 (erf_test_data): Likewise.
13004 (erfc_test_data): Likewise.
13005 (exp_test_data): Likewise.
13006 (exp_tonearest_test_data): Likewise.
13007 (exp_towardzero_test_data): Likewise.
13008 (exp_downward_test_data): Likewise.
13009 (exp_upward_test_data): Likewise.
13010 (exp10_test_data): Likewise.
13011 (exp2_test_data): Likewise.
13012 (expm1_test_data): Likewise.
13013 (fabs_test_data): Likewise.
13014 (fdim_test_data): Likewise.
13015 (finite_test_data): Likewise.
13016 (floor_test_data): Likewise.
13017 (fma_test_data): Likewise.
13018 (fma_towardzero_test_data): Likewise.
13019 (fma_downward_test_data): Likewise.
13020 (fma_upward_test_data): Likewise.
13021 (fmax_test_data): Likewise.
13022 (fmin_test_data): Likewise.
13023 (fmod_test_data): Likewise.
13024 (fpclassify_test_data): Likewise.
13025 (frexp_test_data): Likewise.
13026 (gamma_test_data): Likewise.
13027 (hypot_test_data): Likewise.
13028 (ilogb_test_data): Likewise.
13029 (isfinite_test_data): Likewise.
13030 (isgreater_test_data): Likewise.
13031 (isgreaterequal_test_data): Likewise.
13032 (isinf_test_data): Likewise.
13033 (isless_test_data): Likewise.
13034 (islessequal_test_data): Likewise.
13035 (islessgreater_test_data): Likewise.
13036 (isnan_test_data): Likewise.
13037 (isnormal_test_data): Likewise.
13038 (issignaling_test_data): Likewise.
13039 (isunordered_test_data): Likewise.
13040 (j0_test_data): Likewise.
13041 (j1_test_data): Likewise.
13042 (jn_test_data): Likewise.
13043 (ldexp_test_data): Likewise.
13044 (lgamma_test_data): Likewise.
13045 (lrint_test_data): Likewise.
13046 (lrint_tonearest_test_data): Likewise.
13047 (lrint_towardzero_test_data): Likewise.
13048 (lrint_downward_test_data): Likewise.
13049 (lrint_upward_test_data): Likewise.
13050 (llrint_test_data): Likewise.
13051 (llrint_tonearest_test_data): Likewise.
13052 (llrint_towardzero_test_data): Likewise.
13053 (llrint_downward_test_data): Likewise.
13054 (llrint_upward_test_data): Likewise.
13055 (log_test_data): Likewise.
13056 (log10_test_data): Likewise.
13057 (log1p_test_data): Likewise.
13058 (log2_test_data): Likewise.
13059 (logb_test_data): Likewise.
13060 (logb_downward_test_data): Likewise.
13061 (lround_test_data): Likewise.
13062 (llround_test_data): Likewise.
13063 (modf_test_data): Likewise.
13064 (nearbyint_test_data): Likewise.
13065 (nextafter_test_data): Likewise.
13066 (nexttoward_test_data): Likewise.
13067 (pow_test_data): Likewise.
13068 (pow_tonearest_test_data): Likewise.
13069 (pow_towardzero_test_data): Likewise.
13070 (pow_downward_test_data): Likewise.
13071 (pow_upward_test_data): Likewise.
13072 (remainder_test_data): Likewise.
13073 (remainder_tonearest_test_data): Likewise.
13074 (remainder_towardzero_test_data): Likewise.
13075 (remainder_downward_test_data): Likewise.
13076 (remainder_upward_test_data): Likewise.
13077 (remquo_test_data): Likewise.
13078 (rint_test_data): Likewise.
13079 (rint_tonearest_test_data): Likewise.
13080 (rint_towardzero_test_data): Likewise.
13081 (rint_downward_test_data): Likewise.
13082 (rint_upward_test_data): Likewise.
13083 (round_test_data): Likewise.
13084 (scalb_test_data): Likewise.
13085 (scalbn_test_data): Likewise.
13086 (scalbln_test_data): Likewise.
13087 (signbit_test_data): Likewise.
13088 (sin_test_data): Likewise.
13089 (sin_tonearest_test_data): Likewise.
13090 (sin_towardzero_test_data): Likewise.
13091 (sin_downward_test_data): Likewise.
13092 (sin_upward_test_data): Likewise.
13093 (sincos_test_data): Likewise.
13094 (sinh_test_data): Likewise.
13095 (sinh_tonearest_test_data): Likewise.
13096 (sinh_towardzero_test_data): Likewise.
13097 (sinh_downward_test_data): Likewise.
13098 (sinh_upward_test_data): Likewise.
13099 (sqrt_test_data): Likewise.
13100 (tan_test_data): Likewise.
13101 (tan_tonearest_test_data): Likewise.
13102 (tan_towardzero_test_data): Likewise.
13103 (tan_downward_test_data): Likewise.
13104 (tan_upward_test_data): Likewise.
13105 (tanh_test_data): Likewise.
13106 (tgamma_test_data): Likewise.
13107 (trunc_test_data): Likewise.
13108 (y0_test_data): Likewise.
13109 (y1_test_data): Likewise.
13110 (yn_test_data): Likewise.
13111 (significand_test_data): Likewise.
13112
b679a606
JM
13113 * math/gen-libm-test.pl (@functions): Remove variable.
13114 (generate_testfile): Don't handle START and END lines.
13115 * math/libm-test.inc (START): New macro.
13116 (END): Likewise.
13117 (END_COMPLEX): Likewise.
13118 (acos_test): Use END macro without arguments.
13119 (acos_test_tonearest): Likewise.
13120 (acos_test_towardzero): Likewise.
13121 (acos_test_downward): Likewise.
13122 (acos_test_upward): Likewise.
13123 (acosh_test): Likewise.
13124 (asin_test): Likewise.
13125 (asin_test_tonearest): Likewise.
13126 (asin_test_towardzero): Likewise.
13127 (asin_test_downward): Likewise.
13128 (asin_test_upward): Likewise.
13129 (asinh_test): Likewise.
13130 (atan_test): Likewise.
13131 (atanh_test): Likewise.
13132 (atan2_test): Likewise.
13133 (cabs_test): Likewise.
13134 (cacos_test): Use END_COMPLEX macro without arguments.
13135 (cacosh_test): Likewise.
13136 (carg_test): Use END macro without arguments.
13137 (casin_test): Use END_COMPLEX macro without arguments.
13138 (casinh_test): Likewise.
13139 (catan_test): Likewise.
13140 (catanh_test): Likewise.
13141 (cbrt_test): Use END macro without arguments.
13142 (ccos_test): Use END_COMPLEX macro without arguments.
13143 (ccosh_test): Likewise.
13144 (ceil_test): Use END macro without arguments.
13145 (cexp_test): Use END_COMPLEX macro without arguments.
13146 (cimag_test): Use END macro without arguments.
13147 (clog_test): Use END_COMPLEX macro without arguments.
13148 (clog10_test): Likewise.
13149 (conj_test): Likewise.
13150 (copysign_test): Use END macro without arguments.
13151 (cos_test): Likewise.
13152 (cos_test_tonearest): Likewise.
13153 (cos_test_towardzero): Likewise.
13154 (cos_test_downward): Likewise.
13155 (cos_test_upward): Likewise.
13156 (cosh_test): Likewise.
13157 (cosh_test_tonearest): Likewise.
13158 (cosh_test_towardzero): Likewise.
13159 (cosh_test_downward): Likewise.
13160 (cosh_test_upward): Likewise.
13161 (cpow_test): Use END_COMPLEX macro without arguments.
13162 (cproj_test): Likewise.
13163 (creal_test): Use END macro without arguments.
13164 (csin_test): Use END_COMPLEX macro without arguments.
13165 (csinh_test): Likewise.
13166 (csqrt_test): Likewise.
13167 (ctan_test): Likewise.
13168 (ctan_test_tonearest): Likewise.
13169 (ctan_test_towardzero): Likewise.
13170 (ctan_test_downward): Likewise.
13171 (ctan_test_upward): Likewise.
13172 (ctanh_test): Likewise.
13173 (ctanh_test_tonearest): Likewise.
13174 (ctanh_test_towardzero): Likewise.
13175 (ctanh_test_downward): Likewise.
13176 (ctanh_test_upward): Likewise.
13177 (erf_test): Use END macro without arguments.
13178 (erfc_test): Likewise.
13179 (exp_test): Likewise.
13180 (exp_test_tonearest): Likewise.
13181 (exp_test_towardzero): Likewise.
13182 (exp_test_downward): Likewise.
13183 (exp_test_upward): Likewise.
13184 (exp10_test): Likewise.
13185 (exp2_test): Likewise.
13186 (expm1_test): Likewise.
13187 (fabs_test): Likewise.
13188 (fdim_test): Likewise.
13189 (finite_test): Likewise.
13190 (floor_test): Likewise.
13191 (fma_test): Likewise.
13192 (fma_test_towardzero): Likewise.
13193 (fma_test_downward): Likewise.
13194 (fma_test_upward): Likewise.
13195 (fmax_test): Likewise.
13196 (fmin_test): Likewise.
13197 (fmod_test): Likewise.
13198 (fpclassify_test): Likewise.
13199 (frexp_test): Likewise.
13200 (gamma_test): Likewise.
13201 (hypot_test): Likewise.
13202 (ilogb_test): Likewise.
13203 (isfinite_test): Likewise.
13204 (isgreater_test): Likewise.
13205 (isgreaterequal_test): Likewise.
13206 (isinf_test): Likewise.
13207 (isless_test): Likewise.
13208 (islessequal_test): Likewise.
13209 (islessgreater_test): Likewise.
13210 (isnan_test): Likewise.
13211 (isnormal_test): Likewise.
13212 (issignaling_test): Likewise.
13213 (isunordered_test): Likewise.
13214 (j0_test): Likewise.
13215 (j1_test): Likewise.
13216 (jn_test): Likewise.
13217 (ldexp_test): Likewise.
13218 (lgamma_test): Likewise.
13219 (lrint_test): Likewise.
13220 (lrint_test_tonearest): Likewise.
13221 (lrint_test_towardzero): Likewise.
13222 (lrint_test_downward): Likewise.
13223 (lrint_test_upward): Likewise.
13224 (llrint_test): Likewise.
13225 (llrint_test_tonearest): Likewise.
13226 (llrint_test_towardzero): Likewise.
13227 (llrint_test_downward): Likewise.
13228 (llrint_test_upward): Likewise.
13229 (log_test): Likewise.
13230 (log10_test): Likewise.
13231 (log1p_test): Likewise.
13232 (log2_test): Likewise.
13233 (logb_test): Likewise.
13234 (logb_test_downward): Likewise.
13235 (lround_test): Likewise.
13236 (llround_test): Likewise.
13237 (modf_test): Likewise.
13238 (nearbyint_test): Likewise.
13239 (nextafter_test): Likewise.
13240 (nexttoward_test): Likewise.
13241 (pow_test): Likewise.
13242 (pow_test_tonearest): Likewise.
13243 (pow_test_towardzero): Likewise.
13244 (pow_test_downward): Likewise.
13245 (pow_test_upward): Likewise.
13246 (remainder_test): Likewise.
13247 (remainder_test_tonearest): Likewise.
13248 (remainder_test_towardzero): Likewise.
13249 (remainder_test_downward): Likewise.
13250 (remainder_test_upward): Likewise.
13251 (remquo_test): Likewise.
13252 (rint_test): Likewise.
13253 (rint_test_tonearest): Likewise.
13254 (rint_test_towardzero): Likewise.
13255 (rint_test_downward): Likewise.
13256 (rint_test_upward): Likewise.
13257 (round_test): Likewise.
13258 (scalb_test): Likewise.
13259 (scalbn_test): Likewise.
13260 (scalbln_test): Likewise.
13261 (signbit_test): Likewise.
13262 (sin_test): Likewise.
13263 (sin_test_tonearest): Likewise.
13264 (sin_test_towardzero): Likewise.
13265 (sin_test_downward): Likewise.
13266 (sin_test_upward): Likewise.
13267 (sincos_test): Likewise.
13268 (sinh_test): Likewise.
13269 (sinh_test_tonearest): Likewise.
13270 (sinh_test_towardzero): Likewise.
13271 (sinh_test_downward): Likewise.
13272 (sinh_test_upward): Likewise.
13273 (sqrt_test): Likewise.
13274 (tan_test): Likewise.
13275 (tan_test_tonearest): Likewise.
13276 (tan_test_towardzero): Likewise.
13277 (tan_test_downward): Likewise.
13278 (tan_test_upward): Likewise.
13279 (tanh_test): Likewise.
13280 (tgamma_test): Likewise.
13281 (trunc_test): Likewise.
13282 (y0_test): Likewise.
13283 (y1_test): Likewise.
13284 (yn_test): Likewise.
13285 (significand_test): Likewise.
13286
bae143d2
OB
132872013-05-24 Ondřej Bílka <neleai@seznam.cz>
13288
13289 [BZ #15381]
13290 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13291
9323d39b
EM
132922013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13293
d4ea44a0 13294 [BZ #14894]
9323d39b
EM
13295 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13296 __ppc_mdoio and __ppc_mdoom.
13297 * manual/platform.texi: Document new functions __ppc_yield,
13298 __ppc_mdoio and __ppc_mdoom.
13299
13e23af7
CD
133002013-05-22 Carlos O'Donell <carlos@redhat.com>
13301
13302 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13303 (main): Mention "tls" pseudo-hwcap is legacy.
13304 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13305
351fe550
JM
133062013-05-22 Joseph Myers <joseph@codesourcery.com>
13307
13308 * math/gen-libm-test.pl (parse_args): Output only string of
13309 arguments as text for test name, not full call or descriptions of
13310 tests for extra outputs.
13311 (generate_testfile): Do not pass function name to parse_args.
13312 Generate this_func variable from START.
13313 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13314 field to arg_str.
13315 (struct test_ff_f_data): Likewise.
13316 (test_ff_f_data_nexttoward): Likewise.
13317 (struct test_fi_f_data): Likewise.
13318 (struct test_fl_f_data): Likewise.
13319 (struct test_if_f_data): Likewise.
13320 (struct test_fff_f_data): Likewise.
13321 (struct test_c_f_data): Likewise.
13322 (struct test_f_f1_data): Likewise. Remove field extra_name.
13323 (struct test_fF_f1_data): Likewise.
13324 (struct test_ffI_f1_data): Likewise.
13325 (struct test_c_c_data): Rename test_name field to arg_str.
13326 (struct test_cc_c_data): Likewise.
13327 (struct test_f_i_data): Likewise.
13328 (struct test_ff_i_data): Likewise.
13329 (struct test_f_l_data): Likewise.
13330 (struct test_f_L_data): Likewise.
13331 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13332 and extra2_name.
13333 (COMMON_TEST_SETUP): New macro.
13334 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13335 (COMMON_TEST_CLEANUP): Likewise.
13336 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13337 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13338 macros.
13339 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13340 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13341 macros.
13342 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13343 (RUN_TEST_fff_f): Take argument string. Call new setup and
13344 cleanup macros.
13345 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13346 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13347 macros.
13348 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13349 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13350 macros.
13351 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13352 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13353 cleanup macros.
13354 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13355 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13356 cleanup macros.
13357 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13358 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13359 cleanup macros.
13360 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13361 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13362 macros.
13363 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13364 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13365 macros.
13366 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13367 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13368 macros.
13369 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13370 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13371 cleanup macros.
13372 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13373 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13374 cleanup macros.
13375 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13376 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13377 macros.
13378 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13379 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13380 cleanup macros.
13381 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13382 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13383 macros.
13384 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13385 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13386 macros.
13387 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13388 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13389 cleanup macros.
13390 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13391
85118d4d
EBM
133922013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13393
13394 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13395 to _sifields.sigfault.
13396 (si_addr_lsb): Define new macro.
13397 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13399 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13400
7a44c18f
CD
134012013-05-03 Carlos O'Donell <carlos at redhat.com>
13402
13403 [BZ #15441]
13404 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13405 returns -1.
13406 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13407 null return -1.
13408 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13409 loading the domain.
13410
b50a7181
JM
134112013-05-22 Joseph Myers <joseph@codesourcery.com>
13412
13413 * math/gen-libm-test.pl (parse_args): Do not include expected
13414 result in test name.
13415 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13416 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13417 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13418 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13419 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13421
051063c8
SP
134222013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13423
3ce9e010
SP
13424 * benchtests/Makefile: Sort function entries.
13425
051063c8
SP
13426 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13427 tanh, asinh, acosh, atanh.
13428 * benchtests/acos-inputs: New file.
13429 * benchtests/acosh-inputs: New file.
13430 * benchtests/asin-inputs: New file.
13431 * benchtests/asinh-inputs: New file.
13432 * benchtests/atanh-inputs: New file.
13433 * benchtests/cosh-inputs: New file.
13434 * benchtests/log-inputs: New file.
13435 * benchtests/sinh-inputs: New file.
13436 * benchtests/tanh-inputs: New file.
13437
47c22455
DL
134382013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13439
13440 [BZ #15339]
13441 * posix/tst-getaddrinfo4.c: New test.
13442 * posix/Makefile (tests): Add it.
13443
3d04f5db
SP
134442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13445
13446 [BZ #15339]
13447 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13448 when no services were used.
13449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13450 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13451
d5dd6189
AS
134522013-05-21 Andreas Schwab <schwab@suse.de>
13453
13454 [BZ #15014]
13455 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13456 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13457 successful.
13458 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13459 redundant variable declarations and reallocation of buffer when
13460 parsing as IPv6 address. Always set NSS status when called from
13461 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13462 buffer too small. Correct computation of needed size.
13463 * nss/Makefile (tests): Add test-digits-dots.
13464 * nss/test-digits-dots.c: New test.
13465
fef94eab
SP
134662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13467
13468 * benchtests/Makefile: Remove instructions for adding
13469 benchmark tests.
13470 * benchtests/README: New file to explain how to execute and
13471 enhance the benchmark tests.
13472
e39adf43
AS
134732013-05-21 Andreas Schwab <schwab@suse.de>
13474
13475 [BZ #15493]
13476 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13477 * setjmp/tst-sigsetjmp.c: New test.
13478
b2b671b6
OB
134792013-05-20 Ondřej Bílka <neleai@seznam.cz>
13480
13481 * sysdeps/x86_64/memset.S (memset): New implementation.
13482 (__bzero): Likewise.
13483 (__memset_tail): New function.
13484
2d48b41c
OB
134852013-05-20 Ondřej Bílka <neleai@seznam.cz>
13486
13487 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13488 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13489 __memcpy_sse2_unaligned ifunc selection.
13490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13491 Add memcpy-sse2-unaligned.S.
13492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13493 Add: __memcpy_sse2_unaligned.
13494
f16cc3eb
JM
134952013-05-19 Joseph Myers <joseph@codesourcery.com>
13496
3e694268
JM
13497 [BZ #15490]
13498 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13499 math_force_eval before restoring floating-point envrionment.
13500 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13502 Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13504 <math_private.h>.
13505 (__nearbyintl): Use math_force_eval before restoring
13506 floating-point environment.
13507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13508
db62a907
JM
13509 * math/gen-libm-test.pl (special_functions): Remove.
13510 (parse_args): Don't handle TEST_extra. Handle functions with no
13511 return value.
13512 * math/libm-test.inc (struct test_sincos_data): Replace with
13513 struct test_fFF_11_data.
13514 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13515 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13516 (sincos_test_data): Change element type to struct
13517 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13518 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13519 RUN_TEST_LOOP_sincos.
13520 * math/README.libm-test: Don't mention special handling of
13521 individual functions.
13522 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13523 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13524 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13525 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13526 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13528
f16cc3eb
JM
13529 * math/gen-libm-test.pl (get_variable): Remove function.
13530 (parse_args): Don't show pointer parameters to call in test
13531 names. Use "extra output N" in test names for extra outputs
13532 rather than naming variables.
13533
3779b5b6
JM
135342013-05-18 Joseph Myers <joseph@codesourcery.com>
13535
2ee094ff
JM
13536 [BZ #15488]
13537 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13538 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13539 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13540 double tests.
13541 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13542 disable.
13543 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13544 check_long_double.
13545
3779b5b6
JM
13546 * math/gen-libm-test.pl (@tests): Remove variable.
13547 ($count): Likewise.
13548 (new_test): Remove function.
13549 (show_exceptions): New function.
13550 (special_functions): Use show_exceptions instead of new_test.
13551 (parse_args): Likewise.
13552 (generate_testfile): Pass only function name in generated call to
13553 print_max_error or print_complex_max_error.
13554 (get_ulps): Do not handle complex tests specially.
13555 (output_test): Rename to ...
13556 (get_all_ulps_for_test): ... this. Return a string rather than
13557 printing to a file. Require ulps to be present.
13558 (output_ulps): Generate arrays rather than #defines.
13559 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13560 (struct ulp_data): New type.
13561 (BUILD_COMPLEX_ULP): Remove macro.
13562 (compare_ulp_data): New function.
13563 (find_ulps): Likewise.
13564 (find_test_ulps): Likewise.
13565 (find_function_ulps): Likewise.
13566 (find_complex_function_ulps): Likewise.
13567 (print_max_error): Determine allowed ulps using
13568 find_function_ulps.
13569 (print_complex_max_error): Determine allowed ulps using
13570 find_complex_function_ulps.
13571 (check_float_internal): Determine max ulps using find_test_ulps.
13572 (check_float): Do not take max_ulp parameter. Update call to
13573 check_float_internal.
13574 (check_complex): Likewise.
13575 (check_int): Do not take max_ulp parameter.
13576 (check_long): Likewise.
13577 (check_bool): Likewise.
13578 (check_longlong): Likewise.
13579 (struct test_f_f_data): Remove max_ulp field.
13580 (struct test_ff_f_data): Likewise.
13581 (struct test_ff_f_data_nexttoward): Likewise.
13582 (struct test_fi_f_data): Likewise.
13583 (struct test_fl_f_data): Likewise.
13584 (struct test_if_f_data): Likewise.
13585 (struct test_fff_f_data): Likewise.
13586 (struct test_c_f_data): Likewise.
13587 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13588 (struct test_fF_f1_data): Likewise.
13589 (struct test_ffI_f1_data): Likewise.
13590 (struct test_c_c_data): Remove max_ulp field.
13591 (struct test_cc_c_data): Likewise.
13592 (struct test_f_i_data): Likewise.
13593 (struct test_ff_i_data): Likewise.
13594 (struct test_f_l_data): Likewise.
13595 (struct test_f_L_data): Likewise.
13596 (struct test_sincos_data): Likewise.
13597 (RUN_TEST_f_f): Do not handle ulps.
13598 (RUN_TEST_LOOP_f_f): Likewise.
13599 (RUN_TEST_2_f): Likewise.
13600 (RUN_TEST_LOOP_2_f): Likewise.
13601 (RUN_TEST_fff_f): Likewise.
13602 (RUN_TEST_LOOP_fff_f): Likewise.
13603 (RUN_TEST_c_f): Likewise.
13604 (RUN_TEST_LOOP_c_f): Likewise.
13605 (RUN_TEST_f_f1): Likewise.
13606 (RUN_TEST_LOOP_f_f1): Likewise.
13607 (RUN_TEST_fF_f1): Likewise.
13608 (RUN_TEST_LOOP_fF_f1): Likewise.
13609 (RUN_TEST_fI_f1): Likewise.
13610 (RUN_TEST_LOOP_fI_f1): Likewise.
13611 (RUN_TEST_ffI_f1): Likewise.
13612 (RUN_TEST_LOOP_ffI_f1): Likewise.
13613 (RUN_TEST_c_c): Likewise.
13614 (RUN_TEST_LOOP_c_c): Likewise.
13615 (RUN_TEST_cc_c): Likewise.
13616 (RUN_TEST_LOOP_cc_c): Likewise.
13617 (RUN_TEST_f_i): Likewise.
13618 (RUN_TEST_LOOP_f_i): Likewise.
13619 (RUN_TEST_f_i_tg): Likewise.
13620 (RUN_TEST_LOOP_f_i_tg): Likewise.
13621 (RUN_TEST_ff_i_tg): Likewise.
13622 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13623 (RUN_TEST_f_b): Likewise.
13624 (RUN_TEST_LOOP_f_b): Likewise.
13625 (RUN_TEST_f_b_tg): Likewise.
13626 (RUN_TEST_LOOP_f_b_tg): Likewise.
13627 (RUN_TEST_f_l): Likewise.
13628 (RUN_TEST_LOOP_f_l): Likewise.
13629 (RUN_TEST_f_L): Likewise.
13630 (RUN_TEST_LOOP_f_L): Likewise.
13631 (RUN_TEST_sincos): Likewise.
13632 (RUN_TEST_LOOP_sincos): Likewise.
13633
8269107f
JM
136342013-05-17 Joseph Myers <joseph@codesourcery.com>
13635
bb38759d
JM
13636 [BZ #15480]
13637 [BZ #15485]
13638 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13639 main case of finite arguments, set rounding mode to FE_TONEAREST
13640 and discard exceptions.
13641 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13642 exceptions.
13643 (remainder_tonearest_test_data): New variable.
13644 (remainder_test_tonearest): New function.
13645 (remainder_towardzero_test_data): New variable.
13646 (remainder_test_towardzero): New function.
13647 (remainder_downward_test_data): New variable.
13648 (remainder_test_downward): New function.
13649 (remainder_upward_test_data): New variable.
13650 (remainder_test_upward): New function.
13651 (main): Call the new test functions.
13652
a00bdcf0
JM
13653 * math/libm-test.inc (struct test_f_f1_data): Remove field
13654 extra_init.
13655 (struct test_fF_f1_data): Likewise.
13656 (struct test_ffI_f1_data): Likewise.
13657 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13658 based on value of EXTRA_EXPECTED.
13659 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13660 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13661 EXTRA_VAR based on value of EXTRA_EXPECTED.
13662 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13663 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13664 EXTRA_VAR based on value of EXTRA_EXPECTED.
13665 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13666 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13667 EXTRA_VAR based on value of EXTRA_EXPECTED.
13668 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13669 * math/gen-libm-test.pl (parse_args): Don't output initializers
13670 for extra output values.
13671
de407f79
JM
13672 * math/libm-test.inc (check_int): Expect result to be exactly
13673 equal to expected value and do not handle ulps.
13674 (check_long): Likewise.
13675 (check_longlong): Likewise.
13676
8269107f
JM
13677 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13678 exceptions.
13679 (cimag_test_data): Likewise.
13680 (conj_test_data): Likewise.
13681 (copysign_test_data): Likewise.
13682 (cproj_test_data): Likewise.
13683 (creal_test_data): Likewise.
13684 (fabs_test_data): Likewise.
13685 (fdim_test_data): Likewise.
13686 (finite_test_data): Likewise.
13687 (floor_test_data): Likewise.
13688 (fmax_test_data): Likewise.
13689 (fmin_test_data): Likewise.
13690 (fmod_test_data): Likewise.
13691 (fpclassify_test_data): Likewise.
13692 (frexp_test_data): Likewise.
13693 (ilogb_test_data): Likewise.
13694 (isfinite_test_data): Likewise.
13695 (isgreater_test_data): Likewise.
13696 (isgreaterequal_test_data): Likewise.
13697 (isinf_test_data): Likewise.
13698 (isless_test_data): Likewise.
13699 (islessequal_test_data): Likewise.
13700 (islessgreater_test_data): Likewise.
13701 (isnan_test_data): Likewise.
13702 (isnormal_test_data): Likewise.
13703 (issignaling_test_data): Likewise.
13704 (isunordered_test_data): Likewise.
13705 (ldexp_test_data): Likewise.
13706 (lrint_test_data): Likewise.
13707 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13708 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13709 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13710 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13711 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13712 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13713 test input.
13714 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13715 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13716 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13717 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13718 that test input.
13719 (lrint_downward_test_data): Test for "inexact" exceptions.
13720 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13721 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13722 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13723 test input.
13724 (lrint_upward_test_data): Test for "inexact" exceptions.
13725 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13726 test input.
13727 (llrint_test_data): Test for "inexact" exceptions.
13728 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13729 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13730 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13731 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13732 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13733 (llrint_downward_test_data): Test for "inexact" exceptions.
13734 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13735 (llrint_upward_test_data): Test for "inexact" exceptions.
13736 (logb_test_data): Likewise.
13737 (logb_downward_test_data): Likewise.
13738 (nextafter_test_data): Likewise.
13739 (nexttoward_test_data): Likewise.
13740 (remainder_test_data): Likewise.
13741 (remquo_test_data): Likewise.
13742 (scalbn_test_data): Likewise.
13743 (scalbln_test_data): Likewise.
13744 (signbit_test_data): Likewise.
13745 (sqrt_test_data): Likewise.
13746 (significand_test_data): Likewise.
13747
48a18de1
SP
137482013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13749
13750 [BZ #15424]
13751 * benchtests/bench-modf.c (struct args): Mark arg0 as
13752 volatile.
13753 * scripts/bench.pl: Mark members of struct args as volatile.
13754
13d3b41a
AZ
137552013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13756
68191c1d 13757 [BZ # 15497]
13d3b41a
AZ
13758 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13759 negative infinity on POWER6 or lower.
13760 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13761
2848b105
MR
137622013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13763
13764 [BZ #15442]
13765 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13766 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13767 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13768 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13769 (_FP_SETQNAN): New macro.
13770 (_FP_SETQNAN_SEMIRAW): Likewise.
13771 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13772 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13773 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13774 (FP_EXTEND): Use _FP_FRAC_SNANP.
13775 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13776 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13777 into account.
13778 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13779 New macro.
13780 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13781 Likewise.
13782
323e5cb7
JM
137832013-05-16 Joseph Myers <joseph@codesourcery.com>
13784
c58b274f
JM
13785 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13786 with DIVIDE_BY_ZERO_EXCEPTION.
13787 (gamma_test_data): Likewise.
13788 (lgamma_test_data): Likewise.
13789 (log_test_data): Likewise.
13790 (log10_test_data): Likewise.
13791 (log2_test_data): Likewise.
13792 (tgamma_test_data): Likewise.
13793
0ab34904
JM
13794 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13795 (acos_test_tonearest): Likewise.
13796 (acos_test_towardzero): Likewise.
13797 (acos_test_downward): Likewise.
13798 (acos_test_upward): Likewise.
13799 (acosh_test): Likewise.
13800 (asin_test): Likewise.
13801 (asin_test_tonearest): Likewise.
13802 (asin_test_towardzero): Likewise.
13803 (asin_test_downward): Likewise.
13804 (asin_test_upward): Likewise.
13805 (asinh_test): Likewise.
13806 (atan_test): Likewise.
13807 (atanh_test): Likewise.
13808 (atan2_test): Likewise.
13809 (cabs_test): Likewise.
13810 (cacos_test): Likewise.
13811 (cacosh_test): Likewise.
13812 (casin_test): Likewise.
13813 (casinh_test): Likewise.
13814 (catan_test): Likewise.
13815 (catanh_test): Likewise.
13816 (cbrt_test): Likewise.
13817 (ccos_test): Likewise.
13818 (ccosh_test): Likewise.
13819 (cexp_test): Likewise.
13820 (clog_test): Likewise.
13821 (clog10_test): Likewise.
13822 (cos_test): Likewise.
13823 (cos_test_tonearest): Likewise.
13824 (cos_test_towardzero): Likewise.
13825 (cos_test_downward): Likewise.
13826 (cos_test_upward): Likewise.
13827 (cosh_test): Likewise.
13828 (cosh_test_tonearest): Likewise.
13829 (cosh_test_towardzero): Likewise.
13830 (cosh_test_downward): Likewise.
13831 (cosh_test_upward): Likewise.
13832 (cpow_test): Likewise.
13833 (csin_test): Likewise.
13834 (csinh_test): Likewise.
13835 (csqrt_test): Likewise.
13836 (ctan_test): Likewise.
13837 (ctan_test_tonearest): Likewise.
13838 (ctan_test_towardzero): Likewise.
13839 (ctan_test_downward): Likewise.
13840 (ctan_test_upward): Likewise.
13841 (ctanh_test): Likewise.
13842 (ctanh_test_tonearest): Likewise.
13843 (ctanh_test_towardzero): Likewise.
13844 (ctanh_test_downward): Likewise.
13845 (ctanh_test_upward): Likewise.
13846 (erf_test): Likewise.
13847 (erfc_test): Likewise.
13848 (exp_test): Likewise.
13849 (exp_test_tonearest): Likewise.
13850 (exp_test_towardzero): Likewise.
13851 (exp_test_downward): Likewise.
13852 (exp_test_upward): Likewise.
13853 (exp10_test): Likewise.
13854 (exp2_test): Likewise.
13855 (expm1_test): Likewise.
13856 (fmod_test): Likewise.
13857 (gamma_test): Likewise.
13858 (hypot_test): Likewise.
13859 (j0_test): Likewise.
13860 (j1_test): Likewise.
13861 (jn_test): Likewise.
13862 (lgamma_test): Likewise.
13863 (log_test): Likewise.
13864 (log10_test): Likewise.
13865 (log1p_test): Likewise.
13866 (log2_test): Likewise.
13867 (logb_test_downward): Likewise.
13868 (pow_test): Likewise.
13869 (pow_test_tonearest): Likewise.
13870 (pow_test_towardzero): Likewise.
13871 (pow_test_downward): Likewise.
13872 (pow_test_upward): Likewise.
13873 (remainder_test): Likewise.
13874 (remquo_test): Likewise.
13875 (sin_test): Likewise.
13876 (sin_test_tonearest): Likewise.
13877 (sin_test_towardzero): Likewise.
13878 (sin_test_downward): Likewise.
13879 (sin_test_upward): Likewise.
13880 (sincos_test): Likewise.
13881 (sinh_test): Likewise.
13882 (sinh_test_tonearest): Likewise.
13883 (sinh_test_towardzero): Likewise.
13884 (sinh_test_downward): Likewise.
13885 (sinh_test_upward): Likewise.
13886 (sqrt_test): Likewise.
13887 (tan_test): Likewise.
13888 (tan_test_tonearest): Likewise.
13889 (tan_test_towardzero): Likewise.
13890 (tan_test_downward): Likewise.
13891 (tan_test_upward): Likewise.
13892 (tanh_test): Likewise.
13893 (tgamma_test): Likewise.
13894 (y0_test): Likewise.
13895 (y1_test): Likewise.
13896 (yn_test): Likewise.
13897
323e5cb7
JM
13898 * math/gen-libm-test.pl (adjust_arg): Remove function.
13899 (special_function): Remove argument $in_func. Only handle
13900 generating output for tables of tests, not inside functions.
13901 (parse_args): Likewise.
13902 (generate_testfile): Remove variable $in_func. Update call to
13903 parse_args.
13904 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13905 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13906 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13907 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13908 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13909 (MAX_VALUE_INIT): Rename macro to max_value.
13910 (MIN_VALUE_INIT): Rename macro to min_value.
13911 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13912 (plus_zero): Remove variable.
13913 (minus_zero): Likewise.
13914 (plus_infty): Likewise.
13915 (minus_infty): Likewise.
13916 (qnan_value): Likewise.
13917 (max_value): Likewise.
13918 (min_value): Likewise.
13919 (min_subnorm_value): Likewise.
13920
e054f494
RA
139212013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13922
13923 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13924 uint64_t or uint32_t usage.
13925 * crypt/sha256-block.c: Likewise.
13926 * crypt/sha256-crypt.c: Likewise.
13927 * crypt/sha256.c: Likewise.
13928 * crypt/sha512-block.c: Likewise.
13929 * crypt/sha512-crypt.c: Likewise.
13930 * crypt/sha512.c: Likewise.
13931 * debug/backtrace-tst.c: Likewise.
13932 * debug/pcprofiledump.c: Likewise.
13933 * elf/cache.c: Likewise.
13934 * elf/dl-cache.c: Likewise.
13935 * elf/dl-misc.c: Likewise.
13936 * elf/dl-profile.c: Likewise.
13937 * elf/dl-support.c: Likewise.
13938 * elf/ldconfig.c: Likewise.
13939 * elf/sprof.c: Likewise.
13940 * iconv/dummy-repertoire.c: Likewise.
13941 * iconv/iconv_charmap.c: Likewise.
13942 * iconv/skeleton.c: Likewise.
13943 * iconvdata/8bit-generic.c: Likewise.
13944 * iconvdata/cp737.h: Likewise.
13945 * iconvdata/cp775.h: Likewise.
13946 * iconvdata/ibm1008.h: Likewise.
13947 * iconvdata/ibm1025.h: Likewise.
13948 * iconvdata/ibm1046.h: Likewise.
13949 * iconvdata/ibm1097.h: Likewise.
13950 * iconvdata/ibm1112.h: Likewise.
13951 * iconvdata/ibm1122.h: Likewise.
13952 * iconvdata/ibm1123.h: Likewise.
13953 * iconvdata/ibm1124.h: Likewise.
13954 * iconvdata/ibm1129.h: Likewise.
13955 * iconvdata/ibm1130.h: Likewise.
13956 * iconvdata/ibm1132.h: Likewise.
13957 * iconvdata/ibm1133.h: Likewise.
13958 * iconvdata/ibm1137.h: Likewise.
13959 * iconvdata/ibm1140.h: Likewise.
13960 * iconvdata/ibm1141.h: Likewise.
13961 * iconvdata/ibm1142.h: Likewise.
13962 * iconvdata/ibm1143.h: Likewise.
13963 * iconvdata/ibm1144.h: Likewise.
13964 * iconvdata/ibm1145.h: Likewise.
13965 * iconvdata/ibm1146.h: Likewise.
13966 * iconvdata/ibm1147.h: Likewise.
13967 * iconvdata/ibm1148.h: Likewise.
13968 * iconvdata/ibm1149.h: Likewise.
13969 * iconvdata/ibm1153.h: Likewise.
13970 * iconvdata/ibm1154.h: Likewise.
13971 * iconvdata/ibm1155.h: Likewise.
13972 * iconvdata/ibm1156.h: Likewise.
13973 * iconvdata/ibm1157.h: Likewise.
13974 * iconvdata/ibm1158.h: Likewise.
13975 * iconvdata/ibm1160.h: Likewise.
13976 * iconvdata/ibm1161.h: Likewise.
13977 * iconvdata/ibm1162.h: Likewise.
13978 * iconvdata/ibm1163.h: Likewise.
13979 * iconvdata/ibm1164.h: Likewise.
13980 * iconvdata/ibm1166.h: Likewise.
13981 * iconvdata/ibm1167.h: Likewise.
13982 * iconvdata/ibm12712.h: Likewise.
13983 * iconvdata/ibm1390.h: Likewise.
13984 * iconvdata/ibm1399.h: Likewise.
13985 * iconvdata/ibm16804.h: Likewise.
13986 * iconvdata/ibm4517.h: Likewise.
13987 * iconvdata/ibm4899.h: Likewise.
13988 * iconvdata/ibm4909.h: Likewise.
13989 * iconvdata/ibm4971.h: Likewise.
13990 * iconvdata/ibm5347.h: Likewise.
13991 * iconvdata/ibm803.h: Likewise.
13992 * iconvdata/ibm856.h: Likewise.
13993 * iconvdata/ibm901.h: Likewise.
13994 * iconvdata/ibm902.h: Likewise.
13995 * iconvdata/ibm9030.h: Likewise.
13996 * iconvdata/ibm9066.h: Likewise.
13997 * iconvdata/ibm921.h: Likewise.
13998 * iconvdata/ibm922.h: Likewise.
13999 * iconvdata/ibm9448.h: Likewise.
14000 * iconvdata/isiri-3342.h: Likewise.
14001 * iconvdata/jis0201.h: Likewise.
14002 * include/link.h: Likewise.
14003 * include/netdb.h: Likewise.
14004 * inet/check_native.c: Likewise.
14005 * inet/check_pf.c: Likewise.
14006 * inet/getipv4sourcefilter.c: Likewise.
14007 * inet/getnameinfo.c: Likewise.
14008 * inet/getsourcefilter.c: Likewise.
14009 * inet/htonl.c: Likewise.
14010 * inet/setipv4sourcefilter.c: Likewise.
14011 * inet/setsourcefilter.c: Likewise.
14012 * inet/test-inet6_opt.c: Likewise.
14013 * inet/tst-network.c: Likewise.
14014 * locale/C-collate.c: Likewise.
14015 * locale/C-ctype.c: Likewise.
14016 * locale/C-time.c: Likewise.
14017 * locale/C-translit.h: Likewise.
14018 * locale/loadarchive.c: Likewise.
14019 * locale/programs/3level.h: Likewise.
14020 * locale/programs/charmap.c: Likewise.
14021 * locale/programs/charmap.h: Likewise.
14022 * locale/programs/ld-address.c: Likewise.
14023 * locale/programs/ld-collate.c: Likewise.
14024 * locale/programs/ld-ctype.c: Likewise.
14025 * locale/programs/ld-identification.c: Likewise.
14026 * locale/programs/ld-measurement.c: Likewise.
14027 * locale/programs/ld-messages.c: Likewise.
14028 * locale/programs/ld-monetary.c: Likewise.
14029 * locale/programs/ld-name.c: Likewise.
14030 * locale/programs/ld-numeric.c: Likewise.
14031 * locale/programs/ld-paper.c: Likewise.
14032 * locale/programs/ld-telephone.c: Likewise.
14033 * locale/programs/ld-time.c: Likewise.
14034 * locale/programs/linereader.c: Likewise.
14035 * locale/programs/locale.c: Likewise.
14036 * locale/programs/locarchive.c: Likewise.
14037 * locale/programs/locfile.h: Likewise.
14038 * locale/programs/repertoire.c: Likewise.
14039 * locale/programs/simple-hash.c: Likewise.
14040 * locale/programs/simple-hash.h: Likewise.
14041 * malloc/memusage.c: Likewise.
14042 * malloc/memusagestat.c: Likewise.
14043 * nis/nis_defaults.c: Likewise.
14044 * nis/nis_hash.c: Likewise.
14045 * nis/nis_print.c: Likewise.
14046 * nis/nis_xdr.c: Likewise.
14047 * nscd/connections.c: Likewise.
14048 * nscd/hstcache.c: Likewise.
14049 * nscd/nscd_gethst_r.c: Likewise.
14050 * nscd/nscd_getserv_r.c: Likewise.
14051 * nscd/nscd_helper.c: Likewise.
14052 * nscd/servicescache.c: Likewise.
14053 * nss/makedb.c: Likewise.
14054 * nss/nss_db/db-XXX.c: Likewise.
14055 * nss/nss_db/db-initgroups.c: Likewise.
14056 * nss/nss_db/db-netgrp.c: Likewise.
14057 * nss/nss_files/files-network.c: Likewise.
14058 * nss/nss_files/files-parse.c: Likewise.
14059 * posix/bug-regex5.c: Likewise.
14060 * posix/fnmatch_loop.c: Likewise.
14061 * posix/regcomp.c: Likewise.
14062 * posix/regexec.c: Likewise.
14063 * posix/tst-rfc3484-2.c: Likewise.
14064 * posix/tst-rfc3484-3.c: Likewise.
14065 * posix/tst-rfc3484.c: Likewise.
14066 * resolv/nss_dns/dns-canon.c: Likewise.
14067 * resolv/nss_dns/dns-network.c: Likewise.
14068 * resolv/res_init.c: Likewise.
14069 * resolv/res_mkquery.c: Likewise.
14070 * resolv/tst-aton.c: Likewise.
14071 * stdlib/cxa_atexit.c: Likewise.
14072 * stdlib/cxa_finalize.c: Likewise.
14073 * stdlib/gen-fpioconst.c: Likewise.
14074 * stdlib/strtol_l.c: Likewise.
14075 * string/tst-endian.c: Likewise.
14076 * sunrpc/auth_des.c: Likewise.
14077 * sunrpc/clnt_udp.c: Likewise.
14078 * sunrpc/rtime.c: Likewise.
14079 * sunrpc/svcauth_des.c: Likewise.
14080 * sunrpc/xdr.c: Likewise.
14081 * sunrpc/xdr_intXX_t.c: Likewise.
14082 * sunrpc/xdr_rec.c: Likewise.
14083 * sysdeps/generic/ldconfig.h: Likewise.
14084 * sysdeps/generic/ldsodefs.h: Likewise.
14085 * sysdeps/generic/memusage.h: Likewise.
14086 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14088 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14096 * sysdeps/posix/getaddrinfo.c: Likewise.
14097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14099 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14100 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14101 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14102 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14103 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14104 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14105 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14106 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14107 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14108 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14109 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14110 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14111 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14112 * sysdeps/x86_64/dl-tls.h: Likewise.
14113 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14114 * time/alt_digit.c: Likewise.
14115 * time/era.c: Likewise.
14116 * wcsmbs/tst-c16c32-1.c: Likewise.
14117
8c75f674
JM
141182013-05-16 Joseph Myers <joseph@codesourcery.com>
14119
14120 * math/libm-test.inc (struct test_sincos_data): New type.
14121 (RUN_TEST_LOOP_sincos): New macro.
14122 (sincos_test_data): New variable.
14123 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14124
e6e49e59
RH
141252013-05-16 Richard Henderson <rth@redhat.com>
14126
14127 * math/atest-exp2.c (LIMB64): New macro.
14128 (CONSTSZ): New macro.
14129 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14130 (hexdig): Move ...
14131 (print_mpn_fp): ... to function scope.
14132 (read_mpn_hex): Remove.
14133 (get_log2): Remove.
14134 (exp2_mpn): Use mp_log2.
14135 (main): Use mp_exp1.
14136
15c7c18d
JM
141372013-05-16 Joseph Myers <joseph@codesourcery.com>
14138
105a07df
JM
14139 * math/libm-test.inc: Remove comment about not testing "inexact"
14140 exceptions.
14141 (INEXACT_EXCEPTION): New macro.
14142 (NO_INEXACT_EXCEPTION): Likewise.
14143 (INVALID_EXCEPTION_OK): Update value.
14144 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14145 (OVERFLOW_EXCEPTION_OK): Likewise.
14146 (UNDERFLOW_EXCEPTION_OK): Likewise.
14147 (IGNORE_ZERO_INF_SIGN): Likewise.
14148 (ERRNO_UNCHANGED): Likewise.
14149 (ERRNO_EDOM): Likewise.
14150 (ERRNO_ERANGE): Likewise.
14151 (test_exceptions): Handle testing "inexact" exceptions.
14152 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14153 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14154 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14155 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14156 INEXACT_EXCEPTION.
14157 (rint_towardzero_test_data): Likewise.
14158 (rint_downward_test_data): Likewise.
14159 (rint_upward_test_data): Likewise.
14160
e9eee333
JM
14161 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14162 with OVERFLOW_EXCEPTION.
14163 (exp10_test_data): Likewise.
14164 (exp2_test_data): Likewise.
14165 (expm1_test_data): Likewise.
14166 (lgamma_test_data): Likewise.
14167 (pow_test_data): Likewise.
14168 (tgamma_test_data): Likewise.
14169 (yn_test_data): Remove duplicate test of overflow.
14170
1c38ff73
JM
14171 * math/libm-test.inc (struct test_cc_c_data): New type.
14172 (RUN_TEST_LOOP_cc_c): New macro.
14173 (cpow_test_data): New variable.
14174 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14175
15c7c18d
JM
14176 * math/libm-test.inc (struct test_f_L_data): New type.
14177 (RUN_TEST_LOOP_f_L): New macro.
14178 (llrint_test_data): New variable.
14179 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14180 (llrint_tonearest_test_data): New variable.
14181 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14182 (llrint_towardzero_test_data): New variable.
14183 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14184 (llrint_downward_test_data): New variable.
14185 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14186 (llrint_upward_test_data): New variable.
14187 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14188 (llround_test_data): New variable.
14189 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14190
f137ff13
PC
141912013-05-13 Peter Collingbourne <pcc@google.com>
14192
14193 * math/atest-exp2.c (get_log2): Remove const attribute.
14194
3608cb24
JM
141952013-05-15 Joseph Myers <joseph@codesourcery.com>
14196
14197 * math/libm-test.inc (struct test_f_l_data): New type.
14198 (RUN_TEST_LOOP_f_l): New macro.
14199 (lrint_test_data): New variable.
14200 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14201 (lrint_tonearest_test_data): New variable.
14202 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14203 (lrint_towardzero_test_data): New variable.
14204 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14205 (lrint_downward_test_data): New variable.
14206 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14207 (lrint_upward_test_data): New variable.
14208 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14209 (lround_test_data): New variable.
14210 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14211
39b1f617
PC
142122013-05-15 Peter Collingbourne <pcc@google.com>
14213
1deff3dc
PC
14214 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14215 (EXTRACT_WORDS64) Use where appropriate.
14216 (INSERT_WORDS64) Likewise.
14217
791f3ba0
PC
14218 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14219 constraints with x constraints.
14220 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14221
39b1f617
PC
14222 * malloc/obstack.c (_obstack_compat): Add initializer.
14223
12fba011
EM
142242013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14225
14226 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14227 si_trapno and add si_addr_lsb to _sifields.sigfault.
14228 (si_trapno): Remove macro.
14229 (si_addr_lsb): Define new macro.
14230 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14231
d369f531
JM
142322013-05-15 Joseph Myers <joseph@codesourcery.com>
14233
b861c6c4
JM
14234 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14235 instead of TEST_f_l.
14236 (llrint_test_tonearest): Likewise.
14237 (llrint_test_towardzero): Likewise.
14238 (llrint_test_downward): Likewise.
14239 (llrint_test_upward): Likewise.
14240 (llround_test): Likewise.
14241
7abeee12
JM
14242 * math/libm-test.inc (struct test_f_i_data): Add comment.
14243 (RUN_TEST_LOOP_f_b): New macro.
14244 (RUN_TEST_LOOP_f_b_tg): Likewise.
14245 (finite_test_data): New variable.
14246 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14247 (isfinite_test_data): New variable.
14248 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14249 (isinf_test_data): New variable.
14250 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14251 (isnan_test_data): New variable.
14252 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14253 (isnormal_test_data): New variable.
14254 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14255 (issignaling_test_data): New variable.
14256 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14257 (signbit_test_data): New variable.
14258 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14259
cbe8c4d3
JM
14260 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14261 with INVALID_EXCEPTION.
14262 (acosh_test_data): Likewise.
14263 (asin_test_data): Likewise.
14264 (atanh_test_data): Likewise.
14265 (fmod_test_data): Likewise.
14266 (log_test_data): Likewise.
14267 (log10_test_data): Likewise.
14268 (log2_test_data): Likewise.
14269 (pow_test_data): Likewise.
14270 (sqrt_test_data): Likewise.
14271 (y0_test_data): Likewise.
14272 (y1_test_data): Likewise.
14273 (yn_test_data): Likewise.
14274
5575c0e5
JM
14275 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14276 function contents.
14277
d369f531
JM
14278 * math/libm-test.inc (struct test_ff_i_data): New type.
14279 (RUN_TEST_LOOP_ff_i_tg): New macro.
14280 (isgreater_test_data): New variable.
14281 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14282 (isgreaterequal_test_data): New variable.
14283 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14284 (isless_test_data): New variable.
14285 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14286 (islessequal_test_data): New variable.
14287 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14288 (islessgreater_test_data): New variable.
14289 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14290 (isunordered_test_data): New variable.
14291 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14292
781fd748
DM
142932013-05-14 David S. Miller <davem@davemloft.net>
14294
14295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14296
87aa21df
JM
142972013-05-14 Joseph Myers <joseph@codesourcery.com>
14298
5e908270
JM
14299 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14300
f71172e5
JM
14301 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14302 extra_test to int.
14303 (struct test_f_i_data): Change type of max_ulp to int.
14304
8cfa635a
JM
14305 * math/libm-test.inc (test_ffI_f1_data): New type.
14306 (RUN_TEST_LOOP_ffI_f1): New macro.
14307 (remquo_test_data): New variable.
14308 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14309
2bcb36b2
JM
14310 * setjmp/tst-setjmp-fp.c: New file.
14311 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14312 (link-libm): New variable.
14313 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14314
acbd839a
JM
14315 * math/libm-test.inc (struct test_f_i_data): New type.
14316 (RUN_TEST_LOOP_f_i): New macro.
14317 (RUN_TEST_LOOP_f_i_tg): Likewise.
14318 (fpclassify_test_data): New variable.
14319 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14320 (ilogb_test_data): New variable.
14321 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14322
e414d745
JM
14323 * math/libm-test.inc (scalbln_test): Correct function name in END
14324 call.
14325
d9c2a0fd
JM
14326 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14327 (RUN_TEST_LOOP_fI_f1): New macro.
14328 (frexp_test_data): New variable.
14329 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14330
9dc9095d
JM
14331 * math/libm-test.inc (struct test_fF_f1_data): New type.
14332 (RUN_TEST_LOOP_fF_f1): New macro.
14333 (modf_test_data): New variable.
14334 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14335
87aa21df
JM
14336 * math/libm-test.inc (struct test_f_f1_data): New type.
14337 (RUN_TEST_LOOP_f_f1): New macro.
14338 (gamma_test_data): New variable.
14339 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14340 (lgamma_test_data): New variable.
14341 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14342
141af660
CD
143432013-05-13 Carlos O'Donell <carlos@redhat.com>
14344
14345 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14346 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14347 (main): Comment "tls" pseudo-hwcap.
14348
6d33265c
JM
143492013-05-13 Joseph Myers <joseph@codesourcery.com>
14350
68fc074c
JM
14351 * math/libm-test.inc (struct test_fl_f_data): New type.
14352 (RUN_TEST_LOOP_fl_f): New variable.
14353 (scalbln_test_data): New variable.
14354 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14355
243216e1
JM
14356 * math/libm-test.inc (struct test_fi_f_data): New type.
14357 (RUN_TEST_LOOP_fi_f): New macro.
14358 (ldexp_test_data): New variable.
14359 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14360 (scalbn_test_data): New variable.
14361 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14362
6a1992e2
JM
14363 * math/libm-test.inc (struct test_c_f_data): New type.
14364 (RUN_TEST_LOOP_c_f): New macro.
14365 (cabs_test_data): New variable.
14366 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14367 (carg_test_data): New variable.
14368 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14369 (cimag_test_data): New variable.
14370 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14371 (creal_test_data): New variable.
14372 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14373
0e400df5
JM
14374 * math/libm-test.inc (struct test_if_f_data): New type.
14375 (RUN_TEST_LOOP_if_f): New macro.
14376 (jn_test_data): New variable.
14377 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14378 (yn_test_data): New variable.
14379 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14380
6d33265c
JM
14381 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14382
f98ece5f
AZ
143832013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14384
14385 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14386 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14387
0f7d347b
SP
143882013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14389
43fe811b
SP
14390 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14391 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14392 (bench-deps): Add bench-timing.h.
14393 * benchtests-bench-skeleton.c: Include bench-timing.h.
14394 (main): Use TIMING_* macros instead of clock_gettime.
14395 * benchtests/bench-timing.h: New file.
14396
0f7d347b
SP
14397 [BZ #14582]
14398 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14399 Renamed from _LIB_VERSION.
14400 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14401
601a3a5f
JM
144022013-05-12 Joseph Myers <joseph@codesourcery.com>
14403
4f184d30
JM
14404 * math/libm-test.inc (struct test_fff_f_data): New type.
14405 (RUN_TEST_LOOP_fff_f): New macro.
14406 (fma_test_data): New variable.
14407 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14408 (fma_towardzero_test_data): New variable.
14409 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14410 (fma_downward_test_data): New variable.
14411 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14412 (fma_upward_test_data): New variable.
14413 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14414
08198877
JM
14415 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14416 (struct test_c_c_data): New type.
14417 (RUN_TEST_LOOP_c_c): New macro.
14418 (cacos_test_data): New variable.
14419 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14420 (cacosh_test_data): New variable.
14421 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14422 (casin_test_data): New variable.
14423 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14424 (casinh_test_data): New variable.
14425 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14426 (catan_test_data): New variable.
14427 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14428 (catanh_test_data): New variable.
14429 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14430 (ccos_test_data): New variable.
14431 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14432 (ccosh_test_data): New variable.
14433 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14434 (cexp_test_data): New variable.
14435 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14436 (clog_test_data): New variable.
14437 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14438 (clog10_test_data): New variable.
14439 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14440 (conj_test_data): New variable.
14441 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14442 (cproj_test_data): New variable.
14443 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14444 (csin_test_data): New variable.
14445 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14446 (csinh_test_data): New variable.
14447 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14448 (csqrt_test_data): New variable.
14449 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14450 (ctan_test_data): New variable.
14451 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14452 (ctan_tonearest_test_data): New variable.
14453 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14454 (ctan_towardzero_test_data): New variable.
14455 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14456 (ctan_downward_test_data): New variable.
14457 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14458 (ctan_upward_test_data): New variable.
14459 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14460 (ctanh_test_data): New variable.
14461 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14462 (ctanh_tonearest_test_data): New variable.
14463 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14464 (ctanh_towardzero_test_data): New variable.
14465 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14466 (ctanh_downward_test_data): New variable.
14467 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14468 (ctanh_upward_test_data): New variable.
14469 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14470 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14471 of BUILD_COMPLEX.
14472
601a3a5f
JM
14473 * math/libm-test.inc (struct test_ff_f_data): New type.
14474 (struct test_ff_f_data_nexttoward): Likewise.
14475 (RUN_TEST_LOOP_2_f): New macro.
14476 (RUN_TEST_LOOP_ff_f): Likewise.
14477 (atan2_test_data): New variable.
14478 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14479 (copysign_test_data): New variable.
14480 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14481 (fdim_test_data): New variable.
14482 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14483 (fmax_test_data): New variable.
14484 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14485 (fmin_test_data): New variable.
14486 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14487 (fmod_test_data): New variable.
14488 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14489 (hypot_test_data): New variable.
14490 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14491 (nextafter_test_data): New variable.
14492 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14493 (nexttoward_test_data): New variable.
14494 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14495 (pow_test_data): New variable.
14496 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14497 (pow_tonearest_test_data): New variable.
14498 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14499 (pow_towardzero_test_data): New variable.
14500 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14501 (pow_downward_test_data): New variable.
14502 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14503 (pow_upward_test_data): New variable.
14504 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14505 (remainder_test_data): New variable.
14506 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14507 (scalb_test_data): New variable.
14508 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14509 * sysdeps/i386/fpu/libm-test-ulps: Update.
14510
74c57478
JM
145112013-05-11 Joseph Myers <joseph@codesourcery.com>
14512
8329e4da
JM
14513 * math/libm-test.inc (fma_test): Use max_value instead of local
14514 variable fltmax.
14515 (nextafter_test): Likewise.
14516
74c57478
JM
14517 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14518 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14519 (acos_downward_test_data): New variable.
14520 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14521 (acos_upward_test_data): New variable.
14522 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14523 (acosh_test_data): New variable.
14524 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14525 (asin_test_data): New variable.
14526 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14527 (asin_tonearest_test_data): New variable.
14528 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14529 (asin_towardzero_test_data): New variable.
14530 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14531 (asin_downward_test_data): New variable.
14532 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14533 (asin_upward_test_data): New variable.
14534 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14535 (asinh_test_data): New variable.
14536 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14537 (atan_test_data): New variable.
14538 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14539 (atanh_test_data): New variable.
14540 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14541 (cbrt_test_data): New variable.
14542 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14543 (ceil_test_data): New variable.
14544 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14545 (cos_test_data): New variable.
14546 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14547 (cos_tonearest_test_data): New variable.
14548 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14549 (cos_towardzero_test_data): New variable.
14550 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14551 (cos_downward_test_data): New variable.
14552 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14553 (cos_upward_test_data): New variable.
14554 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14555 (cosh_test_data): New variable.
14556 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14557 (cosh_tonearest_test_data): New variable.
14558 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14559 (cosh_towardzero_test_data): New variable.
14560 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14561 (cosh_downward_test_data): New variable.
14562 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14563 (cosh_upward_test_data): New variable.
14564 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14565 (erf_test_data): New variable.
14566 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14567 (erfc_test_data): New variable.
14568 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14569 (exp_test_data): New variable.
14570 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14571 (exp_tonearest_test_data): New variable.
14572 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14573 (exp_towardzero_test_data): New variable.
14574 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14575 (exp_downward_test_data): New variable.
14576 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14577 (exp_upward_test_data): New variable.
14578 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14579 (exp10_test_data): New variable.
14580 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14581 (exp2_test_data): New variable.
14582 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14583 (expm1_test_data): New variable.
14584 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14585 (fabs_test_data): New variable.
14586 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14587 (floor_test_data): New variable.
14588 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14589 (j0_test_data): New variable.
14590 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14591 (j1_test_data): New variable.
14592 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14593 (log_test_data): New variable.
14594 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14595 (log10_test_data): New variable.
14596 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14597 (log1p_test_data): New variable.
14598 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14599 (log2_test_data): New variable.
14600 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14601 (logb_test_data): New variable.
14602 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14603 (logb_downward_test_data): New variable.
14604 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14605 (nearbyint_test_data): New variable.
14606 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14607 (rint_test_data): New variable.
14608 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14609 (rint_tonearest_test_data): New variable.
14610 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14611 (rint_towardzero_test_data): New variable.
14612 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14613 (rint_downward_test_data): New variable.
14614 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14615 (rint_upward_test_data): New variable.
14616 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14617 (round_test_data): New variable.
14618 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14619 (sin_test_data): New variable.
14620 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14621 (sin_tonearest_test_data): New variable.
14622 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14623 (sin_towardzero_test_data): New variable.
14624 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14625 (sin_downward_test_data): New variable.
14626 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14627 (sin_upward_test_data): New variable.
14628 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14629 (sinh_test_data): New variable.
14630 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14631 (sinh_tonearest_test_data): New variable.
14632 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14633 (sinh_towardzero_test_data): New variable.
14634 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14635 (sinh_downward_test_data): New variable.
14636 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14637 (sinh_upward_test_data): New variable.
14638 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14639 (sqrt_test_data): New variable.
14640 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14641 (tan_test_data): New variable.
14642 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14643 (tan_tonearest_test_data): New variable.
14644 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14645 (tan_towardzero_test_data): New variable.
14646 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14647 (tan_downward_test_data): New variable.
14648 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14649 (tan_upward_test_data): New variable.
14650 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14651 (tanh_test_data): New variable.
14652 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14653 (tgamma_test_data): New variable.
14654 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14655 (trunc_test_data): New variable.
14656 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14657 (y0_test_data): New variable.
14658 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14659 (y1_test_data): New variable.
14660 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14661 (significand_test_data): New variable.
14662 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14663
7187d844
CG
146642013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14665
14666 [BZ #12387]
14667 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14668
f63fae73
PT
146692013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14670
14671 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14672
8a67a4b3
AJ
146732013-05-10 Andreas Jaeger <aj@suse.de>
14674
14675 [BZ #15448]
14676 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14677 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14678
51df539d
JM
146792013-05-10 Joseph Myers <joseph@codesourcery.com>
14680
14681 * math/gen-libm-test.pl (adjust_arg): New function.
14682 (special_functions): Handle generating output in both functions
14683 and arrays.
14684 (parse_args): Likewise.
14685 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14686 $in_func argument to parse_args.
14687 * math/libm-test.inc (struct test_f_f_data): New type.
14688 (IF_ROUND_INIT_): New macro.
14689 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14690 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14691 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14692 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14693 (ROUND_RESTORE_): Likewise.
14694 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14695 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14696 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14697 (ROUND_RESTORE_FE_UPWARD): Likewise.
14698 (RUN_TEST_LOOP_f_f): New macro.
14699 (acos_test_data): New variable.
14700 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14701 (acos_tonearest_test_data): New variable.
14702 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14703
5c637fe5
SP
147042013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14705
14706 * benchtests/bench-skeleton.c (startup): Fix coding style.
14707
ab2b9461
JM
147082013-05-10 Joseph Myers <joseph@codesourcery.com>
14709
14710 [BZ #6809]
14711 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14712 negative infinity argument.
14713 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14714 negative infinity argument.
14715 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14716 negative infinity argument.
14717 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14718 domain errors.
14719
4c0fe6fe
FW
147202013-05-10 Florian Weimer <fweimer@redhat.com>
14721
14722 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14723 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14724 * iconv/iconv_prog.c (main): Likewise.
14725 * locale/programs/charmap-dir.c (charmap_readdir)
14726 (fopen_uncompressed): Likewise.
14727 * locale/programs/locfile.c (siblings_uncached)
14728 (write_locale_data): Use lstat64 instead of lstat.
14729 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14730 stat.
14731
a3375d29
AJ
147322013-05-10 Andreas Jaeger <aj@suse.de>
14733
14734 [BZ #15395]
14735 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14736 localization.
14737 Include <locale.h>.
14738
36129722
CD
147392013-05-09 Carlos O'Donell <carlos@redhat.com>
14740
14741 * elf/dl-close.c (_dl_close_worker): Add comments.
14742
faa7f811
JM
147432013-05-09 Joseph Myers <joseph@codesourcery.com>
14744
ed41ffef
JM
14745 [BZ #15359]
14746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14747 high part of pi/2.
14748 (__ieee754_rem_pio2l): Update comments.
14749
d0213cd0
JM
14750 [BZ #15429]
14751 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14752 high part of pi/2.
14753 (__ieee754_rem_pio2l): Update comments.
14754
0d3e777a
JM
14755 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14756 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14757
24f56066
JM
14758 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14759 M_PI_4l.
14760
faa7f811
JM
14761 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14762 (M_PI_34_LOG10El): Likewise.
14763 (M_PI2_LOG10El): Likewise.
14764 (M_PI4_LOG10El): Likewise.
14765 (M_PI_LOG10El): Likewise.
14766
e9a5e0fd
AZ
147672013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14768
14769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14770
d8cd06db
JM
147712013-05-08 Joseph Myers <joseph@codesourcery.com>
14772
a0d9f9d7
JM
14773 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14774 (MINUS_ZERO_INIT): Likewise.
14775 (PLUS_INFTY_INIT): Likewise.
14776 (MINUS_INFTY_INIT): Likewise.
14777 (QNAN_VALUE_INIT): Likewise.
14778 (MAX_VALUE_INIT): Likewise.
14779 (MIN_VALUE_INIT): Likewise.
14780 (MIN_SUBNORM_VALUE_INIT): Likewise.
14781 (plus_zero): Initialize with PLUS_ZERO_INIT.
14782 (minus_zero): Initialize with MINUS_ZERO_INIT.
14783 (plus_infty): Initialize with PLUS_INFTY_INIT.
14784 (minus_infty): Initialize with MINUS_INFTY_INIT.
14785 (qnan_value): Initialize with QNAN_VALUE_INIT.
14786 (max_value): Initialize with MAX_VALUE_INIT.
14787 (min_value): Initialize with MIN_VALUE_INIT.
14788 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14789
ae08db3b
JM
14790 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14791 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14792 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14793 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14794
f44bf14a
JM
14795 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14796 (RUN_TEST_2_f): Likewise.
14797 (RUN_TEST_ff_f): Likewise.
14798 (RUN_TEST_fi_f): Likewise.
14799 (RUN_TEST_fl_f): Likewise.
14800 (RUN_TEST_fff_f): Likewise.
14801 (RUN_TEST_c_f): Likewise.
14802 (RUN_TEST_f_f1): Likewise.
14803 (RUN_TEST_fF_f1): Likewise.
14804 (RUN_TEST_fI_f1): Likewise.
14805 (RUN_TEST_ffI_f1): Likewise.
14806 (RUN_TEST_c_c): Likewise.
14807 (RUN_TEST_cc_c): Likewise.
14808 (RUN_TEST_f_i): Likewise.
14809 (RUN_TEST_f_i_tg): Likewise.
14810 (RUN_TEST_ff_i_tg): Likewise.
14811 (RUN_TEST_f_b): Likewise.
14812 (RUN_TEST_f_b_tg): Likewise.
14813 (RUN_TEST_f_l): Likewise.
14814 (RUN_TEST_f_L): Likewise.
14815 (RUN_TEST_sincos): Likewise.
14816 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14817 whether to show exceptions. Do not include ");\n" in return
14818 value.
14819 (special_functions): Output call to RUN_TEST_sincos instead of
14820 check_float calls. Update calls to new_test.
14821 (parse_args): Output call to single RUN_TEST_* macro instead of
14822 check_* calls and other assignments. Update calls to new_test.
14823
d8cd06db
JM
14824 [BZ #2546]
14825 [BZ #2560]
14826 [BZ #5159]
14827 [BZ #15426]
14828 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14829 input to result for tgamma overflow.
14830 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14831 (gamma_coeff): New variable.
14832 (NCOEFF): New macro.
14833 (gamma_positive): New function.
14834 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14835 underflow here. Use gamma_positive instead of exp (lgamma) for
14836 other arguments.
14837 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14838 (gamma_coeff): New variable.
14839 (NCOEFF): New macro.
14840 (gammaf_positive): New function.
14841 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14842 underflow here. Use gamma_positive instead of exp (lgamma) for
14843 other arguments.
14844 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14845 (gamma_coeff): New variable.
14846 (NCOEFF): New macro.
14847 (gammal_positive): New function.
14848 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14849 underflow here. Use gamma_positive instead of exp (lgamma) for
14850 other arguments.
14851 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14852 (gamma_coeff): New variable.
14853 (NCOEFF): New macro.
14854 (gammal_positive): New function.
14855 (__ieee754_gammal_r): Handle positive infinity, overflow and
14856 underflow here. Handle NaN the same as positive infinity. Remove
14857 check x < 0xffffffff for negative integers. Use gamma_positive
14858 instead of exp (lgamma) for other arguments.
14859 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14860 (gamma_coeff): New variable.
14861 (NCOEFF): New macro.
14862 (gammal_positive): New function.
14863 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14864 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14867 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14868 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14869 * sysdeps/generic/math_private.h (__gamma_productf): New
14870 prototype.
14871 (__gamma_product): Likewise.
14872 (__gamma_productl): Likewise.
14873 * math/Makefile (libm-calls): Add gamma_product.
14874 * math/libm-test.inc (tgamma_test): Add more tests.
14875 * sysdeps/i386/fpu/libm-test-ulps: Update.
14876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14877
bb7cf681
OB
148782013-05-08 Ondřej Bílka <neleai@seznam.cz>
14879
14880 * benchtests/bench-skeleton.c (main): Preheat CPU.
14881
ba853947
AJ
148822013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14883
14884 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14885
8347c74c
RM
148862013-05-07 Roland McGrath <roland@hack.frob.com>
14887
14888 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14889 and _dl_skip_args_internal.
14890
e8dd4791
CD
148912013-05-07 Carlos O'Donell <carlos@redhat.com>
14892
14893 * manual/message.texi (Message Translation): Talk about users.
14894 Message to key mapping impacts design.
14895
c7405830
RM
148962013-05-06 Roland McGrath <roland@hack.frob.com>
14897
a9173057
RM
14898 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14899
976e2f03
RM
14900 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14901
9723ffc5
RM
14902 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14903 * sysdeps/wordsize-64/glob64.c: ... here.
14904
962e6658
RM
14905 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14906 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14907 New macros.
14908
ee586a6d
RM
14909 * debug/getlogin_r_chk.c: Moved to ...
14910 * login/getlogin_r_chk.c: ... here.
14911 * debug/Makefile (routines): Move getlogin_r_chk to ...
14912 * login/Makefile (routines): ... here.
14913 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14914 * login/Versions (libc: GLIBC_2.4): ... here.
14915
355f9165
RM
14916 * io/poll.c (__poll): Renamed from poll.
14917 Add libc_hidden_def.
14918 (poll): Define as weak alias.
14919
bd9ffde6
RM
14920 * debug/ptsname_r_chk.c: Moved to ...
14921 * login/ptsname_r_chk.c: ... here.
14922 * debug/Makefile (routines): Move ptsname_r_chk to ...
14923 * login/Makefile (routines): ... here.
14924 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14925 * login/Versions (libc: GLIBC_2.4): ... here.
14926
8fb16a04
RM
14927 * posix/getlogin.c: Moved to ...
14928 * login/getlogin.c: ... here.
14929 * posix/getlogin_r.c: Moved to ...
14930 * login/getlogin_r.c: ... here.
14931 * posix/getlogin_r.c: Moved to ...
14932 * login/getlogin_r.c: ... here.
14933 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14934 * login/Makefile (routines): ... here.
14935 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14936 * login/Versions (libc: GLIBC_2.0): ... here.
14937
b99b892f
RM
14938 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14939 (setrlimit): Define as weak alias.
14940
c7405830
RM
14941 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14942 Call __ names for open, ftruncate, and close.
14943 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14944 (truncate): Define as weak alias.
14945
5bf96de5
JM
149462013-05-06 Joseph Myers <joseph@codesourcery.com>
14947
9ea3513c
JM
14948 * math/gen-libm-test.pl (parse_args): Initialize x before each
14949 test of frexp, modf and remquo.
14950
5bf96de5
JM
14951 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14952 test signgam value.
14953
16e616a7
AZ
149542013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14955
14956 [BZ #15418]
14957 [BZ #15419]
14958 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14959 internal tests.
14960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14961
d5e82754
RM
149622013-05-06 Roland McGrath <roland@hack.frob.com>
14963
14964 * elf/dl-writev.h: New file.
14965 * elf/dl-misc.c: Include it.
14966 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14967 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14968
a7548d41
JM
149692013-05-04 Joseph Myers <joseph@codesourcery.com>
14970
b7dab1e4
JM
14971 * math/libm-test.inc (noXFails): Remove variable.
14972 (noXPasses): Likewise.
14973 (BUILD_COMPLEX_INT): Remove macro.
14974 (print_screen): Remove xfail argument.
14975 (print_screen_max_error): Likewise.
14976 (update_stats): Likewise.
14977 (print_max_error): Likewise. Update calls to other affected
14978 functions.
14979 (print_complex_max_error): Likewise.
14980 (test_single_exception): Update calls to print_screen.
14981 (test_single_errno): Likewise.
14982 (check_float_internal): Remove xfail argument. Update calls to
14983 other affected functions.
14984 (check_float): Likewise.
14985 (check_complex): Likewise.
14986 (check_int): Likewise.
14987 (check_long): Likewise.
14988 (check_bool): Likewise.
14989 (check_longlong): Likewise.
14990 (main): Don't print noXFails and noXPasses.
14991 * math/gen-libm-test.pl (top level): Don't mention expected
14992 failure handling in comment.
14993 (new_test): Don't handle expected failures.
14994 (parse_args): Don't mention expected failure handling in comment.
14995 (generate_testfile): Don't handle expected failures.
14996 (parse_ulps): Likewise.
14997 (print_ulps_file): Likewise.
14998 (get_failure): Remove function.
14999 (output_test): Don't handle expected failures.
15000 * make/README.libm-test: Don't mention expected failure handling.
15001
a7548d41
JM
15002 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15003 (minus_zero): Likewise.
15004 (plus_infty): Likewise.
15005 (minus_infty): Likewise.
15006 (qnan_value): Likewise.
15007 (max_value): Likewise.
15008 (min_value): Likewise.
15009 (min_subnorm_value): Likewise.
15010 (initialize): Do not initialize those variables dynamically.
15011
60bfd54c
RM
150122013-05-03 Roland McGrath <roland@hack.frob.com>
15013
cc0e6ed8
RM
15014 * io/open.c (__open_2): Moved to ...
15015 * io/open_2.c: ... this new file.
15016 * io/open64.c (__open64_2): Moved to ...
15017 * io/open64_2.c: ... this new file.
15018 * io/openat.c (__openat_2): Moved to ...
15019 * io/openat_2.c: ... this new file.
15020 * io/openat64.c (__openat64_2): Moved to ...
15021 * io/openat64_2.c: ... this new file.
15022 * io/Makefile (routines): Add them.
15023 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15024 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15025 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15026 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15027 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15028 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15029 (__openat64): Add hidden_ver.
15030 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15031 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15032
60bfd54c
RM
15033 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15034 Separately conditionalize setting of GLRO(dl_sysinfo) so
15035 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15036 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15037
83e7640f
AZ
150382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15039
15040 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15041 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15042 definition.
15043 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15044 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15045 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15046 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15047 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15048
d5dc2af3
JM
150492013-05-03 Joseph Myers <joseph@codesourcery.com>
15050
c31a5b1e
JM
15051 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15052 test signgam value.
15053
d5dc2af3
JM
15054 * math/libm-test.inc (hypot_test): Do not use
15055 IGNORE_ZERO_INF_SIGN.
15056
164fd39d
AJ
150572013-05-03 Andreas Jaeger <aj@suse.de>
15058
15059 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15060 Linux 3.9.
15061 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15062 (PF_MAX): Adjust for VSOCK change.
15063
8237f48c
AZ
150642013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15065
15066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15067
9df02941
CD
150682013-05-02 Carlos O'Donell <carlos@redhat.com>
15069
15070 [BZ #15264]
15071 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15072 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15073 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15074
d422395e
DM
150752013-05-02 David S. Miller <davem@davemloft.net>
15076
15077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15078
a07c5731
OB
150792013-05-01 Ondřej Bílka <neleai@seznam.cz>
15080
15081 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15082
1324e37f
RM
150832013-05-01 Roland McGrath <roland@hack.frob.com>
15084
15085 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15086
0695940b
RS
150872013-05-01 Richard Smith <richard@metafoo.co.uk>
15088
bb5f27ad 15089 [BZ #14952]
0695940b
RS
15090 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15091 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15092 Use __attribute__ ((__gnu_inline__)).
15093 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15094 Don't use __attribute__ ((__gnu_inline__)).
15095
10de07f5
JM
150962013-05-01 Joseph Myers <joseph@codesourcery.com>
15097
15098 [BZ #15423]
15099 * math/s_catan.c (__catan): Handle small real or imaginary part of
15100 input specially to avoid spurious underflow.
15101 * math/s_catanf.c (__catanf): Likewise.
15102 * math/s_catanh.c (__catanh): Likewise.
15103 * math/s_catanhf.c (__catanhf): Likewise.
15104 * math/s_catanhl.c (__catanhl): Likewise.
15105 * math/s_catanl.c (__catanl): Likewise.
15106 * math/libm-test.inc (catan_test): Add more tests.
15107 (catanh_test): Likewise.
15108 * sysdeps/i386/fpu/libm-test-ulps: Update.
15109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15110
cb4d5414
AZ
151112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15112
15113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15114
caf84319
JM
151152013-04-30 Joseph Myers <joseph@codesourcery.com>
15116
15117 [BZ #15416]
15118 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15119 accurately for denominator in atan2.
15120 * math/s_catanf.c (__catanf): Likewise.
15121 * math/s_catanh.c (__catanh): Likewise.
15122 * math/s_catanhf.c (__catanhf): Likewise.
15123 * math/s_catanhl.c (__catanhl): Likewise.
15124 * math/s_catanl.c (__catanl): Likewise.
15125 * math/libm-test.inc (catan_test): Add more tests.
15126 (catanh_test): Likewise.
15127 * sysdeps/i386/fpu/libm-test-ulps: Update.
15128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15129
d569c6ee
SP
151302013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15131
6dbe713d
SP
15132 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15133
f0ee064b
SP
15134 * benchtests/Makefile (bench): Remove slow benchmarks.
15135 * benchtests/atan-inputs: Add slow benchmark inputs.
15136 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15137 (BENCH_FUNC): Accept variant offset.
15138 (VARIANT): Define.
15139 * benchtests/bench-skeleton.c (main): Run benchmark for each
15140 variant.
15141 * benchtests/cos-inputs: Add slow benchmark inputs.
15142 * benchtests/exp-inputs: Likewise.
15143 * benchtests/pow-inputs: Likewise.
15144 * benchtests/sin-inputs: Likewise.
15145 * benchtests/slowatan-inputs: Remove.
15146 * benchtests/slowatan.c: Remove.
15147 * benchtests/slowcos-inputs: Remove.
15148 * benchtests/slowcos.c: Remove.
15149 * benchtests/slowexp-inputs: Remove.
15150 * benchtests/slowexp.c: Remove.
15151 * benchtests/slowpow-inputs: Remove.
15152 * benchtests/slowpow.c: Remove.
15153 * benchtests/slowsin-inputs: Remove.
15154 * benchtests/slowsin.c: Remove.
15155 * benchtests/slowtan-inputs: Remove.
15156 * benchtests/slowtan.c: Remove.
15157 * benchtests/tan-inputs: Add slow benchmark inputs.
15158 * scripts/bench.pl: Parse comments and directives.
15159
d569c6ee
SP
15160 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15161 in CPPFLAGS.
15162 ($(objpfx)bench-%.c): Remove *-ITER.
15163 * benchtests/bench-modf.c: Remove definition of ITER.
15164 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15165 (main): Loop for DURATION seconds instead of fixed number of
15166 iterations.
15167 * scripts/bench.pl: Don't expect iterations in parameters.
15168
a6a242fe
RM
151692013-04-29 Roland McGrath <roland@hack.frob.com>
15170
15171 * io/fchdir.c (__fchdir): Renamed from fchdir.
15172 (fchdir): Define as weak alias.
15173
f2da7793
JM
151742013-04-29 Joseph Myers <joseph@codesourcery.com>
15175
15176 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15177 (ERRNO_EDOM): Likewise.
15178 (ERRNO_ERANGE): Likewise.
15179 (noErrnoTests): New variable.
15180 (init_max_error): Set errno to 0.
15181 (test_single_errno): New function.
15182 (test_errno): Likewise.
15183 (check_float_internal): Call test_errno. Set errno to 0.
15184 (check_complex): Refer to errno tests in comment.
15185 (check_int): Call test_errno. Set errno to 0.
15186 (check_long): Likewise.
15187 (check_bool): Likewise.
15188 (check_longlong): Likewise.
15189 (cos_test): Use ERRNO_* flags for errno tests instead of
15190 check_int.
15191 (expm1_test): Likewise.
15192 (fmod_test): Likewise.
15193 (ilogb_test): Likewise.
15194 (lgamma_test): Likewise.
15195 (pow_test): Likewise.
15196 (remainder_test): Likewise.
15197 (sin_test): Likewise.
15198 (tan_test): Likewise.
15199 (yn_test): Likewise.
15200 (initialize): Set errno to 0.
15201 (main): Print number of errno tests.
15202 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15203
b1a36ceb
AJ
152042013-04-29 Andreas Jaeger <aj@suse.de>
15205
c3ed8088
AJ
15206 [BZ #15084]
15207 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15208 and RES_USEVC.
15209
f1a24198
AJ
15210 [BZ #15085]
15211 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15212 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15213 unimplemented.
15214
9ce3b2cb
AJ
15215 [BZ #15380]
15216 * stdlib/random.c (__initstate): Return NULL if
15217 __initstate fails.
15218
f1a24198 15219 [BZ #15086]
b1a36ceb
AJ
15220 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15221 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15222 RES_SNGLKUPREOP.
15223
7e7b6f36
AZ
152242013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15225
15226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15227
4d14f449
JM
152282013-04-29 Joseph Myers <joseph@codesourcery.com>
15229
15230 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15231 of individual tests.
15232 (casin_test): Likewise.
15233 (casinh_test): Likewise.
15234
5b4217d7
JM
152352013-04-27 Joseph Myers <joseph@codesourcery.com>
15236
15237 [BZ #15409]
15238 * math/s_catan.c (__catan): Handle arguments with large real or
15239 imaginary part separately without squaring.
15240 * math/s_catanf.c (__catanf): Likewise.
15241 * math/s_catanh.c (__catanh): Likewise.
15242 * math/s_catanhf.c (__catanhf): Likewise.
15243 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15244 and redefine.
15245 (__catanhl): Handle arguments with large real or imaginary part
15246 separately without squaring.
15247 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15248 and redefine.
15249 (__catanl): Handle arguments with large real or imaginary part
15250 separately without squaring.
15251 * math/libm-test.inc (catan_test): Add more tests.
15252 (catanh_test): Likewise.
15253 * sysdeps/i386/fpu/libm-test-ulps: Update.
15254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15255
4220c3ef
AJ
152562013-04-27 Andreas Jaeger <aj@suse.de>
15257
15258 [BZ #15007]
15259 * stdlib/stdlib.h: Update guards for qecvt.
15260 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15261 <stdlib.h>.
15262
4721b2d1
AM
152632013-04-27 Allan McRae <allan@archlinux.org>
15264
15265 * sysdeps/i386/fpu/libm-test-ulps: Update.
15266
f0302940
JM
152672013-04-26 Joseph Myers <joseph@codesourcery.com>
15268
9457fd95
JM
15269 [BZ #15406]
15270 * math/s_catan.c: Include <float.h>.
15271 (__catan): Ensure underflow exception occurs for underflowed
15272 result.
15273 * math/s_catanf.c: Include <float.h>.
15274 (__catanf): Ensure underflow exception occurs for underflowed
15275 result.
15276 * math/s_catanh.c: Include <float.h>.
15277 (__catanh): Ensure underflow exception occurs for underflowed
15278 result.
15279 * math/s_catanhf.c: Include <float.h>.
15280 (__catanhf): Ensure underflow exception occurs for underflowed
15281 result.
15282 * math/s_catanhl.c: Include <float.h>.
15283 (__catanhl): Ensure underflow exception occurs for underflowed
15284 result.
15285 * math/s_catanl.c: Include <float.h>.
15286 (__catanl): Ensure underflow exception occurs for underflowed
15287 result.
15288 * math/libm-test.inc (catan_test): Add more tests.
15289 (catanh_test): Likewise.
15290
f0302940
JM
15291 [BZ #15405]
15292 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15293 underflowed result.
15294 * math/s_ccoshf.c (__ccoshf): Likewise.
15295 * math/s_ccoshl.c (__ccoshl): Likewise.
15296 * math/s_csin.c (__csin): Likewise.
15297 * math/s_csinf.c (__csinf): Likewise.
15298 * math/s_csinh.c (__csinh): Likewise.
15299 * math/s_csinhf.c (__csinhf): Likewise.
15300 * math/s_csinhl.c (__csinhl): Likewise.
15301 * math/s_csinl.c (__csinl): Likewise.
15302 * math/libm-test.inc (ccos_test): Add more tests.
15303 (ccosh_test): Likewise.
15304 (csin_test): Likewise.
15305 (csinh_test): Likewise.
15306
aa630f59
AZ
153072013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15308
15309 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15310 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15311 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15312 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15313 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15314 powerpc/power5+/fpu folders.
15315 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15316
15317
1b835983
MT
153182013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15319
15320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15321
73709b26
JM
153222013-04-25 Joseph Myers <joseph@codesourcery.com>
15323
15324 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15325 additions to variable.
15326 [$(config-machine) = x86_64] (modules-names): Likewise.
15327 ($(objpfx)tst-audit3): Remove dependency.
15328 ($(objpfx)tst-audit3.out): Likewise.
15329 ($(objpfx)tst-audit4): Likewise.
15330 ($(objpfx)tst-audit4.out): Likewise.
15331 ($(objpfx)tst-audit5): Likewise.
15332 ($(objpfx)tst-audit5.out): Likewise.
15333 ($(objpfx)tst-audit6): Likewise.
15334 ($(objpfx)tst-audit6.out): Likewise.
15335 ($(objpfx)tst-audit7): Likewise.
15336 ($(objpfx)tst-audit7.out): Likewise.
15337 (tst-audit3-ENV): Remove variable.
15338 (tst-audit4-ENV): Likewise.
15339 (tst-audit5-ENV): Likewise.
15340 (tst-audit6-ENV): Likewise.
15341 (tst-audit7-ENV): Likewise.
15342 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15343 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15344 addition to variable.
15345 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15346 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15347 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15348 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15349 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15350 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15351 tst-audit3, tst-audit4 and tst-audit5.
15352 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15353 tst-audit6 and tst-audit7.
15354 [$(subdir) = elf] (modules-names): Add audit modules for those
15355 tests.
15356 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15357 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15358 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15359 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15360 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15361 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15362 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15363 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15364 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15365 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15366 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15367 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15368 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15369 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15370 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15371 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15372 Likewise.
15373 [$(subdir) = elf && $(config-cflags-avx) = yes]
15374 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15375 [$(subdir) = elf && $(config-cflags-avx) = yes]
15376 (CFLAGS-tst-auditmod4a.c): Likewise.
15377 [$(subdir) = elf && $(config-cflags-avx) = yes]
15378 (CFLAGS-tst-auditmod4b.c): Likewise.
15379 [$(subdir) = elf && $(config-cflags-avx) = yes]
15380 (CFLAGS-tst-auditmod6b.c): Likewise.
15381 [$(subdir) = elf && $(config-cflags-avx) = yes]
15382 (CFLAGS-tst-auditmod6c.c): Likewise.
15383 [$(subdir) = elf && $(config-cflags-avx) = yes]
15384 (CFLAGS-tst-auditmod7b.c): Likewise.
15385 * elf/tst-audit3.c: Move to ...
15386 * sysdeps/x86_64/tst-audit3.c: ... here.
15387 * elf/tst-audit4.c: Move to ...
15388 * sysdeps/x86_64/tst-audit4.c: ... here.
15389 * elf/tst-audit5.c: Move to ...
15390 * sysdeps/x86_64/tst-audit5.c: ... here.
15391 * elf/tst-audit6.c: Move to ...
15392 * sysdeps/x86_64/tst-audit6.c: ... here.
15393 * elf/tst-audit7.c: Move to ...
15394 * sysdeps/x86_64/tst-audit7.c: ... here.
15395 * elf/tst-auditmod3a.c: Move to ...
15396 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15397 * elf/tst-auditmod3b.c: Move to ...
15398 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15399 * elf/tst-auditmod4a.c: Move to ...
15400 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15401 * elf/tst-auditmod4b.c: Move to ...
15402 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15403 * elf/tst-auditmod5a.c: Move to ...
15404 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15405 * elf/tst-auditmod5b.c: Move to ...
15406 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15407 * elf/tst-auditmod6a.c: Move to ...
15408 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15409 * elf/tst-auditmod6b.c: Move to ...
15410 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15411 * elf/tst-auditmod6c.c: Move to ...
15412 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15413 * elf/tst-auditmod7a.c: Move to ...
15414 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15415 * elf/tst-auditmod7b.c: Move to ...
15416 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15417
1ef74943
PP
154182013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15419
15420 [BZ #15366]
15421 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15422 define unconditionally.
15423 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15424 define unconditionally.
15425 (INT8_C, INT16_C, etc.): Likewise.
15426
93fd48c5
MR
154272013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15428
ae9552cf
MR
15429 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15430 __ehdr_start with hidden visibility.
15431
93fd48c5
MR
15432 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15433
418601aa
CD
154342013-04-24 Carlos O'Donell <carlos@redhat.com>
15435
15436 * math/libm-test.inc (cos_test): Use accurate hex constants.
15437 (sincost_test): Likewise.
15438
2f38fbfe
JM
154392013-04-24 Joseph Myers <joseph@codesourcery.com>
15440
5e221800
JM
15441 * math/libm-test.inc (catan_test): Add more tests.
15442 (catanh_test): Likewise.
15443
77f143fd
JM
15444 * math/s_catanf.c (__catanf): Use suffixed floating-point
15445 constants.
15446 * math/s_catanhf.c (__catanhf): Likewise.
15447 * math/s_catanhl.c (__catanhl): Likewise.
15448 * math/s_catanl.c (__catanl): Likewise.
15449
2f38fbfe
JM
15450 [BZ #15394]
15451 * math/s_catan.c (__catan): Calculate imaginary part of result
15452 with log1p not log unless computing log of number close to 0.
15453 * math/s_catanf.c (__catanf): Likewise.
15454 * math/s_catanl.c (__catanl): Likewise.
15455 * math/s_catanh.c (__catanh): Calculate real part of result with
15456 log1p not log unless computing log of number close to 0.
15457 * math/s_catanhf.c (__catanhf): Likewise.
15458 * math/s_catanhl.c (__catanhl): Likewise.
15459 * math/libm-test.inc (catan_test): Add more tests.
15460 (catanh_test): Likewise.
15461 * sysdeps/i386/fpu/libm-test-ulps: Update.
15462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15463
45d69176
SP
154642013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15465
15466 * benchtests/Makefile: Mention files in which fast and slow
15467 paths of math functions are implemented.
15468
87f51853
RM
154692013-04-23 Roland McGrath <roland@hack.frob.com>
15470
15471 * sysdeps/posix/timespec_get.c: New file.
15472
3c026539
AZ
154732013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15474
15475 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15476 POWER.
15477 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15478 for POWER.
15479 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15480 powerpc/power5/fpu folders.
15481 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15482 * benchtests/Makefile: Add modf testcase.
15483 * benchtests/bench-modf.c: New file: Benchmark test for mo
15484
ff491d14
SP
154852013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15486
15487 [BZ #14888]
15488 * time/Makefile (tests): Add tst-strptime-whitespace.
15489 * time/strptime_l.c (get_number): Use ISSPACE.
15490 (__strptime_internal): Likewise.
15491 * time/tst-strptime-whitespace.c: New test case.
15492
7ed3f4e8
AS
154932013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15494
15495 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15496 member.
15497 (_nss_files_init): Set it here.
15498
5c95f7b6
HC
154992013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15500
15501 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15502 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15503 unsigned.
15504
d34c9158
JBG
155052013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15506
15507 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15508
2169712d
SP
155092013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15510
15511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15512 size just once.
15513
29c5de99
DM
155142013-04-21 David S. Miller <davem@davemloft.net>
15515
15516 * po/ru.po: Update Russion translation from translation project.
15517
ccdad15d
AC
155182013-04-17 Adam Conrad <adconrad@0c3.net>
15519
15520 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15521 and setfsgid.
15522
0f122b8d
CD
155232013-04-17 Carlos O'Donell <carlos@redhat.com>
15524
5c5b07da 15525 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15526 * configure: Regenerate.
5c5b07da 15527 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15528 Add example to error message.
15529 * sysdeps/i386/configure: Regenerate.
15530
037714dd
SP
155312013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15532
15533 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15534 slowtan.
15535 * benchtests/cos-inputs: New file.
15536 * benchtests/slowcos-inputs: New file.
15537 * benchtests/slowcos.c: New file.
15538 * benchtests/slowtan-inputs: New file.
15539 * benchtests/slowtan.c: New file.
15540 * benchtests/tan-inputs: New file.
15541
e913141d
RM
155422013-04-16 Roland McGrath <roland@hack.frob.com>
15543
15544 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15545 considered kosher.
15546
a2964074
SP
155472013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15548
4856bcd2
SP
15549 * benchtests/Makefile: Include cppflags-iterator.mk to add
15550 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15551
a2964074
SP
15552 * Makefile.in (bench-clean): New target.
15553 * benchtests/Makefile (bench-clean): Likewise.
15554
9fbf9aca
DH
155552013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15556
15557 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15558
207d1e2a
TS
155592013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15560
15561 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15562
306dfba9
AS
155632013-04-15 Andreas Schwab <schwab@suse.de>
15564
15565 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15567 * nscd/pwdcache.c (cache_addpw): Likewise.
15568 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15569 more than recsize.
15570
206a6699
SP
155712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15572
15573 * benchtests/Makefile (bench): Write all output to
15574 bench-out.tmp together.
15575
0582f6b3
AS
155762013-04-15 Andreas Schwab <schwab@suse.de>
15577
15578 * nscd/nscd.c (main): Don't fork again after closing files.
15579
acb4325f
SP
155802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15581
5cb26d0a
SP
15582 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15583
acb4325f
SP
15584 * benchtests/Rules (bench-deps): Collect dependencies into a
15585 single variable. Add Makefile to dependencies.
15586 ($(objpfx)bench-%.c): Depend on bench-deps.
15587
47792506
RM
155882013-04-12 Roland McGrath <roland@hack.frob.com>
15589 Xavier Roche <roche+kml2@exalead.com>
15590
15591 [BZ #15361]
15592 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15593 just that it's a file descriptor.
15594 * manual/llio.texi (Synchronizing AIO Operations): Update description
15595 for EBADF error from aio_fsync.
15596
8fc1bee5
SP
155972013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15598
15599 * Rules (bench): Move target definition...
15600 * benchtests/Makefile: ... here.
15601
aba5e333
CD
156022013-04-11 Carlos O'Donell <carlos@redhat.com>
15603
15604 * math/libm-test.inc (cos_test): Fix PI/2 test.
15605 (sincos_test): Likewise.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15607 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15608
273cdee8
AS
156092013-04-11 Andreas Schwab <schwab@suse.de>
15610
6ecec3b6
AS
15611 [BZ #13988]
15612 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15613 accept exponent character only when digits were seen.
15614 * stdio-common/Makefile (tests): Add bug26.
15615 * stdio-common/bug26.c: New file.
15616
273cdee8
AS
15617 [BZ #14293]
15618 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15619 non-freeable.
15620
8da491f5
SP
156212013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15622
01dc6df9
SP
15623 * Makeconfig (rtld-prefix): Define built linker prefix.
15624 * Rules (run-bench): Use it.
15625 * math/Makefile (run-regen-ulps): Likewise.
15626
8da491f5
SP
15627 * Rules (bench): Remove eval.
15628
abe7f530
SP
156292013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15630 Roland McGrath <roland@hack.frob.com>
15631 Ondrej Bilka <neleai@seznam.cz>
15632
15633 [BZ #15346]
15634 * time/getdate.c: Include ctype.h and alloca.h.
15635 (__getdate_r): Trim leading and trailing spaces of input.
15636 * time/tst-getdate.c (tests): Add tests with leading and
15637 trailing spaces.
15638
61c23e62
RM
156392013-04-08 Roland McGrath <roland@hack.frob.com>
15640
15641 [BZ #14280]
15642 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15643 when computing value.
15644
7208a313
CD
156452013-04-06 Carlos O'Donell <carlos@redhat.com>
15646
085b2d41
CD
15647 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15648 Use testrun.sh to run libm tests.
15649
7208a313
CD
15650 [BZ #15309]
15651 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15652
872c0acd
MM
156532013-04-06 Marko Myllynen <myllynen@redhat.com>
15654
15655 [BZ #15264]
15656 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15657
26510bdd
CD
156582013-04-06 Carlos O'Donell <carlos@redhat.com>
15659
15660 * Makefile.in (regen-ulps): New target.
15661 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15662 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15663 [ifneq (no,$(PERL)] (regen-ulps): New target.
15664 [ifeq (no,$(PERL)] (regen-ulps): New target.
15665 * math/libm-test.inc (ulps_file_name): Define.
15666 (output_dir): New variable.
15667 (options): Add "output-dir" option.
15668 (parse_opt): Handle 'o' case.
15669 (main): If output_dir is non-NULL use it as a prefix
15670 otherwise use "".
15671 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15672
a01f19c8
CD
156732013-04-06 Carlos O'Donell <carlos@redhat.com>
15674
15675 [BZ #10060, #10062]
15676 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15677 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15678 fail configure if __sync_val_compare_and_swap is not inlined.
15679 * sysdeps/i386/configure: Regenerate.
15680 * configure.in: Build for i686 when configured for i386.
15681 * configure: Regenerate.
15682 * README: Remove i386 reference.
15683
b7a329a5
CD
156842013-04-06 Carlos O'Donell <carlos@redhat.com>
15685
15686 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15687 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15688
bf0f50df
TS
156892013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15690
ee091edf
TS
15691 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15692 (lmsnanval): New variables.
15693 (F): Add conversion tests.
15694 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15695 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15696
a8b792d6
TS
15697 * stdio-common/tstdiomisc.c (F): Properly collect individual
15698 tests' results.
15699
a1cbf437
TS
15700 [BZ #14686, #15336]
15701 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15702 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15703 Instead, use input NaN values or generate a qNaN by arithmetic
15704 operation. Also fix bugs to comply with the standard.
15705 * math/libm-test.inc (remainder_test): Add more tests.
15706
8b43a0c9
TS
15707 [BZ #15335, #15342]
15708 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15710 input NaN values or generate a qNaN by arithmetic operation.
15711
d91da4ce
TS
15712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15713 unreachable code.
15714
bf0f50df
TS
15715 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15716 definitions.
15717
05e166c8
JM
157182013-04-03 Joseph Myers <joseph@codesourcery.com>
15719
15720 [BZ #14478]
15721 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15722 underflowed result.
15723 * math/s_cexpf.c (__cexpf): Likewise.
15724 * math/s_cexpl.c (__cexpl): Likewise.
15725 * math/libm-test.inc (cexp_test): Add more tests.
15726
1cef1b19
AS
157272013-04-03 Andreas Schwab <schwab@suse.de>
15728
15729 [BZ #15330]
15730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15731 order arrays from heap if bigger than alloca cutoff.
15732
74d87055
TS
157332013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15734
15735 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15736 (SNAN_TESTS_double): Refer to GCC PR56831.
15737 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15738 GCC PR56828.
15739
d755bba4
SP
157402013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15741
90d5d5bb
SP
15742 * Rules (bench): Move bench.out after the run is complete.
15743
73e0cd5d
SP
15744 * Rules (bench): Echo currently running benchmark.
15745
64aabd4b
SP
15746 * benchtests/Makefile (bench): Add atan and slowatan.
15747 * benchtests/atan-inputs: New file.
15748 * benchtests/slowatan-inputs: New file.
15749 * benchtests/slowatan.c: New file.
15750
c871eccd
SP
15751 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15752 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15753 its value.
15754
d755bba4
SP
15755 [BZ #15305]
15756 * sysdeps/unix/sysv/linux/kernel-features.h
15757 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15758 __ASSUME_XFS_RESTRICTED_CHOWN.
15759 * sysdeps/unix/sysv/linux/pathconf.c
15760 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15761 Save and restore errno.
15762
52ce4860
JM
157632013-04-02 Joseph Myers <joseph@codesourcery.com>
15764
15765 [BZ #15327]
15766 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15767 arguments using __kernel_casinh.
15768 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15769 arguments using __kernel_casinhf.
15770 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15771 arguments using __kernel_casinhl.
15772 * math/libm-test.inc (cacosh_test): Add more tests.
15773 * sysdeps/i386/fpu/libm-test-ulps: Update.
15774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15775
81f311c2
SP
157762013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15777
e7906a47
SP
15778 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15780
92e3664b
SP
15781 * bench/Makefile (bench): Add sin and slowsin.
15782 * benchtests/sin-inputs: New file.
15783 * benchtests/slowsin-inputs: New file.
15784 * benchtests/slowsin.c: New file.
15785
81f311c2
SP
15786 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15787 (bench): Add slowexp and slowpow.
15788 (exp-ITER): Increase iterations.
15789 (pow-ITER): Likewise.
15790 * benchtests/exp-inputs: Change input.
15791 * benchtests/pow-inputs: Likewise.
15792 * benchtests/slowexp-inputs: New file.
15793 * benchtests/slowexp.c: New file.
15794 * benchtests/slowpow-inputs: New file.
15795 * benchtests/slowpow.c: New file.
15796
ab0f1aa9
AZ
157972013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15798
15799 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15800 instructions.
15801 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15802 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15803 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15804 * benchtests/Makefile: Add rint benchtest.
15805 * benchtests/rint-inputs: Input for rint benchtest.
15806
57267616
TS
158072013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15808
15809 * Versions.def (libm): Add GLIBC_2.18.
15810 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15811 hidden libm prototypes.
15812 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15813 * math/Makefile (libm-calls): Add s_issignaling.
15814 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15815 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15816 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15817 declaration.
15818 * math/math.h [__USE_GNU] (issignaling): New macro.
15819 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15820 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15822 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15825 * manual/arith.texi (issignaling): New section.
15826 * manual/libm-err-tab.pl (@all_functions): Update comment.
15827 * math/gen-libm-test.pl (parse_args): Apply special handling for
15828 issignaling.
15829 * math/libm-test.inc (print_float, issignaling_test): New
15830 functions.
15831 (check_float_internal): Add issignaling checks.
15832 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15833 default definition.
15834 * sysdeps/powerpc/math-tests.h: New file.
15835 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15836 tests.
15837 * math/test-snan.c (TEST_FUNC): Likewise.
15838
6142896d
DM
158392013-03-30 David S. Miller <davem@davemloft.net>
15840
15841 * po/de.po: Update from translation team.
15842
ccc8cadf
JM
158432013-03-30 Joseph Myers <joseph@codesourcery.com>
15844
15845 [BZ #10357]
15846 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15847 imaginary part less than 1.0 and real part less than 0.5
15848 specially.
15849 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15850 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15851 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15852 (cacos_test): Add more tests.
15853 (casin_test): Likewise.
15854 (casinh_test): Likewise.
15855 * sysdeps/i386/fpu/libm-test-ulps: Update.
15856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15857
0f6a8d4b
SP
158582013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15859
0d1029de
SP
15860 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15861 ONE with its value.
15862
c2d94018
SP
15863 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15864 (__pow_mp): Replace ONE and MONE with their values.
15865 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15866 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15867 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15868 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15869 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15870 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15871
27ec37f1
SP
15872 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15873
a64d7e0e
SP
15874 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15875 (__pow_mp): Replace ZERO and MZERO with their values.
15876 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15878 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15880 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15881 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15882 (__sqr): Likewise.
15883
d26dd3eb
SP
15884 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15885
0f6a8d4b
SP
15886 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15887
e57b0c61
RM
158882013-03-28 Roland McGrath <roland@hack.frob.com>
15889
15890 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15891 Declare with __attribute__ ((weak)).
15892 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15893 Call __call_tls_dtors only if it's not NULL.
15894
356b3480
RM
158952013-03-28 Roland McGrath <roland@hack.frob.com>
15896
288f7d79
RM
15897 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15898 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15899 magic __ehdr_start linker symbol if it's defined.
15900 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15901 them up here if it was already done.
15902
dc0a0263
RM
15903 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15904 (_dl_aux_init): Use const in cast when setting it.
15905 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15906 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15907 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15908
3d3436ae
RM
15909 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15910 Declare them here.
15911 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15912 * csu/libc-tls.c: Nor here.
15913 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15914
356b3480
RM
15915 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15916 (__libc_message): Never call vsyslog.
15917
b0f1246a
AM
159182013-03-28 Alan Modra <amodra@gmail.com>
15919
15920 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15921 Define as empty.
15922 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15923 Likewise.
15924
fbbe2b9a
AZ
159252013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15926
15927 [BZ #15214]
15928 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15929 underflow.
15930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15931
1728ab37
SP
159322013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15933
7a86be6e
SP
15934 [BZ #15304]
15935 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15936 Don't add gid passed as argument.
15937
1728ab37
SP
15938 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15939
3a7182a1
JM
159402013-03-27 Joseph Myers <joseph@codesourcery.com>
15941
15942 [BZ #15307]
15943 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15944 imaginary part between 1.0 and 1.5 and real part less than 0.5
15945 specially.
15946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15948 * math/libm-test.inc (cacos_test): Add more tests.
15949 (casin_test): Likewise.
15950 (casinh_test): Likewise.
15951 * sysdeps/i386/fpu/libm-test-ulps: Update.
15952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15953
6f2e90e7
SP
159542013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15955
5739f705
SP
15956 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15957 constants.
15958 (norm): Likewise.
15959 (denorm): Likewise.
15960 (__dbl_mp): Likewise.
15961 (add_magnitudes): Likewise.
15962 (sub_magnitudes): Likewise.
15963 (__add): Likewise.
15964 (__sub): Likewise.
15965 (__mul): Likewise.
15966 (__sqr): Likewise.
15967 (__inv): Likewise.
15968 (__dvd): Likewise.
15969
e375e83d
SP
15970 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15971 commented code.
15972 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15973 (__dubcos): Likewise.
15974 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15975 (__ieee754_acos): Likewise.
15976 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15977 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15978 (__exp1): Likewise.
15979 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15981 (log1): Likewise.
15982 (my_log2): Likewise.
15983 (checkint): Likewise.
15984 * sysdeps/ieee754/dbl-64/e_remainder.c
15985 (__ieee754_remainder): Likewise.
15986 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15987 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15988 (bsloww): Likewise.
15989 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15990
6f2e90e7
SP
15991 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15992 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15993 MANTISSA_STORE_T to store computations on mantissa. Use
15994 macros for rounding and division.
15995 (denorm): Likewise.
15996 (__dbl_mp): Likewise.
15997 (add_magnitudes): Likewise.
15998 (sub_magnitudes): Likewise.
15999 (__mul): Likewise.
16000 (__sqr): Likewise.
16001 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16002 powers of two in terms of TWOPOW macro.
16003 (mp_no): Make type of mantissa as MANTISSA_T.
16004 [!RADIXI]: Define RADIXI.
16005 [!TWO52]: Define TWO52.
16006 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16007
fce14d4e
AZ
160082013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16009
16010 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16011 llroundl symbol when building for PPC32.
16012
9ad027fb
MW
160132013-03-24 Mark H Weaver <mhw@netris.org>
16014
16015 * manual/arith.texi (Normalization Functions): Fix prototypes for
16016 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16017
e42a38dd
AZ
160182013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16019
16020 [BZ #13889]
16021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16022 high value to check if expl overflow.
16023 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16024 to check for underflow and overflow.
16025 * math/libm-test.inc: Add exp test.
16026
2e0fb521
DL
160272013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16028
16029 [BZ #11120]
16030 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16031 with NOT_IN_libc.
16032
b5784d95
AZ
160332013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16034
16035 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16036 symbol.
16037
5aa4a1a1
TS
160382013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16039
bdef0be7
TS
16040 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16041 wrap blocks consisting of several statements.
16042
5aa4a1a1
TS
16043 * sysdeps/generic/math-tests.h: New file.
16044 * sysdeps/i386/fpu/math-tests.h: Likewise.
16045 * math/test-snan.c: Include it.
16046 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16047
98c48fe5
JM
160482013-03-21 Joseph Myers <joseph@codesourcery.com>
16049
16050 [BZ #15285]
16051 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16052 (__ieee754_j0l): Do not improve calculations using cos of twice
16053 input for inputs above LDBL_MAX / 2.0L.
16054 (__ieee754_y0l): Likewise.
16055 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16056 (__ieee754_j1l): Do not improve calculations using cos of twice
16057 input for inputs above LDBL_MAX / 2.0L.
16058 (__ieee754_y1l): Likewise.
16059 * math/libm-test.inc (j0_test): Add another test.
16060 (j1_test): Likewise.
16061 (y0_test): Likewise.
16062 (y1_test): Likewise.
16063 * sysdeps/i386/fpu/libm-test-ulps: Update.
16064
3775a8bc
SP
160652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16066
16067 * Rules ($(objpfx)bench-%.c): Include code from a C source
16068 file.
16069
0a1b2ae6
JM
160702013-03-21 Joseph Myers <joseph@codesourcery.com>
16071
16072 [BZ #15287]
16073 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16074 imaginary part 1.0 and real part less than 0.5 specially.
16075 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16076 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16077 * math/libm-test.inc (cacos_test): Add more tests.
16078 (casin_test): Likewise.
16079 (casinh_test): Likewise.
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16082
b33d4ce4
SP
160832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16084
16085 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16086 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16087
bef0b507
JM
160882013-03-20 Joseph Myers <joseph@codesourcery.com>
16089
16090 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16091 * config.make.in (config-cflags-sse4): Remove variable.
16092 (config-cflags-avx): Likewise.
16093 (config-cflags-sse2avx): Likewise.
16094 (config-cflags-novzeroupper): Likewise.
16095 (config-asflags-i686): Likewise.
16096 (have-mfma4): Likewise.
16097 (have-as-vis3): Likewise.
16098 (MIG): Likewise.
16099 * configure.in (MIG): Do not AC_SUBST.
16100 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16101 (libc_cv_cc_sse4): Do not AC_SUBST.
16102 (libc_cv_cc_avx): Likewise.
16103 (libc_cv_cc_sse2avx): Likewise.
16104 (libc_cv_cc_novzeroupper): Likewise.
16105 (libc_cv_cc_fma4): Likewise.
16106 (libc_cv_as_i686): Likewise.
16107 (libc_cv_sparc_as_vis3): Likewise.
16108 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16109 LIBC_CONFIG_VAR.
16110 (config-asflags-i686): Likewise.
16111 (config-cflags-avx): Likewise.
16112 (config-cflags-sse2avx): Likewise.
16113 (have-mfma4): Likewise.
16114 (config-cflags-novzeroupper): Likewise.
16115 * sysdeps/mach/configure.in (MIG): Likewise.
16116 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16117 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16118 LIBC_CONFIG_VAR.
16119 (config-cflags-avx): Likewise.
16120 (config-cflags-sse2avx): Likewise.
16121 (have-mfma4): Likewise.
16122 (config-cflags-novzeroupper): Likewise.
16123 * configure: Regenerated.
16124 * sysdeps/i386/configure: Likewise.
16125 * sysdeps/mach/configure: Likewise.
16126 * sysdeps/sparc/configure: Likewise.
16127 * sysdeps/x86_64/configure: Likewise.
16128
912cc4b3
RM
161292013-03-20 Roland McGrath <roland@hack.frob.com>
16130
16131 [BZ #14812]
16132 * locale/programs/localedef.c (options): Put N_ translation marker
16133 on argument names, not just descriptions.
16134
04eed2b0
MS
161352013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16136
16137 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16138
a065ceff
OB
161392013-03-20 Ondřej Bílka <neleai@seznam.cz>
16140
9bb2a810 16141 [BZ #14176]
a065ceff
OB
16142 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16143
a600e5ce
RM
161442013-03-19 Roland McGrath <roland@hack.frob.com>
16145
16146 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16147 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16148 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16149 [!BEFORE_ABORT] (before_abort): New function.
16150 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16151 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16152 (writev_for_fatal): New function.
16153 (WRITEV_FOR_FATAL): New macro; call that.
16154 (backtrace_and_maps): New function.
16155 (BEFORE_ABORT): New macro; call that.
16156 (struct str_list): Type removed.
16157 (__libc_message, __libc_fatal): Functions removed.
16158 Include <sysdeps/posix/libc_fatal.c> instead.
16159
6b18bea6
JM
161602013-03-19 Joseph Myers <joseph@codesourcery.com>
16161
16162 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16163 constants.
16164 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16165 double constants.
16166
aaa8cb4b
AS
161672013-03-19 Andreas Schwab <schwab@suse.de>
16168
44673770
AS
16169 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16170 * sysdeps/gnu/configure: Regenerate.
16171
aaa8cb4b
AS
16172 * configure.in: Substitute libc_cv_rtlddir.
16173 * configure: Regenerate.
16174 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16175 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16176 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16177 * elf/Makefile (install-others, CFLAGS-interp.c)
16178 (ldso_install, common-ldd-rewrite): Likewise.
16179 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16180 $(inst_slibdir)/$(rtld-installed-name).
16181 * scripts/rellns-sh: Add -p option.
16182 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16183 for source.
16184
d3cfc668
SP
161852013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16186
16187 * manual/nptl.texi: Renamed to ...
16188 * manual/threads.texi: ... this.
16189 * manual/Makefile (chapters): Update.
16190
0e2b9cdd
RM
161912013-03-18 Roland McGrath <roland@hack.frob.com>
16192
16193 [BZ #14812]
16194 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16195 on argument names, not just descriptions.
0e2b9cdd
RM
16196 * malloc/memusagestat.c (options): Likewise.
16197 * nss/getent.c (options): Likewise.
63270c24
RM
16198
161992013-03-18 Benno Schulenberg <bensberg@justemail.net>
16200
16201 [BZ #14812]
16202 * iconv/iconv_prog.c (options): Put N_ translation marker
16203 on argument names, not just descriptions.
16204 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16205
b2e1393c
OB
162062013-03-18 Ondrej Bilka <neleai@seznam.cz>
16207
16208 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16209 implementation which is faster on all x86_64 architectures.
16210 Tested on AMD, Intel Nehalem, SNB, IVB.
16211 * sysdeps/x86_64/strnlen.S: Likewise.
16212
16213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16214 Remove all multiarch strlen and strnlen versions.
16215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16216 Remove strlen and strnlen related parts.
16217
16218 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16219 Inline strlen part.
16220 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16221
16222 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16223 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16224 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16225 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16226 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16227 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16228
ec4ff04d
CD
162292013-03-17 Carlos O'Donell <carlos@redhat.com>
16230
16231 * manual/memory.texi (Malloc Tunable Parameters):
16232 Sort parameters alphabetically. Add comments for missing entries.
16233
cd18e90a
DM
162342013-03-17 David S. Miller <davem@davemloft.net>
16235
16236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16237
2a185d32
JM
162382013-03-16 Joseph Myers <joseph@codesourcery.com>
16239
d2f9799e
JM
16240 [BZ #15283]
16241 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16242 for arguments at most half maximum finite value.
16243 * math/libm-test.inc (j0_test): Add more tests.
16244 (j1_test): Likewise.
16245 (y0_test): Likewise.
16246 (y1_test): Likewise.
16247 * sysdeps/i386/fpu/libm-test-ulps: Update.
16248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16249
2a185d32
JM
16250 [BZ #14155]
16251 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16252 1 / x and functions P and Q for arguments above 0x1p256L.
16253 (__ieee754_y0l): Likewise.
16254 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16255 (__ieee754_y1l): Likewise.
16256 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16257 (j1_test): Likewise.
16258 (y0_test): Likewise.
16259 (y1_test): Likewise.
16260
6cbec759
TS
162612013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16262
16263 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16264 variable.
16265
bc16e260
RM
162662013-03-15 Roland McGrath <roland@hack.frob.com>
16267
aefc9b8c
RM
16268 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16269 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16270 zero since it's initialized to EXEC_PAGESIZE.
16271
bc16e260
RM
16272 * sysdeps/unix/sysv/linux/ldsodefs.h
16273 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16274 * sysdeps/generic/ldsodefs.h: ... here.
16275
a57da955
TS
162762013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16277
af00a34d
TS
16278 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16279
495ded2c
TS
16280 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16281 math/test-snan.c.
16282 * math/test-snan.c: Renamed from
16283 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16284 * math/Makefile (tests): Add test-snan.
16285 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16286 test-powerpc-snan.
16287
777b0332
TS
16288 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16289 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16290 functions.
16291 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16292 __builtin_nan family of functions.
16293 * math/libm-test.inc (initialize): Initialize qnan_value with
16294 __builtin_nan family of functions.
16295 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16296 Remove variables.
16297 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16298 Remove functions.
16299 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16300 storage class. Initialize qNaN_var and sNaN_var with
16301 __builtin_nan and __builtin_nans families of functions,
16302 respectively.
16303
64d063b8
TS
16304 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16305 (sqrt_test): Remove duplicate test with qNaN input.
16306 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16307 (round_test, signbit_test, significand_test): Note missing +/-Inf
16308 as well as qNaN tests.
16309
67e971f1
TS
16310 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16311 qNaN_var. Fix a few strings, too.
16312 * math/libm-test.inc (nan_value): Rename to qnan_value.
16313 * math/gen-libm-test.pl (%beautify): Adjust to that.
16314 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16315 * math/test-misc.c (main): Likewise.
16316 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16317 to __qnan_bytes, and __qnan_union, respectively.
16318 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16319 Likewise.
16320 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16321 and lqnanval, respectively.
16322 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16323 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16324 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16325 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16326
64487e12
TS
16327 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16328 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16329 doubles.
16330
e015e27b
TS
16331 * math/test-misc.c (main): Fix copy'n'pastos.
16332 * misc/tst-efgcvt.c (special): Likewise.
16333
a57da955
TS
16334 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16335 Remove declarations.
16336
1e380345
SP
163372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16338
16339 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16340 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16341 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16342 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16343
ef26eece
AZ
163442013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16345
16346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16347 macro to return vdso values correctly in IFUNC implementations.
16348 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16349 Optimization by using IFUNC.
16350
8cfdb7e0
SP
163512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16352 Richard Henderson <rth@redhat.com>
16353 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16354
16355 * Makefile.in (bench): New target.
16356 * NEWS: Mention the benchmark framework.
16357 * Rules (bench): Likewise.
16358 (binaries-bench): Generate binaries for functions to
16359 benchmark.
16360 * benchtests/Makefile: New makefile for benchmark tests.
16361 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16362 programs.
16363 * benchtests/exp-inputs: New input file for EXP function.
16364 * benchtests/pow-inputs: New input file for POW function.
16365 * scripts/bench.pl: New script to generate source files for
16366 benchmark programs.
16367
bcda9880
SP
163682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16369
d22ca8cd
SP
16370 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16371 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16372 computations on mantissa. Use macros for rounding and
16373 division.
16374 (denorm): Likewise.
16375 (__dbl_mp): Likewise.
16376 (add_magnitudes): Likewise.
16377 (sub_magnitudes): Likewise.
16378 (__mul): Likewise.
16379 (__sqr): Likewise.
16380 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16381 powers of two in terms of TWOPOW macro.
16382 (mp_no): Make type of mantissa as MANTISSA_T.
16383 [!RADIXI]: Define RADIXI.
16384 [!TWO52]: Define TWO52.
16385 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16386
bcda9880
SP
16387 * manual/nptl.texi (cindex): Modify threads to pthreads.
16388
06d5adfb
JM
163892013-03-15 Joseph Myers <joseph@codesourcery.com>
16390
16391 * sysdeps/x86_64/preconfigure: Regenerated.
16392
41c7328e
JM
163932013-03-14 Joseph Myers <joseph@codesourcery.com>
16394
16395 [BZ #14155]
16396 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16397 0x1p28 and above.
16398 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16399 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16400 0x1p28 and above.
16401 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16402 * math/libm-test.inc (j0_test): Do not allow one spurious
16403 underflow exception.
16404 (y1_test): Likewise.
16405
e25cfa60
SP
164062013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16407
0409959c
SP
16408 * manual/Makefile (chapters): Add nptl.
16409 * manual/debug.texi (Debugging Support): Add link to Threads
16410 chapter.
16411 * manual/nptl.texi: New file.
16412
e25cfa60
SP
16413 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16414
58a1335e
PB
164152013-03-14 Petr Baudis <pasky@ucw.cz>
16416
16417 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16418 for non-NULL pointer before the memory validity test. Pointed
16419 out by Holger Brunck <holger.brunck@keymile.com>.
16420
9dc7c64f
AS
164212013-03-13 Andreas Schwab <schwab@suse.de>
16422
16423 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16424 instead of .os.
16425
54206aa6
JM
164262013-03-13 Joseph Myers <joseph@codesourcery.com>
16427
16428 * timezone/zic.c: Update from tzcode 2013b.
16429
e98cdb38
CD
164302013-03-12 Carlos O'Donell <carlos@redhat.com>
16431
16432 * manual/install.texi (Configuring and compiling):
16433 Mention i686 and i586.
16434 * INSTALL: Regenerate.
16435
9967e003
RM
164362013-03-12 Roland McGrath <roland@hack.frob.com>
16437
16438 * sysdeps/init_array/elf-init.c: New file.
16439 * csu/elf-init.c
16440 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16441 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16442
16443 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16444 __gmon_start__ as global, but as static with a .preinit_array pointer.
16445 * sysdeps/init_array/gmon-start.c: New file. Use that.
16446 * sysdeps/init_array/crti.S: New file, empty except for comments.
16447 * sysdeps/init_array/crtn.S: Likewise.
16448
e6b5a293 164492013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16450
16451 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16452 definining bcopy.
80f844c9
OB
16453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16454 Remove Prefer_SSE_for_memop.
16455 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16456 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16457 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16459 memset-x86-64.
80f844c9 16460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16461 Remove bzero, memset ifunc support.
80f844c9
OB
16462 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16463 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16464 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16465 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16466
fb6b0fcb
AS
164672013-03-11 Andreas Schwab <schwab@suse.de>
16468
16469 [BZ #15234]
16470 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16471 by SHLIB_COMPAT.
16472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16473 (GLIBC_2.16): Remove pthread_atfork.
16474
3e6bd4b1
PP
164752013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16476
16477 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16478 (ptestcases.h): Likewise.
16479
222d7f00
RM
164802013-03-08 Roland McGrath <roland@hack.frob.com>
16481
16482 * Makeconfig ($(common-objpfx)config.status): Depend on
16483 sysdeps/*/preconfigure{,.in} too.
16484
1ba4f030
JM
164852013-03-08 Joseph Myers <joseph@codesourcery.com>
16486
a222d91a
JM
16487 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16488 (__free_hook): Use void * instead of __malloc_ptr_t.
16489 (__malloc_hook): Likewise.
16490 (__realloc_hook): Likewise.
16491 (__memalign_hook): Likewise.
16492 (__after_morecore_hook): Likewise.
16493 * malloc/arena.c (save_malloc_hook): Likewise.
16494 (save_free_hook): Likewise.
16495 * malloc/hooks.c (malloc_hook_ini): Likewise.
16496 (realloc_hook_ini): Likewise.
16497 (memalign_hook_ini): Likewise.
16498 * malloc/malloc.c (malloc_hook_ini): Likewise.
16499 (realloc_hook_ini): Likewise.
16500 (memalign_hook_ini): Likewise.
16501 (__free_hook): Likewise.
16502 (__malloc_hook): Likewise.
16503 (__realloc_hook): Likewise.
16504 (__memalign_hook): Likewise.
16505 (__libc_malloc): Likewise.
16506 (__libc_free): Likewise.
16507 (__libc_realloc): Likewise.
16508 (__libc_memalign): Likewise.
16509 (__libc_valloc): Likewise.
16510 (__libc_pvalloc): Likewise.
16511 (__libc_calloc): Likewise.
16512 (__posix_memalign): Likewise.
16513 * malloc/morecore.c (__sbrk): Likewise.
16514 (__default_morecore): Likewise.
16515
5cc45e10
JM
16516 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16517
dd54b864
JM
16518 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16519 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16520 __malloc_ptrdiff_t.
16521
1ba4f030
JM
16522 * malloc/malloc.h (__malloc_size_t): Remove macro.
16523 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16524 __malloc_size_t.
16525 (old_memalign_hook): Likewise.
16526 (old_realloc_hook): Likewise.
16527 (struct hdr): Likewise.
16528 (flood): Likewise.
16529 (mallochook): Likewise.
16530 (memalignhook): Likewise.
16531 (reallochook): Likewise.
16532 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16533 (tr_old_realloc_hook): Likewise.
16534 (tr_old_memalign_hook): Likewise.
16535 (tr_mallochook): Likewise.
16536 (tr_reallochook): Likewise.
16537 (tr_memalignhook): Likewise.
16538
edf66e57
AZ
165392013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16540
16541 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16542 default_ldbl_pack and using as default implementation.
16543 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16544 implementation.
16545 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16546 redundant definition.
16547 (ldbl_insert_mantissa): Likewise.
16548 (ldbl_canonicalize): Likewise.
16549 (ldbl_nearbyint): Likewise.
16550 (ldbl_pack): Rename to ldbl_pack_ppc.
16551 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16552 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16553 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16554
6d9145d8
SP
165552013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16556
16557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16558 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16559 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16560 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16562 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16563 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16564 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16565
4dd4e157
AJ
165662013-03-07 Andreas Jaeger <aj@suse.de>
16567
16568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16569 bits/mman-linux.h.
16570
adbb8027
SP
165712013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16572
ce544b5b
SP
16573 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16574 Include mpa.h and declare __MPEXP.
16575 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16576 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16577 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16578 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16579 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16580 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16581 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16582
4cc149fd
SP
16583 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16584 (__slowpow): Use long double EXPL and LOGL functions to
16585 compute POW.
16586 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16587 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16588 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16589 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16590 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16591 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16592
e6ebd4a7
SP
16593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16594 intermediate variable to calculate exponent.
16595 (__sqr): Likewise.
16596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16597 Likewise.
16598 (__sqr): Likewise.
16599
82a9811d
SP
16600 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16601 [!NO__SQR]: Define __sqr.
16602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16603 and NO__SQR. Remove all code except __mul and __sqr. Include
16604 sysdeps/ieee754/dbl-64/mpa.c.
16605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16606
adbb8027
SP
16607 [BZ #12723]
16608 * posix/Makefile (tests): Add tst-pathconf.
16609 * posix/tst-pathconf.c: New test case.
16610 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16611 _PC_PIPE_BUF.
16612 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16613
39120df9
PF
166142013-03-06 Patsy Franklin <pfrankli@redhat.com>
16615
16616 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16617
67525cb8
AJ
166182013-03-06 Andreas Jaeger <aj@suse.de>
16619
664a9ce4
AJ
16620 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16621 definition via __MAP_ANONYMOUS.
16622
8e39047d
AJ
16623 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16624 it's not part of Linux headers.
16625
67525cb8
AJ
16626 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16627 (MAP_HUGE_MASK): Define.
16628
16629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16630 Define.
16631 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16632 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16633 Define.
16634 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16635 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16636 Define.
16637 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16639 Define.
16640 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16641
16642 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16643 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16644 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16645 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16646 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16647 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16648
16649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16650 Handle f2fs.
16651
16652 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16653 Handle f2fs and efivarfs.
16654
16655 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16656 f2fs.
16657
16658 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16659 (EFIVARFS_MAGIC): Add.
16660 (F2FS_LINK_MAX): Add.
16661
e1b42695
PP
166622013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16663
16664 * stdio-common/vfprintf.c: Replace __builtin_expect with
16665 __glibc_unlikely.
16666
2d67d91a
JM
166672013-03-06 Joseph Myers <joseph@codesourcery.com>
16668
16669 [BZ #13550]
16670 * sysdeps/generic/bp-sym.h: Remove file.
16671 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16672 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16673 <bp-sym.h> and <bp-asm.h>.
16674 (__longjmp): Don't use BP_SYM.
16675 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16676 and <bp-asm.h>.
16677 (memcpy): Don't use BP_SYM.
16678 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16679 <bp-sym.h> and <bp-asm.h>.
16680 (memcpy): Don't use BP_SYM.
16681 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16682 <bp-asm.h>.
16683 (memcpy): Don't use BP_SYM.
16684 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16685 <bp-asm.h>.
16686 (memset): Don't use BP_SYM.
16687 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16688 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16689 (__bzero): Don't use BP_SYM.
16690 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16691 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16692 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16693 <bp-sym.h> and <bp-asm.h>.
16694 (memcmp): Don't use BP_SYM. Remove comment about bounded
16695 pointers.
16696 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16697 <bp-sym.h> and <bp-asm.h>.
16698 (memcpy): Don't use BP_SYM.
16699 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16700 <bp-sym.h> and <bp-asm.h>.
16701 (memset): Don't use BP_SYM.
16702 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16703 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16704 (__bzero): Don't use BP_SYM.
16705 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16706 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16707 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16708 <bp-sym.h> and <bp-asm.h>.
16709 (strncmp): Don't use BP_SYM. Remove comment about bounded
16710 pointers.
16711 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16712 <bp-sym.h> and <bp-asm.h>.
16713 (memcpy): Don't use BP_SYM.
16714 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16715 <bp-sym.h> and <bp-asm.h>.
16716 (memset): Don't use BP_SYM.
16717 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16718 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16719 (__bzero): Don't use BP_SYM.
16720 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16721 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16722 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16723 <bp-sym.h> and <bp-asm.h>.
16724 (__memchr): Don't use BP_SYM.
16725 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16726 <bp-sym.h> and <bp-asm.h>.
16727 (memcmp): Don't use BP_SYM. Remove comment about bounded
16728 pointers.
16729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16730 <bp-sym.h> and <bp-asm.h>.
16731 (memcpy): Don't use BP_SYM.
16732 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16733 <bp-sym.h> and <bp-asm.h>.
16734 (__mempcpy): Don't use BP_SYM.
16735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16736 <bp-sym.h> and <bp-asm.h>.
16737 (__memrchr): Don't use BP_SYM.
16738 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16739 <bp-sym.h> and <bp-asm.h>.
16740 (memset): Don't use BP_SYM.
16741 (__bzero): Likewise.
16742 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16743 <bp-sym.h> and <bp-asm.h>.
16744 (__rawmemchr): Don't use BP_SYM.
16745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16746 <bp-sym.h> and <bp-asm.h>.
16747 (__STRCMP): Don't use BP_SYM.
16748 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16749 <bp-sym.h> and <bp-asm.h>.
16750 (strchr): Don't use BP_SYM.
16751 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16752 <bp-sym.h> and <bp-asm.h>.
16753 (__strchrnul): Don't use BP_SYM.
16754 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16755 <bp-sym.h> and <bp-asm.h>.
16756 (strlen): Don't use BP_SYM.
16757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16758 <bp-sym.h> and <bp-asm.h>.
16759 (strncmp): Don't use BP_SYM. Remove comment about bounded
16760 pointers.
16761 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16762 <bp-sym.h> and <bp-asm.h>.
16763 (__strnlen): Don't use BP_SYM.
16764 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16765 <bp-sym.h> and <bp-asm.h>.
16766 (__GI__setjmp): Don't use BP_SYM.
16767 (_setjmp): Likewise.
16768 (__sigsetjmp): Likewise.
16769 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16770 (L(start_addresses)): Don't use BP_SYM.
16771 (_start): Likewise.
16772 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16773 <bp-asm.h>.
16774 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16775 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16776 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16777 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16778 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16779 <bp-asm.h>.
16780 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16781 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16782 about bounded pointers.
16783 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16784 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16785 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16786 <bp-asm.h>.
16787 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16788 about bounded pointers. Remove GKM FIXME comments.
16789 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16790 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16791 <bp-asm.h>.
16792 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16793 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16794 Remove GKM FIXME comments.
16795 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16796 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16797 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16798 <bp-asm.h>.
16799 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16800 about bounded pointers. Remove GKM FIXME comment.
16801 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16802 and <bp-asm.h>.
16803 (strncmp): Don't use BP_SYM. Remove comment about bounded
16804 pointers.
16805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16806 <bp-sym.h> and <bp-asm.h>.
16807 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16811 comment.
16812
cdcf361f
PP
168132013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16814
16815 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16816 call free(NULL).
16817
3c4a2b15
DM
168182013-03-05 David S. Miller <davem@davemloft.net>
16819
16820 * po/es.po: Update from translation team.
16821
cdcf361f 168222013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16823
16824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16825 <bits/mman-linux.h>.
16826 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16827 is fine.
16828 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16829 <bits/mman-linux.h> to end of file.
16830 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16831 is fine.
16832 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16833 <bits/mman-linux.h> to end of file.
16834 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16835 is fine.
16836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16837 <bits/mman-linux.h> to end of file.
16838
16839 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16840 (MCL_CURRENT, MCL_FUTURE): Define here.
16841
5f67c04f
AK
168422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16843
8a4473cc 16844 [BZ #15232]
5f67c04f
AK
16845 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16846 attribute_hidden.
16847 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16848
c3e94a95
AK
168492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16850
16851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16852 fourth parameter needed for rt_sigprocmask syscall.
16853 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16854 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16855 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16856 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16857 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16858 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16859
cfb6382a
JM
168602013-03-04 Joseph Myers <joseph@codesourcery.com>
16861
16862 [BZ #13550]
16863 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16864 comment about bounded pointers.
16865 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16866 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16867
539d8e01
AJ
168682013-03-04 Andreas Jaeger <aj@suse.de>
16869
16870 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16871 common definitions.
16872
16873 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16874 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16875 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16876 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16877 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16878 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16879
2e167a70 168802013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16881
16882 [BZ #15055]
16883 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16884 __ieee754_sqrl instead of __sqrl.
16885
68508633
JM
168862013-03-01 Joseph Myers <joseph@codesourcery.com>
16887
16888 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16889 * sysdeps/powerpc/fpu_control.h: ... here.
16890 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16891 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16892 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16893 * sysdeps/powerpc/bits/mathinline.h: ... here.
16894
7775448e
RM
168952013-03-01 Roland McGrath <roland@hack.frob.com>
16896
16897 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16898 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16899 to just [NEED_DL_SYSINFO_DSO].
16900 * elf/dl-support.c: Likewise.
16901 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16902 * elf/rtld.c (dl_main): Likewise.
16903 * elf/setup-vdso.h (setup_vdso): Likewise.
16904 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16905 * sysdeps/unix/sysv/linux/dl-sysdep.c
16906 (_dl_discover_osversion): Likewise.
16907
4e9b5995
CD
169082013-03-01 Carlos O'Donell <carlos@redhat.com>
16909
16910 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16911 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16912
e23872c8
SP
169132013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16914
e5c74c63
SP
16915 * NEWS: Mention libm performance improvements and non-x86 PI
16916 futex support.
16917
e23872c8
SP
16918 * csu/libc-start.c (__pthread_initialize_minimal): Change
16919 function arguments.
16920 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16921
b5510883
JM
169222013-02-28 Joseph Myers <joseph@codesourcery.com>
16923
16924 [BZ #13550]
16925 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16926 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16927 <bp-sym.h> and <bp-asm.h>.
16928 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16929 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16930 and <bp-asm.h>.
16931 (memcpy): Don't use BP_SYM.
16932 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16933 <bp-asm.h>.
16934 (__mpn_add_n): Don't use BP_SYM.
16935 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16936 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16937 and <bp-asm.h>.
16938 (__mpn_addmul_1): Don't use BP_SYM.
16939 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16940 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16941 <bp-sym.h>.
16942 (_setjmp): Don't use BP_SYM.
16943 (__novmx_setjmp): Likewise.
16944 (__GI__setjmp): Likewise.
16945 (__vmx_setjmp): Likewise.
16946 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16947 <bp-sym.h>.
16948 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16949 (__bzero): Don't use BP_SYM.
16950 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16951 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16952 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16953 <bp-sym.h> and <bp-asm.h>.
16954 (memcpy): Don't use BP_SYM.
16955 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16956 <bp-sym.h> and <bp-asm.h>.
16957 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16958 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16959 <bp-sym.h> and <bp-asm.h>.
16960 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16961 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16962 <bp-asm.h>.
16963 (__mpn_lshift): Don't use BP_SYM.
16964 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16965 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16966 <bp-asm.h>.
16967 (memset): Don't use BP_SYM.
16968 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16969 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16970 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16971 <bp-asm.h>.
16972 (__mpn_mul_1): Don't use BP_SYM.
16973 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16974 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16975 <bp-sym.h> and <bp-asm.h>.
16976 (memcmp): Don't use BP_SYM.
16977 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16978 <bp-sym.h> and <bp-asm.h>.
16979 (memcpy): Don't use BP_SYM.
16980 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16981 <bp-sym.h> and <bp-asm.h>.
16982 (memset): Don't use BP_SYM.
16983 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16984 <bp-sym.h> and <bp-asm.h>.
16985 (strncmp): Don't use BP_SYM.
16986 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16987 <bp-sym.h> and <bp-asm.h>.
16988 (memcpy): Don't use BP_SYM.
16989 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16990 <bp-sym.h> and <bp-asm.h>.
16991 (memset): Don't use BP_SYM.
16992 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16993 <bp-sym.h> and <bp-asm.h>.
16994 (__memchr): Don't use BP_SYM.
16995 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16996 <bp-sym.h> and <bp-asm.h>.
16997 (memcmp): Don't use BP_SYM.
16998 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16999 <bp-sym.h> and <bp-asm.h>.
17000 (memcpy): Don't use BP_SYM.
17001 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17002 <bp-sym.h> and <bp-asm.h>.
17003 (__mempcpy): Don't use BP_SYM.
17004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17005 <bp-sym.h> and <bp-asm.h>.
17006 (__memrchr): Don't use BP_SYM.
17007 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17008 <bp-sym.h> and <bp-asm.h>.
17009 (memset): Don't use BP_SYM.
17010 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17011 <bp-sym.h> and <bp-asm.h>.
17012 (__rawmemchr): Don't use BP_SYM.
17013 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17014 <bp-sym.h> and <bp-asm.h>.
17015 (__STRCMP): Don't use BP_SYM.
17016 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17017 <bp-sym.h> and <bp-asm.h>.
17018 (strchr): Don't use BP_SYM.
17019 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17020 <bp-sym.h> and <bp-asm.h>.
17021 (__strchrnul): Don't use BP_SYM.
17022 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17023 <bp-sym.h> and <bp-asm.h>.
17024 (strlen): Don't use BP_SYM.
17025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17026 <bp-sym.h> and <bp-asm.h>.
17027 (strncmp): Don't use BP_SYM.
17028 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17029 <bp-sym.h> and <bp-asm.h>.
17030 (__strnlen): Don't use BP_SYM.
17031 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17032 <bp-asm.h>.
17033 (__mpn_rshift): Don't use BP_SYM.
17034 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17035 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17036 <bp-sym.h> and <bp-asm.h>.
17037 (__sigsetjmp): Don't use BP_SYM.
17038 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17039 (L(start_addresses)): Don't use BP_SYM.
17040 (_start): Likewise.
17041 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17042 <bp-asm.h>.
17043 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17044 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17045 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17046 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17047 <bp-asm.h>.
17048 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17049 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17050 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17051 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17052 <bp-asm.h>.
17053 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17054 comments.
17055 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17056 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17057 <bp-asm.h>.
17058 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17059 FIXME comments.
17060 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17061 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17062 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17063 <bp-asm.h>.
17064 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17065 comment.
17066 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17067 and <bp-asm.h>.
17068 (strncmp): Don't use BP_SYM,
17069 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17070 <bp-asm.h>.
17071 (__mpn_sub_n): Don't use BP_SYM.
17072 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17073 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17074 and <bp-asm.h>.
17075 (__mpn_submul_1): Don't use BP_SYM.
17076 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17078 <bp-sym.h> and <bp-asm.h>.
17079 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17081 <bp-sym.h> and <bp-asm.h>.
17082 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17083 comment.
17084
8d19fe64
SP
170852013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17086
17087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17088 Use ZK to minimize writes to Z.
17089 (sub_magnitudes): Simplify code a bit.
17090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17091 Use ZK to minimize writes to Z.
17092 (sub_magnitudes): Simplify code a bit.
17093
85bd816a
RM
170942013-02-27 Roland McGrath <roland@hack.frob.com>
17095
17096 * csu/gmon-start.c: Add special exception to license text.
17097
b5977bf2
RH
170982013-02-27 Richard Henderson <rth@redhat.com>
17099
17100 * scripts/config.guess: Update from config.git.
17101 * scripts/config.sub: Likewise.
17102
11d6e2f2
SP
171032013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17104
09c14ed2
SP
17105 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17106
a688864e
SP
17107 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17108
6295157a
SP
17109 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17110
b8de2202
SP
17111 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17112
11d6e2f2
SP
17113 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17114
7e80ddb8
RM
171152013-02-26 Roland McGrath <roland@hack.frob.com>
17116
17117 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17118 [$(build-shared = yes].
7e80ddb8 17119
7da6d9ed
SP
171202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17121
45f05884
SP
17122 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17123 (__mul): Reduce iterations for calculating mantissa.
17124
2236d359
SP
17125 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17126 MPTWO.
17127 (__mpranred): Likewise.
17128
7da6d9ed
SP
17129 [BZ #15160]
17130 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17131 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17132
b7688c42
PE
171332013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17134
17135 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17136 Define __attribute__.
17137
53a5c423
SP
171382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17139
17140 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17141 unused.
17142 * posix/regex_internal.h (__attribute): Remove.
17143 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17144 (re_string_context_at): Likewise.
17145 (bitset_not): Use __attribute__ and mark function as possibly
17146 unused.
17147 (bitset_merge): Likewise.
17148 (bitset_mask): Likewise.
17149 (re_string_char_size_at): Likewise.
17150 (re_string_wchar_at): Likewise.
17151 (re_string_elem_size_at): Likewise.
17152
60f5a8b5
SP
171532013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17154
2a983a2e
SP
17155 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17156 code.
17157 (cc32): Likewise.
17158
e69804d1
SP
17159 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17160 (__acr): Likewise.
17161 (__cpy): Likewise.
17162 (norm): Likewise.
17163 (denorm): Likewise.
17164 (__dbl_mp): Likewise.
17165 (add_magnitudes): Likewise.
17166 (sub_magnitudes): Likewise.
17167 (__mul): Likewise.
17168 (__inv): Likewise.
17169
2f22a1e8
SP
17170 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17171 style.
17172
8930ddc7
SP
17173 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17174 style.
17175
dc60cb11
SP
17176 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17177 code.
17178
60f5a8b5
SP
17179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17180 up changes with default code.
17181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17182 Likewise.
17183
b4d1fd33
AM
171842013-02-24 Allan McRae <allan@archlinux.org>
17185
faf6f8bc
AM
17186 * manual/socket.texi (The Internet Namespace): Order menu items
17187 to match that in the file.
17188
b4d1fd33
AM
17189 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17190 node listing of the info page menu.
17191
2366713d
JM
171922013-02-21 Joseph Myers <joseph@codesourcery.com>
17193
17194 [BZ #13550]
17195 * sysdeps/i386/bp-asm.h: Remove file.
17196 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17197 (PARMS): Do not use macros from bp-asm.h.
17198 (S1): Likewise.
17199 (S2): Likewise.
17200 (SIZE): Likewise.
17201 (__mpn_add_n): Do not use BP_SYM
17202 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17203 "bp-asm.h".
17204 (PARMS): Do not use macros from bp-asm.h.
17205 (S1): Likewise.
17206 (SIZE): Likewise.
17207 (__mpn_addmul_1): Do not use BP_SYM
17208 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17209 "bp-asm.h".
17210 (PARMS): Do not use macros from bp-asm.h.
17211 (SIGMSK): Likewise.
17212 (_setjmp): Likewise. Do not use BP_SYM.
17213 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17214 "bp-asm.h".
17215 (PARMS): Do not use macros from bp-asm.h.
17216 (SIGMSK): Likewise.
17217 (setjmp): Likewise. Do not use BP_SYM.
17218 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17219 "bp-asm.h".
17220 (PARMS): Do not use macros from bp-asm.h.
17221 (__frexp): Do not use BP_SYM.
17222 (frexp): Likewise.
17223 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17224 "bp-asm.h".
17225 (PARMS): Do not use macros from bp-asm.h.
17226 (__frexpf): Do not use BP_SYM.
17227 (frexpf): Likewise.
17228 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17229 "bp-asm.h".
17230 (PARMS): Do not use macros from bp-asm.h.
17231 (__frexpl): Do not use BP_SYM.
17232 (frexpl): Likewise.
17233 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17234 "bp-asm.h".
17235 (PARMS): Do not use macros from bp-asm.h.
17236 (__remquo): Do not use BP_SYM.
17237 (remquo): Likewise.
17238 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17239 "bp-asm.h".
17240 (PARMS): Do not use macros from bp-asm.h.
17241 (__remquof): Do not use BP_SYM.
17242 (remquof): Likewise.
17243 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17244 "bp-asm.h".
17245 (PARMS): Do not use macros from bp-asm.h.
17246 (__remquol): Do not use BP_SYM.
17247 (remquol): Likewise.
17248 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17249 "bp-asm.h".
17250 (PARMS): Do not use macros from bp-asm.h.
17251 (DEST): Likewise.
17252 (SRC): Likewise.
17253 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17254 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17255 "bp-asm.h".
17256 (PARMS): Do not use macros from bp-asm.h.
17257 (strlen): Do not use BP_SYM.
17258 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17259 "bp-asm.h".
17260 (PARMS): Do not use macros from bp-asm.h.
17261 (S1): Likewise.
17262 (S2): Likewise.
17263 (SIZE): Likewise.
17264 (__mpn_add_n): Do not use BP_SYM.
17265 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17266 "bp-asm.h".
17267 (PARMS): Do not use macros from bp-asm.h.
17268 (S1): Likewise.
17269 (SIZE): Likewise.
17270 (__mpn_addmul_1): Do not use BP_SYM.
17271 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17272 weak_alias.
17273 (bzero): Likewise.
17274 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17275 "bp-asm.h".
17276 (PARMS): Do not use macros from bp-asm.h.
17277 (S): Likewise.
17278 (SIZE): Likewise.
17279 (__mpn_lshift): Do not use BP_SYM.
17280 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17281 "bp-asm.h".
17282 (PARMS): Do not use macros from bp-asm.h.
17283 (DEST): Likewise.
17284 (SRC): Likewise.
17285 (LEN): Likewise.
17286 (memcpy): Likewise. Do not use BP_SYM.
17287 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17288 libc_hidden_def and weak_alias.
17289 (mempcpy): Do not use BP_SYM in weak_alias.
17290 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17291 "bp-asm.h".
17292 (PARMS): Do not use macros from bp-asm.h.
17293 (DEST): Likewise.
17294 (LEN): Likewise.
17295 [!BZERO_P] (CHR): Likewise.
17296 (memset): Likewise. Do not use BP_SYM.
17297 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17298 "bp-asm.h".
17299 (PARMS): Do not use macros from bp-asm.h.
17300 (S1): Likewise.
17301 (SIZE): Likewise.
17302 (__mpn_mul_1): Do not use BP_SYM.
17303 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17304 "bp-asm.h".
17305 (PARMS): Do not use macros from bp-asm.h.
17306 (S): Likewise.
17307 (SIZE): Likewise.
17308 (__mpn_rshift): Do not use BP_SYM.
17309 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17310 "bp-asm.h".
17311 (PARMS): Do not use macros from bp-asm.h.
17312 (STR): Likewise.
17313 (CHR): Likewise.
17314 (strchr): Likewise. Do not use BP_SYM.
17315 (index): Do not use BP_SYM in weak_alias.
17316 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17317 "bp-asm.h".
17318 (PARMS): Do not use macros from bp-asm.h.
17319 (DEST): Likewise.
17320 (SRC): Likewise.
17321 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17322 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17323 "bp-asm.h".
17324 (PARMS): Do not use macros from bp-asm.h.
17325 (strlen): Do not use BP_SYM.
17326 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17327 "bp-asm.h".
17328 (PARMS): Do not use macros from bp-asm.h.
17329 (S1): Likewise.
17330 (S2): Likewise.
17331 (SIZE): Likewise.
17332 (__mpn_sub_n): Do not use BP_SYM.
17333 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17334 "bp-asm.h".
17335 (PARMS): Do not use macros from bp-asm.h.
17336 (S1): Likewise.
17337 (SIZE): Likewise.
17338 (__mpn_submul_1): Do not use BP_SYM.
17339 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17340 "bp-asm.h".
17341 (PARMS): Do not use macros from bp-asm.h.
17342 (S1): Likewise.
17343 (S2): Likewise.
17344 (SIZE): Likewise.
17345 (__mpn_add_n): Do not use BP_SYM.
17346 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17347 weak_alias.
17348 (bzero): Likewise.
17349 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17350 "bp-asm.h".
17351 (PARMS): Do not use macros from bp-asm.h.
17352 (BLK2): Likewise.
17353 (LEN): Likewise.
17354 (memcmp): Do not use BP_SYM.
17355 (bcmp): Do not use BP_SYM in weak_alias.
17356 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17357 "bp-asm.h".
17358 (PARMS): Do not use macros from bp-asm.h.
17359 (DEST): Likewise.
17360 (SRC): Likewise.
17361 (LEN): Likewise.
17362 (memcpy): Likewise. Do not use BP_SYM.
17363 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17364 "bp-asm.h".
17365 (PARMS): Do not use macros from bp-asm.h.
17366 (DEST): Likewise.
17367 (SRC): Likewise.
17368 (LEN): Likewise.
17369 (memmove): Likewise. Do not use BP_SYM.
17370 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17371 "bp-asm.h".
17372 (PARMS): Do not use macros from bp-asm.h.
17373 (DEST): Likewise.
17374 (SRC): Likewise.
17375 (LEN): Likewise.
17376 (__mempcpy): Likewise. Do not use BP_SYM.
17377 (mempcpy): Do not use BP_SYM in weak_alias.
17378 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17379 "bp-asm.h".
17380 (PARMS): Do not use macros from bp-asm.h.
17381 (DEST): Likewise.
17382 (LEN): Likewise.
17383 [!BZERO_P] (CHR): Likewise.
17384 (memset): Likewise. Do not use BP_SYM.
17385 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17386 "bp-asm.h".
17387 (PARMS): Do not use macros from bp-asm.h.
17388 (STR2): Likewise.
17389 (strcmp): Do not use BP_SYM.
17390 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17391 "bp-asm.h".
17392 (PARMS): Do not use macros from bp-asm.h.
17393 (STR): Likewise.
17394 (DELIM): Likewise.
17395 [USE_AS_STRTOK_R] (SAVE): Likewise.
17396 (FUNCTION): Likewise. Do not use BP_SYM.
17397 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17398 aliases.
17399 (strtok_r): Likewise.
17400 (__GI___strtok_r): Likewise.
17401 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17402 (PARMS): Do not use macros from bp-asm.h.
17403 (S): Likewise.
17404 (SIZE): Likewise.
17405 (__mpn_lshift): Do not use BP_SYM.
17406 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17407 (PARMS): Do not use macros from bp-asm.h.
17408 (STR): Likewise.
17409 (CHR): Likewise.
17410 (__memchr): Do not use BP_SYM.
17411 (memchr): Do not use BP_SYM in weak_alias.
17412 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17413 (PARMS): Do not use macros from bp-asm.h.
17414 (BLK2): Likewise.
17415 (LEN): Likewise.
17416 (memcmp): Do not use BP_SYM.
17417 (bcmp): Do not use BP_SYM in weak_alias.
17418 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17419 (PARMS): Do not use macros from bp-asm.h.
17420 (S1): Likewise.
17421 (SIZE): Likewise.
17422 (__mpn_mul_1): Do not use BP_SYM.
17423 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17424 "bp-asm.h".
17425 (PARMS): Do not use macros from bp-asm.h.
17426 (STR): Likewise.
17427 (CHR): Likewise.
17428 (__rawmemchr): Do not use BP_SYM.
17429 (rawmemchr): Do not use BP_SYM in weak_alias.
17430 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17431 (PARMS): Do not use macros from bp-asm.h.
17432 (S): Likewise.
17433 (SIZE): Likewise.
17434 (__mpn_rshift): Do not use BP_SYM.
17435 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17436 (PARMS): Do not use macros from bp-asm.h.
17437 (SIGMSK): Likewise.
17438 (__sigsetjmp): Likewise. Do not use BP_SYM.
17439 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17440 (_start): Do not use BP_SYM.
17441 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17442 (PARMS): Do not use macros from bp-asm.h.
17443 (DEST): Likewise.
17444 (SRC): Likewise.
17445 (__stpcpy): Likewise. Do not use BP_SYM.
17446 (stpcpy): Do not use BP_SYM in weak_alias.
17447 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17448 "bp-asm.h".
17449 (PARMS): Do not use macros from bp-asm.h.
17450 (DEST): Likewise.
17451 (SRC): Likewise.
17452 (LEN): Likewise.
17453 (__stpncpy): Likewise. Do not use BP_SYM.
17454 (stpncpy): Do not use BP_SYM in weak_alias.
17455 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17456 (PARMS): Do not use macros from bp-asm.h.
17457 (STR): Likewise.
17458 (CHR): Likewise.
17459 (strchr): Likewise. Do not use BP_SYM.
17460 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17461 "bp-asm.h".
17462 (PARMS): Do not use macros from bp-asm.h.
17463 (STR): Likewise.
17464 (CHR): Likewise.
17465 (__strchrnul): Likewise. Do not use BP_SYM.
17466 (strchrnul): Do not use BP_SYM in weak_alias.
17467 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17468 "bp-asm.h".
17469 (PARMS): Do not use macros from bp-asm.h.
17470 (STOP): Likewise.
17471 (strcspn): Do not use BP_SYM.
17472 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17473 "bp-asm.h".
17474 (PARMS): Do not use macros from bp-asm.h.
17475 (STR): Likewise.
17476 (STOP): Likewise.
17477 (strpbrk): Likewise. Do not use BP_SYM.
17478 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17479 "bp-asm.h".
17480 (PARMS): Do not use macros from bp-asm.h.
17481 (STR): Likewise.
17482 (CHR): Likewise.
17483 (strrchr): Likewise. Do not use BP_SYM.
17484 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17485 (PARMS): Do not use macros from bp-asm.h.
17486 (SKIP): Likewise.
17487 (strspn): Do not use BP_SYM.
17488 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17489 (PARMS): Do not use macros from bp-asm.h.
17490 (STR): Likewise.
17491 (DELIM): Likewise.
17492 (SAVE): Likewise.
17493 (FUNCTION): Likewise. Do not use BP_SYM.
17494 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17495 aliases.
17496 (strtok_r): Likewise.
17497 (__GI___strtok_r): Likewise.
17498 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17499 (PARMS): Do not use macros from bp-asm.h.
17500 (S1): Likewise.
17501 (S2): Likewise.
17502 (SIZE): Likewise.
17503 (__mpn_sub_n): Do not use BP_SYM.
17504 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17505 "bp-asm.h".
17506 (PARMS): Do not use macros from bp-asm.h.
17507 (S1): Likewise.
17508 (SIZE): Likewise.
17509 (__mpn_submul_1): Do not use BP_SYM.
17510 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17511 <bp-sym.h>.
17512 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17513 and <bp-asm.h>.
17514 (PARMS): Do not use macros from bp-asm.h.
17515 (FLAGS): Likewise.
17516 (PTID): Likewise.
17517 (TLS): Likewise.
17518 (CTID): Likewise.
17519 (__clone): Do not use BP_SYM.
17520 (clone): Do not use BP_SYM in weak_alias.
17521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17522 and <bp-asm.h>.
17523 (PARMS): Do not use macros from bp-asm.h.
17524 (LEN): Likewise.
17525 (__mmap64): Do not use BP_SYM.
17526 (mmap64): Do not use BP_SYM in weak_alias.
17527 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17528 <bp-sym.h> and <bp-asm.h>.
17529 (PARMS): Do not use macros from bp-asm.h.
17530 (__posix_fadvise64_l64): Do not use BP_SYM.
17531 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17532 (PARMS): Do not use macros from bp-asm.h.
17533 (NSOPS): Likewise.
17534 (semtimedop): Do not use BP_SYM.
17535 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17536 and <bp-asm.h>.
17537
582a3cff
AM
175382013-02-21 Allan McRae <allan@archlinux.org>
17539
17540 * manual/message.texi (Charset conversion in gettext):
17541 Move @end statement to beginning of line.
17542
bab8a695
SP
175432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17544
80945231
SP
17545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17546 static.
17547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17548 Likewise.
17549
bab8a695
SP
17550 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17551 (denorm): Likewise.
17552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17554
e21d7aa7
AK
175552013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17556
17557 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17558 tail-call to the resolved function if pltexit isn't needed.
17559
4c7a4263
SP
175602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17561
17562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17563 or Y being zero as being unlikely.
17564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17565 Likewise.
17566
41f49342
CD
175672013-02-20 Carlos O'Donell <carlos@redhat.com>
17568
17569 * manual/nss.texi (System Databases and Name Service Switch):
17570 Remove frobnicate @pxref.
17571
50022a93
TS
175722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17573
17574 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17575 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17576
08cbd996
PM
175772013-02-20 Petr Machata <pmachata@redhat.com>
17578
17579 * elf/elf.h (R_ARM_TARGET1): New macro.
17580 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17581 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17582 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17583 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17584 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17585 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17586 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17587 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17588 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17589 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17590 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17591 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17592 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17593 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17594 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17595 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17596 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17597 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17598 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17599 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17600 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17601 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17602 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17603 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17604 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17605 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17606 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17607 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17608 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17609 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17610 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17611 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17612 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17613 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17614 (R_ARM_THM_GOT_BREL12): Likewise.
17615 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17616 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17617 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17618 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17619 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17620 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17621 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17622 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17623 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17624
c7b275d6
TS
176252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17626
17627 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17628 __attribute_used__ to __attribute__ ((unused)).
17629
20cd7fb3
SP
176302013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17631
17632 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17633 powerpc mpa.c.
17634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17635 comment formatting.
17636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17637
92945b52
JM
176382013-02-19 Joseph Myers <joseph@codesourcery.com>
17639
17640 [BZ #13550]
17641 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17642 Remove macro.
17643 (ENTER): Remove both macro definitions.
17644 (LEAVE): Likewise.
17645 (CHECK_BOUNDS_LOW): Likewise.
17646 (CHECK_BOUNDS_HIGH): Likewise.
17647 (CHECK_BOUNDS_BOTH): Likewise.
17648 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17649 (RETURN_BOUNDED_POINTER): Likewise.
17650 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17651 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17652 (POP_ERRNO_LOCATION_RETURN): Likewise.
17653 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17654 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17655 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17656 macros.
17657 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17658 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17659 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17660 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17661 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17662 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17663 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17664 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17665 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17666 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17667 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17668 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17669 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17670 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17671 removed macros.
17672 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17673 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17674 macros.
17675 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17676 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17677 * sysdeps/i386/i586/memset.S (memset): Likewise.
17678 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17679 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17680 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17681 macros.
17682 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17683 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17684 Change uses of L(2) to L(out).
17685 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17686 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17687 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17688 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17689 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17690 removed macros.
17691 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17692 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17693 macros.
17694 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17695 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17696 (RETURN): Do not use macro LEAVE.
17697 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17698 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17699 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17700 * sysdeps/i386/i686/memset.S (memset): Likewise.
17701 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17702 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17703 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17704 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17705 Likewise.
17706 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17707 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17708 L(1_2) and L(1_3) into L(1).
17709 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17710 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17711 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17712 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17713 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17714 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17715 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17716 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17717 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17718 macros.
17719 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17720 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17721 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17722 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17723 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17724 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17725 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17726 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17727 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17728 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17729 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17730 * sysdeps/i386/strspn.S (strspn): Likewise.
17731 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17732 conditional code.
17733 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17734 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17735 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17736 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17737 L(1_3) into L(1_1).
17738 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17739 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17740 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17741 macros.
17742 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17743
2389741a
JJ
177442013-02-19 Jakub Jelinek <jakub@redhat.com>
17745
17746 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17747 macro.
17748
2016b3cd
SP
177492013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17750
e4f22324
SP
17751 * math/atest-exp.c (exp_mpn): Remove ROUND.
17752 * math/atest-exp2.c (exp_mpn): Likewise.
17753 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17754
2016b3cd
SP
17755 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17756 * stdlib/tst-tls-atexit-lib.c: Likewise.
17757 * stdlib/tst-tls-atexit.c: Likewise.
17758
4be9b544
MF
177592013-02-18 Mike Frysinger <vapier@gentoo.org>
17760
17761 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17762 and __attribute_alloc_size__.
17763
2f62b9ee
MF
177642013-02-18 Mike Frysinger <vapier@gentoo.org>
17765
17766 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17767 __attribute_alloc_size__.
17768 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17769 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17770
6ff444c4
MF
177712013-02-18 Mike Frysinger <vapier@gentoo.org>
17772
17773 * include/programs/xmalloc.h: New file.
17774 * catgets/gencat.c: Include it.
17775 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17776 * elf/pldd.c: Likewise.
17777 * iconv/iconv_charmap.c: Likewise.
17778 * iconv/iconvconfig.c: Likewise.
17779 * iconv/strtab.c: Likewise.
17780 * locale/programs/locale.c: Likewise.
17781 * locale/programs/localedef.h: Likewise.
17782 * locale/programs/simple-hash.c: Likewise.
17783 * nscd/nscd.h: Likewise.
17784 * nss/makedb.c: Likewise.
17785 * sysdeps/generic/ldconfig.h: Likewise.
17786
be179c8a
SP
177872013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17788
ba384f6e
SP
17789 * Versions.def: Add GLIBC_2.18.
17790 * include/link.h (struct link_map): New member l_tls_dtor_count.
17791 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17792 (__call_tls_dtors): Likewise.
17793 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17794 __cxa_thread_atexit_impl.
17795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17796 Likewise.
17797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17798 Likewise.
17799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17800 Likewise.
17801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17802 Likewise.
17803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17805 Likewise.
17806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17807 Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17810 Likewise.
17811 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17812 (tests): Add test case tst-tls-atexit.
17813 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17814 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17815 (GLIBC_PRIVATE): Add __call_tls_dtors.
17816 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17817 for libstdc++.
17818 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17819 * stdlib/tst-tls-atexit.c: New test case.
17820 * stdlib/tst-tls-atexit-lib.c: New test case.
17821
ffaa74cf 17822 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17823
be179c8a
SP
17824 * elf/Versions (ld): Add _dl_find_dso_for_object.
17825 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17826 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17827 (dl_open_worker): Use _dl_find_dso_for_object.
17828 * elf/dl-sym.c (do_sym): Likewise.
17829 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17830
f78b5caa
AK
178312013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17832
17833 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17834 Syntactic changes only.
17835 (_dl_runtime_profile): Do a tail-call to the resolved function.
17836
29691210
JM
178372013-02-17 Joseph Myers <joseph@codesourcery.com>
17838
17839 [BZ #13550]
17840 * sysdeps/x86_64/bp-asm.h: Remove file.
17841 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17842 <bp-sym.h> and <bp-asm.h>.
17843 (__clone): Do not use BP_SYM.
17844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17845 <bp-sym.h> and <bp-asm.h>.
17846 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17847 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17848 "bp-asm.h".
17849 (_setjmp): Do not use BP_SYM.
17850 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17851 "bp-asm.h".
17852 (setjmp): Do not use BP_SYM.
17853 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17854 libc_hidden_def.
17855 (mempcpy): Do not use BP_SYM in weak_alias.
17856 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17857 "bp-asm.h".
17858 (strchr): Do not use BP_SYM.
17859 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17860 "bp-asm.h".
17861 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17862 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17863 (_start): Do not use BP_SYM.
17864 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17865 "bp-asm.h".
17866 (strcat): Do not use BP_SYM.
17867 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17868 "bp-asm.h".
17869 (STRCMP): Do not use BP_SYM.
17870 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17871 "bp-asm.h".
17872 (STRCPY): Do not use BP_SYM.
17873 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17874 "bp-asm.h".
17875 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17876 "bp-asm.h".
17877 (FUNCTION): Do not use BP_SYM.
17878 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17879 weak_alias.
17880 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17881
f238fd19
AJ
178822013-02-17 Andreas Jaeger <aj@suse.de>
17883
17884 * time/Versions: Sort entries.
17885 * string/Versions: Likewise.
17886 * resolv/Versions: Likewise.
17887 * posix/Versions: Likewise.
17888 * iconv/Versions: Likewise.
17889 * elf/Versions: Likewise.
17890 * wcsmbs/Versions: Likewise.
17891
bd07f23c 178922013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17893
22af19f9
SP
17894 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17895 loop termination condition.
17896
4709fe76
SP
17897 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17898 variable to calculate EZ.
17899 (__sqr): Likewise.
2d0e0f29
SP
17900
17901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17902 the lower precision input.
17903
daaa7713
JM
179042013-02-15 Joseph Myers <joseph@codesourcery.com>
17905
17906 [BZ #13550]
17907 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17908 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17909 (run-via-rtld-prefix): Do not handle %-bp tests.
17910 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17911 (all-object-suffixes): Remove .ob.
17912 (bppfx): Remove variable.
17913 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17914 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17915 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17916 [$(build-bounded) = yes] (libtype.ob): Likewise.
17917 * Makerules (elide-routines.ob): Remove variable.
17918 (do-tests-clean): Do not handle *-bp.out.
17919 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17920 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17921 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17922 (tests): Do not include $(tests-bp.out).
17923 (xtests): Do not include $(xtests-bp.out).
17924 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17925 [$(build-bounded) = yes] ($(addprefix
17926 $(objpfx),$(binaries-bounded))): Remove rule.
17927 ($(objpfx)%-bp.out): Remove rule.
17928 * config.make.in (build-bounded): Remove variable.
17929 * crypt/Makefile [$(build-bounded) = yes]
17930 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17931 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17932 append to variable.
17933 [$(build-bounded) = yes] (install-lib): Likewise.
17934 [$(build-bounded) = yes] (generated): Likewise.
17935 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17936 Remove rule.
17937 * intl/Makefile [$(build-bounded) = yes]
17938 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17939 * math/Makefile [$(build-bounded) = yes]
17940 ($(tests:%=$(objpfx)%-bp): Likewise.
17941 * misc/Makefile [$(build-bounded) = yes]
17942 ($(objpfx)tst-tsearch-bp): Likewise.
17943 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17944 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17945 Remove dependency.
17946 * string/Makefile (o-objects.ob): Remove variable.
17947 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17948 (CFLAGS-.ob): Remove variable.
17949 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17950 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17951 both definitions of variable.
17952 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17953 (ASFLAGS-.ob): Remove variable.
17954
e97ed6dd
JM
179552013-02-14 Joseph Myers <joseph@codesourcery.com>
17956
2bdd4ca6
JM
17957 [BZ #13550]
17958 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17959 Remove __BOUNDED_POINTERS__ from condition.
17960 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17961 * string/bits/string2.h [!__NO_STRING_INLINES &&
17962 !__BOUNDED_POINTERS__]: Likewise.
17963 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17964 Likewise.
17965 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17966 Remove conditional code.
17967 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17968 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17969 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17970 condition.
17971
e97ed6dd
JM
17972 [BZ #13550]
17973 * csu/libc-start.c: Do not include <bp-sym.h>.
17974 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17975 * elf/dl-open.c: Do not include <bp-sym.h>.
17976 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17977 * math/fegetenv.c: Do not include <bp-sym.h>.
17978 (fegetenv): Do not use BP_SYM in versioned symbols.
17979 * nptl/sysdeps/pthread/bits/libc-lockP.h
17980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17981 <bp-sym.h>.
17982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17983 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17985 (__pthread_mutex_destroy): Likewise.
17986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17987 (__pthread_mutex_lock): Likewise.
17988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17989 (__pthread_mutex_trylock): Likewise.
17990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17991 (__pthread_mutex_unlock): Likewise.
17992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17993 (__pthread_mutexattr_init): Likewise.
17994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17995 (__pthread_mutexattr_destroy): Likewise.
17996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17997 (__pthread_mutexattr_settype): Likewise.
17998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17999 (__pthread_rwlock_init): Likewise.
18000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18001 (__pthread_rwlock_destroy): Likewise.
18002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18003 (__pthread_rwlock_rdlock): Likewise.
18004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18005 (__pthread_rwlock_tryrdlock): Likewise.
18006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18007 (__pthread_rwlock_wrlock): Likewise.
18008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18009 (__pthread_rwlock_trywrlock): Likewise.
18010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18011 (__pthread_rwlock_unlock): Likewise.
18012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18013 (__pthread_key_create): Likewise.
18014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18015 (__pthread_setspecific): Likewise.
18016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18017 (__pthread_getspecific): Likewise.
18018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18019 Likewise.
18020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18021 (_pthread_cleanup_push_defer): Likewise.
18022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18023 (_pthread_cleanup_pop_restore): Likewise.
18024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18025 (pthread_setcancelstate): Likewise.
18026 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18027 <bp-sym.h>.
18028 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18029 (memchr): Do not use BP_SYM in weak_alias.
18030 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18031 (fegetenv): Do not use BP_SYM in versioned symbols.
18032 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18033 (fesetenv): Do not use BP_SYM in versioned symbols.
18034 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18035 (feupdateenv): Do not use BP_SYM in versioned symbols.
18036 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18037 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18038 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18039 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18040 (open64): Do not use BP_SYM in weak_alias.
18041 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18042 (fegetenv): Do not use BP_SYM in versioned symbols.
18043 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18044 (fesetenv): Do not use BP_SYM in versioned symbols.
18045 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18046 (feupdateenv): Do not use BP_SYM in versioned symbols.
18047 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18048 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18049 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18050 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18051 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18052 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18053 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18054 <bp-sym.h>.
18055 (__libc_start_main): Do not use BP_SYM.
18056
d6752ccd
SP
180572013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18058
cb57ce60
SP
18059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18060 redundant return line.
18061 (norm): Likewise.
18062 (denorm): Likewise.
18063 (dbl_mp): Likewise.
18064 (sub_magnitudes): Likewise.
18065 (__add): Likewise.
18066 (__sub): Likewise.
18067 (__mul): Likewise.
18068 (__inv): Likewise.
18069 (__dvd): Likewise.
18070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18071 (norm): Likewise.
18072 (denorm): Likewise.
18073 (dbl_mp): Likewise.
18074 (sub_magnitudes): Likewise.
18075 (__add): Likewise.
18076 (__sub): Likewise.
18077 (__mul): Likewise.
18078 (__inv): Likewise.
18079 (__dvd): Likewise.
18080
f414520d
SP
18081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18082 instead of __mul.
18083 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18084 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18085 (cc32): Likewise.
18086
d6752ccd
SP
18087 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18088 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18090 of __mul for squares.
18091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18092 function
18093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18094 Likewise.
18095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18097
70d9946a
JM
180982013-02-13 Joseph Myers <joseph@codesourcery.com>
18099
18100 [BZ #13550]
18101 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18102 code.
18103 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18104 prototype or function definition. Rename ubp_* variables and
18105 parameters. Remove argv definitions conditional on
18106 [__BOUNDED_POINTERS__].
18107 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18108 * elf/dl-runtime.c (_dl_fixup): Likewise.
18109 * include/set-hooks.h (RUN_HOOK): Likewise.
18110 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18111 definition.
18112 * string/strcpy.c (strcpy): Do not use __unbounded.
18113 * sysdeps/generic/frame.h (struct layout): Likewise.
18114 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18115 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18116 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18117 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18118 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18119 (__backtrace): Likewise.
18120 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18121 use __ptrvalue.
18122 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18123 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18124 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18125 Likewise.
18126 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18127 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18128 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18129 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18130 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18131 Do not use __unbounded.
18132 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18133 Rename __unboundedrlimits parameter to rlimits in prototype.
18134 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18135 Do not use __unbounded.
18136 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18137 not use __ptrvalue.
18138 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18139 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18140 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18141 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18142 __ptrvalue or __unbounded.
18143 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18144 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18145 use __unbounded.
18146 (__new_msgctl): Do not use __ptrvalue.
18147 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18148 __unbounded.
18149 (__libc_msgrcv): Do not use __ptrvalue.
18150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18151 startup_info): Do not use __unbounded.
18152 (__libc_start_main): Likewise. Rename ubp_* variables and
18153 parameters. Remove argv definitions conditional on
18154 [__BOUNDED_POINTERS__].
18155 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18156 __ptrvalue.
18157 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18158 use __unbounded.
18159 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18160 or __ptrvalue.
18161 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18162 use __unbounded.
18163 (__new_shmctl): Do not use __ptrvalue.
18164 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18165 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18166 Likewise.
18167 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18169 (__libc_sigaction): Likewise.
18170 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18171 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18172 Likewise.
18173 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18174
cc7834d6
OB
181752013-02-13 Ondřej Bílka <neleai@seznam.cz>
18176
ffb1ec7b 18177 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18178
18179 * string/mempcpy.c: Implement by calling memcpy.
18180
bdf02814
SP
181812013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18182
c2af38aa
SP
18183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18184
4e92d59e
SP
18185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18186 evaluation.
18187
909279a5
SP
18188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18189 values in the mantissa.
18190
bdf02814
SP
18191 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18192 minimize writes to Z.
18193 (sub_magnitudes): Simplify code a bit.
18194
cd525923
RM
181952013-02-12 Roland McGrath <roland@hack.frob.com>
18196
18197 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18198 from the message. The linker prefixes all warnings with that already.
18199
7e2f0d2d
AS
182002013-02-12 Andreas Schwab <schwab@suse.de>
18201
a445af0b
AS
18202 [BZ #15078]
18203 * posix/regexec.c (extend_buffers): Add parameter min_len.
18204 (check_matching): Pass minimum needed length.
18205 (clean_state_log_if_needed): Likewise.
18206 (get_subexp): Likewise.
18207 * posix/Makefile (tests): Add bug-regex34.
18208 (bug-regex34-ENV): Define.
18209 * posix/bug-regex34.c: New file.
18210
7e2f0d2d
AS
18211 [BZ #11561]
18212 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18213 elements compare against the byte sequence of it, not its name.
18214 * posix/Makefile (tests): Add bug-regex35.
18215 (bug-regex35-ENV): Define.
18216 * posix/bug-regex35.c: New file.
18217
a175b684
TV
182182013-02-11 Tom de Vries <tom@codesourcery.com>
18219
18220 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18221 comment.
18222 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18223 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18224 (CHECK_EOL): Add undef.
18225
310998fe 182262013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18227
18228 * bits/stdlib-bsearch.h: New file.
18229 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18230 * stdlib/stdlib.h: Likewise.
41eda41d 18231
8ded91fb
RM
182322013-02-11 Roland McGrath <roland@hack.frob.com>
18233
18234 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18235 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18236 declaration.
18237 * manual/search.texi (Array Search Function): Add missing const in
18238 lfind prototype.
18239 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18240 declaration to use rlim_t.
18241 (Basic Scheduling Functions): Remove erroneous const from
18242 sched_getparam prototype. Remove erroneous * from
18243 sched_get_priority_max and sched_get_priority_min prototypes.
18244 (Resource Usage): Fix summary @comment on vtimes to refer to
18245 sys/vtimes.h rather than vtimes.h.
18246 Add missing *s in vtimes prototype.
18247 (Limits on Resources): Fix ulimit prototype to return long int.
18248 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18249 prototypes to use long int rather than double.
18250 (BSD Random): Fix initstate and setstate to use char *, not void *.
18251 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18252 prototype to make second argument 'struct aiocb64 *const[]'.
18253 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18254 (Status of AIO Operations): Remove erroneous const in aio_return and
18255 aio_return64 prototypes.
18256 (Synchronizing I/O): Fix sync prototype to return void.
18257 * manual/startup.texi (Suboptions): Remove an erroneous const in
18258 getsubopt prototype.
18259 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18260 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18261 use size_t rather than int.
18262 (Scanning All Users): Likewise for getpwent_r.
18263 (Setting Groups): Add missing const to setgroups prototype.
18264 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18265 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18266 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18267 'const void *' rather than 'const char *'.
18268 (Host Address Functions): Likewise for inet_ntop.
18269 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18270 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18271 ssize_t for return value.
18272 (Sending Data): Likewise for send, sendto, sendmsg.
18273 (Socket Option Functions): Add a missing const in setsockopt prototype.
18274 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18275 use wchar_t for the argument.
18276 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18277 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18278 take no arguments.
18279 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18280 double/float/long double for second argument.
18281 Fix return types of significand, significandf, significandl.
18282 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18283 argument in fchmod prototype.
18284 (File Owner): Use uid_t and gid_t in fchown prototype.
18285 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18286 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18287 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18288 use 'const struct dirent **' as argument types to CMP function pointer
18289 argument.
18290 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18291 (File Times): Fix summary magic @comment for struct utimbuf and utime
18292 to refer to utime.h, not time.h.
18293 * manual/string.texi (Argz Functions): Add missing const in
18294 argz_extract and argz_next prototypes.
18295 (Finding Tokens in a String): Likewise for basename.
18296 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18297 (Copying and Concatenation): Fix typo in wmemmove prototype.
18298 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18299 (Signal Stack): Remove erroneous const in sigstack prototype.
18300 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18301 prototype.
18302 (Simple Calendar Time): Likewise for stime.
18303 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18304 prototype.
18305 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18306 say sys/sysctl.h instead.
18307 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18308 and vsyslog prototypes.
18309
fe77fe6d
TV
183102013-02-11 Tom de Vries <tom@codesourcery.com>
18311
18312 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18313 Remove.
18314
3a09b620
RM
183152013-02-11 Roland McGrath <roland@hack.frob.com>
18316
18317 * misc/sys/mman.h: Fix typo in mremap comment.
18318
550a0b89
RM
183192013-02-08 Roland McGrath <roland@hack.frob.com>
18320
18321 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18322 the '\0' terminator.
18323
a2da1673
JM
183242013-02-08 Joseph Myers <joseph@codesourcery.com>
18325
18326 [BZ #13550]
18327 * debug/segfault.c: Don't include <bp-checks.h>.
18328 * sysdeps/generic/bp-checks.h: Remove file.
18329 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18330 (__GETDENTS): Don't use CHECK_N.
18331 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18332 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18333 (__getgroups): Don't use CHECK_N.
18334 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18335 (setgroups): Don't use CHECK_N.
18336 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18337 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18338 (__libc_msgrcv): Don't use CHECK_N.
18339 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18340 (__libc_msgsnd): Don't use CHECK_N.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18342 <bp-checks.h>.
18343 (__libc_pread): Don't use CHECK_N.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18345 include <bp-checks.h>.
18346 (__libc_pread64): Don't use CHECK_N.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18348 include <bp-checks.h>.
18349 (__libc_pwrite): Don't use CHECK_N.
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18351 include <bp-checks.h>.
18352 (__libc_pwrite64): Don't use CHECK_N.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18354 <bp-checks.h>.
18355 (__libc_pread): Don't use CHECK_N.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18357 include <bp-checks.h>.
18358 (__libc_pread64): Don't use CHECK_N.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18360 include <bp-checks.h>.
18361 (__libc_pwrite): Don't use CHECK_N.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18363 include <bp-checks.h>.
18364 (__libc_pwrite64): Don't use CHECK_N.
18365 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18366 (do_pread): Don't use CHECK_N.
18367 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18368 (do_pread64): Don't use CHECK_N.
18369 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18370 (do_pwrite): Don't use CHECK_N.
18371 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18372 (do_pwrite64): Don't use CHECK_N.
18373 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18374 (__libc_readv): Don't use CHECK_N.
18375 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18376 (semop): Don't use CHECK_N.
18377 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18378 <bp-checks.h>.
18379 (semtimedop): Don't use CHECK_N.
18380 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18381 (__libc_pread): Don't use CHECK_N.
18382 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18383 <bp-checks.h>.
18384 (__libc_pread64): Don't use CHECK_N.
18385 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18386 <bp-checks.h>.
18387 (__libc_pwrite): Don't use CHECK_N.
18388 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18389 <bp-checks.h>.
18390 (__libc_pwrite64): Don't use CHECK_N.
18391 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18392 <bp-checks.h>.
18393 (__libc_msgrcv): Don't use CHECK_N.
18394 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18395 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18396 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18397 (__libc_writev): Don't use CHECK_N.
18398
b84660a8
RM
183992013-02-08 Roland McGrath <roland@hack.frob.com>
18400
7f3e75f8
RM
18401 * string/strcpy.c: Removed unused variable.
18402
b84660a8
RM
18403 * Makeconfig (+sysdep-includes): Define with := rather than =.
18404 Use an existing include/ subdir of each sysdeps dir before it.
18405
471514d3
CD
184062013-02-08 Carlos O'Donell <carlos@redhat.com>
18407
18408 * nscd/connection.c (register_traced_file): Comment function.
18409 [HAVE_INOTIFY] (union __inev): Define.
18410 [HAVE_INOTIFY] (inotify_check_files): New function.
18411 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18412 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18413 clear_db_cache.
18414 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18415
b2d3c3be
CD
184162013-02-08 Carlos O'Donell <carlos@redhat.com>
18417
18418 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18419 loaded if not already and that a failure is permanent.
18420
b39949d2
CD
184212013-02-08 Carlos O'Donell <carlos@redhat.com>
18422
ddacd1db 18423 [BZ #15006]
b39949d2
CD
18424 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18425 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18426
b2c9eff4
JM
184272013-02-08 Joseph Myers <joseph@codesourcery.com>
18428
f3aae3f3
JM
18429 [BZ #13550]
18430 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18431 (CHECK_1_NULL_OK): Likewise.
18432 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18433 (__fxstat): Do not use CHECK_1.
18434 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18435 <bp-checks.h>.
18436 (___fxstat64): Do not use CHECK_1.
18437 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18438 <bp-checks.h>.
18439 (__fxstatat): Do not use CHECK_1.
18440 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18441 <bp-checks.h>.
18442 (__fxstatat64): Do not use CHECK_1.
18443 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18444 <bp-checks.h>.
18445 (__fxstat): Do not use CHECK_1.
18446 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18447 <bp-checks.h>.
18448 (__fxstatat): Do not use CHECK_1.
18449 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18450 <bp-checks.h>.
18451 (__getresgid): Do not use CHECK_1.
18452 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18453 <bp-checks.h>.
18454 (__getresuid): Do not use CHECK_1.
18455 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18456 <bp-checks.h>.
18457 (__lxstat): Do not use CHECK_1.
18458 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18459 <bp-checks.h>.
18460 (__old_msgctl): Do not use CHECK_1.
18461 (__new_msgctl): Likewise.
18462 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18463 <bp-checks.h>.
18464 (__new_setrlimit): Do not use CHECK_1.
18465 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18466 <bp-checks.h>.
18467 (__old_shmctl): Do not use CHECK_1.
18468 (__new_shmctl): Likewise.
18469 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18470 <bp-checks.h>.
18471 (__xstat): Do not use CHECK_1.
18472 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18473 (__lxstat): Do not use CHECK_1.
18474 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18475 <bp-checks.h>.
18476 (___lxstat64): Do not use CHECK_1.
18477 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18478 (__old_msgctl): Do not use CHECK_1.
18479 (__new_msgctl): Likewise.
18480 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18481 <bp-checks.h>.
18482 (__gettimeofday): Do not use CHECK_1.
18483 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18484 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18485 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18486 <bp-checks.h>.
18487 (__gettimeofday): Do not use CHECK_1.
18488 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18489 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18490 (__new_shmctl): Do not use CHECK_1.
18491 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18492 <bp-checks.h>.
18493 (do_sigtimedwait): Do not use CHECK_1.
18494 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18495 <bp-checks.h>.
18496 (do_sigwaitinfo): Do not use CHECK_1.
18497 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18498 <bp-checks.h>.
18499 (msgctl): Do not use CHECK_1.
18500 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18501 <bp-checks.h>.
18502 (shmctl): Do not use CHECK_1.
18503 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18504 (ustat): Do not use CHECK_1.
18505 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18506 <bp-checks.h>.
18507 (__fxstat): Do not use CHECK_1.
18508 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18509 <bp-checks.h>.
18510 (__fxstatat): Do not use CHECK_1.
18511 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18512 <bp-checks.h>.
18513 (__lxstat): Do not use CHECK_1.
18514 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18515 <bp-checks.h>.
18516 (__xstat): Do not use CHECK_1.
18517 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18518 (__xstat): Do not use CHECK_1.
18519 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18520 (___xstat64): Do not use CHECK_1.
18521
b2c9eff4
JM
18522 [BZ #13550]
18523 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18524 definitions.
18525 (CHECK_BOUNDS_HIGH): Likewise.
18526 * string/strcpy.c: Do not include <bp-checks.h>.
18527 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18528
f1d70dad
RM
185292013-02-07 Roland McGrath <roland@hack.frob.com>
18530
18531 * nscd/nscd-client.h (__nscd_drop_map_ref):
18532 Add __attribute__ ((unused)).
18533 * nis/nss-nisplus.h (niserr2nss): Likewise.
18534
18535 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18536 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18537
18538 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18539 Remove inline keyword.
18540 * include/rounding-mode.h (round_away): Likewise.
18541 * libio/wfileops.c (adjust_wide_data): Likewise.
18542 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18543 (__m128i_strloadu_tolower): Likewise.
18544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18545 (__m128i_strloadu_tolower): Likewise.
18546 * time/mktime.c (ydhms_diff): Likewise.
18547 * locale/elem-hash.h (elem_hash): Likewise.
18548 * locale/setlocale.c (setdata): Likewise.
18549 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18550 (re_string_wchar_at): Likewise.
18551 (bitset_not, bitset_merge, bitset_mask): Likewise.
18552 [!(__GNUC__ > 3)] (inline): Remove macro.
18553 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18554 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18555 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18556 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18557 * string/memcmp.c (memcmp_bytes): Likewise.
18558 * locale/programs/locarchive.c (compute_hashval): Likewise.
18559 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18560 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18561 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18562 * nss/getent.c (print_rpc, print_protocols): Likewise.
18563 (print_passwd, print_group, print_aliases): Likewise.
18564 * nis/nss-nisplus.h (niserr2nss): Likewise.
18565 * nscd/connections.c (restart_p): Likewise.
18566 Change return type to bool.
18567
eab55bfb
RM
185682013-02-05 Roland McGrath <roland@hack.frob.com>
18569
7bd642f5
RM
18570 * Makeconfig (all-Depend-files): Add existing
18571 $(sorted-subdirs:=/Depend) files.
18572 (all-subdirs): Remove nss.
18573 * sysdeps/unix/inet/Subdirs: Add it here instead.
18574 * hesiod/Depend: New file.
18575
573c29b2
RM
18576 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18577 instead of calling alloca.
18578
b2e25af0
RM
18579 * io/lseek.c (__lseek): Rename to __libc_lseek.
18580 Define __lseek as an alias.
18581
eab55bfb
RM
18582 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18583
9a0d1941
CD
185842013-02-04 Carlos O'Donell <carlos@redhat.com>
18585
18586 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18587 else clause and remove check for non-standard endianness.
18588
b83bbec4
DM
185892013-02-04 David S. Miller <davem@davemloft.net>
18590
18591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18592
6277fdab
JM
185932013-02-04 Joseph Myers <joseph@codesourcery.com>
18594
18595 [BZ #13550]
18596 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18597 (__ubp_memchr): Remove prototype.
18598 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18599 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18600 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18601 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18602 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18603 Remove alias.
18604 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18605 (__ubp_memchr): Likewise.
18606 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18607 (__ubp_memchr): Likewise.
18608 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18609 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18610 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18611 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18612 CHECK_STRING.
18613 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18614 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18615 (__getcwd): Do not use CHECK_STRING.
18616 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18617 <bp-checks.h>.
18618 (__real_chown): Do not use CHECK_STRING.
18619 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18620 <bp-checks.h>.
18621 (fchownat): Do not use CHECK_STRING.
18622 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18623 CHECK_STRING.
18624 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18625 <bp-checks.h>.
18626 (__lchown): Do not use CHECK_STRING.
18627 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18628 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18629 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18630 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18632 include <bp-checks.h>.
18633 (truncate64): Do not use CHECK_STRING.
18634 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18635 <bp-checks.h>.
18636 (__real_chown): Do not use CHECK_STRING.
18637 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18638 <bp-checks.h>.
18639 (__lchown): Do not use CHECK_STRING.
18640 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18641 <bp-checks.h>.
18642 (__chown): Do not use CHECK_STRING.
18643 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18644 <bp-checks.h>.
18645 (truncate64): Do not use CHECK_STRING.
18646 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18647 Likewise.
18648 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18649 (__xmknod): Do not use CHECK_STRING.
18650 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18651 <bp-checks.h>.
18652 (__xmknodat): Do not use CHECK_STRING.
18653 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18654 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18655
903ae060
AS
186562013-02-04 Andreas Schwab <schwab@suse.de>
18657
18658 [BZ #14142]
18659 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18660 * include/netdb.h: Likewise for h_errno.
18661 * elf/tst-stackguard1.c: Include <tls.h>.
18662
542f9466
JK
186632013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18664
18665 * elf/link.h (struct link_map): Extend the l_addr comment.
18666 * include/link.h (struct link_map): Likewise.
18667
e782a927
JM
186682013-02-01 Joseph Myers <joseph@codesourcery.com>
18669
18670 [BZ #13550]
18671 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18672 (BOUNDED_1): Remove macro.
18673 * debug/backtrace.c: Don't include <bp-checks.h>.
18674 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18675 (__backtrace): Likewise.
18676 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18677 <bp-checks.h>.
18678 (__backtrace): Don't use BOUNDED_1.
18679 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18680 <bp-checks.h>.
18681 (__backtrace): Don't use BOUNDED_1.
18682 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18683 (__backtrace): Don't use BOUNDED_1.
18684 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18685 (shmat): Don't use BOUNDED_N.
18686
8cf28c5e
JM
186872013-01-31 Joseph Myers <joseph@codesourcery.com>
18688
3a7ac8a0
JM
18689 [BZ #13550]
18690 * sysdeps/generic/bp-start.h: Remove file.
18691 * csu/libc-start.c: Don't include <bp-start.h>.
18692 (LIBC_START_MAIN): Set up __environ directly instead of using
18693 INIT_ARGV_and_ENVIRON.
18694 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18695 <bp-start.h>.
18696
f3499f95
JM
18697 [BZ #13550]
18698 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18699 definitions.
18700 (CHECK_FCNTL): Likewise.
18701 (CHECK_N_PAGES): Likewise.
18702
32a45bea
JM
18703 [BZ #13550]
18704 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18705 definitions.
18706 (CHECK_SIGSET_NULL_OK): Likewise.
18707 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18708 <bp-checks.h>.
18709 (sigpending): Don't use CHECK_SIGSET.
18710 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18711 <bp-checks.h>.
18712 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18713 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18714 <bp-checks.h>.
18715 (do_sigsuspend): Don't use CHECK_SIGSET.
18716 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18717 use CHECK_SIGSET.
18718 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18719 (do_sigwait): Don't use CHECK_SIGSET.
18720 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18721 use CHECK_SIGSET.
18722 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18723 include <bp-checks.h>.
18724 (sigpending): Don't use CHECK_SIGSET.
18725 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18726 include <bp-checks.h>.
18727 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18728 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18729 <bp-checks.h>.
18730 (sigpending): Don't use CHECK_SIGSET.
18731 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18732 <bp-checks.h>.
18733 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18734
2e8a5c8c
JM
18735 [BZ #13550]
18736 * sysdeps/generic/bp-semctl.h: Remove file.
18737 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18738 <bp-checks.h> and <bp-semctl.h>.
18739 (__old_semctl): Don't use CHECK_SEMCTL.
18740 (__new_semctl): Likewise.
18741 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18742 and <bp-semctl.h>.
18743 (__old_semctl): Don't use CHECK_SEMCTL.
18744 (__new_semctl): Likewise.
18745 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18746 <bp-checks.h> and <bp-semctl.h>.
18747 (__old_semctl): Don't use CHECK_SEMCTL.
18748 (__new_semctl): Likewise.
18749 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18750 <bp-checks.h> and <bp-semctl.h>.
18751 (semctl): Don't use CHECK_SEMCTL.
18752
c2d54929
JM
18753 [BZ #13550]
18754 * Makerules (elide-bp-thunks): Remove variable.
18755 (elide-routines.oS): Don't use $(elide-bp-thunks).
18756 (elide-routines.os): Likewise.
18757 (elide-routines.o): Likewise.
18758 (elide-routines.op): Likewise.
18759 (elide-routines.og): Likewise.
18760 (objects): Don't use $(bp-thunks).
18761 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18762 include.
18763 (common-generated): Do not add s-proto-bp.d.
18764 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18765 (int): Likewise.
18766 (typ): Likewise.
18767 Do not generate makefile rules for bounded-pointer thunks.
18768 * sysdeps/generic/bp-thunks.h: Remove file.
18769 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18770 * sysdeps/unix/s-proto-bp.S: Likewise.
18771
8cf28c5e
JM
18772 [BZ #15062]
18773 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18774 parts of result separately when argument is not close to line from
18775 -i to i and one part of argument is small.
18776 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18777 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18778 * math/libm-test.inc (cacos_test): Add more tests.
18779 (casin_test): Likewise.
18780 (casinh_test): Likewise.
18781 * sysdeps/i386/fpu/libm-test-ulps: Update.
18782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18783
c4e33b8d
DM
187842013-01-31 David S. Miller <davem@davemloft.net>
18785
18786 * po/de.po: Update from translation team.
18787
3b60b421
MK
187882013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18789
18790 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18791
bb931195
TS
187922013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18793
b5a5da23
TS
18794 * configure.in (_AC_PROG_CC_C89): New definition.
18795 * configure: Regenerate.
18796
bb931195
TS
18797 * configure.in (AC_PROG_CPP): New definition.
18798 * configure: Regenerate.
18799
8c53a12c
JM
188002013-01-23 Joseph Myers <joseph@codesourcery.com>
18801
18802 * debug/tst-backtrace.h: New file.
18803 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18804 (ret): Remove variable.
18805 (x): Likewise.
18806 (FAIL): Remove macro.
18807 (NO_INLINE): Likewise.
18808 (fn1): Use match function instead of strstr.
18809 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18810 (ret): Remove variable.
18811 (x): Likewise.
18812 (FAIL): Remove macro.
18813 (NO_INLINE): Likewise.
18814 (fn): Use match function instead of strstr.
18815 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18816 (ret): Remove variable.
18817 (x): Likewise.
18818 (FAIL): Remove macro.
18819 (NO_INLINE): Likewise.
18820 (handle_signal): Use match function instead of strstr.
18821 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18822 (ret): Remove variable.
18823 (x): Likewise.
18824 (FAIL): Remove macro.
18825 (NO_INLINE): Likewise.
18826 (handle_signal): Use match function instead of strstr.
18827
4858fa2a
RM
188282013-01-23 Roland McGrath <roland@hack.frob.com>
18829
18830 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18831
bae8e7f5
DM
188322013-01-23 David S. Miller <davem@davemloft.net>
18833
18834 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18835 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18836 argument of CAS if possible.
18837 * sysdeps/sparc/sparc64/bits/atomic.h
18838 (__arch_compare_and_exchange_val_32_acq): Likewise.
18839 (__arch_compare_and_exchange_val_64_acq): Likewise.
18840
9cbbc4ae
PT
188412013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18842
18843 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18844 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18845 Include <limits.h>.
67b3f58c 18846 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18847
5655a0b5
AC
188482013-01-23 Adam Conrad <adconrad@0c3.net>
18849
18850 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18851 (LDFLAGS-tst-array5): Likewise.
18852
052aff95
JM
188532013-01-23 Joseph Myers <joseph@codesourcery.com>
18854
18855 [BZ #15036]
18856 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18857 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18858 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18859 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18860
7c1e01aa
DM
188612013-01-21 David S. Miller <davem@davemloft.net>
18862
18863 * sysdeps/sparc/backtrace.c: New file.
18864 * sysdeps/sparc/sparc32/backtrace.h: New file.
18865 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18866 * sysdeps/sparc/sparc64/backtrace.h: New file.
18867 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18868 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18869 -funwind-tables.
18870
ab087e0a
AS
188712013-01-21 Andreas Schwab <schwab@suse.de>
18872
18873 [BZ #15020]
18874 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18875 closed its stdout.
18876
ed689c2f
AS
188772013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18878
18879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18880 "mpa2.h".
18881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18882
31d470ac
JM
188832013-01-18 Joseph Myers <joseph@codesourcery.com>
18884 Mark Mitchell <mark@codesourcery.com>
18885 Tom de Vries <tom@codesourcery.com>
18886 Paul Pluzhnikov <ppluzhnikov@google.com>
18887
18888 * debug/tst-backtrace2.c: New file.
18889 * debug/tst-backtrace3.c: Likewise.
18890 * debug/tst-backtrace4.c: Likewise.
18891 * debug/tst-backtrace5.c: Likewise.
18892 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18893 (CFLAGS-tst-backtrace3.c): Likewise.
18894 (CFLAGS-tst-backtrace4.c): Likewise.
18895 (CFLAGS-tst-backtrace5.c): Likewise.
18896 (LDFLAGS-tst-backtrace2): Likewise.
18897 (LDFLAGS-tst-backtrace3): Likewise.
18898 (LDFLAGS-tst-backtrace4): Likewise.
18899 (LDFLAGS-tst-backtrace5): Likewise.
18900 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18901 tst-backtrace4 and tst-backtrace5.
18902
90567f30 189032013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18904 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18905
18906 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18907 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18908 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18909 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18911 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18912 "+r" and remove output regs list as redundant. Add explicit inline
18913 asm to specify register of return val to work around compiler codegen
18914 bug. Remove (int) cast on return value. Add return type parameter to
18915 use in macro so that this macro does not truncate return value for
18916 64-bit values.
18917 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18918 pass to INTERNAL_VSYSCALL_NCS.
18919 (INLINE_VSYSCALL): Add 'long int' as return type to
18920 INTERNAL_VSYSCALL_NCS macro invocation.
18921 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18922 INTERNAL_VSYSCALL_NCS macro invocation.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18924
d3b9ea61
SP
189252013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18926
0b57daeb
SP
18927 [BZ #14496]
18928 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18929 Fix application of SIMD FP exception mask.
18930
caa99d06
SP
18931 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18932 mp_no from a power of two.
18933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18934 __mpexp_twomm1. Use __pow_mp.
18935
d3b9ea61
SP
18936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18937 multiplication.
18938
1dbaee3c
DM
189392013-01-17 David S. Miller <davem@davemloft.net>
18940
18941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18942
728d7b43
JM
189432013-01-17 Joseph Myers <joseph@codesourcery.com>
18944
18945 [BZ #15023]
18946 * include/complex.h: Condition contents on [!_COMPLEX_H].
18947 (__kernel_casinhf): New prototype.
18948 (__kernel_casinh): Likewise.
18949 (__kernel_casinhl): Likewise.
18950 * math/Makefile (libm_calls): Add k_casinh.
18951 * math/k_casinh.c: New file.
18952 * math/k_casinhf.c: Likewise.
18953 * math/k_casinhl.c: Likewise.
18954 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18955 finite nonzero arguments.
18956 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18957 finite nonzero arguments.
18958 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18959 finite nonzero arguments.
18960 * math/s_casinh.c: Do not include <float.h>.
18961 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18962 * math/s_casinhf.c: Do not include <float.h>.
18963 (__casinhf): Move code for finite nonzero arguments to
18964 k_casinhf.c.
18965 * math/s_casinhl.c: Do not include <float.h>.
18966 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18967 redefine.
18968 (__casinhl): Move code for finite nonzero arguments to
18969 k_casinhl.c.
18970 * math/libm-test.inc (cacos_test): Add more tests.
18971 * sysdeps/i386/fpu/libm-test-ulps: Update.
18972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18973
2a26ef3a
PT
189742013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18975
18976 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18977 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18978 [!HAVE_MREMAP]: Remove [defined linux] case.
18979 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18980
a897655d
SP
189812013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18982
18983 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18984
881ebe89 189852013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18986
18987 * elf/elf.h (R_386_SIZE32): New relocation.
18988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18989 R_386_SIZE32.
18990 (elf_machine_rela): Likewise.
18991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18992 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18993
59981e9b
JM
189942013-01-17 Joseph Myers <joseph@codesourcery.com>
18995
18996 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18997 (FP_FAST_FMA): Do not define.
18998 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18999 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19000 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19001 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19002 !_SOFT_FLOAT]: Likewise.
19003 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19004 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19005 value.
19006 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19007 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19008 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19009 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19010 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19011 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19012 file.
19013
cfa8054f
AS
190142013-01-16 Andreas Schwab <schwab@suse.de>
19015
19016 [BZ #14327]
19017 * include/stdlib.h (__mktemp): Add declaration.
19018 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19019 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19020
dd930cc5
SP
190212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19022
881ebe89
SP
19023 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19024 definitions.
19025 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19026 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19027 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19028 definitions here.
19029 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19030 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19031 definitions.
19032 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19033 and ONE.
19034 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19035 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19036 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19037 definitions.
19038 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19039 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19040 definitions.
19041 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19042
dd930cc5
SP
19043 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19044
c19a9f89
DM
190452013-01-15 David S. Miller <davem@davemloft.net>
19046
1aa61767
DM
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19048 trunc{,f} to libm-sysdep_routes.
19049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19051 file.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19054 file.
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19056 file.
19057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19059 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19060 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19062 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19063 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19065
c42d5e98
DM
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19067 nearbyint{,f} to libm-sysdep_routes.
19068 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19070 New file.
19071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19072 file.
19073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19074 New file.
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19076 file.
19077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19079 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19080 file.
19081 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19083 file.
19084 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19085 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19086 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19087
c19a9f89
DM
19088 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19089 libc_feholdexcept and libc_fesetenv.
19090
357679d2
MF
190912013-01-15 Mike Frysinger <vapier@gentoo.org>
19092
19093 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19094
65a82e3d
DM
190952013-01-14 David S. Miller <davem@davemloft.net>
19096
8b954ab9
DM
19097 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19098 (SPARC_ASM_VIS2_IFUNC): Likewise.
19099 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19101 use of 'siam' instruction.
19102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19103 Likewise.
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19105 Likewise.
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19107 Likewise.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19113 file.
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19115 file.
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19117 file.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19119 file.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19125 new VIS2 routines.
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19129 Likewise.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19135 routines to libm-sysdep_routines.
19136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19137
65a82e3d
DM
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19139 fdim/fdimf to libm-sysdep_routines.
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19141 file.
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19144 file.
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19148 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19149 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19150 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19151 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19152
e34ab705
SP
191532013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19154
2a91b573
SP
19155 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19156 to optimize copies.
19157
1066a534
SP
19158 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19161
e34ab705
SP
19162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19163 local variable MPTWO.
19164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19165 Likewise.
19166
aba5e596
MF
191672013-01-13 Mike Frysinger <vapier@gentoo.org>
19168
19169 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19170 GLOB_NOESCAPE.
19171
e557e9e5
MF
191722013-01-13 Mike Frysinger <vapier@gentoo.org>
19173
19174 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19175
0428cec9
MF
191762013-01-13 Mike Frysinger <vapier@gentoo.org>
19177
19178 * manual/pattern.texi (glob_t): Document gl_flags.
19179 (glob64_t): Likewise.
19180
8794a964
DM
191812013-01-11 David S. Miller <davem@davemloft.net>
19182
66438c3f
RM
19183 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19184 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19185 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19186 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19187 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19188 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19189 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19190 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19191 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19192 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19193 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19194 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19195 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19196
4ae4244d
DM
19197 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19198 sparc V9 rather than using V8 code.
19199 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19200 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19201
8794a964
DM
19202 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19203 Move to...
19204 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19205 Here.
19206
6270516e
RM
192072013-01-11 Roland McGrath <roland@hack.frob.com>
19208
19209 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19210 not in the main loop.
19211 * configure: Regenerated.
19212
6a57d931
JM
192132013-01-11 Joseph Myers <joseph@codesourcery.com>
19214
19215 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19216 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19217 to just #else.
19218 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19219 [!__GLIBC_HAVE_LONG_LONG] case.
19220 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19221 condition to just #else.
19222 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19223 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19224 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19225 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19226 unconditional.
19227 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19228 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19229 #elif condition to just #else.
19230 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19231 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19232 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19233 #elif condition to just #else.
19234
0e8529e9
SE
192352013-01-11 Steve Ellcey <sellcey@mips.com>
19236
19237 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19238 (EF_MIPS_ARCH_64): Fix value.
19239 (EF_MIPS_ARCH_32R2): New.
19240 (EF_MIPS_ARCH_64R2): New.
19241
740b3dbe
L
192422013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19243
19244 * Makeconfig (+link-pie-before-libc): New.
19245 (+link-pie-after-libc): Likewise.
19246 (+link-pie-tests): Likewise.
19247 (+link-pie): Rewritten.
19248 (link-before-libc): Remove $(config-LDFLAGS).
19249 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19250 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19251 (config-LDFLAGS): Renamed to ...
19252 (rtld-LDFLAGS): This.
19253 (rtld-tests-LDFLAGS): New macro.
19254 (link-libc-rpath-link): Likewise.
19255 (link-libc-tests-rpath-link): Likewise.
19256 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19257 (link-libc): Prepand $(link-libc-rpath-link).
19258 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19259 (test-program-prefix): New macro.
19260 (test-via-rtld-prefix): Likewise.
19261 (test-program-cmd): Likewise.
19262 (host-test-program-cmd): Likewise.
19263 * Makefile ($(common-objpfx)testrun.sh): Replace
19264 $(run-program-prefix) with $(test-program-prefix).
19265 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19266 $(rtld-LDFLAGS).
19267 ($(common-objpfx)shlib.lds): Likewise.
19268 (build-module-helper): Likewise.
19269 ($(common-objpfx)format.lds): Likewise.
19270 * Rules (binaries-pie-tests): New.
19271 (binaries-pie-notests): Likewise.
19272 (binaries-pie): Rewritten.
19273 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19274 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19275 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19276 (make-test-out): Replace $(host-built-program-cmd) with
19277 $(host-test-program-cmd).
19278 * config.make.in (build-hardcoded-path-in-tests): New variable.
19279 * configure.in (--enable-hardcoded-path-in-tests): New configure
19280 option.
19281 (hardcoded_path_in_tests): New AC_SUBST.
19282 * configure: Regenerated.
19283 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19284 $(built-program-cmd) with $(test-program-cmd).
19285 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19286 (test_program_cmd): This.
19287 * elf/Makefile ($(objpfx)order.out): Run test with
19288 $(test-program-prefix).
19289 ($(objpfx)order2.out): Likewise.
19290 ($(objpfx)tst-initorder.out): Likewise.
19291 ($(objpfx)tst-initorder2.out): Likewise.
19292 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19293 $(test-program-cmd).
19294 ($(objpfx)tst-array1-static.out): Likewise.
19295 ($(objpfx)tst-array2.out): Likewise.
19296 ($(objpfx)tst-array3.out): Likewise.
19297 ($(objpfx)tst-array4.out): Likewise.
19298 ($(objpfx)tst-array5.out): Likewise.
19299 ($(objpfx)tst-array5-static.out): Likewise.
19300 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19301 $(test-program-cmd).
19302 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19303 $(run-program-prefix) with $(test-program-prefix).
19304 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19305 (test_program_prefix): This.
19306 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19307 $(run-program-prefix) with $(test-program-prefix).
19308 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19309 (test_program_prefix): This.
19310 * iconvdata/tst-tables.sh: Likewise.
19311 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19312 $(run-program-prefix) with $(test-program-prefix).
19313 ($(objpfx)tst-translit.out): Likewise.
19314 ($(objpfx)tst-gettext2.out): Likewise.
19315 ($(objpfx)tst-gettext4.out): Likewise.
19316 ($(objpfx)tst-gettext6.out): Likewise.
19317 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19318 (test_program_prefix): This.
19319 * intl/tst-gettext2.sh: Likewise.
19320 * intl/tst-gettext4.sh Likewise.
19321 * intl/tst-gettext6.sh: Likewise.
19322 * intl/tst-translit.sh: Likewise.
19323 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19324 with $(test-program-cmd).
19325 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19326 $(run-program-prefix) with $(test-program-prefix).
19327 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19328 (test_program_prefix): This.
19329 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19330 $(run-program-prefix) with $(test-program-prefix).
19331 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19332 (test_program_prefix): This.
19333 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19334 * posix/Makefile ($(objpfx)globtest.out): Replace
19335 $(run-via-rtld-prefix) and $(test-wrapper) with
19336 $(test-program-prefix) and $(test-via-rtld-prefix).
19337 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19338 $(test-program-prefix).
19339 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19340 $(host-test-program-cmd).
19341 (tst-spawn-ARGS): Likewise.
19342 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19343 $(test-program-prefix).
19344 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19345 (test_via_rtld_prefix): This.
19346 (test_wrapper): Renamed to ...
19347 (test_program_prefix): This.
19348 (run_program_prefix): Replaced by test_program_prefix.
19349 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19350 (test_program_prefix): This.
19351 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19352 with $(host-test-program-cmd).
19353 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19354 $(run-program-prefix) with $(test-program-prefix).
19355 ($(objpfx)tst-printf.out): Likewise.
19356 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19357 $(test-program-cmd).
19358 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19359 (test_program_prefix): This.
19360 * stdio-common/tst-unbputc.sh: Likewise.
19361 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19362 $(run-program-prefix) with $(test-program-prefix).
19363 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19364 (test_program_prefix): This.
19365 * string/Makefile ($(objpfx)tst-svc.out): Replace
19366 $(built-program-cmd) with $(test-program-cmd).
19367
c6fe55cf
AJ
193682013-01-11 Andreas Jaeger <aj@suse.de>
19369
19370 [BZ #15003]
19371 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19372 value. Sync with Linux 3.7.
19373
9e6919c8
DM
193742013-01-10 David S. Miller <davem@davemloft.net>
19375
19376 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19377 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19378 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19379
1c9f1a02
RM
193802013-01-10 Roland McGrath <roland@hack.frob.com>
19381
19382 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19383 never set.
19384 * configure: Regenerated.
19385
b9de2dde
DM
193862013-01-10 David S. Miller <davem@davemloft.net>
19387
19388 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19389 sparc V9 rather than using V8 code.
19390 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19391 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19392
e7f68ef4
RM
193932013-01-10 Roland McGrath <roland@hack.frob.com>
19394
19395 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19396 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19397 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19398 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19399 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19400 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19401 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19402 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19403 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19404 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19405 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19406 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19407 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19408 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19409 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19410 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19411 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19412 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19413 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19414 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19415 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19416 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19417 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19418 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19419 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19420 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19421 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19422
5a47cc9c
DM
194232013-01-10 David S. Miller <davem@davemloft.net>
19424
19425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19426
4cf8f209
L
194272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19428
19429 * posix/Makefile (tests-static): New variable.
19430 (tests): Add $(tests-static).
19431 (tst-exec-static-ARGS): New variable.
19432 (tst-spawn-static-ARGS): Likewise.
19433 * posix/tst-exec-static.c: New file.
19434 * posix/tst-spawn-static.c: Likewise.
19435 * posix/tst-exec.c: Support run directly.
19436 * posix/tst-spawn.c: Likewise.
19437
fed0faa1
JM
194382013-01-10 Joseph Myers <joseph@codesourcery.com>
19439
828beb13
JM
19440 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19441 long.
19442 * math/bits/mathcalls.h (llrint): Likewise.
19443 (llround): Likewise.
19444 * stdlib/stdlib.h (struct drand48_data): Likewise.
19445 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19446 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19447 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19448 Likewise.
19449 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19450 Likewise.
19451 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19452 (elf_greg_t): Likewise.
19453 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19454 (__jmp_buf): Likewise.
19455 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19456 definitions.
19457 (llrint): Likewise, for all definitions.
19458 (llrintl): Likewise.
19459
fed0faa1
JM
19460 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19461 Remove [__GNUC__] condition.
19462 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19463 condition to just [__USE_ISOC99].
19464 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19465
1a20cb20
L
194662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19467
19468 [BZ #14200]
19469 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19470 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19471 defined.
19472 (_POSIX_V6_ILP32_OFF32): Likewise.
19473 (_XBS5_ILP32_OFF32): Likewise.
19474 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19475 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19476
751b85f7
SP
194772013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19478
7490eb81
SP
19479 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19480
751b85f7
SP
19481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19482 doubles __mpexp_twomm1. Adjust usage.
19483 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19484 Remove.
19485
988197f0
AS
194862013-01-10 Andreas Schwab <schwab@suse.de>
19487
19488 [BZ #14964]
19489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19490 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19491
e83d7298
DM
194922013-01-09 David S. Miller <davem@davemloft.net>
19493
034ed64b 19494 [BZ #15003]
e83d7298
DM
19495 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19496 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19497 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19498 TCP_FASTOPEN): Define.
19499 (tcp_repair_opt): New structure.
19500 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19501 enum values.
19502 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19503 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19504 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19505 (tcp_cookie_transactions): New structure.
19506
d5e0b9bd
AB
195072013-01-09 Anton Blanchard <anton@samba.org>
19508
19509 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19510 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19511 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19512 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19513
0c07e3ea
JM
195142013-01-09 Joseph Myers <joseph@codesourcery.com>
19515
19516 * include/features.h (__USE_ANSI): Remove.
19517
232f7002
RM
195182013-01-09 Roland McGrath <roland@hack.frob.com>
19519
ad98e30c
RM
19520 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19521
232f7002
RM
19522 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19523
950c99ca
SP
195242013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19525
b5792741
SP
19526 * sysdeps/s390/fpu/libm-test-ulps: Update.
19527
47cf2278
SP
19528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19529
950c99ca
SP
19530 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19531 (__acr): Likewise.
19532 (__cpy): Likewise.
19533 (norm): Likewise.
19534 (denorm): Likewise.
19535 (__mp_dbl): Likewise.
19536 (__dbl_mp): Likewise.
19537 (add_magnitudes): Likewise.
19538 (sub_magnitudes): Likewise.
19539 (__add): Likewise.
19540 (__sub): Likewise.
19541 (__mul): Likewise.
19542 (__inv): Likewise.
19543 (__dvd): Likewise.
19544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19545 (__acr): Likewise.
19546 (__cpy): Likewise.
19547 (norm): Likewise.
19548 (denorm): Likewise.
19549 (__mp_dbl): Likewise.
19550 (__dbl_mp): Likewise.
19551 (add_magnitudes): Likewise.
19552 (sub_magnitudes): Likewise.
19553 (__add): Likewise.
19554 (__sub): Likewise.
19555 (__mul): Likewise.
19556 (__inv): Likewise.
19557 (__dvd): Likewise.
19558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19559 (__acr): Likewise.
19560 (__cpy): Likewise.
19561 (norm): Likewise.
19562 (denorm): Likewise.
19563 (__mp_dbl): Likewise.
19564 (__dbl_mp): Likewise.
19565 (add_magnitudes): Likewise.
19566 (sub_magnitudes): Likewise.
19567 (__add): Likewise.
19568 (__sub): Likewise.
19569 (__mul): Likewise.
19570 (__inv): Likewise.
19571 (__dvd): Likewise.
19572
eede9df9
JM
195732013-01-08 Joseph Myers <joseph@codesourcery.com>
19574
19575 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19576 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19577 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19578 2 && __USE_EXTERN_INLINES]: Likewise.
19579
c40ea3d9
AJ
195802013-01-08 Andreas Jaeger <aj@suse.de>
19581
19582 [BZ# 14985]
19583 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19584 Remove.
19585 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19586 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19587
2ccdea26
AB
195882013-01-07 Anton Blanchard <anton@samba.org>
19589
19590 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19591 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19592 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19593 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19594 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19595 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19596 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19597 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19599 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19600 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19601 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19603 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19604 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19606 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19607 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19608 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19609 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19610 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19611 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19613 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19614 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19615 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19616 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19617 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19619 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19620 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19622 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19623 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19624 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19625 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19626 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19627 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19628 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19630 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19632 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19633
a9708fed
JM
196342013-01-07 Joseph Myers <joseph@codesourcery.com>
19635
375607b9
JM
19636 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19637 (__MALLOC_PMT): Likewise.
19638 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19639 [__GNUC__], only on [_LIBC].
19640 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19641 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19642 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19643 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19644 forward declaration.
19645 (realloc_hook_ini): Likewise.
19646 (memalign_hook_ini): Likewise.
19647 (__libc_memalign): Do not use __MALLOC_PMT in variable
19648 declaration.
19649 (__libc_valloc): Likewise.
19650 (__libc_pvalloc): Likewise.
19651 (__libc_calloc): Likewise.
19652 (__posix_memalign): Likewise.
19653
a9708fed
JM
19654 [BZ #14996]
19655 * math/s_casinh.c: Include <float.h>.
19656 (__casinh): Do not do computation with squaring and square root
19657 for large arguments.
19658 * math/s_casinhf.c: Include <float.h>.
19659 (__casinhf): Do not do computation with squaring and square root
19660 for large arguments.
19661 * math/s_casinhl.c: Include <float.h>.
19662 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19663 (__casinhl): Do not do computation with squaring and square root
19664 for large arguments.
19665 * math/libm-test.inc (casin_test): Add more tests.
19666 (casinh_test): Likewise.
19667 * sysdeps/i386/fpu/libm-test-ulps: Update.
19668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19669
afec409a
L
196702013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19671
19672 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19673 (__x86_64_raw_data_cache_size): Likewise.
19674 (__x86_64_data_cache_size_half): Likewise.
19675 (__x86_64_raw_data_cache_size_half): Likewise.
19676 (__x86_64_shared_cache_size): Likewise.
19677 (__x86_64_raw_shared_cache_size): Likewise.
19678 (__x86_64_shared_cache_size_half): Likewise.
19679 (__x86_64_raw_shared_cache_size_half): Likewise.
19680 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19681 to ...
19682 (__x86_data_cache_size): This.
19683 (__x86_64_raw_data_cache_size): Renamed to ...
19684 (__x86_raw_data_cache_size): This.
19685 (__x86_64_data_cache_size_half): Renamed to ...
19686 (__x86_data_cache_size_half): This.
19687 (__x86_64_raw_data_cache_size_half): Renamed to ...
19688 (__x86_raw_data_cache_size_half): This.
19689 (__x86_64_shared_cache_size): Renamed to ...
19690 (__x86_shared_cache_size): This.
19691 (__x86_64_raw_shared_cache_size): Renamed to ...
19692 (__x86_raw_shared_cache_size): This.
19693 (__x86_64_shared_cache_size_half): Renamed to ...
19694 (__x86_shared_cache_size_half): This.
19695 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19696 (__x86_raw_shared_cache_size_half): This.
19697 * sysdeps/x86_64/memcpy.S: Updated.
19698 * sysdeps/x86_64/memset.S: Likewise.
19699 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19701 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19702
0b3986d0
DM
197032013-01-04 David S. Miller <davem@davemloft.net>
19704
19705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19706
e47686e9
AS
197072013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19708
d643bac1
AS
19709 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19710 1 to avoid redefinition warning.
19711 (__USE_GNU): Don't define.
19712 (init_signaling_nan): Protoize.
19713
e47686e9
AS
19714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19715
b18decba
SP
197162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19717
fffb407f
SP
19718 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19720 (__cpymn): Likewise.
19721 (norm): Remove commented code.
19722 (denorm): Likewise.
19723 (__mp_dbl): Likewise.
19724 (__inv): Likewise.
19725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19726 (__cpymn): Likewise.
19727 (norm): Remove commented code.
19728 (denorm): Likewise.
19729 (__mp_dbl): Likewise.
19730 (__inv): Likewise.
19731
b18decba
SP
19732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19733 mp_no value for 1.0 and 2.0.
19734 (norm): Use RADIXI instead of radixi.d.
19735 (denorm): Likewise.
19736 (__mul): Use 0.0 instead of zero.d.
19737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19738 mp_no value for 1.0 and 2.0.
19739 (norm): Use RADIXI instead of radixi.d.
19740 (denorm): Likewise.
19741 (__mul): Use 0.0 instead of zero.d.
19742
cdc1c96f
JM
197432013-01-04 Joseph Myers <joseph@codesourcery.com>
19744
19745 [BZ #14994]
19746 * math/s_casinh.c (__casinh): Reduce finite argument to first
19747 quadrant then set signs of results at the end.
19748 * math/s_casinhf.c (__casinhf): Likewise.
19749 * math/s_casinhl.c (__casinhl): Likewise.
19750 * math/libm-test.inc (casin_test): Add more tests.
19751 (casinh_test): Likewise.
19752 * sysdeps/i386/fpu/libm-test-ulps: Update.
19753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19754
302913e1
SP
197552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19756
6420d207
SP
19757 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19758
a9e48ab4
SP
19759 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19760
b7837264
SP
19761 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19762 declarations.
19763 (denorm): Likewise.
19764 (__mp_dbl): Likewise.
19765 (__inv): Likewise.
19766
f8af25d2
SP
19767 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19768 and adjust the header comment.
19769
302913e1
SP
19770 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19771 variable name from declaration.
19772
5d7dd1ca
L
197732013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19774
19775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19776 Initialize COMMON_CPUID_INDEX_7 element.
19777 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19778 (CPUID_RTM): Likewise.
19779 (HAS_RTM): Likewise.
19780 (COMMON_CPUID_INDEX_7): New enum.
19781
2f5f40f4
AS
197822013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19783
19784 [BZ #14981]
19785 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19786 size is zero, record memory as freed.
19787
4056f4a0
AJ
197882013-01-03 Andreas Jaeger <aj@suse.de>
19789
19790 * po/ia.po: Add new Interlingua translation.
19791
ab15736f 197922012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19793
19794 * locale/programs/localedef.c: Fix description of '--posix' flag.
19795
568035b7
JM
197962013-01-02 Joseph Myers <joseph@codesourcery.com>
19797
e6898b8d
JM
19798 * NEWS: Update dates in second copyright notice.
19799 * README: Update copyright dates in example.
19800 * manual/libc.texinfo: Update copyright dates.
19801 * scripts/test-installation.pl: Update copyright date in --version
19802 output.
19803
0e2f9562
JM
19804 * hurd/ctty-input.c: Fix copyright notice formatting.
19805 * hurd/ctty-output.c: Likewise.
19806 * hurd/dtable.c: Likewise.
19807 * hurd/hurd-raise.c: Likewise.
19808 * hurd/hurdprio.c: Likewise.
19809 * hurd/msgportdemux.c: Likewise.
19810 * misc/sys/file.h: Likewise.
19811 * misc/sys/ioctl.h: Likewise.
19812 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19813 * sysdeps/mach/hurd/chdir.c: Likewise.
19814 * sysdeps/mach/hurd/fchdir.c: Likewise.
19815 * sysdeps/mach/hurd/rename.c: Likewise.
19816 * sysdeps/mach/hurd/rmdir.c: Likewise.
19817 * sysdeps/mach/hurd/seekdir.c: Likewise.
19818 * sysdeps/mach/hurd/setsid.c: Likewise.
19819 * sysdeps/posix/wait3.c: Likewise.
19820
568035b7
JM
19821 * All files with FSF copyright notices: Update copyright dates
19822 using scripts/update-copyrights.
19823 * intl/plural.c: Regenerated.
19824 * locale/programs/charmap-kw.h: Likewise.
19825 * locale/programs/locfile-kw.h: Likewise.
19826
da08f647
SP
198272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19828
0f5477af
SP
19829 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19830 four values.
19831
44e0d4c2
SP
19832 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19833 calculation loop and add branch prediction.
19834
4d55b4e5
SP
19835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19836 check access beyond bounds of m1np.
19837
da08f647
SP
19838 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19839 MPTWO.
19840 (__inv): Remove local variable MPTWO to use the global
19841 constant.
19842 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19844 variable MPTWO.
19845 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19846 MP3HALFS static const.
19847
8e051029
DM
198482013-01-01 David S. Miller <davem@davemloft.net>
19849
19850 * po/ca.po: Update from translation team.
19851
f4cf5f2d
JM
198522013-01-01 Joseph Myers <joseph@codesourcery.com>
19853
19854 * scripts/update-copyrights: New file.
19855 * Makeconfig: Reformat copyright notice.
19856 * ctype/ctype.h: Likewise.
19857 * debug/swprintf_chk.c: Likewise.
19858 * elf/dl-cache.c: Likewise.
19859 * elf/dl-debug.c: Likewise.
19860 * elf/dl-object.c: Likewise.
19861 * grp/initgroups.c: Likewise.
19862 * hurd/Makefile: Likewise.
19863 * hurd/hurd/signal.h: Likewise.
19864 * hurd/hurdfault.c: Likewise.
19865 * hurd/hurdioctl.c: Likewise.
19866 * hurd/hurdlookup.c: Likewise.
19867 * hurd/intr-msg.c: Likewise.
19868 * iconv/gconv_open.c: Likewise.
19869 * libio/swprintf.c: Likewise.
19870 * locale/lc-ctype.c: Likewise.
19871 * locale/nl_langinfo.c: Likewise.
19872 * mach/Machrules: Likewise.
19873 * mach/Makefile: Likewise.
19874 * malloc/obstack.h: Likewise.
19875 * manual/Makefile: Likewise.
19876 * manual/tsort.awk: Likewise.
19877 * misc/bits/stab.def: Likewise.
19878 * nis/nis_print_group_entry.c: Likewise.
19879 * nis/nis_table.c: Likewise.
19880 * nis/nss_compat/compat-pwd.c: Likewise.
19881 * nis/nss_compat/compat-spwd.c: Likewise.
19882 * po/Makefile: Likewise.
19883 * posix/fnmatch.c: Likewise.
19884 * posix/regex.h: Likewise.
19885 * resolv/Makefile: Likewise.
19886 * resolv/nss_dns/dns-network.c: Likewise.
19887 * resolv/res_hconf.c: Likewise.
19888 * scripts/gen-sorted.awk: Likewise.
19889 * soft-fp/soft-fp.h: Likewise.
19890 * stdio-common/printf.h: Likewise.
19891 * stdlib/monetary.h: Likewise.
19892 * stdlib/random.c: Likewise.
19893 * stdlib/random_r.c: Likewise.
19894 * sysdeps/generic/Makefile: Likewise.
19895 * sysdeps/gnu/Makefile: Likewise.
19896 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19898 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19903 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19906 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19907 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19908 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19909 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19910 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19911 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19912 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19916 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19917 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19918 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19919 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19920 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19921 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19924 * sysdeps/mach/hurd/errnos.awk: Likewise.
19925 * sysdeps/mach/hurd/fork.c: Likewise.
19926 * sysdeps/mach/hurd/getcwd.c: Likewise.
19927 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19928 * sysdeps/mach/hurd/mmap.c: Likewise.
19929 * sysdeps/mach/hurd/utimes.c: Likewise.
19930 * sysdeps/mach/hurd/xmknod.c: Likewise.
19931 * sysdeps/posix/profil.c: Likewise.
19932 * sysdeps/posix/readdir_r.c: Likewise.
19933 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19934 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19935 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19936 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19938 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19939 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19940 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19942 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19943 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19944 * sysdeps/pthread/lio_listio.c: Likewise.
19945 * sysdeps/sparc/dl-procinfo.h: Likewise.
19946 * sysdeps/unix/i386/sysdep.S: Likewise.
19947 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19948 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19949 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19950 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19952 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19953 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19954 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19955 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19956 * sysdeps/wordsize-32/divdi3.c: Likewise.
19957 * time/sys/time.h: Likewise.
19958 * wcsmbs/Makefile: Likewise.
19959
0549fbba
DM
199602013-01-01 David S. Miller <davem@davemloft.net>
19961
a141f1a7
DM
19962 * po/fr.po: Update from translation team.
19963
0549fbba
DM
19964 * catgets/gencat.c: Update copyright year.
19965 * csu/version.c: Likewise.
19966 * debug/catchsegv.sh: Likewise.
19967 * debug/pcprofiledump.c: Likewise.
19968 * debug/xtrace.sh: Likewise.
19969 * elf/ldconfig.c: Likewise.
19970 * elf/ldd.bash.in: Likewise.
19971 * elf/pldd.c: Likewise.
19972 * elf/sotruss.ksh: Likewise.
19973 * elf/sprof.c: Likewise.
19974 * iconv/iconv_prog.c: Likewise.
19975 * iconv/iconvconfig.c: Likewise.
19976 * locale/programs/locale.c: Likewise.
19977 * locale/programs/localedef.c: Likewise.
19978 * login/programs/pt_chown.c: Likewise.
19979 * malloc/memusage.sh: Likewise.
19980 * malloc/memusagestat.c: Likewise.
19981 * malloc/mtrace.pl: Likewise.
19982 * nscd/nscd.c: Likewise.
19983 * nss/getent.c: Likewise.
19984 * nss/makedb.c: Likewise.
19985 * posix/getconf.c: Likewise.
19986
18ea052c
SP
199872012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19988
19989 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19990 numbers.
19991
9c89fca6
MF
199922012-12-30 Mike Frysinger <vapier@gentoo.org>
19993
19994 * math/bits/mathcalls.h (modf): Use __nonnull.
19995
085ec079
SP
199962012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19997
19998 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19999 (split): Use macro CN instead of the bare value.
20000 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20001 could be used.
20002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20003 instead of the bare value.
20004 (power1): Likewise.
20005
6d9f97e1
SP
200062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20007
d63f73be
SP
20008 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20009 __ATAN_TWOM.
20010 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20011
6d9f97e1
SP
20012 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20013 their values.
20014 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20015 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20016 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20017 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20018
4c4febf5
AJ
200192012-12-28 Andreas Jaeger <aj@suse.de>
20020
af5843ef
AJ
20021 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20022 values are from Linux 3.7.
20023
4c4febf5
AJ
20024 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20025 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20026
99136f82
SP
200272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20028
2f216c3c 20029 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20030 TRUE case.
20031
99136f82
SP
20032 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20033 (norm): Likewise.
20034 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20035 variables with preprocessor constants.
20036 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20037 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20038 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20039
7fffbdff
BH
200402012-12-27 Bruno Haible <bruno@clisp.org>
20041
20042 [BZ #14317]
20043 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20044 only if needed.
20045
b76eb5f0
SP
200462012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20047
31a7fe5c
SP
20048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20049 and use variable directly.
20050 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20051
b76eb5f0
SP
20052 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20053 MPONE.
20054 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20055 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20056 variable MPONE.
20057 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20058 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20059 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20060 include directive. Remove local variable MPONE.
20061 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20062 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20063 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20064
2c8bfe7d
DM
200652012-12-25 David S. Miller <davem@davemloft.net>
20066
20067 * version.h (RELEASE): Set to "development".
20068 (VERSION): Set to "2.17.90".
20069 * NEWS: Add 2.18 section.
20070
147d03b0
DM
200712012-12-21 David S. Miller <davem@davemloft.net>
20072
20073 * po/hr.po: Update from translation team.
20074
a8ebb2b9
AK
200752012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20076
20077 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20078
95b4f1b6
SE
200792012-12-19 Steve Ellcey <sellcey@mips.com>
20080
b2d94007 20081 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20082
cedb2a90
MS
200832012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20084
20085 * manual/contrib.texi (Contributors): Spelling correction.
20086
bbf527d6
DM
200872012-12-15 David S. Miller <davem@davemloft.net>
20088
20089 * po/ru.po: Update from translation team.
20090
bc38c906
DM
200912012-12-13 David S. Miller <davem@davemloft.net>
20092
85429b1a
DM
20093 * NEWS: Mention IFUNC testsuite enhancements.
20094
d283e353
DM
20095 * po/pl.po: Update from translation team.
20096 * po/bg.po: Likewise.
20097
bc38c906
DM
20098 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20099 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20100
a181b0d7
DM
201012012-12-11 David S. Miller <davem@davemloft.net>
20102
4641d57e
DM
20103 * po/sv.po: Update from translation team.
20104
f7bc6495
DM
20105 * po/vi.po: Update from translation team.
20106
6fc9048f
DM
20107 * po/cs.po: Update from translation team.
20108
a181b0d7
DM
20109 * po/de.po: Update from translation team.
20110 * po/eo.po: Likewise.
20111 * po/nl.po: Likewise.
20112
f70bfe80
SP
201132012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20114
3c8b4190
SP
20115 [BZ #14246]
20116 * manual/argp.texi (Argp Helper Functions): Move node to follow
20117 Argp Parsing State.
20118
f70bfe80
SP
20119 [BZ #14872]
20120 * manual/conf.texi (Limits on File System Capacity): Mention if
20121 terminating null is included in the max size.
20122
188f0adf
AJ
201232012-12-10 Andreas Jaeger <aj@suse.de>
20124
20125 * po/cs.po: Update from translation team.
20126
56e7d3ad
SP
201272012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20128
20129 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20130 void pointer and cast to uintptr_t.
20131 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20132 path.
20133 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20134 * sysdeps/s390/s390-64/memset.S: Likewise.
20135
76f2d2ea 201362012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20137
20138 [BZ #14833]
20139 * menual/message.texi (Message Translation): Fix typos.
20140 (Helper programs for gettext): Likewise.
20141
67cbf9a2
AS
201422012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20143
20144 [BZ #14898]
20145 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20146 Change to -1.
20147
682d0e9a
DM
201482012-12-07 David S. Miller <davem@davemloft.net>
20149
20150 * po/libc.pot: Update.
20151
573cd484
RH
201522012-12-07 Richard Henderson <rth@redhat.com>
20153
7e9da188 20154 [BZ #10114]
573cd484
RH
20155 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20156 normal/normal case to before the switch.
20157 (_FP_DIV): Likewise.
20158
e933a943
MF
201592012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20160 Mike Frysinger <vapier@gentoo.org>
20161
20162 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20163 check for __NR_fadvise64_64.
20164
82123268
CM
201652012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20166
20167 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20168 0, not just to plain "0" as a statement.
20169 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20170 with cw.
20171
d9814526
JM
201722012-12-06 Joseph Myers <joseph@codesourcery.com>
20173
20174 * NEWS: Use sourceware.org in Bugzilla URL.
20175
7728c574
SP
201762012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20177
f16946dd
SP
20178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20179 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20180
5704bbcb
SP
20181 * stdio-common/tst-put-error.c (do_test): Add newline to the
20182 padded test to ensure flush.
20183
17aa0516
JL
201842012-12-05 Jeff Law <law@redhat.com>
20185
20186 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20187
363313b5
JM
201882012-12-05 Joseph Myers <joseph@codesourcery.com>
20189
effbd42a
JM
20190 * README: Don't refer to ports add-on as distributed separately.
20191 Mention AArch64 in list of systems supported in the ports add-on.
20192
87600365
JM
20193 * LICENSES: Add more non-FSF copyright and license notices.
20194
a0d7066a
JM
20195 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20196 ((unused)).
20197
66ca5a5b
JM
20198 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20199
363313b5
JM
20200 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20201 10000 as width of padded output.
20202
b37984ad
JM
202032012-12-04 Joseph Myers <joseph@codesourcery.com>
20204
9003570a
JM
20205 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20206
b37984ad
JM
20207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20208 variable LX with __attribute__ ((unused)).
20209 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20210 Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20214 with __attribute__ ((unused)).
20215
c8df52ec
DM
202162012-12-04 David S. Miller <davem@abraco.davemloft.net>
20217
20218 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20219
b3b099af
JM
202202012-12-04 Joseph Myers <joseph@codesourcery.com>
20221
c33aa6e3
JM
20222 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20223 (CFLAGS-nldbl-acos.c): New variable.
20224 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20316 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20317 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20318 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20319 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20320 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20321
20f0018d
JM
20322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20323 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20324
b3b099af
JM
20325 [BZ #14914]
20326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20327 whole low double instead of just low 47 bits when splitting values
20328 into two parts.
20329
029264d1
AM
203302012-12-03 Allan McRae <allan@archlinux.org>
20331
20332 * manual/stdio.texi (Predefined Printf Handlers): Remove
20333 @hsep and @vsep usage.
20334
c9d6789e
MF
203352012-12-03 Mike Frysinger <vapier@gentoo.org>
20336
20337 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20338 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20339
4b7634a5
JL
203402012-12-03 Jeff Law <law@redhat.com>
20341
20342 * time/sys/time.h (settimeofday): Do not mark TV argument
20343 as __nonnull.
20344
eb6cbd24
MF
203452012-12-01 Mike Frysinger <vapier@gentoo.org>
20346
20347 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20348 when currently writing and seek to current position when not.
20349 * libio/Makefile (tests): Remove bug-fclose1.
20350 * libio/bug-fclose1.c: Delete.
20351
f638872a
JM
203522012-12-01 Joseph Myers <joseph@codesourcery.com>
20353
20354 * manual/arith.texi (feenableexcept): Fix typo.
20355 (fedisableexcept): Likewise.
20356
48085d14
RM
203572012-11-30 Roland McGrath <roland@hack.frob.com>
20358
20359 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20360 second, differently-typed declaration, rather than a cast.
20361
1a538b9f
SP
203622012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20363
20364 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20365 * include/rpc/svc.h: ... here.
20366
d07f2ff1 203672012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20368
20369 [BZ #13013]
20370 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20371 depending n and resplen2 to catch cases where answer
20372 equals answerp2.
20373
c93ec1f0
CD
203742012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20375
20376 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20377 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20378
37db69de
MF
203792012-11-29 Mike Frysinger <vapier@gentoo.org>
20380
20381 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20382
e10c4e4f
RM
203832012-11-29 Roland McGrath <roland@hack.frob.com>
20384
20385 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20386
2af1b328
JL
203872012-11-28 Jeff Law <law@redhat.com>
20388
20389 [BZ #13761]
20390 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20391 dataset_temporary. Track alloca usage into alloca_used.
20392 If dataset is large allocate and release it via malloc/free.
20393
111db5b1
FW
203942012-06-04 Florian Weimer <fweimer@redhat.com>
20395
f06cc227 20396 [BZ #14197]
111db5b1
FW
20397 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20398
dd694abd
DM
203992012-11-28 David S. Miller <davem@davemloft.net>
20400
20401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20402
9984dd01
JM
204032012-11-28 Joseph Myers <joseph@codesourcery.com>
20404
20405 [BZ #14803]
20406 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20407 of pi/2 rounded to nearest to 64 bits.
20408 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20409 nearest to 64 bits.
20410 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20411 bits.
20412
14bc93a9
JL
204132012-11-28 Jeff Law <law@redhat.com>
20414 Martin Osvald <mosvald@redhat.com>
20415
20416 [BZ #14889]
20417 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20418 * sunrpc/svc.c: Include time.h.
20419 (__svc_accept_failed): New function.
20420 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20421 any reason other than EINTR, call __svc_accept_failed.
20422 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20423 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20424
e3c6aa3a
AS
204252012-11-28 Andreas Schwab <schwab@suse.de>
20426
20427 * scripts/abilist.awk: Also handle indirect functions in .opd
20428 section.
20429
1bead169
JM
204302012-11-28 Joseph Myers <joseph@codesourcery.com>
20431
20432 [BZ #13881]
20433 * sysdeps/x86/fpu/powl_helper.c: New file.
20434 * sysdeps/x86/fpu/Makefile: Likewise.
20435 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20436 (p3): New object.
20437 (__ieee754_powl): Use __powl_helper for finite arguments except
20438 integer exponents below 8.
20439 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20440 (p3): New object.
20441 (__ieee754_powl): Use __powl_helper for finite arguments except
20442 integer exponents below 8.
20443 * math/libm-test.inc (pow_test): Add more tests and enable some
20444 previously disabled tests.
20445 * sysdeps/i386/fpu/libm-test-ulps: Update.
20446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20447
0817d63d
SP
204482012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20449 Carlos O'Donell <carlos_odonell@mentor.com>
20450
20451 * nss/makedb.c (is_prime): Assert that input is odd and greater
20452 than 4. Note that fact in a comment too.
20453 (next_prime): Add 4 to input.
20454
de2fd463
SP
204552012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20456
20457 [BZ #11741]
20458 * libio/Makefile (tests): Add test case tst-fwrite-error.
20459 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20460 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20461 * libio/tst-fwrite-error.c: New test case.
20462
c515fb51
L
204632012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20464
20465 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20466 before casting to void *.
20467 * include/libc-internal.h (__pointer_type): New macro.
20468 (__integer_if_pointer_type_sub): Likewise.
20469 (__integer_if_pointer_type): Likewise.
20470 (cast_to_integer): Likewise.
20471 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20472 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20473 before casting to atomic64_t.
20474 (atomic_exchange_acq): Likewise.
20475 (__arch_exchange_and_add_body): Likewise.
20476 (__arch_add_body): Likewise.
20477 (atomic_add_negative): Likewise.
20478 (atomic_add_zero): Likewise.
20479
4cf77aa9
JM
204802012-11-26 Joseph Myers <joseph@codesourcery.com>
20481
20482 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20483 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20484 (add_fdes): Likewise.
20485 (linear_search_fdes): Likewise.
20486 (binary_search_unencoded_fdes): Likewise.
20487
d260b3b4
AS
204882012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20489
20490 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20491
67060746
AC
204922012-11-24 Adam Conrad <adconrad@0c3.net>
20493
20494 * configure.in: Autodetect C++ header directories.
20495 * configure: Regenerated.
20496
800938a1
MF
204972012-11-23 Mike Frysinger <vapier@gentoo.org>
20498
20499 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20500
4e6e34e6
AS
205012012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20502
20503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20504
7c7feb47
JM
205052012-11-22 Joseph Myers <joseph@codesourcery.com>
20506
7184dcdf
JM
20507 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20508 LDBL_MANT_DIG == 106]: Disable some tests.
20509 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20510 Likewise.
20511 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20512 Likewise.
20513
0a42601f
JM
20514 [BZ #14871]
20515 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20516 input for small inputs. Return +/- pi/2 for large inputs.
20517 * math/libm-test.inc (atan_test): Add more tests.
20518
79c9b9fe
JM
20519 * sysdeps/generic/unwind-dw2-fde-glibc.c
20520 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20521 __attribute__ ((unused)).
20522
c60d3bf2
JM
20523 [BZ #14645]
20524 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20525 x * y if x and y are nonzero and z is zero.
20526
ef1e0867
JM
20527 [BZ #14811]
20528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20529 nonzero exponents with absolute value below 0x1p-117 to +/-
20530 0x1p-117.
20531
1468ded3
JM
20532 [BZ #14869]
20533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20534 up arguments below 2**-450, not just those below 2**-500.
20535 * math/libm-test.inc (hypot_test): Add another test.
20536
8e27e3cc
JM
20537 [BZ #14868]
20538 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20539 Return a+b for ratio over 2**120, not 2**60.
20540 * math/libm-test.inc (hypot_test): Add another test.
20541
c9c0279b
JM
20542 * math/libm-test.inc (clog_test): Use
20543 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20544 (clog10_test): Likewise.
20545
7c7feb47
JM
20546 [BZ #6778]
20547 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20548
fff1530e
AS
205492012-11-22 Andreas Schwab <schwab@suse.de>
20550
20551 * sysdeps/i386/fpu/libm-test-ulps: Update.
20552
94558d30
PT
205532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20554
20555 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20556 printf output with newline.
20557
7e1be741
L
205582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20559
6bfea974
L
20560 [BZ #14865]
20561 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20562 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20563 -z nodlopen, -z initfirst and -z execstack support.
20564 * configure: Regenerated.
20565
7e1be741
L
20566 * elf/elf.h (DF_1_NODIRECT): New macro.
20567 (DF_1_IGNMULDEF): Likewise.
20568 (DF_1_NOKSYMS): Likewise.
20569 (DF_1_NOHDR): Likewise.
20570 (DF_1_EDITED): Likewise.
20571 (DF_1_NORELOC): Likewise.
20572 (DF_1_SYMINTPOSE): Likewise.
20573 (DF_1_GLOBAUDIT): Likewise.
20574 (DF_1_SINGLETON): Likewise.
20575 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20576 DT_1_SUPPORTED_MASK bits.
20577 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20578
105ce2ce
CD
205792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20580
20581 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20582
123be9de
TS
205832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20584
d072f3f7
TS
20585 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20586 macro.
20587
123be9de
TS
20588 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20589 (sendmmsg): Move declarations...
20590 * socket/sys/socket.h: ... here.
20591 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20592 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20593 include it from...
20594 * socket/recvmmsg.c: ... this new file.
20595 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20596 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20597 definition of __sendmmsg hidden.
20598 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20599 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20600 Move ENOSYS stub into and include it from...
20601 * socket/sendmmsg.c: ... this new file.
20602 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20603 (sysdep_routines): Move recvmmsg and sendmmsg...
20604 * socket/Makefile (routines): ... here.
20605 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20606 (GLIBC_PRIVATE): Add __sendmmsg.
20607 * include/sys/socket.h (__sendmmsg): Add declarations.
20608 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20609 sendmmsg.
20610
cf9a5d18
JM
206112012-11-20 Joseph Myers <joseph@codesourcery.com>
20612
20613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20614 variable I1 with __attribute__ ((unused)).
20615 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20616
ecd4caf9
JM
206172012-11-19 Joseph Myers <joseph@codesourcery.com>
20618
be14d48f
JM
20619 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20620 DUMMY variables with __attribute__ ((unused)).
20621
ecd4caf9
JM
20622 * bits/byteswap.h: Include <bits/types.h>.
20623 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20624
986cab95
PT
206252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20626
20627 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20628 string_t. Do not manually set errno.
20629 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20630 length with __strnlen. Make sure to both set errno and return it on
20631 failure.
20632
6d33cc9d
DM
206332012-11-19 David S. Miller <davem@davemloft.net>
20634
20635 With help from Joseph Myers.
20636 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20637 very large arguments properly.
20638 * math/libm-test.inc (atan_test): New tests.
20639 (atan2_test): New tests.
20640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20642
ee663277
JM
206432012-11-19 Joseph Myers <joseph@codesourcery.com>
20644
877f2d8e
JM
20645 [BZ #14856]
20646 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20647 Define to 3.
20648
116fc08a
JM
20649 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20650 [POSIX] (EADDRNOTAVAIL): Likewise.
20651 [POSIX] (EAFNOSUPPORT): Likewise.
20652 [POSIX] (EALREADY): Likewise.
20653 [POSIX] (ECONNABORTED): Likewise.
20654 [POSIX] (ECONNREFUSED): Likewise.
20655 [POSIX] (ECONNRESET): Likewise.
20656 [POSIX] (EDESTADDRREQ): Likewise.
20657 [POSIX] (EDQUOT): Likewise.
20658 [POSIX] (EHOSTUNREACH): Likewise.
20659 [POSIX] (EIDRM): Likewise.
20660 [POSIX] (EISCONN): Likewise.
20661 [POSIX] (ELOOP): Likewise.
20662 [POSIX] (EMULTIHOP): Likewise.
20663 [POSIX] (ENETDOWN): Likewise.
20664 [POSIX] (ENETUNREACH): Likewise.
20665 [POSIX] (ENOBUFS): Likewise.
20666 [POSIX] (ENODATA): Likewise.
20667 [POSIX] (ENOLINK): Likewise.
20668 [POSIX] (ENOMSG): Likewise.
20669 [POSIX] (ENOPROTOOPT): Likewise.
20670 [POSIX] (ENOSR): Likewise.
20671 [POSIX] (ENOSTR): Likewise.
20672 [POSIX] (ENOTCONN): Likewise.
20673 [POSIX] (ENOTSOCK): Likewise.
20674 [POSIX] (EOPNOTSUPP): Likewise.
20675 [POSIX] (EOVERFLOW): Likewise.
20676 [POSIX] (EPROTO): Likewise.
20677 [POSIX] (EPROTONOSUPPORT): Likewise.
20678 [POSIX] (EPROTOTYPE): Likewise.
20679 [POSIX] (ESTALE): Likewise.
20680 [POSIX] (ETIME): Likewise.
20681 [POSIX] (ETXTBSY): Likewise.
20682 [POSIX] (EWOULDBLOCK): Likewise.
20683 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20684 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20685 [POSIX] (SEEK_CUR): Likewise.
20686 [POSIX] (SEEK_END): Likewise.
20687 [POSIX || UNIX98] (mode_t): Do not require.
20688 [POSIX] (off_t): Likewise.
20689 [POSIX] (pid_t): Likewise.
20690 [POSIX] (sys/stat.h): Do not allow header.
20691 [POSIX] (unistd.h): Likewise.
20692 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20693 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20694 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20695 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20696 require.
20697 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20698 sigevent): Specify elements.
20699 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20700 entry.
20701 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20702 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20703
a483863f
JM
20704 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20705 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20706 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20707 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20708 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20709 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20710 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20711 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20712 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20713 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20714 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20715 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20716 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20717 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20718 Likewise.
20719 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20720 Likewise.
20721 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20722 Likewise.
20723 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20724 Likewise.
20725 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20726 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20727 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20728 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20730 Specify lower bound on value.
20731 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20733 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20735 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20736 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20737 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20738 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20739 value.
20740 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20741 as optional.
20742 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20747 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20753 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20758 entry.
20759 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20760 optional.
20761 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20762 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20763 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20764 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20765 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20766 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20767 Likewise.
20768 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20769 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20770 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20771 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20772 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20773 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20774 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20775 as optional.
20776 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20777 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20778 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20779 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20780 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20781 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20782 specify as optional.
20783 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20784 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20785 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20786 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20787 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20788 [XPG3] (NL_LANGMAX): Likewise.
20789 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20790 [POSIX || XPG3] (NL_NMAX): Likewise.
20791 [POSIX || XPG3] (NL_SETMAX): Likewise.
20792 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20793 [XPG3] (NZERO): Likewise.
20794 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20795 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20796 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20797 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20798 (REG_ERANGE): Expect.
20799 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20800 optional-constant.
20801 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20802 Use (void) in prototype.
20803 [POSIX] (*_t): Allow.
20804 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20805 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20806 (WRDE_BADVAL): Expect.
20807
5ba924e3
JM
20808 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20809 expect.
20810 [XPG3 || XPG4] (O_RSYNC): Likewise.
20811 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20812 Likewise.
20813 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20814 [XPG3 || XPG4] (sigqueue): Likewise.
20815 [XPG3 || XPG4] (sigtimedwait): Likewise.
20816 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20817 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20818 [XPG3 || XPG4] (vsnprintf): Likewise.
20819 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20820 Likewise.
20821 [XPG3 || XPG4] (blksize_t): Likewise.
20822 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20823 Likewise.
20824 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20825 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20826 [XPG3 || XPG4] (struct itimerspec): Likewise.
20827 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20828 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20829 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20830 [XPG3 || XPG4] (clockid_t): Likewise.
20831 [XPG3 || XPG4] (timer_t): Likewise.
20832 [XPG3 || XPG4] (clock_getres): Likewise.
20833 [XPG3 || XPG4] (clock_gettime): Likewise.
20834 [XPG3 || XPG4] (clock_settime): Likewise.
20835 [XPG3 || XPG4] (nanosleep): Likewise.
20836 [XPG3 || XPG4] (timer_create): Likewise.
20837 [XPG3 || XPG4] (timer_delete): Likewise.
20838 [XPG3 || XPG4] (timer_gettime): Likewise.
20839 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20840 [XPG3 || XPG4] (timer_settime): Likewise.
20841 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20842 [XPG3 || XPG4] (getlogin_r): Likewise.
20843 [XPG3 || XPG4] (pread): Likewise.
20844 [XPG3 || XPG4] (pthread_atfork): Likewise.
20845 [XPG3 || XPG4] (pwrite): Likewise.
20846
ee663277
JM
20847 [BZ #14835]
20848 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20849 <bits/siginfo.h>.
20850
942caa16
PT
208512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20852
e19af380
PT
20853 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20854 finalizing MALLSTREAM.
20855
942caa16
PT
20856 * sysdeps/mach/hurd/syncfs.c: New file.
20857
cfde9b46
SP
208582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20859
20860 [BZ #14719]
20861 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20862 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20863 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20864 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20865 (_nss_dns_gethostbyname4_r): Likewise.
20866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20867 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20868
f6da27e5
PH
208692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20870
20871 [BZ #13763]
20872 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20873
6665d4a2
SM
208742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20875
1f51ee92
SM
20876 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20877 * elf/cache.c (print_entry): Print ",AArch64" for
20878 FLAG_AARCH64_LIB64
20879
6665d4a2
SM
20880 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20881 * elf/cache.c (print_entry): Print ",hard-float" for
20882 FLAG_ARM_LIBHF.
20883
05b227bd
DM
208842012-11-18 David S. Miller <davem@davemloft.net>
20885
20886 With help from Joseph Myers.
20887 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20888 cutoff to 2**-13.
20889 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20890 cutoff to 2**-25.
20891 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20892 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20893 small.
20894 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20895 * math/libm-test.inc (y0_test): New tests.
20896 (y1_test): New tests.
20897 * sysdeps/i386/fpu/libm-test-ulps: Update.
20898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20900
786b0b67
AS
209012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20902
20903 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20904 64-bit targets.
20905 * configure: Regenerated.
20906
8e18b86d
DM
209072012-11-17 David S. Miller <davem@davemloft.net>
20908
20909 [BZ #14811]
20910 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20911 nonzero exponents with absolute value below 0x1p-128 to +/-
20912 0x1p-128.
20913
531f1ae0
JM
209142012-11-17 Joseph Myers <joseph@codesourcery.com>
20915
12df29e2
JM
20916 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20917
150dc1a0
JM
20918 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20919
531f1ae0
JM
20920 * posix/getconf-speclist.c: New file.
20921 * posix/posix-envs.def: Likewise.
20922 * posix/confstr.c (START_ENV_GROUP): New macro.
20923 (END_ENV_GROUP): Likewise.
20924 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20925 (KNOWN_PRESENT_ENV_STRING): Likewise.
20926 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20927 (UNKNOWN_ENVIRONMENT): Likewise.
20928 (confstr): Include posix-envs.def instead of handling
20929 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20930 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20931 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20932 (END_ENV_GROUP): Likewise.
20933 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20934 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20935 (UNKNOWN_ENVIRONMENT): Likewise.
20936 (__sysconf): Include posix-envs.def instead of handling associated
20937 cases directly here.
20938 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20939 preprocessing getconf-speclist.c rather than running getconf or
20940 generating empty file.
20941
a93f9cbc
PT
209422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20943
20944 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20945
d64d9f87
AL
209462012-11-16 Andrej Lajovic <natrij@gmail.com>
20947
20948 [BZ #14672]
20949 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20950
447885eb
DM
209512012-11-16 David S. Miller <davem@davemloft.net>
20952
20953 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20954 smaller than LDBL_EPSILON/2.0L, just return xm1.
20955
bcbf9830
L
209562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20957
20958 * elf/tst-array1.c (init): Set constructor priority to 1000.
20959 (fini): Set destructor priority to 1000.
20960 * elf/tst-array2dep.c: Likewise.
20961
2b766585
SP
209622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20963
20964 [BZ #11741]
20965 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20966 (_IO_new_file_xsputn): Also return EOF if none of the input
20967 data was written when overflow failed.
20968 * libio/iopadn.c (_IO_padn): Likewise.
20969 * libio/iowpadn.c (_IO_wpadn): Likewise.
20970 * stdio-common/tst-put-error.c: Add copyright notice.
20971 (do_test): Add case for printing padded string.
20972 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20973 _IO_padn returned error.
20974 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20975 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20976 return EOF.
20977
b1848fde
SP
209782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20979
20980 * libio/libioP.h: Add comment note that the references to C++
20981 bits are now obsolete.
20982
2fd89785
MS
209832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20984
20985 * math/libm-test.inc (check_complex): Use asprintf.
20986
e3ea5409
JM
209872012-11-14 Joseph Myers <joseph@codesourcery.com>
20988
20989 * debug/pcprofiledump.c (print_version): Update copyright year.
20990 * malloc/memusagestat.c (print_version): Likewise.
20991
2e64d265
L
209922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20993
20994 [BZ #14831]
20995 * elf/Makefile (tests): Add tst-audit8.
20996 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20997 ($(objpfx)tst-audit8.out): New target.
20998 (tst-audit8-ENV): New variable.
20999 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21000 audit if l_reloc_result is NULL.
21001 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21002 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21003 * elf/tst-audit8.c: New file.
21004
c485e4d2
MS
210052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21006
21007 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21008 * misc/Makefile (CFLAGS-select.c): Define.
21009 * posix/Makefile (CFLAGS-pause.c): Define.
21010
3a0d900a
DM
210112012-11-13 David S. Miller <davem@davemloft.net>
21012
21013 * crypt/Makefile: Move test targets after toplevel Rules
21014 inclusion. Grab any necessary sysdep routines when linking.
21015 * crypt/md5.c (md5_process_block): Remove define, we will always
21016 name it __md5_process_block.
21017 (md5_finish_ctx): Update md5_process_block call.
21018 (md5_stream): Likewise.
21019 (md5_process_bytes): Likewise.
21020 (md5_process_block): Rename to __md5_process_block and move to ...
21021 * crypt/md5-block.c: ... here.
21022 * crypt/sha256.c (sha256_process_block): Move to ...
21023 * crypt/sha256-block.c: ... here.
21024 * crypt/sha512.c (sha512_process_block): Move to ...
21025 * crypt/sha512-block.c: ... here.
21026 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21027 path.
21028 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21029 * sysdeps/sparc/sparc64/multiarch/Makefile
21030 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21031 crypt subdir.
21032 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21033 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21034 multiarch changes.
21035 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21036 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21037 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21038 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21039 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21040 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21041 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21042 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21043 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21044 file.
21045 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21046 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21047 file.
21048 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21049
8ca89318
JM
210502012-11-13 Joseph Myers <joseph@codesourcery.com>
21051
e27d476a
JM
21052 * timezone/tzselect.ksh: Update from tzcode git revision
21053 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21054 * timezone/zdump.c: Likewise.
21055 * timezone/zic.c: Likewise.
21056 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21057 in TZVERSION setting, not $(PKGVERSION).
21058 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21059 REPORT_BUGS_TO settings.
21060
8ca89318
JM
21061 [BZ #14838]
21062 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21063 macro.
21064
47594329
MS
210652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21066
21067 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21068 detection to immediately after _FP_ROUND().
21069 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21070 bits are 0.
21071
640ac3f1
DM
210722012-11-11 David S. Miller <davem@davemloft.net>
21073
21074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21075 inttypes.h
21076 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21077 __close rather than their public counterparts.
21078
3d2577bb
JM
210792012-11-10 Joseph Myers <joseph@codesourcery.com>
21080
21081 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21082 file.
21083 [UNIX98] (sem_timedwait): Do not expect.
21084 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21085 [XPG4 || UNIX98] (sockatmark): Do not expect.
21086 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21087 (clock_getcpuclockid): Do not expect.
21088 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21089 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21090 Do not expect.
21091 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21092 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21093 [UNIX98] (vwscanf): Likewise.
21094 [UNIX98] (vswscanf): Likewise.
21095
fb1ae1ee
JM
210962012-11-09 Joseph Myers <joseph@codesourcery.com>
21097
9ec6f8bd
JM
21098 * timezone/version.h: Remove file.
21099 * timezone/README: Do not refer to version.h.
21100 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21101 $(objpfx)version.h.
21102 ($(objpfx)zdump.o): Likewise.
c3f81911 21103 ($(objpfx)version.h): New target.
9ec6f8bd 21104
0aa8f8a1
JM
21105 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21106 2012i.
21107 * timezone/README: Don't mention modification to tzselect.ksh.
21108 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21109 work on unmodified tzselect.ksh. Substitute version numbers in
21110 tzselect.ksh.
21111
4e87147f
JM
21112 * Makefile (format-me): Remove.
21113 (INSTALL): Adjust indentation. Use commands directly instead of
21114 using $(format-me).
21115
8b748aed
JM
21116 * aclocal.m4 (ACX_PKGVERSION): New macro.
21117 (ACX_BUGURL): Likewise.
21118 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21119 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21120 (REPORT_BUGS_TO): Likewise.
21121 * configure: Regenerated.
21122 * config.h.in (PKGVERSION): New macro.
21123 (REPORT_BUGS_TO): Likewise.
21124 * config.make.in (PKGVERSION): New variable.
21125 (PKGVERSION_TEXI): Likewise.
21126 (REPORT_BUGS_TO): Likewise.
21127 (REPORT_BUGS_TEXI): Likewise.
21128 * Makefile (format-me): Use -I$(common-objpfx)manual.
21129 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21130 ($(common-objpfx)manual/%): New target.
21131 (manual/%): Remove target.
21132 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21133 (print_version): Use PKGVERSION.
21134 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21135 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21136 and REPORT_BUGS_TO.
21137 ($(objpfx)xtrace): Likewise.
21138 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21139 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21140 (print_version): Use PKGVERSION.
21141 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21142 (do_version): Use PKGVERSION.
21143 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21144 REPORT_BUGS_TO.
21145 (common-ldd-rewrite): Likewise.
21146 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21147 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21148 (print_version): Use PKGVERSION.
21149 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21150 * elf/pldd.c (argp_program_bug_address): Remove variable.
21151 (more_help): New function.
21152 (argp): Use more_help.
21153 (print_version): Use PKGVERSION.
21154 * elf/sln.c (main): Use PKGVERSION.
21155 (usage): Use REPORT_BUGS_TO.
21156 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21157 (top level): Use PKGVERSION.
21158 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21159 (print_version): Use PKGVERSION.
21160 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21161 (print_version): Use PKGVERSION.
21162 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21163 (print_version): Use PKGVERSION.
21164 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21165 (print_version): Use PKGVERSION.
21166 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21167 (print_version): Use PKGVERSION.
21168 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21169 (print_version): Use PKGVERSION.
21170 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21171 and BUGURL.
21172 ($(objpfx)memusage): Likewise.
21173 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21174 (do_version): Use PKGVERSION.
21175 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21176 (print_version): Use PKGVERSION.
21177 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21178 ($PKGVERSION): New variable.
21179 ($REPORT_BUGS_TO): Likewise.
21180 (usage): Use $REPORT_BUGS_TO.
21181 (top level): Use $PKGVERSION.
21182 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21183 ($(objpfx)pkgvers.texi): New rule.
21184 ($(objpfx)stamp-pkgvers): Likewise.
21185 * manual/install.texi: Include pkgvers.texi.
21186 (--with-pkgversion): Document new configure option.
21187 (--with-bugurl): Likewise.
21188 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21189 than necessarily for this particular distribution. Use
21190 REPORT_BUGS_TO for where to report bugs.
21191 * INSTALL: Regenerated.
21192 * manual/libc.texinfo: Include pkgvers.texi.
21193 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21194 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21195 (print_version): Use PKGVERSION.
21196 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21197 (print_version): Use PKGVERSION.
21198 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21199 (print_version): Use PKGVERSION.
21200 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21201 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21202 macro.
21203 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21204 (print_version): Use PKGVERSION.
21205 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21206 (print_version): Use PKGVERSION.
21207 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21208 and PKGVERSION.
21209
92e4b6a9
JM
21210 * timezone/checktab.awk: Update from tzcode 2012i.
21211 * timezone/ialloc.c: Likewise.
21212 * timezone/private.h: Likewise.
21213 * timezone/scheck.c: Likewise.
21214 * timezone/tzfile.h: Likewise.
21215 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21216 (TZVERSION): Hardcode tzcode version number.
21217 * timezone/zdump.c: Update from tzcode 2012i.
21218 * timezone/zic.c: Likewise.
21219 * timezone/version.h: New file.
21220 * timezone/README: Describe version.h. Update upstream location.
21221
9bde902c
JM
21222 [BZ #14824]
21223 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21224 (mktemp): Enable declaration.
21225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21228 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21229 Likewise.
21230 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21231 Likewise.
21232 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21233 Likewise.
21234 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21235 Likewise.
21236 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21237 Likewise.
21238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21239 Likewise.
21240
fb1ae1ee
JM
21241 [BZ #14821]
21242 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21243 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21244 for copies of such integer values.
21245 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21246 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21247
2c1adbcb
AJ
212482012-11-09 Andreas Jaeger <aj@suse.de>
21249
21250 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21251 definitions and declarations that are provided by
21252 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21253
d0f8457e
AK
212542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21255
3a235abb 21256 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21257 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21258 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21259 definition.
21260
57241e26
MS
212612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21262
21263 * elf/elf.h: Update comment before AArch64 relocations.
21264
60e8270d
DM
212652012-11-07 David S. Miller <davem@davemloft.net>
21266
21267 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21268 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21269 (__start_context): Declare.
21270 (__makecontext_ret): Delete.
21271 (__makecontext): Hook up __start_context instead of
21272 __makecontext_ret.
21273 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21274 (sysdep_routines): Add __start_context when in stdlib.
21275
0fbb0fbc
JM
212762012-11-07 Joseph Myers <joseph@codesourcery.com>
21277
21278 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21279 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21280 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21281 hardcoded "nm".
21282 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21283 (READELF): New variable. Use it instead of hardcoded "readelf".
21284
eb48db7e
L
212852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21286
21287 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21288 * sysdeps/x86/Makefile: Here.
21289 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21290 * sysdeps/x86/tst-xmmymm.sh: This.
21291
05bcf62a
JM
212922012-11-07 Joseph Myers <joseph@codesourcery.com>
21293
c4b6cf53
JM
21294 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21295 expectations.
21296 [UNIX98] (pthread_barrier_t): Do not expect.
21297 [UNIX98] (pthread_barrierattr_t): Likewise.
21298 [UNIX98] (pthread_spinlock_t): Likewise.
21299 [UNIX98] (pthread_barrier_destroy): Likewise.
21300 [UNIX98] (pthread_barrier_init): Likewise.
21301 [UNIX98] (pthread_barrier_wait): Likewise.
21302 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21303 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21304 [UNIX98] (pthread_barrierattr_init): Likewise.
21305 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21306 [UNIX98] (pthread_getcpuclockid): Likewise.
21307 [UNIX98] (pthread_mutex_timedlock): Likewise.
21308 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21309 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21310 [UNIX98] (pthread_sigmask): Likewise.
21311 [UNIX98] (pthread_spin_destroy): Likewise.
21312 [UNIX98] (pthread_spin_init): Likewise.
21313 [UNIX98] (pthread_spin_lock): Likewise.
21314 [UNIX98] (pthread_spin_trylock): Likewise.
21315 [UNIX98] (pthread_spin_unlock): Likewise.
21316 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21317 Do not expect.
21318 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21319 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21320 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21321 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21322 [XPG3 || XPG4] (pthread_key_t): Likewise.
21323 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21324 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21325 [XPG3 || XPG4] (pthread_once_t): Likewise.
21326 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21327 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21328 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21329 [XPG3 || XPG4] (pthread_t): Likewise.
21330
cbe6e120
JM
21331 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21332 not expect.
21333 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21334
1b126443
JM
21335 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21336 Change function return type to int.
21337
b961a573
JM
21338 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21339 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21340 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21341 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21342 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21343 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21344 [!POSIX] (posix_madvise): Likewise.
21345 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21346 && !UNIX98].
21347 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21348 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21349 (mode_t): Likewise.
21350 (posix_mem_offset): Likewise.
21351 (posix_typed_mem_get_info): Likewise.
21352 (posix_typed_mem_open): Likewise.
21353
9e188909
JM
21354 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21355 Change condition to [XOPEN2K8].
21356
05bcf62a
JM
21357 * conform/conformtest.pl: Preprocess allow-header data with -x c
21358 instead of from stdin.
21359 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21360 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21361 [C99-based standards] (cerfc): Likewise.
21362 [C99-based standards] (cexp2): Likewise.
21363 [C99-based standards] (cexpm1): Likewise.
21364 [C99-based standards] (clog10): Likewise.
21365 [C99-based standards] (clog1p): Likewise.
21366 [C99-based standards] (clog2): Likewise.
21367 [C99-based standards] (clgamma): Likewise.
21368 [C99-based standards] (ctgamma): Likewise.
21369 [C99-based standards] (cerff): Likewise.
21370 [C99-based standards] (cerfcf): Likewise.
21371 [C99-based standards] (cexp2f): Likewise.
21372 [C99-based standards] (cexpm1f): Likewise.
21373 [C99-based standards] (clog10f): Likewise.
21374 [C99-based standards] (clog1pf): Likewise.
21375 [C99-based standards] (clog2f): Likewise.
21376 [C99-based standards] (clgammaf): Likewise.
21377 [C99-based standards] (ctgammaf): Likewise.
21378 [C99-based standards] (cerfl): Likewise.
21379 [C99-based standards] (cerfcl): Likewise.
21380 [C99-based standards] (cexp2l): Likewise.
21381 [C99-based standards] (cexpm1l): Likewise.
21382 [C99-based standards] (clog10l): Likewise.
21383 [C99-based standards] (clog1pl): Likewise.
21384 [C99-based standards] (clog2l): Likewise.
21385 [C99-based standards] (clgammal): Likewise.
21386 [C99-based standards] (ctgammal): Likewise.
21387 * conform/data/inttypes.h-data [C99-based standards]: Include
21388 stdint.h-data. Remove all expectations for stdint.h contents.
21389 [C99-based standards] (PRI*): Do not allow.
21390 [C99-based standards] (SCN*): Likewise.
21391 [C99-based standards] (*_t): Likewise.
21392 [C99-based-standards] (PRId8): Expect macro.
21393 [C99-based-standards] (PRIi8): Likewise.
21394 [C99-based-standards] (PRIo8): Likewise.
21395 [C99-based-standards] (PRIu8): Likewise.
21396 [C99-based-standards] (PRIx8): Likewise.
21397 [C99-based-standards] (PRIX8): Likewise.
21398 [C99-based-standards] (SCNd8): Likewise.
21399 [C99-based-standards] (SCNi8): Likewise.
21400 [C99-based-standards] (SCNo8): Likewise.
21401 [C99-based-standards] (SCNu8): Likewise.
21402 [C99-based-standards] (SCNx8): Likewise.
21403 [C99-based-standards] (PRIdLEAST8): Likewise.
21404 [C99-based-standards] (PRIiLEAST8): Likewise.
21405 [C99-based-standards] (PRIoLEAST8): Likewise.
21406 [C99-based-standards] (PRIuLEAST8): Likewise.
21407 [C99-based-standards] (PRIxLEAST8): Likewise.
21408 [C99-based-standards] (PRIXLEAST8): Likewise.
21409 [C99-based-standards] (SCNdLEAST8): Likewise.
21410 [C99-based-standards] (SCNiLEAST8): Likewise.
21411 [C99-based-standards] (SCNoLEAST8): Likewise.
21412 [C99-based-standards] (SCNuLEAST8): Likewise.
21413 [C99-based-standards] (SCNxLEAST8): Likewise.
21414 [C99-based-standards] (PRIdFAST8): Likewise.
21415 [C99-based-standards] (PRIiFAST8): Likewise.
21416 [C99-based-standards] (PRIoFAST8): Likewise.
21417 [C99-based-standards] (PRIuFAST8): Likewise.
21418 [C99-based-standards] (PRIxFAST8): Likewise.
21419 [C99-based-standards] (PRIXFAST8): Likewise.
21420 [C99-based-standards] (SCNdFAST8): Likewise.
21421 [C99-based-standards] (SCNiFAST8): Likewise.
21422 [C99-based-standards] (SCNoFAST8): Likewise.
21423 [C99-based-standards] (SCNuFAST8): Likewise.
21424 [C99-based-standards] (SCNxFAST8): Likewise.
21425 [C99-based-standards] (PRId16): Likewise.
21426 [C99-based-standards] (PRIi16): Likewise.
21427 [C99-based-standards] (PRIo16): Likewise.
21428 [C99-based-standards] (PRIu16): Likewise.
21429 [C99-based-standards] (PRIx16): Likewise.
21430 [C99-based-standards] (PRIX16): Likewise.
21431 [C99-based-standards] (SCNd16): Likewise.
21432 [C99-based-standards] (SCNi16): Likewise.
21433 [C99-based-standards] (SCNo16): Likewise.
21434 [C99-based-standards] (SCNu16): Likewise.
21435 [C99-based-standards] (SCNx16): Likewise.
21436 [C99-based-standards] (PRIdLEAST16): Likewise.
21437 [C99-based-standards] (PRIiLEAST16): Likewise.
21438 [C99-based-standards] (PRIoLEAST16): Likewise.
21439 [C99-based-standards] (PRIuLEAST16): Likewise.
21440 [C99-based-standards] (PRIxLEAST16): Likewise.
21441 [C99-based-standards] (PRIXLEAST16): Likewise.
21442 [C99-based-standards] (SCNdLEAST16): Likewise.
21443 [C99-based-standards] (SCNiLEAST16): Likewise.
21444 [C99-based-standards] (SCNoLEAST16): Likewise.
21445 [C99-based-standards] (SCNuLEAST16): Likewise.
21446 [C99-based-standards] (SCNxLEAST16): Likewise.
21447 [C99-based-standards] (PRIdFAST16): Likewise.
21448 [C99-based-standards] (PRIiFAST16): Likewise.
21449 [C99-based-standards] (PRIoFAST16): Likewise.
21450 [C99-based-standards] (PRIuFAST16): Likewise.
21451 [C99-based-standards] (PRIxFAST16): Likewise.
21452 [C99-based-standards] (PRIXFAST16): Likewise.
21453 [C99-based-standards] (SCNdFAST16): Likewise.
21454 [C99-based-standards] (SCNiFAST16): Likewise.
21455 [C99-based-standards] (SCNoFAST16): Likewise.
21456 [C99-based-standards] (SCNuFAST16): Likewise.
21457 [C99-based-standards] (SCNxFAST16): Likewise.
21458 [C99-based-standards] (PRId32): Likewise.
21459 [C99-based-standards] (PRIi32): Likewise.
21460 [C99-based-standards] (PRIo32): Likewise.
21461 [C99-based-standards] (PRIu32): Likewise.
21462 [C99-based-standards] (PRIx32): Likewise.
21463 [C99-based-standards] (PRIX32): Likewise.
21464 [C99-based-standards] (SCNd32): Likewise.
21465 [C99-based-standards] (SCNi32): Likewise.
21466 [C99-based-standards] (SCNo32): Likewise.
21467 [C99-based-standards] (SCNu32): Likewise.
21468 [C99-based-standards] (SCNx32): Likewise.
21469 [C99-based-standards] (PRIdLEAST32): Likewise.
21470 [C99-based-standards] (PRIiLEAST32): Likewise.
21471 [C99-based-standards] (PRIoLEAST32): Likewise.
21472 [C99-based-standards] (PRIuLEAST32): Likewise.
21473 [C99-based-standards] (PRIxLEAST32): Likewise.
21474 [C99-based-standards] (PRIXLEAST32): Likewise.
21475 [C99-based-standards] (SCNdLEAST32): Likewise.
21476 [C99-based-standards] (SCNiLEAST32): Likewise.
21477 [C99-based-standards] (SCNoLEAST32): Likewise.
21478 [C99-based-standards] (SCNuLEAST32): Likewise.
21479 [C99-based-standards] (SCNxLEAST32): Likewise.
21480 [C99-based-standards] (PRIdFAST32): Likewise.
21481 [C99-based-standards] (PRIiFAST32): Likewise.
21482 [C99-based-standards] (PRIoFAST32): Likewise.
21483 [C99-based-standards] (PRIuFAST32): Likewise.
21484 [C99-based-standards] (PRIxFAST32): Likewise.
21485 [C99-based-standards] (PRIXFAST32): Likewise.
21486 [C99-based-standards] (SCNdFAST32): Likewise.
21487 [C99-based-standards] (SCNiFAST32): Likewise.
21488 [C99-based-standards] (SCNoFAST32): Likewise.
21489 [C99-based-standards] (SCNuFAST32): Likewise.
21490 [C99-based-standards] (SCNxFAST32): Likewise.
21491 [C99-based-standards] (PRId64): Likewise.
21492 [C99-based-standards] (PRIi64): Likewise.
21493 [C99-based-standards] (PRIo64): Likewise.
21494 [C99-based-standards] (PRIu64): Likewise.
21495 [C99-based-standards] (PRIx64): Likewise.
21496 [C99-based-standards] (PRIX64): Likewise.
21497 [C99-based-standards] (SCNd64): Likewise.
21498 [C99-based-standards] (SCNi64): Likewise.
21499 [C99-based-standards] (SCNo64): Likewise.
21500 [C99-based-standards] (SCNu64): Likewise.
21501 [C99-based-standards] (SCNx64): Likewise.
21502 [C99-based-standards] (PRIdLEAST64): Likewise.
21503 [C99-based-standards] (PRIiLEAST64): Likewise.
21504 [C99-based-standards] (PRIoLEAST64): Likewise.
21505 [C99-based-standards] (PRIuLEAST64): Likewise.
21506 [C99-based-standards] (PRIxLEAST64): Likewise.
21507 [C99-based-standards] (PRIXLEAST64): Likewise.
21508 [C99-based-standards] (SCNdLEAST64): Likewise.
21509 [C99-based-standards] (SCNiLEAST64): Likewise.
21510 [C99-based-standards] (SCNoLEAST64): Likewise.
21511 [C99-based-standards] (SCNuLEAST64): Likewise.
21512 [C99-based-standards] (SCNxLEAST64): Likewise.
21513 [C99-based-standards] (PRIdFAST64): Likewise.
21514 [C99-based-standards] (PRIiFAST64): Likewise.
21515 [C99-based-standards] (PRIoFAST64): Likewise.
21516 [C99-based-standards] (PRIuFAST64): Likewise.
21517 [C99-based-standards] (PRIxFAST64): Likewise.
21518 [C99-based-standards] (PRIXFAST64): Likewise.
21519 [C99-based-standards] (SCNdFAST64): Likewise.
21520 [C99-based-standards] (SCNiFAST64): Likewise.
21521 [C99-based-standards] (SCNoFAST64): Likewise.
21522 [C99-based-standards] (SCNuFAST64): Likewise.
21523 [C99-based-standards] (SCNxFAST64): Likewise.
21524 [C99-based-standards] (PRIdMAX): Likewise.
21525 [C99-based-standards] (PRIiMAX): Likewise.
21526 [C99-based-standards] (PRIoMAX): Likewise.
21527 [C99-based-standards] (PRIuMAX): Likewise.
21528 [C99-based-standards] (PRIxMAX): Likewise.
21529 [C99-based-standards] (PRIXMAX): Likewise.
21530 [C99-based-standards] (SCNdMAX): Likewise.
21531 [C99-based-standards] (SCNiMAX): Likewise.
21532 [C99-based-standards] (SCNoMAX): Likewise.
21533 [C99-based-standards] (SCNuMAX): Likewise.
21534 [C99-based-standards] (SCNxMAX): Likewise.
21535 [C99-based-standards] (PRIdPTR): Likewise.
21536 [C99-based-standards] (PRIiPTR): Likewise.
21537 [C99-based-standards] (PRIoPTR): Likewise.
21538 [C99-based-standards] (PRIuPTR): Likewise.
21539 [C99-based-standards] (PRIxPTR): Likewise.
21540 [C99-based-standards] (PRIXPTR): Likewise.
21541 [C99-based-standards] (SCNdPTR): Likewise.
21542 [C99-based-standards] (SCNiPTR): Likewise.
21543 [C99-based-standards] (SCNoPTR): Likewise.
21544 [C99-based-standards] (SCNuPTR): Likewise.
21545 [C99-based-standards] (SCNxPTR): Likewise.
21546 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21547 allow.
21548 * conform/data/stdint.h-data: Update comments to clarify
21549 requirements.
21550 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21551 type.
21552 [C99-based standards] (INT8_MAX): Likewise.
21553 [C99-based standards] (INT16_MIN): Likewise.
21554 [C99-based standards] (INT16_MAX): Likewise.
21555 [C99-based standards] (INT32_MIN): Likewise.
21556 [C99-based standards] (INT32_MAX): Likewise.
21557 [C99-based standards] (INT64_MIN): Likewise.
21558 [C99-based standards] (INT64_MAX): Likewise.
21559 [C99-based standards] (UINT8_MAX): Likewise.
21560 [C99-based standards] (UINT16_MAX): Likewise.
21561 [C99-based standards] (UINT32_MAX): Likewise.
21562 [C99-based standards] (UINT64_MAX): Likewise.
21563 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21564 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21565 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21566 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21567 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21568 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21569 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21570 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21571 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21572 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21573 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21574 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21575 [C99-based standards] (INT_FAST8_MIN): Likewise.
21576 [C99-based standards] (INT_FAST8_MAX): Likewise.
21577 [C99-based standards] (INT_FAST16_MIN): Likewise.
21578 [C99-based standards] (INT_FAST16_MAX): Likewise.
21579 [C99-based standards] (INT_FAST32_MIN): Likewise.
21580 [C99-based standards] (INT_FAST32_MAX): Likewise.
21581 [C99-based standards] (INT_FAST64_MIN): Likewise.
21582 [C99-based standards] (INT_FAST64_MAX): Likewise.
21583 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21584 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21585 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21586 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21587 [C99-based standards] (INTPTR_MIN): Likewise.
21588 [C99-based standards] (INTPTR_MAX): Likewise.
21589 [C99-based standards] (UINTPTR_MAX): Likewise.
21590 [C99-based standards] (INTMAX_MIN): Likewise.
21591 [C99-based standards] (INTMAX_MAX): Likewise.
21592 [C99-based standards] (UINTMAX_MAX): Likewise.
21593 [C99-based standards] (PTRDIFF_MIN): Likewise.
21594 [C99-based standards] (PTRDIFF_MAX): Likewise.
21595 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21596 [C99-based standards] (SIZE_MAX): Likewise.
21597 [C99-based standards] (WCHAR_MAX): Likewise.
21598 [C99-based standards] (WINT_MAX): Likewise.
21599 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21600 constraint on value.
21601 [C99-based standards] (WCHAR_MIN): Likewise.
21602 [C99-based standards] (WINT_MIN): Likewise.
21603 [C99-based standards] (*_t): Allow.
21604 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21605 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21606 Include math.h-data and complex.h-data. Remove all expectations
21607 of math.h and complex.h contents.
21608 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21609 at end of line.
21610 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21611 (struct tm): Expect tag.
21612 [C99-based-standards] (wcstof): Expect function.
21613 [C99-based-standards] (wcstold): Likewise.
21614 [C99-based-standards] (wcstoll): Likewise.
21615 [C99-based-standards] (wcstoull): Likewise.
21616 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21617 macro-int-constant. Specify type.
21618 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21619 constraint on value.
21620 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21621 Specify type.
21622 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21623 Specify value.
21624 [ISO C standards]: Do not allow headers.
21625 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21626 wcs[abcdefghijklmnopqrstuvwxyz]*.
21627 [ISO C standards] (*_t): Do not allow.
21628 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21629 Expect function.
21630 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21631 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21632 Specify type.
21633 [ISO C standards]: Do not allow headers.
21634 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21635 is[abcdefghijklmnopqrstuvwxyz]*.
21636 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21637 to[abcdefghijklmnopqrstuvwxyz]*.
21638 [ISO C standards] (*_t): Do not allow.
21639 * conform/data/stdalign.h-data: New file.
21640 * conform/data/stdbool.h-data: Likewise.
21641 * conform/data/stdnoreturn.h-data: Likewise.
21642
7514feb8
RM
216432012-11-07 Roland McGrath <roland@hack.frob.com>
21644
21645 [BZ #14815]
21646 * manual/filesys.texi (Directory Entries): Typo fix.
21647 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21648
19b2ecfc
MS
216492012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21650
21651 * elf/elf.h (EM_AARCH64): New macro.
21652 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21653 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21654 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21655 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21656 (R_AARCH64_TLSDESC): Likewise.
21657 (NT_ARM_TLS): Likewise.
21658 (NT_ARM_HW_BREAK): Likewise.
21659 (NT_ARM_HW_WATCH): Likewise.
21660
60e235ee
JM
216612012-11-07 Joseph Myers <joseph@codesourcery.com>
21662
21663 [BZ #14811]
21664 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21665 (__ieee754_powl): Saturate nonzero exponents with absolute value
21666 below 0x1p-79 to +/- 0x1p-79.
21667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21668 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21669 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21670 nonzero exponents with absolute value below 0x1p-32 to +/-
21671 0x1p-32.
21672 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21673 (__ieee754_powl): Saturate nonzero exponents with absolute value
21674 below 0x1p-79 to +/- 0x1p-79.
21675 * math/libm-test.inc (pow_test): Add more tests.
21676
0ab234b7
AK
216772012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21678
21679 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21680 _dl_s390_cap_flags with kernel. Increase string length.
21681 (_dl_s390_platforms): Add z196 and zEC12.
21682
45832f74
JM
216832012-11-07 Joseph Myers <joseph@codesourcery.com>
21684
21685 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21686 Change XOPEN21K to XOPEN2K.
21687
19218757
MK
216882012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21689
21690 * string/memmove.c: Use memcpy when possible.
21691
c5f45721
AJ
216922012-11-06 Andreas Jaeger <aj@suse.de>
21693
21694 * po/eo.po: Update from translation team.
21695
82477c28
JM
216962012-11-06 Joseph Myers <joseph@codesourcery.com>
21697
21698 [BZ #14793]
21699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21700 exponent and small x and y exponents, scale x or y up. Increase
21701 by 2 the exponent used in scaling up.
21702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21704 * math/libm-test.inc (fma_test): Add more tests.
21705 (fma_test_towardzero): Likewise.
21706 (fma_test_downward): Likewise.
21707 (fma_test_upward): Likewise.
21708
99252c8c
JM
217092012-11-05 Joseph Myers <joseph@codesourcery.com>
21710
acfa885f
JM
21711 [BZ #14805]
21712 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21713 fenv_t *.
21714
99252c8c
JM
21715 [BZ #14801]
21716 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21717 namespace for names of struct fields.
21718 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21719 fenv_t fields.
21720 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21721 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21722
d6d98dea
ST
217232012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21724
21725 [BZ #3665]
21726 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21727
e10bb107
TS
217282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21729
21730 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21731 PTR_DEMANGLE.
21732
21733 [BZ #5246]
21734 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21735 PTR_DEMANGLE.
21736
a0c2940d
JM
217372012-11-04 Joseph Myers <joseph@codesourcery.com>
21738
21739 [BZ #14797]
21740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21741 definitely overflow as x * y not x * y + z.
21742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21744 * math/libm-test.inc (fma_test): Add more tests.
21745 (fma_test_towardzero): Likewise.
21746 (fma_test_downward): Likewise.
21747 (fma_test_upward): Likewise.
21748
b830319d
TS
217492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21750
21751 [BZ #157]
21752
21753 * include/stub-tag.h: Remove file.
21754 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21755 '#include' of it.
21756 * manual/maint.texi (Porting): Don't reference it.
21757 * Makerules ($(objpfx)stubs): Likewise.
21758 * dirent/closedir.c: Don't include <stub-tag.h>.
21759 * dirent/dirfd.c: Likewise.
21760 * dirent/fdopendir.c: Likewise.
21761 * dirent/getdents.c: Likewise.
21762 * dirent/getdents64.c: Likewise.
21763 * dirent/opendir.c: Likewise.
21764 * dirent/readdir.c: Likewise.
21765 * dirent/readdir64.c: Likewise.
21766 * dirent/readdir64_r.c: Likewise.
21767 * dirent/readdir_r.c: Likewise.
21768 * dirent/rewinddir.c: Likewise.
21769 * dirent/seekdir.c: Likewise.
21770 * dirent/telldir.c: Likewise.
21771 * gmon/profil.c: Likewise.
21772 * grp/setgroups.c: Likewise.
21773 * inet/if_index.c: Likewise.
21774 * io/access.c: Likewise.
21775 * io/chdir.c: Likewise.
21776 * io/chmod.c: Likewise.
21777 * io/chown.c: Likewise.
21778 * io/close.c: Likewise.
21779 * io/dup.c: Likewise.
21780 * io/dup2.c: Likewise.
21781 * io/dup3.c: Likewise.
21782 * io/euidaccess.c: Likewise.
21783 * io/faccessat.c: Likewise.
21784 * io/fchdir.c: Likewise.
21785 * io/fchmod.c: Likewise.
21786 * io/fchmodat.c: Likewise.
21787 * io/fchown.c: Likewise.
21788 * io/fchownat.c: Likewise.
21789 * io/fcntl.c: Likewise.
21790 * io/flock.c: Likewise.
21791 * io/fstatfs.c: Likewise.
21792 * io/fstatfs64.c: Likewise.
21793 * io/fstatvfs.c: Likewise.
21794 * io/fstatvfs64.c: Likewise.
21795 * io/futimens.c: Likewise.
21796 * io/fxstat.c: Likewise.
21797 * io/fxstat64.c: Likewise.
21798 * io/fxstatat.c: Likewise.
21799 * io/fxstatat64.c: Likewise.
21800 * io/getcwd.c: Likewise.
21801 * io/isatty.c: Likewise.
21802 * io/lchmod.c: Likewise.
21803 * io/lchown.c: Likewise.
21804 * io/link.c: Likewise.
21805 * io/linkat.c: Likewise.
21806 * io/lseek.c: Likewise.
21807 * io/lseek64.c: Likewise.
21808 * io/lxstat64.c: Likewise.
21809 * io/mkdir.c: Likewise.
21810 * io/mkdirat.c: Likewise.
21811 * io/mkfifo.c: Likewise.
21812 * io/mkfifoat.c: Likewise.
21813 * io/open.c: Likewise.
21814 * io/open64.c: Likewise.
21815 * io/openat.c: Likewise.
21816 * io/openat64.c: Likewise.
21817 * io/pipe.c: Likewise.
21818 * io/pipe2.c: Likewise.
21819 * io/poll.c: Likewise.
21820 * io/posix_fadvise.c: Likewise.
21821 * io/posix_fadvise64.c: Likewise.
21822 * io/posix_fallocate.c: Likewise.
21823 * io/posix_fallocate64.c: Likewise.
21824 * io/read.c: Likewise.
21825 * io/readlink.c: Likewise.
21826 * io/readlinkat.c: Likewise.
21827 * io/rmdir.c: Likewise.
21828 * io/sendfile.c: Likewise.
21829 * io/sendfile64.c: Likewise.
21830 * io/statfs.c: Likewise.
21831 * io/statfs64.c: Likewise.
21832 * io/statvfs.c: Likewise.
21833 * io/statvfs64.c: Likewise.
21834 * io/symlink.c: Likewise.
21835 * io/symlinkat.c: Likewise.
21836 * io/ttyname.c: Likewise.
21837 * io/ttyname_r.c: Likewise.
21838 * io/umask.c: Likewise.
21839 * io/unlink.c: Likewise.
21840 * io/unlinkat.c: Likewise.
21841 * io/utime.c: Likewise.
21842 * io/utimensat.c: Likewise.
21843 * io/write.c: Likewise.
21844 * io/xmknod.c: Likewise.
21845 * io/xmknodat.c: Likewise.
21846 * io/xstat.c: Likewise.
21847 * io/xstat64.c: Likewise.
21848 * login/getpt.c: Likewise.
21849 * login/grantpt.c: Likewise.
21850 * login/unlockpt.c: Likewise.
21851 * math/e_acoshl.c: Likewise.
21852 * math/e_acosl.c: Likewise.
21853 * math/e_asinl.c: Likewise.
21854 * math/e_atan2l.c: Likewise.
21855 * math/e_atanhl.c: Likewise.
21856 * math/e_coshl.c: Likewise.
21857 * math/e_expl.c: Likewise.
21858 * math/e_fmodl.c: Likewise.
21859 * math/e_gammal_r.c: Likewise.
21860 * math/e_hypotl.c: Likewise.
21861 * math/e_j0l.c: Likewise.
21862 * math/e_j1l.c: Likewise.
21863 * math/e_jnl.c: Likewise.
21864 * math/e_lgammal_r.c: Likewise.
21865 * math/e_log10l.c: Likewise.
21866 * math/e_log2l.c: Likewise.
21867 * math/e_logl.c: Likewise.
21868 * math/e_powl.c: Likewise.
21869 * math/e_rem_pio2l.c: Likewise.
21870 * math/e_sinhl.c: Likewise.
21871 * math/e_sqrtl.c: Likewise.
21872 * math/fclrexcpt.c: Likewise.
21873 * math/fedisblxcpt.c: Likewise.
21874 * math/feenablxcpt.c: Likewise.
21875 * math/fegetenv.c: Likewise.
21876 * math/fegetexcept.c: Likewise.
21877 * math/fegetround.c: Likewise.
21878 * math/feholdexcpt.c: Likewise.
21879 * math/fesetenv.c: Likewise.
21880 * math/fesetround.c: Likewise.
21881 * math/feupdateenv.c: Likewise.
21882 * math/fgetexcptflg.c: Likewise.
21883 * math/fraiseexcpt.c: Likewise.
21884 * math/fsetexcptflg.c: Likewise.
21885 * math/ftestexcept.c: Likewise.
21886 * math/k_cosl.c: Likewise.
21887 * math/k_rem_pio2l.c: Likewise.
21888 * math/k_sinl.c: Likewise.
21889 * math/k_tanl.c: Likewise.
21890 * math/s_asinhl.c: Likewise.
21891 * math/s_atanl.c: Likewise.
21892 * math/s_cbrtl.c: Likewise.
21893 * math/s_erfl.c: Likewise.
21894 * math/s_expm1l.c: Likewise.
21895 * math/s_log1pl.c: Likewise.
21896 * math/s_tanhl.c: Likewise.
21897 * misc/acct.c: Likewise.
21898 * misc/brk.c: Likewise.
21899 * misc/chflags.c: Likewise.
21900 * misc/chroot.c: Likewise.
21901 * misc/fchflags.c: Likewise.
21902 * misc/fgetxattr.c: Likewise.
21903 * misc/flistxattr.c: Likewise.
21904 * misc/fremovexattr.c: Likewise.
21905 * misc/fsetxattr.c: Likewise.
21906 * misc/fsync.c: Likewise.
21907 * misc/ftruncate.c: Likewise.
21908 * misc/futimes.c: Likewise.
21909 * misc/futimesat.c: Likewise.
21910 * misc/getdomain.c: Likewise.
21911 * misc/getdtsz.c: Likewise.
21912 * misc/gethostid.c: Likewise.
21913 * misc/gethostname.c: Likewise.
21914 * misc/getloadavg.c: Likewise.
21915 * misc/getpagesize.c: Likewise.
21916 * misc/getsysstats.c: Likewise.
21917 * misc/getxattr.c: Likewise.
21918 * misc/gtty.c: Likewise.
21919 * misc/ioctl.c: Likewise.
21920 * misc/lgetxattr.c: Likewise.
21921 * misc/listxattr.c: Likewise.
21922 * misc/llistxattr.c: Likewise.
21923 * misc/lremovexattr.c: Likewise.
21924 * misc/lsetxattr.c: Likewise.
21925 * misc/lutimes.c: Likewise.
21926 * misc/madvise.c: Likewise.
21927 * misc/mincore.c: Likewise.
21928 * misc/mlock.c: Likewise.
21929 * misc/mlockall.c: Likewise.
21930 * misc/mmap.c: Likewise.
21931 * misc/mprotect.c: Likewise.
21932 * misc/msync.c: Likewise.
21933 * misc/munlock.c: Likewise.
21934 * misc/munlockall.c: Likewise.
21935 * misc/munmap.c: Likewise.
21936 * misc/preadv.c: Likewise.
21937 * misc/preadv64.c: Likewise.
21938 * misc/ptrace.c: Likewise.
21939 * misc/pwritev.c: Likewise.
21940 * misc/pwritev64.c: Likewise.
21941 * misc/readv.c: Likewise.
21942 * misc/reboot.c: Likewise.
21943 * misc/remap_file_pages.c: Likewise.
21944 * misc/removexattr.c: Likewise.
21945 * misc/revoke.c: Likewise.
21946 * misc/select.c: Likewise.
21947 * misc/setdomain.c: Likewise.
21948 * misc/setegid.c: Likewise.
21949 * misc/seteuid.c: Likewise.
21950 * misc/sethostid.c: Likewise.
21951 * misc/sethostname.c: Likewise.
21952 * misc/setregid.c: Likewise.
21953 * misc/setreuid.c: Likewise.
21954 * misc/setxattr.c: Likewise.
21955 * misc/sstk.c: Likewise.
21956 * misc/stty.c: Likewise.
21957 * misc/swapoff.c: Likewise.
21958 * misc/swapon.c: Likewise.
21959 * misc/sync.c: Likewise.
21960 * misc/syncfs.c: Likewise.
21961 * misc/syscall.c: Likewise.
21962 * misc/truncate.c: Likewise.
21963 * misc/ualarm.c: Likewise.
21964 * misc/usleep.c: Likewise.
21965 * misc/ustat.c: Likewise.
21966 * misc/utimes.c: Likewise.
21967 * misc/vhangup.c: Likewise.
21968 * misc/writev.c: Likewise.
21969 * posix/_exit.c: Likewise.
21970 * posix/alarm.c: Likewise.
21971 * posix/execve.c: Likewise.
21972 * posix/fexecve.c: Likewise.
21973 * posix/fork.c: Likewise.
21974 * posix/fpathconf.c: Likewise.
21975 * posix/getaddrinfo.c: Likewise.
21976 * posix/getegid.c: Likewise.
21977 * posix/geteuid.c: Likewise.
21978 * posix/getgid.c: Likewise.
21979 * posix/getgroups.c: Likewise.
21980 * posix/getlogin.c: Likewise.
21981 * posix/getlogin_r.c: Likewise.
21982 * posix/getpgid.c: Likewise.
21983 * posix/getpid.c: Likewise.
21984 * posix/getppid.c: Likewise.
21985 * posix/getresgid.c: Likewise.
21986 * posix/getresuid.c: Likewise.
21987 * posix/getsid.c: Likewise.
21988 * posix/getuid.c: Likewise.
21989 * posix/glob64.c: Likewise.
21990 * posix/nanosleep.c: Likewise.
21991 * posix/pathconf.c: Likewise.
21992 * posix/pause.c: Likewise.
21993 * posix/posix_madvise.c: Likewise.
21994 * posix/pread.c: Likewise.
21995 * posix/pread64.c: Likewise.
21996 * posix/pwrite.c: Likewise.
21997 * posix/pwrite64.c: Likewise.
21998 * posix/sched_getaffinity.c: Likewise.
21999 * posix/sched_getp.c: Likewise.
22000 * posix/sched_gets.c: Likewise.
22001 * posix/sched_primax.c: Likewise.
22002 * posix/sched_primin.c: Likewise.
22003 * posix/sched_rr_gi.c: Likewise.
22004 * posix/sched_setaffinity.c: Likewise.
22005 * posix/sched_setp.c: Likewise.
22006 * posix/sched_sets.c: Likewise.
22007 * posix/sched_yield.c: Likewise.
22008 * posix/setgid.c: Likewise.
22009 * posix/setlogin.c: Likewise.
22010 * posix/setpgid.c: Likewise.
22011 * posix/setresgid.c: Likewise.
22012 * posix/setresuid.c: Likewise.
22013 * posix/setsid.c: Likewise.
22014 * posix/setuid.c: Likewise.
22015 * posix/sleep.c: Likewise.
22016 * posix/spawni.c: Likewise.
22017 * posix/sysconf.c: Likewise.
22018 * posix/times.c: Likewise.
22019 * posix/wait.c: Likewise.
22020 * posix/wait3.c: Likewise.
22021 * posix/wait4.c: Likewise.
22022 * posix/waitpid.c: Likewise.
22023 * resolv/gai_sigqueue.c: Likewise.
22024 * resource/getpriority.c: Likewise.
22025 * resource/getrlimit.c: Likewise.
22026 * resource/getrusage.c: Likewise.
22027 * resource/nice.c: Likewise.
22028 * resource/setpriority.c: Likewise.
22029 * resource/setrlimit.c: Likewise.
22030 * resource/ulimit.c: Likewise.
22031 * rt/aio_cancel.c: Likewise.
22032 * rt/aio_fsync.c: Likewise.
22033 * rt/aio_read.c: Likewise.
22034 * rt/aio_sigqueue.c: Likewise.
22035 * rt/aio_suspend.c: Likewise.
22036 * rt/aio_write.c: Likewise.
22037 * rt/clock_getres.c: Likewise.
22038 * rt/clock_gettime.c: Likewise.
22039 * rt/clock_nanosleep.c: Likewise.
22040 * rt/clock_settime.c: Likewise.
22041 * rt/lio_listio.c: Likewise.
22042 * rt/mq_close.c: Likewise.
22043 * rt/mq_getattr.c: Likewise.
22044 * rt/mq_notify.c: Likewise.
22045 * rt/mq_open.c: Likewise.
22046 * rt/mq_receive.c: Likewise.
22047 * rt/mq_send.c: Likewise.
22048 * rt/mq_setattr.c: Likewise.
22049 * rt/mq_timedreceive.c: Likewise.
22050 * rt/mq_timedsend.c: Likewise.
22051 * rt/mq_unlink.c: Likewise.
22052 * rt/shm_open.c: Likewise.
22053 * rt/shm_unlink.c: Likewise.
22054 * rt/timer_create.c: Likewise.
22055 * rt/timer_delete.c: Likewise.
22056 * rt/timer_getoverr.c: Likewise.
22057 * rt/timer_gettime.c: Likewise.
22058 * rt/timer_settime.c: Likewise.
22059 * setjmp/__longjmp.c: Likewise.
22060 * setjmp/setjmp.c: Likewise.
22061 * signal/kill.c: Likewise.
22062 * signal/killpg.c: Likewise.
22063 * signal/raise.c: Likewise.
22064 * signal/sigaction.c: Likewise.
22065 * signal/sigaltstack.c: Likewise.
22066 * signal/sigblock.c: Likewise.
22067 * signal/sigignore.c: Likewise.
22068 * signal/sigintr.c: Likewise.
22069 * signal/signal.c: Likewise.
22070 * signal/sigpause.c: Likewise.
22071 * signal/sigpending.c: Likewise.
22072 * signal/sigqueue.c: Likewise.
22073 * signal/sigreturn.c: Likewise.
22074 * signal/sigset.c: Likewise.
22075 * signal/sigsetmask.c: Likewise.
22076 * signal/sigstack.c: Likewise.
22077 * signal/sigsuspend.c: Likewise.
22078 * signal/sigtimedwait.c: Likewise.
22079 * signal/sigvec.c: Likewise.
22080 * signal/sigwait.c: Likewise.
22081 * signal/sigwaitinfo.c: Likewise.
22082 * signal/sysv_signal.c: Likewise.
22083 * socket/accept.c: Likewise.
22084 * socket/accept4.c: Likewise.
22085 * socket/bind.c: Likewise.
22086 * socket/connect.c: Likewise.
22087 * socket/getpeername.c: Likewise.
22088 * socket/getsockname.c: Likewise.
22089 * socket/getsockopt.c: Likewise.
22090 * socket/isfdtype.c: Likewise.
22091 * socket/listen.c: Likewise.
22092 * socket/recv.c: Likewise.
22093 * socket/recvfrom.c: Likewise.
22094 * socket/recvmsg.c: Likewise.
22095 * socket/send.c: Likewise.
22096 * socket/sendmsg.c: Likewise.
22097 * socket/sendto.c: Likewise.
22098 * socket/setsockopt.c: Likewise.
22099 * socket/shutdown.c: Likewise.
22100 * socket/sockatmark.c: Likewise.
22101 * socket/socket.c: Likewise.
22102 * socket/socketpair.c: Likewise.
22103 * stdio-common/ctermid.c: Likewise.
22104 * stdio-common/cuserid.c: Likewise.
22105 * stdio-common/remove.c: Likewise.
22106 * stdio-common/rename.c: Likewise.
22107 * stdio-common/renameat.c: Likewise.
22108 * stdio-common/tempname.c: Likewise.
22109 * stdlib/getcontext.c: Likewise.
22110 * stdlib/makecontext.c: Likewise.
22111 * stdlib/setcontext.c: Likewise.
22112 * stdlib/swapcontext.c: Likewise.
22113 * stdlib/system.c: Likewise.
22114 * streams/fattach.c: Likewise.
22115 * streams/fdetach.c: Likewise.
22116 * streams/getmsg.c: Likewise.
22117 * streams/getpmsg.c: Likewise.
22118 * streams/putmsg.c: Likewise.
22119 * streams/putpmsg.c: Likewise.
22120 * sysdeps/unix/bsd/getpt.c: Likewise.
22121 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22122 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22123 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22125 Likewise.
22126 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22127 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22128 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22129 * sysvipc/msgctl.c: Likewise.
22130 * sysvipc/msgget.c: Likewise.
22131 * sysvipc/msgrcv.c: Likewise.
22132 * sysvipc/msgsnd.c: Likewise.
22133 * sysvipc/semctl.c: Likewise.
22134 * sysvipc/semget.c: Likewise.
22135 * sysvipc/semop.c: Likewise.
22136 * sysvipc/semtimedop.c: Likewise.
22137 * sysvipc/shmat.c: Likewise.
22138 * sysvipc/shmctl.c: Likewise.
22139 * sysvipc/shmdt.c: Likewise.
22140 * sysvipc/shmget.c: Likewise.
22141 * termios/tcdrain.c: Likewise.
22142 * termios/tcflow.c: Likewise.
22143 * termios/tcflush.c: Likewise.
22144 * termios/tcgetattr.c: Likewise.
22145 * termios/tcgetpgrp.c: Likewise.
22146 * termios/tcsendbrk.c: Likewise.
22147 * termios/tcsetattr.c: Likewise.
22148 * termios/tcsetpgrp.c: Likewise.
22149 * time/adjtime.c: Likewise.
22150 * time/clock.c: Likewise.
22151 * time/getitimer.c: Likewise.
22152 * time/gettimeofday.c: Likewise.
22153 * time/setitimer.c: Likewise.
22154 * time/settimeofday.c: Likewise.
22155 * time/stime.c: Likewise.
22156 * time/time.c: Likewise.
22157
221582012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22159
a20492cf
PT
22160 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22161 /usr/old/bin.
22162
72e182e3
PT
22163 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22164 instead of spaces.
22165 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22166
fbeafede
JM
221672012-11-03 Joseph Myers <joseph@codesourcery.com>
22168
5b5b04d6
JM
22169 [BZ #14796]
22170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22171 FE_TONEAREST before applying Dekker multiplication and Knuth
22172 addition. Clear inexact exceptions and check for exact zero
22173 results afterwards.
22174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22175 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22177 * math/libm-test.inc (fma_test): Add more tests.
22178 (fma_test_towardzero): Likewise.
22179 (fma_test_downward): Likewise.
22180 (fma_test_upward): Likewise.
22181 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22182 function.
22183 (libc_fesetround): New macro.
22184 (libc_fesetroundf): Likewise.
22185 (libc_fesetroundl): Likewise.
22186 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22187 function.
22188 (libc_fesetround_387): Likewise.
22189 (libc_fesetroundf): New macro.
22190 (libc_fesetround): Likewise.
22191 (libc_fesetroundl): Likewise.
22192 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22193 function.
22194 (libc_fesetroundf): New macro.
22195 (libc_fesetround): Likewise.
22196 (libc_fesetroundl): Likewise.
22197 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22198 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22199 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22200 libm_hidden_ver.
22201 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22202 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22203 libm_hidden_def.
22204 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22205 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22206 libm_hidden_ver.
22207 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22208 libm_hidden_def.
22209
fbeafede
JM
22210 [BZ #3439]
22211 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22212 integer constant usable in #if and use that to give value to enum
22213 constant.
22214 (FE_DIVBYZERO): Likewise.
22215 (FE_UNDERFLOW): Likewise.
22216 (FE_OVERFLOW): Likewise.
22217 (FE_INVALID): Likewise.
22218 (FE_INVALID_SNAN): Likewise.
22219 (FE_INVALID_ISI): Likewise.
22220 (FE_INVALID_IDI): Likewise.
22221 (FE_INVALID_ZDZ): Likewise.
22222 (FE_INVALID_IMZ): Likewise.
22223 (FE_INVALID_COMPARE): Likewise.
22224 (FE_INVALID_SOFTWARE): Likewise.
22225 (FE_INVALID_SQRT): Likewise.
22226 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22227 (FE_TONEAREST): Likewise.
22228 (FE_TOWARDZERO): Likewise.
22229 (FE_UPWARD): Likewise.
22230 (FE_DOWNWARD): Likewise.
22231 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22232 (FE_DIVBYZERO): Likewise.
22233 (FE_OVERFLOW): Likewise.
22234 (FE_UNDERFLOW): Likewise.
22235 (FE_INEXACT): Likewise.
22236 (FE_TONEAREST): Likewise.
22237 (FE_DOWNWARD): Likewise.
22238 (FE_UPWARD): Likewise.
22239 (FE_TOWARDZERO): Likewise.
22240 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22241 (FE_UNDERFLOW): Likewise.
22242 (FE_OVERFLOW): Likewise.
22243 (FE_DIVBYZERO): Likewise.
22244 (FE_INVALID): Likewise.
22245 (FE_TONEAREST): Likewise.
22246 (FE_TOWARDZERO): Likewise.
22247 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22248 (FE_OVERFLOW): Likewise.
22249 (FE_UNDERFLOW): Likewise.
22250 (FE_DIVBYZERO): Likewise.
22251 (FE_INEXACT): Likewise.
22252 (FE_TONEAREST): Likewise.
22253 (FE_TOWARDZERO): Likewise.
22254 (FE_UPWARD): Likewise.
22255 (FE_DOWNWARD): Likewise.
22256 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22257 (FE_DIVBYZERO): Likewise.
22258 (FE_OVERFLOW): Likewise.
22259 (FE_UNDERFLOW): Likewise.
22260 (FE_INEXACT): Likewise.
22261 (FE_TONEAREST): Likewise.
22262 (FE_DOWNWARD): Likewise.
22263 (FE_UPWARD): Likewise.
22264 (FE_TOWARDZERO): Likewise.
22265
105ca950
CM
222662012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22267
22268 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22269
a542b389
AS
222702012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22271
22272 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22273 commands. Quote $PWD.
22274 (blacklist_exports): Don't use remove_newlines. Replace "declare
22275 -x" by "export".
22276 (remove_newlines): Remove.
22277
f62c8abc
L
222782012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22279
22280 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22281 * stdlib/stdlib.h (atof): Moved to ...
22282 * include/bits/stdlib-float.h: Here. New file.
22283 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22284 * stdlib/bits/stdlib-float.h: New file.
22285 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22286 -mno-sse -mno-mmx.
22287 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22288 <xmmintrin.h>.
22289
0155d5b2
JM
222902012-11-02 Joseph Myers <joseph@codesourcery.com>
22291
a68d0680
JM
22292 * conform/conformtest.pl (@headers): Add fenv.h.
22293 * conform/data/fenv.h-data: New file.
22294 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22295 include of <math/fenv.h>.
22296
caf7f573
JM
22297 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22298 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22299 && !UNIX98]. Enables tests for XOPEN2K8.
22300 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22301 POSIX2008]: Likewise.
22302
6c073ad6
JM
22303 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22304 (struct rusage): Do not expect type or its members.
22305
0155d5b2
JM
22306 [BZ #3439]
22307 * math/math.h (FP_NAN): Define macro to integer constant usable in
22308 #if and use that to give value to enum constant.
22309 (FP_INFINITE): Likewise.
22310 (FP_ZERO): Likewise.
22311 (FP_SUBNORMAL): Likewise.
22312 (FP_NORMAL): Likewise.
22313
b5dcacb4
AS
223142012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22315
22316 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22317 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22318 arguments.
22319
f7934be8
RM
223202012-11-02 Roland McGrath <roland@hack.frob.com>
22321
22322 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22323 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22324 autoconf-time if not.
22325 * configure.in: Remove AC_PREREQ.
22326
d7d08bde
TMQMF
223272012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22328
22329 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22330 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22331 of the internal implementation.
22332
dcdae19a
JM
223332012-11-02 Joseph Myers <joseph@codesourcery.com>
22334
22335 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22336 except include of <misc/sys/syslog.h>.
22337
d6cffd3e
AS
223382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22339
22340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22341 function returns with a NULL context exit with zero.
22342
b3563932
TMQMF
223432012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22344
22345 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22346
b288a93d
L
223472012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22348
22349 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22350 (run_program_cmd): This.
22351 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22352 (tst_langinfo): New variable. Use it.
22353
a2421a68
SAS
223542012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22355
22356 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22357 floating point opcodes.
22358
6f796e1b
TS
223592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22360
7402596b
TS
22361 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22362 variable.
22363
d0d4f868
TS
22364 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22365
6f796e1b
TS
22366 * sysdeps/mach/hurd/powerpc: Remove directory.
22367 * sysdeps/mach/powerpc: Likewise.
22368
4da224a2
AS
223692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22370
22371 * scripts/check-local-headers.sh: Ignore c++ headers.
22372
341dd673
TS
223732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22374
22375 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22376 __libc_cleanup_region_start argument.
22377
473611b2
JM
223782012-11-01 Joseph Myers <joseph@codesourcery.com>
22379
22380 [BZ #14784]
22381 [BZ #14785]
22382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22383 x * y using scaling, not as x * y + z.
22384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22386 * math/libm-test.inc (fma_test): Add more tests.
22387 (fma_test_towardzero): Likewise.
22388 (fma_test_downward): Likewise.
22389 (fma_test_upward): Likewise.
22390
4078da3d
TS
223912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22392
22393 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22394
903252aa
JM
223952012-10-31 Joseph Myers <joseph@codesourcery.com>
22396
22397 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22398 New variable.
22399
cbc818d0
TS
224002012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22401
22402 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22403
5a03cb1e
AS
224042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22405
22406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22407 Fix sort order.
22408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22409 Likewise.
22410
90aff2ff
TMQMF
224112012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22412
22413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22414 Fix the order of the list for glibc 2.17.
22415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22416 Likewise.
22417
1818fcb7
AS
224182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22419
22420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22421
ef82f4da
JM
224222012-10-31 Joseph Myers <joseph@codesourcery.com>
22423
16a0e2ec
JM
22424 [BZ #14610]
22425 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22426 for low part of x being zero before using __atanl (y).
22427 * math/libm-test.inc (atan2_test): Add another test.
22428
0eb69512
JM
22429 * manual/install.texi (Configuring and compiling): Document
22430 general use of test-wrapper and test-wrapper-env.
22431 * INSTALL: Regenerated.
22432
ef82f4da
JM
22433 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22434 (__fma): Do not extract and scale down low bits on after-rounding
22435 systems when result rounded to normal precision would have normal
22436 exponent.
22437 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22438 (__fmal): Do not extract and scale down low bits on after-rounding
22439 systems when result rounded to normal precision would have normal
22440 exponent.
22441 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22442 (__fmal): Do not extract and scale down low bits on after-rounding
22443 systems when result rounded to normal precision would have normal
22444 exponent.
22445 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22446 macro.
22447 (fma_test): Add more tests.
22448 (fma_test_towardzero): Likewise.
22449 (fma_test_downward): Likewise.
22450 (fma_test_upward): Likewise.
22451
954ef0d9
L
224522012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22453
22454 * sysdeps/i386/tininess.h: Renamed to ...
22455 * sysdeps/x86/tininess.h: This.
22456 * sysdeps/x86_64/tininess.h: Removed.
22457
df61ffb2
JM
224582012-10-30 Joseph Myers <joseph@codesourcery.com>
22459
22460 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22461 input. Use $(build-program-cmd).
22462 ($(objpfx)tst-array1-static.out): Likewise.
22463 ($(objpfx)tst-array2.out): Likewise.
22464 ($(objpfx)tst-array3.out): Likewise.
22465 ($(objpfx)tst-array4.out): Likewise.
22466 ($(objpfx)tst-array5.out): Likewise.
22467 ($(objpfx)tst-array5-static.out): Likewise.
22468
01767843
CM
224692012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22470
47cc1490
CM
22471 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22472 if defined.
22473
01767843
CM
22474 * nss/nsswitch.h (nss_interface_function): Provide new
22475 macro for use with NSS functions.
22476 * grp/initgroups.c: Use new macro.
22477 * nss/getXXbyYY.c: Likewise.
22478 * nss/getXXbyYY_r.c: Likewise.
22479 * nss/getXXent.c: Likewise.
22480 * nss/getXXent_r.c: Likewise.
22481 * sysdeps/posix/getaddrinfo.c: Likewise.
22482
8321aa97
AJ
224832012-10-30 Andreas Jaeger <aj@suse.de>
22484
22485 * po/ru.po: Update Russion translation from translation project.
22486
2a27fd6d
JM
224872012-10-30 Joseph Myers <joseph@codesourcery.com>
22488
8627a232
JM
22489 [BZ #14152]
22490 [BZ #14783]
22491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22492 result and shift together with sticky bit instead of replicating
22493 round-to-nearest rounding.
22494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22496 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22497 missing underflow exceptions.
22498 (fma_test_towardzero): Add more tests.
22499 (fma_test_downward): Likewise.
22500 (fma_test_upward): Likewise.
22501
2a27fd6d
JM
22502 [BZ #14047]
22503 * sysdeps/generic/tininess.h: New file.
22504 * sysdeps/i386/tininess.h: Likewise.
22505 * sysdeps/sh/tininess.h: Likewise.
22506 * sysdeps/x86_64/tininess.h: Likewise.
22507 * stdlib/tst-strtod-underflow.c: Likewise.
22508 * stdlib/tst-tininess.c: Likewise.
22509 * stdlib/strtod_l.c: Include <tininess.h>.
22510 (round_and_return): Do not set errno for exact underflow cases.
22511 Force an underflow exception when setting errno for underflow.
22512 Determine underflow based on rounding to normal precision if
22513 TININESS_AFTER_ROUNDING.
22514 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22515 ERANGE for exact underflow cases.
22516 * stdlib/Makefile (tests): Add tst-tininess and
22517 tst-strtod-underflow.
22518 ($(objpfx)tst-tininess): Use $(link-libm).
22519 ($(objpfx)tst-strtod-underflow): Likewise.
22520
e7170363
AJ
225212012-10-30 Andreas Jaeger <aj@suse.de>
22522
e5088dc6
AJ
22523 [BZ#14767]
22524 * elf/Makefile (tests): Remove conditional for have-initfini-array
22525 since this is now always required and the variable does not exist
22526 anymore.
22527 (tests-static): Likewise.
22528 (modules-names): Likewise.
22529
e7170363 22530 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22531
22532 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22533 merged with constructor/destructor.
22534 (init_array): Likewise.
22535 * elf/tst-array2dep.c (fini_array): Likewise.
22536 (init_array): Likewise.
22537
60457d8a
MF
225382012-10-29 Mike Frysinger <vapier@gentoo.org>
22539
22540 * manual/message.texi: Delete @cartouche tags.
22541
8bece752
PT
225422012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22543
94ce799f
PT
22544 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22545 EOPNOTSUPP.
22546 * sysdeps/mach/hurd/fsync.c: Likewise.
22547
8bece752
PT
22548 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22549 [_POSIX_REALTIME_SIGNALS]: Change condition to
22550 [_POSIX_REALTIME_SIGNALS > 0].
22551
86ebe6b1
AJ
225522012-10-27 Andreas Jaeger <aj@suse.de>
22553
22554 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22555 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22557 [__WORDSIZE != 64]: Likewise.
22558
54399c08
L
225592012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22560
22561 * iconvdata/tst-table.sh: Remove ${SHELL}.
22562 * iconvdata/tst-tables.sh: Likewise.
22563
e2211bed
DM
225642012-10-25 David S. Miller <davem@davemloft.net>
22565
22566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22567 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22568 of strtoull.
22569
f303f97c
DM
22570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22571 ifunc-impl-list.c
22572 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22573 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22574 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22575 file.
22576
1e9d84cd
RM
225772012-10-25 Roland McGrath <roland@hack.frob.com>
22578
22579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22580 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22581 __getdirentries.
22582
df381762
JM
225832012-10-25 Joseph Myers <joseph@codesourcery.com>
22584 Jim Blandy <jimb@codesourcery.com>
22585
22586 * scripts/cross-test-ssh.sh: New file.
22587 * manual/install.texi (Configuring and compiling): Document use of
22588 cross-test-ssh.sh.
22589 * INSTALL: Regenerated.
22590
bff64913
PT
225912012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22592
22593 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22594 EOPNOTSUPP.
22595
25fe8932
JM
225962012-10-25 Joseph Myers <joseph@codesourcery.com>
22597
22598 * Makeconfig (run-program-prefix): Fix comment.
22599
cc1290d0
JM
226002012-10-24 Joseph Myers <joseph@codesourcery.com>
22601 Jim Blandy <jimb@codesourcery.com>
22602
22603 * Makeconfig (test-wrapper): New variable,
22604 (test-wrapper-env): Likewise.
22605 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22606 (run-built-tests): Define to yes.
22607 (run-program-prefix): Use $(test-wrapper).
22608 (built-program-cmd): Likewise.
22609 * Rules (make-test-out): Use $(test-wrapper-env) and
22610 $(host-built-program-cmd).
22611 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22612 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22613 tst-pathopt.sh.
22614 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22615 $(test-wrapper-env) to tst-rtld-load-self.sh.
22616 ($(objpfx)order2.out): Use $(test-wrapper).
22617 ($(objpfx)tst-initorder.out): Likewise.
22618 ($(objpfx)tst-initorder2.out): Likewise.
22619 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22620 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22621 (test_wrapper_env): New variable. Use it to run ld.so.
22622 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22623 Use it to run ld.so.
22624 (test_wrapper_env): Likewise.
22625 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22626 $(test-wrapper) to run-iconv-test.sh.
22627 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22628 (ICONV): Use $test_wrapper.
22629 * posix/Makefile ($(objpfx)globtest.out): Pass
22630 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22631 globtest.sh, not $(run-program-prefix).
22632 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22633 (test_wrapper): Likewise.
22634 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22635 set together with run_via_rtld_prefix.
22636 (run_program_prefix): Define in terms of test_wrapper and
22637 run_via_rtld_prefix.
22638
6e6249d0
RM
226392012-10-24 Roland McGrath <roland@hack.frob.com>
22640
22641 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22642 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22643 Targets removed.
22644
22645 [BZ #14743]
22646 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22647 Declare __clock_getres, __clock_gettime, __clock_settime,
22648 __clock_nanosleep, and __clock_getcpuclockid.
22649 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22650 Remove librt_hidden_def (clock_gettime).
22651 * sysdeps/unix/clock_gettime.c: Likewise.
22652 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22653 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22654 * rt/clock_getres.c: Define __clock_getres as an alias.
22655 * sysdeps/posix/clock_getres.c: Likewise.
22656 * rt/clock_settime.c: Define __clock_settime as an alias.
22657 * sysdeps/unix/clock_settime.c: Likewise.
22658 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22659 * sysdeps/unix/clock_nanosleep.c: Likewise.
22660 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22661 * rt/clock-compat.c: New file.
22662 * rt/Makefile (librt-routines): Add clock-compat and move
22663 $(clock-routines) to ...
22664 (routines): ... here, new variable.
22665 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22666 Don't add get_clockfreq here.
22667 * rt/Versions (libc: GLIBC_2.17): New version set.
22668 Add clock_* symbols here.
22669 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22671 (GLIBC_2.17): Add clock_* symbols.
22672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22676 Likewise.
22677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22678 Likewise.
22679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22683 * NEWS: Mention the move.
22684
22685 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22686 Use __open, __read, __close rather than their public counterparts.
22687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22688 (__get_clockfreq_via_cpuinfo): Likewise.
22689 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22690 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22691
22692 * config.h.in (HAVE_IFUNC): New #undef.
22693 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22694 was successful.
22695 * configure: Regenerated.
22696
0cae3f4b
MF
226972012-10-24 Mike Frysinger <vapier@gentoo.org>
22698
22699 * configure.in: Move READELF check to start of file.
22700 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22701 libc_cv_asm_gnu_indirect_function in the process.
22702 * configure: Regenerated.
22703
8175a253
MF
227042012-10-24 Mike Frysinger <vapier@gentoo.org>
22705
22706 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22707 send the output to /dev/null.
22708 (libc_cv_cc_with_libunwind): Likewise.
22709 (libc_cv_as_noexecstack): Likewise.
22710 * configure: Regenerate.
22711
0708a7d1
JM
227122012-10-24 Joseph Myers <joseph@codesourcery.com>
22713
10b40d85
JM
22714 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22715
0708a7d1
JM
22716 * posix/globtest.sh (TMPDIR): Do not set.
22717 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22718 (testout): Likewise.
22719
9fddec1a
AJ
227202012-10-24 Andreas Jaeger <aj@suse.de>
22721
3a8db22f
AJ
22722 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22723 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22724 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22725 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22726 posix_fadvise64, posix_fallocate64.
22727
9fddec1a
AJ
22728 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22729 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22730 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22731 Likewise.
22732 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22733 Likewise.
22734 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22735
22736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22737 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22738 <bits/fcntl-linux.h>.
22739 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22740
22741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22742 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22743 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22744 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22745 [__WORDSIZE != 64]: Likewise.
22746
ebfd1bbd
JM
227472012-10-23 Joseph Myers <joseph@codesourcery.com>
22748
03ac099f
JM
22749 * Makeconfig (run-built-tests): New variable.
22750 * Rules [$(cross-compiling) = yes]: Change condition to
22751 [$(run-built-tests) = no].
22752 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22753 to [$(run-built-tests) = yes].
22754 * elf/Makefile [$(cross-compiling) = no]: Likewise
22755 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22756 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22757 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22758 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22759 * io/Makefile [$(cross-compiling) = no]: Likewise.
22760 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22761 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22762 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22763 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22764 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22765 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22766 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22767 * string/Makefile [$(cross-compiling) = no]: Likewise.
22768
ebfd1bbd
JM
22769 * posix/Makefile ($(objpfx)globtest.out): Pass
22770 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22771 $(rtld-installed-name).
22772 * posix/globtest.sh (elf_objpfx): Remove variable.
22773 (rtld_installed_name): Likewise.
22774 (library_path): Likewise.
22775 (run_program_prefix): New variable. Use for running globtest
22776 binary.
22777
166bca24
JB
227782012-10-23 Jim Blandy <jimb@codesourcery.com>
22779 Joseph Myers <joseph@codesourcery.com>
22780
22781 * Makeconfig (host-built-program-cmd): New variable.
22782 * elf/Makefile (tst-stackguard1-ARGS): Use
22783 $(host-built-program-cmd).
22784 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22785 (tst-spawn-ARGS): Likewise.
22786 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22787
88866099
JM
227882012-10-23 Joseph Myers <joseph@codesourcery.com>
22789 Jim Blandy <jimb@codesourcery.com>
22790
22791 * Makeconfig (run-via-rtld-prefix): New variable.
22792 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22793 (built-program-cmd): Likewise.
22794
b4b4c296
AJ
227952012-10-22 Andreas Jaeger <aj@suse.de>
22796
22797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22798 __O_RSYNC if it exists, otherwise to O_SYNC.
22799
6fb54a22
JB
228002012-10-22 Jim Blandy <jimb@codesourcery.com>
22801 Joseph Myers <joseph@codesourcery.com>
22802
22803 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22804 /dev/null.
22805 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22806 from /dev/null
22807 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22808 /dev/null.
22809
481b90b9
AJ
228102012-10-22 Andreas Jaeger <aj@suse.de>
22811
2a0e2669
AJ
22812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22813 Define always.
22814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22815
76e38f9a
AJ
22816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22817 bits/fcntl-linux.h.
22818
7cd37b43
AJ
22819 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22820 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22821
481b90b9
AJ
22822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22823 to __O_LARGEFILE.
22824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22825 to __O_LARGEFILE.
22826
aba75984
JB
228272012-10-21 Jim Blandy <jimb@codesourcery.com>
22828 Joseph Myers <joseph@codesourcery.com>
22829
22830 * config.make.in (NM): New variable.
22831
88d4247f
AJ
228322012-10-21 Andreas Jaeger <aj@suse.de>
22833
22834 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22835 definitions and declarations that are provided by
22836 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22837
f2eed205
L
228382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22839
22840 [BZ #14683]
22841 * elf/Makefile (tests-static): Add tst-leaks1-static.
22842 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22843 ($(objpfx)tst-leaks1-static): New rule.
22844 ($(objpfx)tst-leaks1-static-mem): Likewise.
22845 (tst-leaks1-static-ENV): New macro.
22846 * elf/dl-open.c (dl_open_worker): Check the main application
22847 only if SHARED is defined.
22848 * elf/tst-leaks1-static.c: New file.
22849
335e6931
AJ
228502012-10-20 Andreas Jaeger <aj@suse.de>
22851
22852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22853 generic values for Linux.
22854 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22855 and declarations that are provided by <bits/fcntl-linux.h> and
22856 include <bits/fcntl-linux.h>.
22857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22858 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22859
ac5c94d3
RM
228602012-10-20 Roland McGrath <roland@hack.frob.com>
22861
22862 * io/fcntl.h: Move include of <bits/types.h> to the top and
22863 include it unconditionally.
22864
de54b33a
L
228652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22866
228cfb01
L
22867 * wcsmbs/Makefile (tests-ifunc): New variable.
22868 (tests): Add $(tests-ifunc).
22869 * wcsmbs/test-wcschr-ifunc.c: New file.
22870 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22871 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22872 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22873 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22874 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22875
69f07e5f
L
22876 * string/Makefile (tests-ifunc): New variable.
22877 (tests): Add $(tests-ifunc).
22878 * string/test-memccpy.c (TEST_NAME): New macro.
22879 * string/test-memchr.c (TEST_NAME): Likewise.
22880 * string/test-memcmp.c (TEST_NAME): Likewise.
22881 * string/test-memcpy.c (TEST_NAME): Likewise.
22882 * string/test-memmem.c (TEST_NAME): Likewise.
22883 * string/test-memmove.c (TEST_NAME): Likewise.
22884 * string/test-memset.c (TEST_NAME): Likewise.
22885 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22886 * string/test-stpcpy.c (TEST_NAME): Likewise.
22887 * string/test-stpncpy.c (TEST_NAME): Likewise.
22888 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22889 * string/test-strcasestr.c (TEST_NAME): Likewise.
22890 * string/test-strcat.c (TEST_NAME): Likewise.
22891 * string/test-strchr.c (TEST_NAME): Likewise.
22892 * string/test-strcmp.c(TEST_NAME): Likewise.
22893 * string/test-strcpy.c (TEST_NAME): Likewise.
22894 * string/test-strcspn.c (TEST_NAME): Likewise.
22895 * string/test-strlen.c (TEST_NAME): Likewise.
22896 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22897 * string/test-strncmp.c (TEST_NAME): Likewise.
22898 * string/test-strncpy.c (TEST_NAME): Likewise.
22899 * string/test-strnlen.c (TEST_NAME): Likewise.
22900 * string/test-strpbrk.c (TEST_NAME): Likewise.
22901 * string/test-strrchr.c (TEST_NAME): Likewise.
22902 * string/test-strspn.c (TEST_NAME): Likewise.
22903 * string/test-strstr.c (TEST_NAME): Likewise.
22904 * string/test-bcopy-ifunc.c: New file.
22905 * string/test-bzero-ifunc.c: Likewise.
22906 * string/test-memccpy-ifunc.c: Likewise.
22907 * string/test-memchr-ifunc.c: Likewise.
22908 * string/test-memcmp-ifunc.c: Likewise.
22909 * string/test-memcpy-ifunc.c: Likewise.
22910 * string/test-memmem-ifunc.c: Likewise.
22911 * string/test-memmove-ifunc.c: Likewise.
22912 * string/test-mempcpy-ifunc.c: Likewise.
22913 * string/test-memset-ifunc.c: Likewise.
22914 * string/test-rawmemchr-ifunc.c: Likewise.
22915 * string/test-stpcpy-ifunc.c: Likewise.
22916 * string/test-stpncpy-ifunc.c: Likewise.
22917 * string/test-strcasecmp-ifunc.c: Likewise.
22918 * string/test-strcasestr-ifunc.c: Likewise.
22919 * string/test-strcat-ifunc.c: Likewise.
22920 * string/test-strchr-ifunc.c: Likewise.
22921 * string/test-strchrnul-ifunc.c: Likewise.
22922 * string/test-strcmp-ifunc.c: Likewise.
22923 * string/test-strcpy-ifunc.c: Likewise.
22924 * string/test-strcspn-ifunc.c: Likewise.
22925 * string/test-strlen-ifunc.c: Likewise.
22926 * string/test-strncasecmp-ifunc.c: Likewise.
22927 * string/test-strncat-ifunc.c: Likewise.
22928 * string/test-strncmp-ifunc.c: Likewise.
22929 * string/test-strncpy-ifunc.c: Likewise.
22930 * string/test-strnlen-ifunc.c: Likewise.
22931 * string/test-strpbrk-ifunc.c: Likewise.
22932 * string/test-strrchr-ifunc.c: Likewise.
22933 * string/test-strspn-ifunc.c: Likewise.
22934 * string/test-strstr-ifunc.c: Likewise.
22935
de54b33a
L
22936 * debug/Makefile (tests-ifunc): New variable.
22937 (tests): Add $(tests-ifunc).
22938 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22939 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22940 * debug/test-stpcpy_chk-ifunc.c: New file.
22941 * debug/test-strcpy_chk-ifunc.c: Likewise.
22942
88481c16
SP
229432012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22944
22945 [BZ #13601]
22946 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22947 header is not read in.
22948
135948bd
JM
229492012-10-19 Joseph Myers <joseph@codesourcery.com>
22950
89f1c388
JM
22951 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22952 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22953 directly. Pass built executable to script as
22954 $(built-program-cmd).
22955 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22956 $testprogram without using LD_LIBRARY_PATH and $ldso.
22957
e40a0d21
JM
22958 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22959 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22960 $(rtld-installed-name).
22961 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22962 (rtld_installed_name): Likewise.
22963 (library_path): Likewise.
22964 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22965 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22966 $(run-program-prefix) to tst-tables.sh.
22967 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22968 it to run tst-table-from and tst-table-to.
22969 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22970 Pass it to tst-table.sh.
22971 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22972 $(run-program-prefix) to tst-gettext.sh.
22973 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22974 tst-translit.sh.
22975 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22976 tst-gettext2.sh.
22977 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22978 to run tst-gettext.
22979 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22980 to run tst-gettext2.
22981 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22982 to run tst-translit.
22983 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22984 $(run-program-prefix) to tst-mtrace.sh.
22985 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22986 to run tst-mtrace.
22987 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22988 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22989 $(rtld-installed-name).
22990 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22991 (rtld_installed_name): Likewise.
22992 (run_program_prefix): New variable. Use it to run wordexp-test.
22993
728e272a
JM
22994 * Makeconfig (ARCH): Remove all definitions.
22995 (machine): Likewise.
22996 [ARCH]: Remove conditional code.
22997 [!objdir]: Give error.
22998 [!objdir] (objpfx): Remove.
22999 [!objdir] (common-objpfx): Likewise.
23000 [!objdir] (common-objdir): Likewise.
23001 * configure.in (config_makefile): Remove. Hardcode Makefile in
23002 AC_CONFIG_FILES call.
23003 * configure: Regenerated.
23004
d528cdcf
JM
23005 [BZ #13888]
23006 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23007 or TMPDIR.
23008 (testout): Likewise.
23009
135948bd
JM
23010 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23011 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23012 $(rtld-installed-name).
23013 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23014 (rtld_installed_name): Likwise.
23015 (runit): Remove function.
23016 (run_getconf): New variable, Use it for running getconf binary.
23017
38c78296
L
230182012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23019
23020 [BZ #14716]
23021 * string/test-memmem.c (check_result): New function.
23022 (do_one_test): Use it.
23023 (check1): New function.
23024 (test_main): Use it.
23025
d077f65f
MT
230262012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23027
23028 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23029
ced52c71
JM
230302012-10-18 Joseph Myers <joseph@codesourcery.com>
23031
23032 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23033 (_G_LSEEK64): Likewise.
23034 (_G_MMAP64): Likewise.
23035 (_G_FSTAT64): Likewise.
23036 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23037 (_G_LSEEK64): Likewise.
23038 (_G_MMAP64): Likewise.
23039 (_G_FSTAT64): Likewise.
23040 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23041 unconditional. Call __mmap64 directly.
23042 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23043 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23044 __lseek64 directly.
23045 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23046 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23047 __mmap64 directly.
23048 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23049 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23050 __lseek64 directly.
23051 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23052 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23053 __lseek64 directly.
23054 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23055 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23056 __lseek64 directly.
23057 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23058 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23059 __fxstat64 directly.
23060 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23061 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23062 unconditional.
23063 (freopen64) [!_G_OPEN64]: Remove conditional code.
23064 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23065 unconditional.
23066 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23067 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23068 unconditional.
23069 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23070 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23071 unconditional.
23072 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23073 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23074 unconditional.
23075 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23076 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23077 unconditional.
23078 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23079 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23080 unconditional.
23081 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23082 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23083 unconditional.
23084 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23085
b741de23
SP
230862012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23087
23088 [BZ #12140]
23089 * manual/memory.texi (Malloc Tunable Parameters): Add note
23090 about free list pointers overwriting some perturb bytes.
23091 Wording suggested by Roland McGrath.
23092
f9b9d9c9
JM
230932012-10-17 Joseph Myers <joseph@codesourcery.com>
23094
23095 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23096 (lgamma_test): Likewise.
23097 (tgamma_test): Likewise.
23098
172a631a
FW
230992012-10-16 Florian Weimer <fweimer@redhat.com>
23100
23101 [BZ #14700]
23102 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23103 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23104
e9f37252
MK
231052012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23106
23107 * NEWS: Mention BZ #14716.
23108 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23109 when removing AVAILABLE1_USES_J macro.
23110
d394eb74
L
231112012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23112
23113 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23114 (__bswap_64): __uint64_t for unsigned 64-bit int.
23115
ca38dc17
AS
231162012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23117
23118 * include/string.h (memmem): Declare libc hidden alias.
23119 * string/memmem.c (memmem): Define libc hidden alias.
23120 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23121 __read, __close instead of open, read, close.
23122
9a387d1f
L
231232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23124
ac49ecaf
L
23125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23126 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23127 global and hidden.
23128 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23129 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23130 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23131 Likewise.
23132 (__rawmemchr_sse2): Likewise.
23133 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23134 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23135 (__strchr_sse2): Likewise.
23136 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23137 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23138 (__strcasecmp_sse2): Likewise.
23139 (__strncasecmp_sse2): Likewise.
23140 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23141 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23142 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23143 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23144 (__strrchr_sse2): Likewise.
23145 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23146 ifunc-impl-list.c.
23147 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23148 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23149 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23150 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23151 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23152 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23153 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23154 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23155 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23156 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23157 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23158 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23159 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23160 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23161 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23162 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23163 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23164 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23165 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23166 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23167 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23168 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23169 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23170 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23171 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23172 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23173 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23174 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23175 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23176 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23177
b090e8ea
L
23178 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23179 global and hidden.
23180 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23181 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23182 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23183 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23184 Likewise.
23185 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23186 Likewise.
23187 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23188 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23189 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23190 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23191 ifunc-impl-list.c.
23192 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23193 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23194 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23195 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23196 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23197 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23198 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23199 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23200 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23201 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23202 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23203 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23204 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23205 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23206 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23207 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23208 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23209 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23210 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23211 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23213 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23214 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23215 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23217 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23219 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23220 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23221 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23222 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23223 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23224 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23225 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23226 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23227 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23228 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23229 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23230 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23231 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23232 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23233
11dd4af6
L
23234 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23235 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23236 * include/ifunc-impl-list.h: New file.
23237 * misc/ifunc-impl-list.c: Likewise.
23238 * misc/Makefile (routines): Add ifunc-impl-list.
23239 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23240 * string/test-string.h: Include <ifunc-impl-list.h>.
23241 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23242 impl_array): New variables.
23243 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23244 are defined.
23245 (test_init): Call __libc_ifunc_impl_list to initialize
23246 func_list if TEST_IFUNC and TEST_NAME are defined.
23247
9a387d1f
L
23248 * string/Makefile (strop-tests): Add bcopy and bzero.
23249 * string/test-bcopy.c: New file.
23250 * string/test-bzero.c: Likewise.
23251 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23252 defined.
23253 * string/test-memset.c: Support bzero test if TEST_BZERO is
23254 defined.
23255 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23256 __libc_memmove.
23257 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23258 __libc_memset.
23259 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23260 of memset.
23261
472371b9
JM
232622012-10-10 Joseph Myers <joseph@codesourcery.com>
23263
1e4a9536
JM
23264 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23265 * configure: Regenerated.
23266
d173d12e
JM
23267 * Makeconfig (+link-static-before-libc): Don't include
23268 $(link-static-libc).
23269
472371b9
JM
23270 * libio/libio.h (_IO_pos_t): Remove.
23271
89a3ad0b
AO
232722012-10-10 Alexandre Oliva <aoliva@redhat.com>
23273
23274 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23275 McGrath.
23276
e7451425
AO
232772012-10-10 Alexandre Oliva <aoliva@redhat.com>
23278
23279 * crypt/crypt-entry.c: Include fips-private.h.
23280 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23281 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23282 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23283 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23284
4ba74a35
AO
232852012-10-10 Alexandre Oliva <aoliva@redhat.com>
23286
23287 * crypt/crypt-private.h: Include stdbool.h.
23288 (_ufc_setup_salt_r): Return bool.
23289 * crypt/crypt-entry.c: Include errno.h.
23290 (__crypt_r): Return NULL with EINVAL for bad salt.
23291 * crypt/crypt_util.c (bad_for_salt): New.
23292 (_ufc_setup_salt_r): Check that salt is long enough and within
23293 the specified alphabet.
23294 * crypt/badsalttest.c: New file.
23295 * crypt/Makefile (tests): Add it.
23296 ($(objpfx)badsalttest): New.
23297
f96f1242
MK
232982012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23299
23300 * NEWS: Add entry for BZ #14602.
23301
0e8e0c1c
JM
233022012-10-09 Joseph Myers <joseph@codesourcery.com>
23303
23304 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23305 type-generic.
23306 * math/libm-test.inc: Update comment listing what functions and
23307 macros are tested.
23308 (isgreater_test): New function.
23309 (isgreaterequal_test): Likewise.
23310 (isless_test): Likewise.
23311 (islessequal_test): Likewise.
23312 (islessgreater_test): Likewise.
23313 (isunordered_test): Likewise.
23314 (main): Call the new functions.
23315
273edc5e
RM
233162012-10-09 Roland McGrath <roland@hack.frob.com>
23317
b8493de0
RM
23318 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23319 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23320 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23321 * sysdeps/i386/configure: Regenerated.
23322 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23323 * sysdeps/mach/configure: Regenerated.
23324 * sysdeps/mach/hurd/configure: Regenerated.
23325 * sysdeps/powerpc/configure: Regenerated.
23326 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23327 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23328 * sysdeps/s390/s390-32/configure: Regenerated.
23329 * sysdeps/s390/s390-64/configure: Regenerated.
23330 * sysdeps/sh/configure: Regenerated.
23331 * sysdeps/sparc/configure: Regenerated.
23332 * sysdeps/unix/sysv/linux/configure: Regenerated.
23333 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23334 * sysdeps/x86_64/configure: Regenerated.
23335
273edc5e
RM
23336 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23337 defined. Don't check if MAP is NULL.
23338
c8450f70
JM
233392012-10-09 Joseph Myers <joseph@codesourcery.com>
23340
23341 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23342 (_G_stat64): Likewise.
23343 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23344 (_G_stat64): Likewise.
23345 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23346 instead of struct _G_stat64.
23347 * libio/fileops.c (mmap_remap_check): Likewise.
23348 (decide_maybe_mmap): Likewise.
23349 (_IO_new_file_seekoff): Likewise.
23350 (_IO_file_stat): Likewise.
23351 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23352 _G_off64_t.
23353 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23354 instead of struct _G_stat64.
23355 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23356
57e605ba
MK
233572012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23358
23359 [BZ #14602]
23360 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23361 Replace with ...
23362 (CHECK_EOL): New macro.
23363 (two_way_short_needle): Check beginning of haystack for EOL. Use
23364 CHECK_EOL.
23365 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23366 Replace with CHECK_EOL.
23367 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23368 Replace with CHECK_EOL.
23369
ef1bb361
JM
233702012-10-08 Joseph Myers <joseph@codesourcery.com>
23371
23372 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23373 type-generic.
23374 * math/libm-test.inc: Update comment listing what functions and
23375 macros are tested.
23376 (finite_test): New function.
23377 (isinf_test): Likewise.
23378 (isnan_test): Likewise.
23379 (fpclassify_test): Test subnormal input.
23380 (isfinite_test): Likewise.
23381 (isnormal_test): Likewise.
23382 (main): Call the new functions.
23383
55f11534
JN
233842012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23385
23386 [BZ #14660]
23387 * Makerules (%.dynsym): Force C locale when running
23388 $(OBJDUMP) --dynamic-syms.
23389
1ab29350
AS
233902012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23391
23392 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23393 <stdint.h>.
23394
f1ecb7ef
DM
233952012-10-06 David S. Miller <davem@davemloft.net>
23396
23397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23398 upper 32-bits of the length value in %o2 since we use branch-on-register
23399 tests which consider the entire 64-bit register.
23400
5d41d91a
L
234012012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23402
23403 * string/test-strstr.c (check2): Add a test for page boundary.
23404
3baddb72
DM
234052012-10-05 David S. Miller <davem@davemloft.net>
23406
23407 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23409 file.
23410 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23411 sysdep_routines.
23412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23413 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23414 and bzero when HWCAP_SPARC_CRYPTO is present.
23415
9cee5585
L
234162012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23417
d7e0dab9
L
23418 [BZ #14602]
23419 * string/test-strstr.c (check2): New function.
23420 (test_main): Call check2.
23421
03759f47
L
23422 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23423 and bug-strchr1.
23424 * string/bug-strcasestr1.c (do_test): Moved to ...
23425 * string/test-strcasestr.c (check1): Here. New function.
23426 (do_one_test): Break out result checking code into ...
23427 (check_result): This. New function.
23428 (do_one_test): Call check_result.
23429 (test_main): Call check1.
23430 * string/bug-strchr1.c (do_test): Moved to ...
23431 * string/test-strchr.c (check1): Here. New function.
23432 (do_one_test): Break out result checking code into ...
23433 (check_result): This. New function.
23434 (do_one_test): Call check_result.
23435 (test_main): Call check1.
23436 * string/bug-strstr1.c (main): Moved to ...
046f153e 23437 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23438 (do_one_test): Break out result checking code into ...
23439 (check_result): This. New function.
23440 (do_one_test): Call check_result.
23441 (test_main): Call check1.
23442 * string/bug-strcasestr1.c: Removed.
23443 * string/bug-strchr1.c: Likewise.
23444 * string/bug-strstr1.c: Likewise.
23445
53cea63e
L
23446 * elf/Makefile (dl-routines): Add hwcaps.
23447 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23448 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23449 (_dl_important_hwcaps): Moved to ...
23450 * elf/dl-hwcaps.c: Here. New file.
23451 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23452
9cee5585 23453 [BZ #14557]
bb859b06
L
23454 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23455 if IS_IN_rtld isn't defined.
23456
9cee5585
L
23457 * elf/dl-support.c (_dl_sysinfo_map): New.
23458 Include "get-dynamic-info.h" and "setup-vdso.h".
23459 (_dl_non_dynamic_init): Call setup_vdso.
23460 * elf/dynamic-link.h: Don't include <assert.h>.
23461 (elf_get_dynamic_info): Moved to ...
23462 * elf/get-dynamic-info.h: Here. New file.
23463 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23464 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23465 * elf/setup-vdso.h: Here. New file.
23466 * elf/rtld.c: Include "setup-vdso.h".
23467 (dl_main): Call setup_vdso.
23468
23c31b76
JM
234692012-10-05 Joseph Myers <joseph@codesourcery.com>
23470
28234b07
JM
23471 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23472 creal in comment listing functions tested. List finite, isinf,
23473 isnan, isless, islessequal, isgreater, isgreaterequal,
23474 islessgreater, isunordered, lgamma_r and pow10 as functions and
23475 macros not tested. Mention which functions not tested are aliases
23476 for other functions. Fix typo. Note that signs of NaNs are not
23477 tested.
23478
23c31b76
JM
23479 * scripts/config.guess: Update from config.git.
23480 * scripts/config.sub: Likewise.
23481
9043e228
RM
234822012-10-04 Roland McGrath <roland@hack.frob.com>
23483
23484 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23485 * misc/madvise.c (madvise): Renamed to __madvise.
23486 Make madvise a weak alias.
23487 * include/sys/mman.h: Declare __madvise.
23488 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23489 * sysdeps/unix/syscalls.list
23490 (madvise): Make __madvise the strong name, and madvise a weak alias.
23491 * sysdeps/unix/sysv/linux/syscalls.list
23492 (madvise, mmap): Remove redundant entries.
23493 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23494 * malloc/malloc.c (mtrim): Likewise.
23495 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23496
f57f8055
RM
234972012-10-03 Roland McGrath <roland@hack.frob.com>
23498
23499 * sysdeps/mach/hurd/dl-cache.c: File removed.
23500 * config.h.in (USE_LDCONFIG): New #undef.
23501 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23502 * configure: Regenerated.
23503 * elf/Makefile (dl-routines): Add dl-cache only under
23504 [$(use-ldconfig) = yes].
23505 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23506 cache on [USE_LDCONFIG].
23507 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23508 [USE_LDCONFIG].
23509 * elf/rtld.c (dl_main): Likewise.
23510
5bb0c10a
PT
235112012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23512
23513 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23514 _SC_LEVEL4_CACHE_LINESIZE.
23515
010188c6
RM
235162012-10-03 Roland McGrath <roland@hack.frob.com>
23517
23518 * sysdeps/unix/bsd/confstr.h: File removed.
23519
b6c5ec07
AO
235202012-10-02 Alexandre Oliva <aoliva@redhat.com>
23521
23522 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23523 sys/sdt-config.h.
23524
408223d4
RM
235252012-10-02 Roland McGrath <roland@hack.frob.com>
23526
23527 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23528 Make 'mapoff' field ElfW(Off) rather than off_t.
23529
bb9510dc
DL
235302012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23531
fc997c6e
DL
23532 * nscd/Makefile: Remove nscd-cflags and all its users.
23533 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23534 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23535
bb9510dc
DL
23536 [BZ #10631]
23537 * malloc.c (malloc_printerr): Clarify error message.
23538
05699367
L
235392012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23540
23541 [BZ #14648]
23542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23543 Set bit_FMA_Usable if FMA is supported.
23544 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23545 macro.
23546 (bit_FMA4_Usable): Updated.
23547 (index_FMA_Usable): New macro.
23548 (CPUID_FMA): Likewise
23549 (HAS_FMA): Defined with bit_FMA_Usable.
23550
51367701
RM
235512012-10-01 Roland McGrath <roland@hack.frob.com>
23552
23553 * bits/types.h (__swblk_t): Type removed.
23554 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23555 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23557 (__SWBLK_T_TYPE): Likewise.
23558 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23559 (__SWBLK_T_TYPE): Likewise.
23560 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23561 (__SWBLK_T_TYPE): Likewise.
23562 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23563 (__SWBLK_T_TYPE): Likewise.
23564
4d57bf63 235652012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23566 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23567
23568 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23569 (xdr_mapname): Use YPMAXMAP as maxsize.
23570 (xdr_peername): Use YPMAXPEER as maxsize.
23571 (xdr_keydat): Use YPAXRECORD as maxsize.
23572 (xdr_valdat): Use YPMAXRECORD as maxsize.
23573
93c65d43
RM
235742012-10-01 Roland McGrath <roland@hack.frob.com>
23575
497a03d6
RM
23576 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23577
93c65d43
RM
23578 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23579 * csu/init-first.c: ... here.
23580 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23581 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23582 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23583 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23584 * sysdeps/i386/init-first.c: File removed.
23585 * sysdeps/sh/init-first.c: File removed.
23586
bec749fd
JM
235872012-10-01 Joseph Myers <joseph@codesourcery.com>
23588
23589 [BZ #14645]
23590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23591 if x * y might underflow to zero and z is zero.
23592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23594 * math/libm-test.inc (min_subnorm_value): New variable.
23595 (fma_test): Add more tests.
23596 (fma_test_towardzero): Likewise.
23597 (fma_test_downward): Likewise
23598 (fma_test_upward): Likewise.
23599 (initialize): Set min_subnorm_value.
23600
8ec5b013
JM
236012012-09-29 Joseph Myers <joseph@codesourcery.com>
23602
23603 [BZ #14638]
23604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23605 0 + 0.
23606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23607 mode for addition resulting in exact zero.
23608 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23610 exact 0 + 0.
23611 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23612 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23613 * math/libm-test.inc (fma_test): Add more tests.
23614 (fma_test_towardzero): New function.
23615 (fma_test_downward): Likewise.
23616 (fma_test_upward): Likewise.
23617 (main): Call the new functions.
23618
b1fa802e
DM
236192012-09-28 David S. Miller <davem@davemloft.net>
23620
23621 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23622
d3b9fd9e
RM
236232012-09-28 Roland McGrath <roland@hack.frob.com>
23624
ea4d37b3
RM
23625 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23626 instead of SIGALRM.
23627
ac51c949
RM
23628 * sysdeps/gnu/_G_config.h: Moved to ...
23629 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23630 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23631 * sysdeps/generic/_G_config.h: ... here.
23632
28c195f7
RM
23633 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23634
848917f9
RM
23635 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23636
6bacf05b
RM
23637 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23638 Conditionalize target on [libnss_test1.so-version].
23639
91363dbb
RM
23640 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23641
cc87f7d8
RM
23642 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23643 (elfobjdir): Move out of conditionals.
23644
b1c608fe
RM
23645 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23646 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23647 (__nss_lookup_function): Conditionalize label remove_from_tree on
23648 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23649
1d9a6d96
DM
236502012-09-28 David S. Miller <davem@davemloft.net>
23651
23652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23653 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23654 file.
23655 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23656 sysdep_routines.
23657 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23659 when HWCAP_SPARC_CRYPTO is present.
23660
72581615
PT
236612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23662
23663 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23664
715a900c
JL
236652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23666
23667 [BZ #6530]
23668 * stdio-common/vfprintf.c (process_string_arg): Revert
23669 2000-07-22 change.
23670
236712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23672
23673 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23674 for testcase.
23675 * stdio-common/tst-sprintf.c: Include <locale.h>
23676 (main): Test sprintf's handling of incomplete multibyte
23677 characters.
23678
9bac1d86
L
236792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23680
23681 * elf/dl-runtime.c (VERSYMIDX): Removed.
23682 * elf/dl-version.c (VERSYMIDX): Likewise.
23683 * elf/do-rel.h (VERSYMIDX): Likewise.
23684 (VALIDX): Likewise.
23685 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23686 * elf/rtld.c (VALIDX): Likewise.
23687 (ADDRIDX): Likewise.
9bac1d86
L
23688 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23689 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23690 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23691 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23692 (VALIDX): Likewise.
23693 (ADDRIDX): Likewise.
9bac1d86 23694
b31606c0
PT
236952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23696
23697 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23698
11541177
JL
236992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23700
23701 [BZ #11438]
23702 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23703 to global scope.
23704 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23705 addresses are in the same scope as 192.0.2/24.
23706 * posix/gai.conf: Document new scope table defaults.
23707
adb26fae
SP
237082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23709
23710 [BZ #5298]
23711 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23712 for ftell. Compute offsets from write pointers instead.
23713 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23714
4573c6b0
SP
237152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23716
23717 [BZ #14543]
23718 * libio/Makefile (tests): New test case tst-fseek.
23719 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23720 combination works in wide mode.
23721 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23722 state when the external buffer state changes.
23723
aa9bbfe6
DM
237242012-09-27 David S. Miller <davem@davemloft.net>
23725
23726 [BZ #14376]
23727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23728 pass reloc->r_addend in as the 'high' argument to
23729 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23730
784421e7
DM
23731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23732
c39bc8b8
PT
237332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23734
23735 * rt/tst-aio2.c: Include <pthread.h>.
23736 * rt/tst-aio3.c: Likewise.
23737
1ccc2399
SE
237382012-09-27 Steve Ellcey <sellcey@mips.com>
23739
23740 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23741
31ed4153
L
237422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23743
25f5f885
L
23744 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23745 contents on [SHARED].
31ed4153 23746
b7bfe116
MP
237472012-09-26 Marek Polacek <polacek@redhat.com>
23748
23749 [BZ #14530]
23750 [BZ #13741]
23751 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23752 for C++ and GCC <4.3 as well as for non GCC compilers.
23753
43c4edba
MT
237542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23755
23756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23757
6a1bf82f
RM
237582012-09-25 Roland McGrath <roland@hack.frob.com>
23759
23760 * Makefile.in (all, install): Declare with .PHONY.
23761 Reported by Michael Hope <michael.hope@linaro.org>.
23762
8ad11b9a
TMQMF
237632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23764
23765 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23766 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23767 system header.
23768 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23769 Likewise.
23770 (sydep_routines): Add the new and the internal functions.
23771 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23772 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23774 (GLIBC_2.17): Add the new function.
23775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23776 (GLIBC_2.17): Likewise.
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23778 (GLIBC_2.17): Likewise.
23779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23780 (GLIBC_2.17): Likewise.
23781 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23782
7e2fca8d
AM
237832012-09-25 Alan Modra <amodra@gmail.com>
23784
23785 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23786 Add release barrier before setting once_control to say
23787 initialisation is done. Add hints on lwarx. Use macro in
23788 place of isync.
23789 (clear_once_control): Add release barrier.
23790
b87c4b24
JM
237912012-09-25 Joseph Myers <joseph@codesourcery.com>
23792
d032e0d2
JM
23793 [BZ #13629]
23794 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23795 specially.
23796 * math/s_clog10.c (__clog10): Likewise.
23797 * math/s_clog10f.c (__clog10f): Likewise.
23798 * math/s_clog10l.c (__clog10l): Likewise.
23799 * math/s_clogf.c (__clogf): Likewise.
23800 * math/s_clogl.c (__clogl): Likewise.
23801 * math/Makefile (libm-calls): Add x2y2m1.
23802 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23803 (__x2y2m1): Likewise.
23804 (__x2y2m1l): Likewise.
23805 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23806 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23809 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23810 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23811 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23812 * sysdeps/i386/fpu/libm-test-ulps: Update.
23813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23814
b87c4b24
JM
23815 [BZ #14621]
23816 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23817 int as type of variable DEPTH.
23818 (glob): Use size_t instead of int as type of variables NEWCOUNT
23819 and OLD_PATHC.
23820
6d3bf199
LD
238212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23822
22bf5c17
LD
23823 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23824 Add s_sincosf-sse2.
23825 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23826 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23827 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23828 macros for using routine as __sincosf_ia32.
23829 Use macro for function declaration and weak_alias.
23830 * sysdeps/i386/fpu/libm-test-ulps: Update.
23831
23832 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23834
23835 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23836 subnormal argument.
23837 * math/s_cexpf.c (__cexpf): Likewise.
23838 * math/s_csinf.c (__csinf): Likewise.
23839 * math/s_csinhf.c (__csinhf): Likewise.
23840 * math/s_ctanf.c (__ctanf): Likewise.
23841 * math/s_ctanhf.c (__ctanhf): Likewise.
23842 * math/s_ccosh.c (__ccoshf): Likewise.
23843 * math/s_cexp.c (__cexpl): Likewise.
23844 * math/s_csin.c (__csin): Likewise.
23845 * math/s_csinh.c (__csinh): Likewise.
23846 * math/s_ctan.c (__ctan): Likewise.
23847 * math/s_ctanh.c (ctanh): Likewise.
23848 * math/s_ccoshl.c (__ccoshl): Likewise.
23849 * math/s_cexpl.c (__cexpl): Likewise.
23850 * math/s_csinl.c (__csinl): Likewise.
23851 * math/s_csinhl.c (__csinhl): Likewise.
23852 * math/s_ctanl.c (__ctanl): Likewise.
23853 * math/s_ctanhl.c (__ctanhl): Likewise.
23854
203e5603
JM
238552012-09-25 Joseph Myers <joseph@codesourcery.com>
23856
23857 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23858 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23859 (_IO_off_t): Define to __off_t, not _G_off_t.
23860 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23861 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23862 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23863 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23864 type of __dummy and __dummy2 fields.
23865 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23866 (_G_ssize_t): Likewise.
23867 (_G_off_t): Likewise.
23868 (_G_pid_t): Likewise.
23869 (_G_uid_t): Likewise.
23870 (_G_wchar_t): Likewise.
23871 (_G_wint_t): Likewise.
23872 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23873 (_G_ssize_t): Likewise.
23874 (_G_off_t): Likewise.
23875 (_G_pid_t): Likewise.
23876 (_G_uid_t): Likewise.
23877 (_G_wchar_t): Likewise.
23878 (_G_wint_t): Likewise.
23879 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23880 (_G_ssize_t): Likewise.
23881 (_G_off_t): Likewise.
23882 (_G_pid_t): Likewise.
23883 (_G_uid_t): Likewise.
23884 (_G_wchar_t): Likewise.
23885 (_G_wint_t): Likewise.
23886
9fab36eb
SP
238872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23888
23889 * malloc/arena.c: Include malloc-sysdep.h.
23890 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23891 is sufficient to shrink the heap or an unmap is needed.
23892 * sysdeps/generic/malloc-sysdep.h: New file. Define
23893 new function check_may_shrink_heap.
23894 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23895 new function check_may_shrink_heap.
23896
2b4f00d1
SP
238972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23898
23899 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23900 comments.
23901
9a9028b1
DL
239022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23903
57c69bef
DL
23904 * catgets/test-gencat.sh: Add "set -e".
23905 * elf/tst-pathopt.sh: Likewise.
23906 * grp/tst_fgetgrent.sh: Likewise.
23907 * iconvdata/run-iconv-test.sh: Likewise.
23908 * intl/tst-gettext.sh: Likewise.
23909 * intl/tst-gettext2.sh: Likewise.
23910 * intl/tst-gettext4.sh: Likewise.
23911 * intl/tst-gettext6.sh: Likewise.
23912 * intl/tst-translit.sh: Likewise.
23913 * io/ftwtest-sh: Likewise.
23914 * libio/test-freopen.sh: Likewise.
23915 * malloc/tst-mtrace.sh: Likewise.
23916 * posix/globtest.sh: Likewise.
23917 * posix/tst-getconf.sh: Likewise.
23918 * posix/wordexp-tst.sh: Likewise.
23919 * stdio-common/tst-printf.sh: Likewise.
23920 * stdio-common/tst-unbputc.sh: Likewise.
23921 * stdlib/tst-fmtmsg.sh: Likewise.
23922 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23923 * catgets/Makefile: Do not specify -e option when running
23924 testsuite shell scripts.
23925 * elf/Makefile: Likewise.
23926 * grp/Makefile: Likewise.
23927 * iconvdata/Makefile: Likewise.
23928 * intl/Makefile: Likewise.
23929 * io/Makefile: Likewise.
23930 * libio/Makefile: Likewise.
23931 * malloc/Makefile: Likewise.
23932 * posix/Makefile: Likewise.
23933 * stdio-common/Makefile: Likewise.
23934 * stdlib/Makefile: Likewise.
23935 * sysdeps/x86_64/Makefile: Likewise.
23936
9a9028b1
DL
23937 * io/ftwtest-sh: Add copyright header.
23938 * posix/globtest.sh: Likewise.
23939 * posix/tst-getconf.sh: Likewise.
23940 * posix/wordexp-tst.sh: Likewise.
23941 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23942
ced6f16e
L
239432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23944
94b32c39
L
23945 [BZ #13679]
23946 * Makeconfig (+link): Defined as $(+link-static) if
23947 $(build-shared) isn't yes.
23948 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23949 isn't yes.
23950 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23951
189e935b
L
23952 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23953
ced6f16e
L
23954 [BZ #14562]
23955 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23956 new chunk size with MALLOC_ALIGN_MASK.
23957
a9f8e53a
JM
239582012-09-24 Joseph Myers <joseph@codesourcery.com>
23959
23960 [BZ #5044]
23961 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23962 <rounding-mode.h>.
23963 (__printf_fphex): Determine rounding using get_rounding_mode and
23964 round_away.
23965 * stdio-common/tst-printf-round.c (struct hex_test): New
23966 structure.
23967 (hex_tests): New variable.
23968 (test_hex_in_one_mode): New function.
23969 (do_test): Also run tests for hex float output.
23970
43153109
JM
239712012-09-21 Joseph Myers <joseph@codesourcery.com>
23972
23973 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23974 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23975 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23976 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23977 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23978 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23979 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23980 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23981
8a26625d
JM
239822012-09-20 Joseph Myers <joseph@codesourcery.com>
23983
23984 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23985 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23986 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23987 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23988
f3fd569c
DL
239892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23990
23991 [BZ #14579]
23992 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23993 mode only.
23994 * elf/tst-rtld-load-self.sh: New test.
23995 * elf/Makefile: Run it.
23996
63bbedd4
JM
239972012-09-18 Joseph Myers <joseph@codesourcery.com>
23998
23999 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24000 (tst-writev-ENV): Remove.
24001 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24002
626f8b6a
CM
240032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24004
24005 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24006
b7aaa4d6
JM
240072012-09-17 Joseph Myers <joseph@codesourcery.com>
24008
24009 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24010 unconditional.
24011 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24012 Likewise.
24013 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24014 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24015 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24016 Likewise.
24017
65513990
L
240182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24019
24020 [BZ #14587]
24021 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24022 * config.make.in (have-cpp-asm-debuginfo): Removed.
24023 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24024 * configure: Regenerated.
24025
784761be
JM
240262012-09-14 Joseph Myers <joseph@codesourcery.com>
24027
24028 [BZ #5044]
24029 * stdio-common/printf_fp.c: Include <stdbool.h> and
24030 <rounding-mode.h>.
24031 (___printf_fp): Determine rounding using get_rounding_mode and
24032 round_away.
24033 * stdio-common/tst-printf-round.c: New file.
24034 * stdio-common/Makefile (tests): Add tst-printf-round.
24035 (link-libm): New variable.
24036 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24037
9503345f
L
240382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24039
24040 [BZ #14576]
24041 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24042 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24043 Likewise.
24044 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24045 Likewise.
24046
ad35fc00
JM
240472012-09-13 Joseph Myers <joseph@codesourcery.com>
24048
24049 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24050 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24051 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24052 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24053
6c9b0f68
JM
240542012-09-12 Joseph Myers <joseph@codesourcery.com>
24055
24056 [BZ #14518]
24057 * include/rounding-mode.h: New file.
24058 * sysdeps/generic/get-rounding-mode.h: Likewise.
24059 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24060 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24061 (MAX_VALUE): New macro.
24062 (MIN_VALUE): Likewise.
24063 (overflow_value): New function.
24064 (underflow_value): Likewise.
24065 (round_and_return): Use overflow_value and underflow_value to
24066 determine return values in overflow and underflow cases. Use
24067 round_away to determine rounding depending on rounding mode.
24068 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24069 determine return values in overflow and underflow cases.
24070 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24071 (struct test_results): New structure.
24072 (struct test): Use struct test_results to store expected results
24073 for all rounding modes.
24074 (TEST): Include expected results for all rounding modes.
24075 (test_in_one_mode): New function.
24076 (do_test): Use test_in_one_mode to compute and check results.
24077 Check results for all rounding modes.
24078 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24079 $(link-libm).
24080
19fcedd5
AM
240812012-12-09 Allan McRae <allan@archlinux.org>
24082
1e9d84cd 24083 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24084
8bbfd2f1
JM
240852012-09-11 Joseph Myers <joseph@codesourcery.com>
24086
24087 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24088 (_G_int32_t): Likewise.
24089 (_G_uint16_t): Likewise.
24090 (_G_uint32_t): Likewise.
24091 (_G_HAVE_BOOL): Likewise.
24092 (_G_HAVE_ATEXIT): Likewise.
24093 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24094 (_G_HAVE_IO_FILE_OPEN): Likewise.
24095 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24096 (_G_int32_t): Likewise.
24097 (_G_uint16_t): Likewise.
24098 (_G_uint32_t): Likewise.
24099 (_G_HAVE_BOOL): Likewise.
24100 (_G_HAVE_ATEXIT): Likewise.
24101 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24102 (_G_HAVE_IO_FILE_OPEN): Likewise.
24103 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24104 (_G_int32_t): Likewise.
24105 (_G_uint16_t): Likewise.
24106 (_G_uint32_t): Likewise.
24107 (_G_HAVE_BOOL): Likewise.
24108 (_G_HAVE_ATEXIT): Likewise.
24109 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24110 (_G_HAVE_IO_FILE_OPEN): Likewise.
24111
b1dc5912
L
241122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24113
24114 * csu/libc-tls.c: Update copyright years.
24115
0e886ef9
JM
241162012-09-10 Joseph Myers <joseph@codesourcery.com>
24117
28361c5e
JM
24118 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24119 [!_G_USING_THUNKS]: Remove conditional code.
24120 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24121 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24122
0e886ef9
JM
24123 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24124 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24125 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24126 (_G_VTABLE_LABEL_PREFIX): Likewise.
24127 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24128 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24129 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24130 (_G_VTABLE_LABEL_PREFIX): Likewise.
24131 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24132 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24133 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24134 (_G_VTABLE_LABEL_PREFIX): Likewise.
24135 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24136
bcba7aa2
L
241372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24138
24139 * libio/Makefile: Include ../Makeconfig before tests.
24140 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24141 only if $(build-shared) is yes.
24142
06585ee8
L
24143 * iconv/gconv_db.c: Update copyright years.
24144
80ccd52c
LD
241452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24146
24147 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24148 unwind info if defined PIC. Fix special cases description.
24149 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24150
24151 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24152 DP_HI_MASK entry.
24153 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24154
691bc9c1
L
241552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24156
3d9b46b3
L
24157 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24158
de2139a9
L
24159 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24160 is NULL.
24161
5ca78dd0
L
24162 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24163 (LDLIBS-tst-chk4): This.
24164 (LDFLAGS-tst-chk5): Renamed to ...
24165 (LDLIBS-tst-chk5): This.
24166 (LDFLAGS-tst-chk6): Renamed to ...
24167 (LDLIBS-tst-chk6): This.
24168 (LDFLAGS-tst-lfschk4): Renamed to ...
24169 (LDLIBS-tst-lfschk4): This.
24170 (LDFLAGS-tst-lfschk5): Renamed to ...
24171 (LDLIBS-tst-lfschk5): This.
24172 (LDFLAGS-tst-lfschk6): Renamed to ...
24173 (LDLIBS-tst-lfschk6): This.
24174
691bc9c1
L
24175 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24176 on $(common-objpfx)soversions.mk.
24177
65cafb1c
JM
241782012-09-07 Joseph Myers <joseph@codesourcery.com>
24179
24180 [BZ #10014]
24181 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24182 example host name.
24183
c78ab094
SP
241842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24185
24186 * malloc/arena.c (arena_get_retry): New function that gets
24187 another arena for the caller to try its request on.
24188 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24189 current arena cannot fulfill the request.
24190 (__libc_memalign): Likewise.
24191 (__libc_memalign): Likewise.
24192 (__libc_pvalloc): Likewise.
24193 (__libc_calloc): Likewise.
24194
01f49f59
JT
241952012-09-05 John Tobey <john.tobey@gmail.com>
24196
24197 [BZ #13542]
24198 * manual/arith.texi (Operations on Complex): Fix description
24199 of carg branch cut.
24200
4c23fed5
JM
242012012-09-06 Joseph Myers <joseph@codesourcery.com>
24202
1d3c8572
JM
24203 [BZ #10014]
24204 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24205 host name.
24206
4c23fed5
JM
24207 [BZ #10038]
24208 * manual/memory.texi (Memory): Make order of menu items match
24209 order of sections.
24210
04570aaa
L
242112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24212
24213 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24214 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24215 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24216
b80af2f4
L
242172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24218
24219 * csu/libc-tls.c (static_dtv): Renamed to ...
24220 (_dl_static_dtv): This. Make it global.
24221 (_dl_initial_dtv): Removed.
24222 (__libc_setup_tls): Updated.
24223 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24224 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24225 DL_INITIAL_DTV.
24226
2abe9f15
PM
242272012-09-06 Petr Machata <pmachata@redhat.com>
24228
24229 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24230 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24231 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24232 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24233
0948c3af
L
242342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24235
24236 [BZ #14545]
24237 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24238 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24239 freeing dtv[-1].
24240
a5055ad1
L
242412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24242
24243 [BZ #14544]
24244 * Makeconfig (link-static-before-libc): Replace $(+prector)
24245 with $(+prectorT).
24246 (link-static-after-libc): Replace $(+postctor) with
24247 $(+postctorT).
24248 (link-bounded): Replace $(+prector)/$(+postctor) with
24249 $(+prectorT)/$(+postctorT).
24250 (+prectorT): New macro.
24251 (+postctorT): Likewise.
24252
ed8c2ecd
JM
242532012-09-06 Joseph Myers <joseph@codesourcery.com>
24254
24255 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24256 (round_str): Handle values above the maximum for IBM long double
24257 as inexact.
24258 * stdlib/tst-strtod-round.c (tests): Regenerated.
24259
14c996c8
AK
242602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24261
24262 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24263 assembler flag.
24264 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24265 zarch_nohighgprs around the zarch optimized routines.
24266 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24267 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24268 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24269 for zarch.
24270
430d6ce6
DM
242712012-09-05 David S. Miller <davem@davemloft.net>
24272
24273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24274
ff04dda4
DM
24275 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24276 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24277 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24278 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24279 entries.
24280
24d4e01b
AO
242812012-09-05 Alexandre Oliva <aoliva@redhat.com>
24282
24283 * malloc/arena.c: Fold copyright years.
24284 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24285
61d58174
AO
242862012-09-05 Alexandre Oliva <aoliva@redhat.com>
24287
24288 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24289
20196a5e
AO
242902012-09-05 Alexandre Oliva <aoliva@redhat.com>
24291
24292 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24293
5c447383
AO
242942012-09-05 Alexandre Oliva <aoliva@redhat.com>
24295
24296 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24297 change internal state upon failure.
24298
fad64255
AO
242992012-09-05 Alexandre Oliva <aoliva@redhat.com>
24300
24301 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24302 * malloc/memusage.c (mmap): Likewise.
24303 (mmap64, mremap): Likewise. Adjust name in comment.
24304
1ffb8c90
SP
243052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24306
24307 * libio/fileops.c: Fix typos in comments.
24308 * libio/oldfileops.c: Likewise.
24309 * libio/wfileops.c: Likewise.
24310
6ef9cc37
SP
243112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24312
24313 [BZ #1349]
24314 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24315 (tst-malloc-usable-ENV): Set environment for test case.
24316 * malloc/hooks.c (malloc_check_get_size): New function to get
24317 requested size.
24318 * malloc/malloc.c (musable): Use malloc_check_get_size.
24319 * malloc/tst-malloc-usable.c: New test case.
24320
4d038ae3
AS
243212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24322
24323 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24324
c4e85184
AM
243252012-09-05 Allan McRae <allan@archlinux.org>
24326
b9dafc56 24327 [BZ #13966]
c4e85184
AM
24328 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24329 determine header location.
24330 * configure: Regenerated.
24331
e1343020
AS
243322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24333
24334 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24335 float format.
24336 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24337 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24338 format.
e1343020
AS
24339 (test): Regenerate.
24340
0a9f1987
DM
243412012-09-04 David S. Miller <davem@davemloft.net>
24342
24343 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24344 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24345 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24346
29237804
FW
243472012-09-04 Florian Weimer <fweimer@redhat.com>
24348
24349 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24350 failures.
24351
edb3cb88
FW
24352 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24353
60160d83
JM
243542012-09-04 Joseph Myers <joseph@codesourcery.com>
24355
24356 [BZ #9914]
24357 * libio/iogetdelim.c: Include <limits.h>.
24358 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24359 + len + 1 would overflow.
24360
bcd6c8dc
AJ
243612012-09-03 Andreas Jaeger <aj@suse.de>
24362
24363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24364 * sysdeps/i386/fpu/libm-test-ulps: Update.
24365
4ffffbd2
LD
243662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24367
24368 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24369 Add s_sinf-sse2, s_conf-sse2.
24370
24371 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24372 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24373 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24374 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24375
24376 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24377 for using routine as __sinf_ia32.
24378 Use macro for function declaration and weak_alias.
24379 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24380 for using routine as __cosf_ia32.
24381 Use macro for function declaration and weak_alias.
24382
24383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24384 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24385
24386 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24387 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24389
24390 * math/libm-test.inc (cos_test): Add more test cases.
24391 (sin_test): Likewise.
24392 (sincos_test): Likewise.
24393
511fa286
AK
243942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24395
24396 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24397 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24398 hidden.
24399 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24400
5f30cfec
L
244012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24402
24403 [BZ #14538]
24404 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24405 first element of the GOT.
24406 (elf_machine_load_address): Return the difference between
24407 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24408
0786794f
AM
244092012-09-01 Allan McRae <allan@archlinux.org>
24410
5f30cfec
L
24411 [BZ #13412]
24412 * configure.in (AWK): Require gawk version 3.0 or later.
24413 * configure: Regenerated.
0786794f 24414
26889eac
JM
244152012-09-01 Joseph Myers <joseph@codesourcery.com>
24416
24417 * sysdeps/unix/sysv/linux/kernel-features.h
24418 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24419 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24420 [__NR_clock_getres]: Make code unconditional.
24421 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24422 (clock_getcpuclockid): Remove code left unreachable by removal of
24423 conditionals.
24424 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24425 code unconditional.
24426 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24427 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24428 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24429 Make code unconditional.
24430 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24431 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24432 * sysdeps/unix/sysv/linux/clock_settime.c
24433 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24434 conditional code.
24435 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24436 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24437
d22e28b0
L
244382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24439
24440 [BZ #14476]
24441 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24442 scripts/test-installation.pl.
24443
24444 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24445 and $ld_so_version if it is set.
24446
050af9c4
SP
244472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24448
24449 [BZ #14516]
24450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24451 failure if reading from procfs failed.
24452 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24453
ad845c0b
JM
244542012-08-27 Joseph Myers <joseph@codesourcery.com>
24455
24456 * sysdeps/unix/sysv/linux/kernel-features.h
24457 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24458 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24459 Remove conditional code.
24460 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24461 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24462 Remove conditional code.
24463 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24464 * sysdeps/unix/sysv/linux/i386/fxstat.c
24465 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24466 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24467 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24468 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24469 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24470 * sysdeps/unix/sysv/linux/i386/lxstat.c
24471 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24473 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24474 Remove conditional code.
24475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24476 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24477 Remove conditional code.
24478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24479 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24480 <kernel-features.h>.
24481 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24482 Remove.
24483 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24484 Remove conditional code.
24485 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24486 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24487 Remove conditional.
24488
5dbf56af
MF
244892012-08-27 Mike Frysinger <vapier@gentoo.org>
24490
24491 [BZ #5400]
24492 * NEWS: Add fixed bug number.
24493
d6e70f43
JM
244942012-08-27 Joseph Myers <joseph@codesourcery.com>
24495
7efb4737
JM
24496 [BZ #14519]
24497 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24498 underflowing exponent in case of negative sign.
24499 * stdlib/tst-strtod-round-data: Add more tests.
24500 * stdlib/tst-strtod-round.c (tests): Regenerated.
24501
af92131a
JM
24502 [BZ #3479]
24503 * stdlib/strtod_l.c (NDIG): Remove.
24504 (HEXNDIG): Likewise.
24505 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24506 smallest representable value.
24507 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24508 lie within an exact representation of 1/2 ulp of the result.
24509 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24510 unconditionally.
24511 (TENS_P9_IDX): Define unconditionally.
24512 (TENS_P9_SIZE): Likewise.
24513 (TENS_P10_IDX): Likewise.
24514 (TENS_P10_SIZE): Likewise.
24515 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24516 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24517 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24518 entries for 10^2^13 and 10^2^14.
24519 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24520 (TENS_P13_IDX): Define.
24521 (TENS_P13_SIZE): Likewise.
24522 (TENS_P14_IDX): Likewise.
24523 (TENS_P14_SIZE): Likewise.
24524 (_fpioconst_pow10): Change array size to
24525 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24526 unconditional.
24527 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24528 1024]: Add entries for 10^2^13 and 10^2^14.
24529 [LAST_POW10 > _LAST_POW10]: Remove #error.
24530 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24531 (_fpioconst_pow10): Change array size to
24532 FPIOCONST_POW10_ARRAY_SIZE.
24533 * stdlib/gen-fpioconst.c: New file.
24534 * stdlib/gen-tst-strtod-round.c: Likewise.
24535 * stdlib/tst-strtod-round-data: Likewise.
24536 * stdlib/tst-strtod-round.c: Likewise.
24537 * stdlib/Makefile (tests): Add tst-strtod-round.
24538
d6e70f43
JM
24539 [BZ #14459]
24540 * stdlib/strtod_l.c: Include <stdint.h>.
24541 (NDEBUG): Do not define.
24542 (round_and_return): Change EXPONENT parameter to type intmax_t.
24543 Rearrange calculations to avoid internal overflow possibilities.
24544 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24545 Rearrange calculations to avoid internal overflow possibilities.
24546 Assert that number fits inside MPNSIZE limbs.
24547 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24548 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24549 calculations and add assertions to avoid internal overflow
24550 possibilities. Add casts to avoid signed/unsigned operations.
24551 * stdlib/tst-strtod-overflow.c: New file.
24552 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24553
1f529f7d
MP
245542012-08-25 Marek Polacek <polacek@redhat.com>
24555
24556 * time/time.h: Fix some typos in comments.
24557
59a629f1
RM
245582012-08-23 Roland McGrath <roland@hack.frob.com>
24559
24560 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24561 * posix/tst-rfc3484-2.c: Likewise.
24562 * posix/tst-rfc3484-3.c: Likewise.
24563
d3bafbc9
SM
245642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24565
24566 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24567 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24568
4efcc022
JM
245692012-08-23 Joseph Myers <joseph@codesourcery.com>
24570
24571 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24572 #include of fxstatat64.c.
24573
3cc3ef96
RM
245742012-08-22 Roland McGrath <roland@hack.frob.com>
24575
f04e2132
RM
24576 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24577 * shadow/getspent_r.c: Likewise.
24578 * shadow/getspnam.c: Likewise.
24579 * shadow/getspnam_r.c: Likewise.
24580 * gshadow/getsgent.c: Likewise.
24581 * gshadow/getsgent_r.c: Likewise.
24582 * gshadow/getsgnam.c: Likewise.
24583 * gshadow/getsgnam_r.c: Likewise.
24584 * inet/getnetbyad.c: Likewise.
24585 * inet/getnetbyad_r.c: Likewise.
24586 * inet/getnetbynm.c: Likewise.
24587 * inet/getnetbynm_r.c: Likewise.
24588 * inet/getnetent.c: Likewise.
24589 * inet/getnetent_r.c: Likewise.
24590 * inet/getproto.c: Likewise.
24591 * inet/getproto_r.c: Likewise.
24592 * inet/getprtent.c: Likewise.
24593 * inet/getprtent_r.c: Likewise.
24594 * inet/getprtname.c: Likewise.
24595 * inet/getprtname_r.c: Likewise.
24596 * inet/getrpcbyname.c: Likewise.
24597 * inet/getrpcbyname_r.c: Likewise.
24598 * inet/getrpcbynumber.c: Likewise.
24599 * inet/getrpcbynumber_r.c: Likewise.
24600 * inet/getrpcent.c: Likewise.
24601 * inet/getrpcent_r.c: Likewise.
24602 * inet/getaliasent.c: Likewise.
24603 * inet/getaliasent_r.c: Likewise.
24604 * inet/getaliasname.c: Likewise.
24605 * inet/getaliasname_r.c: Likewise.
24606 * nscd/getgrgid_r.c: Likewise.
24607 * nscd/getgrnam_r.c: Likewise.
24608 * nscd/gethstbyad_r.c: Likewise.
24609 * nscd/gethstbynm3_r.c: Likewise.
24610 * nscd/getpwnam_r.c: Likewise.
24611 * nscd/getpwuid_r.c: Likewise.
24612 * nscd/getsrvbynm_r.c: Likewise.
24613 * nscd/getsrvbypt_r.c: Likewise.
24614 * nscd/gai.c: Likewise.
24615
c53d909c
RM
24616 * configure.in (build_nscd): New substituted variable, set
24617 by --disable-build-nscd and defaults to $use_nscd.
24618 * configure: Regenerated.
24619 * config.make.in (build-nscd): New substituted variable.
24620 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24621 Change conditional to require [$(build-nscd) = yes] as well.
24622 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24623
3cc3ef96
RM
24624 [BZ# 13696]
24625 * configure.in (use_nscd): New substituted variable, set by
24626 --disable-nscd. If enabled, define USE_NSCD.
24627 * configure: Regenerated.
24628 * config.h.in: Add USE_NSCD.
24629 * config.make.in (use-nscd): New substituted variable.
24630 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24631 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24632 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24633 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24634 (CFLAGS-getgrnam_r.c): Likewise.
24635 (CFLAGS-initgroups.c): Likewise.
24636 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24637 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24638 Variables removed.
24639 * inet/getnetgrent_r.c
24640 (nscd_setnetgrent): New function, broken out of ...
24641 (setnetgrent): ... here. Call it.
24642 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24643 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24644 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24645 * nscd/Makefile (routines, aux): Move definitions after include of
24646 Makeconfig. Conditionalize on [$(use-nscd) != no].
24647 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24648 Conditionalize on [USE_NSCD].
24649 (is_nscd, nscd_init_cb): Likewise.
24650 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24651 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24652 * nss/nss_db/db-init.c: Likewise.
24653 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24654 [USE_NSCD].
24655 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24656 (make_request): Use it.
24657 (cache_valid_p): New function.
24658 (__check_pf): Use it.
24659 * NEWS: Add item for --disable-nscd.
24660
07e51550
DL
246612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24662
24663 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24664 to support sed >= 4.2.1-20-ga9bf076.
24665 * configure: Regenerated.
24666
35a5b08b
RM
246672012-08-22 Roland McGrath <roland@hack.frob.com>
24668
24669 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24670 Conditionalize whole body on [IREL].
24671
8479f23a
JL
246722012-08-22 Jeff Law <law@redhat.com>
24673
24674 [BZ #14505]
24675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24676 if the family is PF_UNSPEC.
24677
48da0b21
MF
246782012-08-22 Mike Frysinger <vapier@gentoo.org>
24679
24680 * Makerules (lib-version): Rename from V.
24681 (install-lib-nosubdir): Change V to lib-version.
24682
15d0da8c
WS
246832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24684
24685 [BZ #14252]
24686 * powerpc32/power6/wcschr.c: New file.
24687 * powerpc32/power6/wcscpy.c: New file.
24688 * powerpc32/power6/wcsrchr.c: New file.
24689 * powerpc64/power6/wcschr.c: New file.
24690 * powerpc64/power6/wcscpy.c: New file.
24691 * powerpc64/power6/wcsrchr.c: New file.
24692
bcca0895
MK
246932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24694
24695 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24696 (two_way_short_needle): Use it.
5a4aaa33
RM
24697 * string/strstr.c (AVAILABLE1_USES_J): Define.
24698 * string/strcasestr.c: Likewise.
99677e57
MK
24699
24700 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24701 array references.
24702 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24703
400726de
MK
24704 [BZ #11607]
24705 * NEWS: Add an entry.
24706 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24707 define their defaults.
24708 (two_way_short_needle): Detect end-of-string on-the-fly.
24709 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24710 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24711 * string/bug-strcasestr1.c: New test.
24712 * string/Makefile: Run it.
24713
20a71f2c
MK
247142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24715
24716 [BZ #11607]
24717 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24718 the first character.
24719
21ad0558
RM
247202012-08-21 Roland McGrath <roland@hack.frob.com>
24721
24722 * csu/elf-init.c (__libc_csu_irel): Function removed.
24723 * csu/libc-start.c (apply_irel): New function.
24724 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24725
0e1d9911
JM
247262012-08-21 Joseph Myers <joseph@codesourcery.com>
24727
24728 * sysdeps/unix/sysv/linux/kernel-features.h
24729 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24730 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24731 <kernel-features.h>.
24732 [__NR_fadvise64_64]: Make code unconditional.
24733 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24734 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24735 !__NR_fadvise64_64)]: Likewise.
24736 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24737 !__NR_fadvise64_64))]: Likewise.
24738 [__NR_fadvise64]: Make code unconditional.
24739 [!__NR_fadvise64]: Remove conditional code.
24740 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24741 <kernel-features.h>.
24742 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24743 unconditional.
24744 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24745 conditional code.
24746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24747 not include <kernel-features.h>.
24748 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24749 unconditional.
24750 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24751 conditional code.
24752 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24753 include <kernel-features.h>.
24754 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24755 unconditional.
24756 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24757 conditional code.
24758
14a50c9d
WS
247592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24760
24761 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24762 slight instruction rearrangements per scrollpipe analysis.
24763 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24764
c0f4faf0
RM
247652012-08-20 Roland McGrath <roland@hack.frob.com>
24766
696da859
RM
24767 * manual/syslog.texi (syslog; vsyslog, closelog):
24768 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24769 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24770
c0f4faf0
RM
24771 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24772 DSOCAPS to match condition on defining it.
24773
348363b2
JM
247742012-08-20 Joseph Myers <joseph@codesourcery.com>
24775
a35cbf28
JM
24776 * sysdeps/unix/sysv/linux/kernel-features.h
24777 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24779 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24780 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24782 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24783 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24785 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24786 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24787
445f7ecd
JM
24788 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24789 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24790
348363b2
JM
24791 * sysdeps/unix/sysv/linux/kernel-features.h
24792 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24793 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24794 unconditional.
24795 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24796 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24797 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24798 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24799 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24800 Make code unconditional.
24801 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24802 (__mmap64) [!__NR_mmap2]: Likewise.
24803 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24804 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24805 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24806 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24807 [__NR_mmap2]: Make code unconditional.
24808 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24809 (__mmap64) [!__NR_mmap2]: Likewise.
24810
bc5bc0e5
AK
248112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24812
24813 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24814
88d506de
AJ
248152012-08-18 Andreas Jaeger <aj@suse.de>
24816
24817 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24818
493387d2
MF
248192012-08-18 Mike Frysinger <vapier@gentoo.org>
24820
24821 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24822 * include/unistd.h (__have_sock_cloexec): Likewise.
24823 (__have_pipe2): Likewise.
24824 (__have_dup3): Likewise.
24825
a277af22
MF
248262012-08-18 Mike Frysinger <vapier@gentoo.org>
24827
24828 [BZ #9685]
24829 * include/unistd.h (__have_pipe2): Change define into an extern int.
24830 (__have_dup3): Likewise.
24831 * socket/have_sock_cloexec.c: Include fcntl.h.
24832 (__have_pipe2): New variable.
24833 (__have_dup3): Likewise.
24834
fdab8fd3
MF
248352012-08-17 Mike Frysinger <vapier@gentoo.org>
24836
24837 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24838
31035e80
MP
248392012-08-17 Marek Polacek <polacek@redhat.com>
24840
24841 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24842 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24843
3bd9e993
RM
248442012-08-17 Roland McGrath <roland@hack.frob.com>
24845
c91c505f
RM
24846 * configure.in: Add AC_SUBST for sysheaders.
24847 * configure: Regenerated.
24848 * config.make.in (sysheaders): New substituted variable.
24849
7c6f9d53
RM
24850 * sysdeps/unix/mkfifo.c: Moved ...
24851 * sysdeps/posix/mkfifo.c: ... here.
24852 * sysdeps/unix/mkfifoat.c: Moved ...
24853 * sysdeps/posix/mkfifoat.c: ... here.
24854
24855 * sysdeps/unix/utime.c: Moved ...
24856 * sysdeps/posix/utime.c: ... here.
24857
24858 * sysdeps/unix/time.c: Moved ...
24859 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24860 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24861 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24862
24863 * sysdeps/unix/nice.c: Moved ...
24864 * sysdeps/posix/nice.c: ... here.
24865
24866 * sysdeps/unix/alarm.c: Moved ...
24867 * sysdeps/posix/alarm.c: ... here.
24868
3bd9e993
RM
24869 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24870
d1f09384
JL
248712012-08-17 Jeff Law <law@redhat.com>
24872
24873 * intl/Makefile (codeset_mo): New variable.
24874 ($(codeset_mo)): New target.
24875 (tst-codeset.out): Depend on that. Remove explicit rule.
24876 (tst-gettext3.out, tst-gettext5.out): Likewise.
24877 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24878 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24879 * intl/tst-codeset.sh: Remove.
24880 * intl/tst-gettext3.sh: Likewise.
24881 * intl/tst-gettext5.sh: Likewise.
24882
2ae1ae5c
RM
248832012-08-17 Roland McGrath <roland@hack.frob.com>
24884
c31fdb83
RM
24885 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24886 * sysdeps/unix/syscalls.list: ... here.
24887
a0844057
RM
24888 * sysdeps/posix/getaddrinfo.c
24889 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24890 (gaiconf_init, gaiconf_reload): Use them.
24891 [!_STATBUF_ST_NSEC]
24892 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24893 Define using time_t rather than struct timespec.
24894
750c1f2a
RM
24895 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24896 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24897 Macros removed.
24898 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24899 [!NO_THREADS].
24900 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24901 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24902 Likewise.
24903
2ae1ae5c
RM
24904 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24905 __libc_cleanup_push argument.
24906
e66a42f5
RM
24907 * bits/param.h: New file.
24908 * misc/sys/param.h: New file.
24909 * include/sys/param.h: New file.
24910 * misc/Makefile (headers): Add bits/param.h.
24911 * sysdeps/generic/sys/param.h: File removed.
24912 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24913 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24914 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24915 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24916
b7c08a66
RM
24917 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24918 last change.
24919
b2e1c562
RM
24920 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24921 [_IO_MTSAFE_IO].
24922 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24923 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24924 New macros.
24925
c75ccd4c
RM
24926 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24927 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24928 rather than -D_IO_MTSAFE_IO conditionally.
24929 * stdio-common/Makefile (CPPFLAGS): Likewise.
24930 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24931 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24932 Use $(libio-mtsafe).
24933 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24934 of -D_IO_MTSAFE_IO.
24935 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24936 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24937 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24938 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24939 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24940 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24941 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24942 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24943 (CFLAGS-fread_u_chk.c): Likewise.
24944 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24945 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24946 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24947 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24948 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24949 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24950 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24951 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24952 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24953
24954 * libio/Makefile: Test [$(libc-reentrant) = yes]
24955 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24956
24957 * Makeconfig
24958 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24959 * sysdeps/pthread/configure: File removed.
24960 * sysdeps/pthread/Makeconfig: New file.
24961 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24962 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24963
d9195db8
GB
249642012-08-16 Gary Benson <gbenson@redhat.com>
24965
24966 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24967 unmapping the first object in a namespace.
24968
86466cd9
RM
249692012-08-16 Roland McGrath <roland@hack.frob.com>
24970
24971 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24972 (__internal_setnetgrent): ... this. Add internal_function to
24973 definition. Add libc_hidden_def.
24974 (setnetgrent): Update caller.
24975 (internal_endnetgrent): Renamed to ...
24976 (__internal_endnetgrent): ... this. Add internal_function to
24977 definition. Add libc_hidden_def.
24978 (endnetgrent): Update caller.
24979 (internal_getnetgrent_r): Renamed to ...
24980 (__internal_getnetgrent_r): ... this. Add internal_function to
24981 definition. Add libc_hidden_def.
24982 (__getnetgrent_r): Update caller.
24983 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24984
c3c8283c
JM
249852012-08-16 Joseph Myers <joseph@codesourcery.com>
24986
24987 * stdlib/longlong.h: Update from GCC.
24988
db1ee0a8
RM
249892012-08-16 Roland McGrath <roland@hack.frob.com>
24990
24991 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24992 on _QL, which is set by umul_ppmm but never used.
24993 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24994 variables, which are set by GMP macros but never used.
24995 * stdio-common/_itowa.c (_itowa): Likewise.
24996 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24997 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24998
30f69637
CD
249992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25000
25001 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25002 struct La_sh_regs is not constant.
25003 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25004 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25005 and struct La_sparc64_regs are not constant.
25006
93a78ac4
JM
250072012-08-16 Joseph Myers <joseph@codesourcery.com>
25008
25009 * sysdeps/unix/sysv/linux/kernel-features.h
25010 (__ASSUME_POSIX_TIMERS): Remove.
25011 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25012 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25013 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25014 Make code unconditional.
25015 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25016 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25017 Make code unconditional.
25018 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25019 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25020 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25021 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25022 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25023 Make code unconditional.
25024 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25025 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25026 (__libc_missing_posix_timers): Remove.
25027
dd924cd7
RM
250282012-08-15 Roland McGrath <roland@hack.frob.com>
25029
4b4f2771
RM
25030 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25031 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25032
601c888b
RM
25033 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25034
176790a7
RM
25035 * elf/dl-sym.c: Include <stdlib.h>.
25036
329bc018
RM
25037 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25038 constants, which avoids warnings in 32-bit builds.
25039
e04e272d
RM
25040 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25041 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25042
952bf94a
RM
25043 * misc/lseek.c: File moved to ...
25044 * io/lseek.c: ... here.
25045
7c99b50a
RM
25046 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25047
dd924cd7
RM
25048 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25049 shifting LEN more than 31 bits at once.
25050
b3f479a8
LD
250512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25052
25053 [BZ #14195]
8c4ae0d4
RM
25054 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25055 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25056 * string/test-strncasecmp.c (check1): Renamed to...
25057 (bz12205): ...this.
25058 (bz14195): Add new testcase for two empty input strings and N > 0.
25059 (test_main): Call new testcase, adapt for renamed function.
25060
9c55864e
AJ
250612012-08-15 Andreas Jaeger <aj@suse.de>
25062
25063 [BZ #14090]
25064 * crypt/md5test2.c: New test, based on test supplied by Serge
25065 Belyshev <belyshev@depni.sinp.msu.ru>.
25066 * crypt/Makefile (xtests): Add md5test-giant..
25067 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25068
02dcb6c5
PE
250692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25070
25071 [BZ #14090]
25072 * crypt/md5.c (md5_process_block): Don't assume the buffer
25073 length is less than 2**32.
25074 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25075 length is less than 2**64.
25076
a3f95dcc
RM
250772012-08-15 Roland McGrath <roland@hack.frob.com>
25078
be75d758
RM
25079 * string/str-two-way.h: Include <sys/param.h>.
25080 (MAX): Macro removed.
25081
7312ca90
RM
25082 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25083 Move #define and #undef of memmove to just before and after
25084 including <string.h>.
25085
9a0a5486
RM
25086 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25087 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25088 and after including <string.h>. Move declarations of
25089 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25090 to before #include "string/memmove.c".
25091
67cc348d
RM
25092 * include/dirent.h: Declare __getdirentries.
25093
a3f95dcc
RM
25094 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25095 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25096
ca98e171
MF
250972012-08-14 Mike Frysinger <vapier@gentoo.org>
25098
25099 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25100 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25101 * sysdeps/i386/configure: Regenerated.
25102 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25103 STABS_CURRENT_FILE, and STABS_FUN.
25104 (END): Remove call to STABS_FUN_END.
25105 (STABS_CURRENT_FILE1): Delete.
25106 (STABS_CURRENT_FILE): Likewise.
25107 (STABS_FUN): Likewise.
25108 (STABS_FUN_END): Likewise.
25109 (STABS_FUN2): Likewise.
25110 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25111 * sysdeps/x86_64/configure: Regenerated.
25112
5908bf46
RM
251132012-08-14 Roland McGrath <roland@hack.frob.com>
25114
25115 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25116 * elf/dl-lookup.c: Likewise.
5908bf46 25117
f2c05b9e
JM
251182012-08-14 Joseph Myers <joseph@codesourcery.com>
25119
25120 * sysdeps/unix/sysv/linux/kernel-features.h
25121 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25122 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25123 unconditionally.
25124 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25125 unconditionally.
25126 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25127 condition on __ASSUME_CLONE_THREAD_FLAGS.
25128
e11f5155
AJ
251292012-08-14 Andreas Jaeger <aj@suse.de>
25130
25131 * sysdeps/i386/fpu/libm-test-ulps: Update.
25132
51a9ba86
MK
251332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25134
2fdd4f78
AJ
25135 * include/atomic.h (atomic_exchange_and_add): Split into ...
25136 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25137 New atomic macros.
51a9ba86 25138
ba6cba9e
MT
251392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25140
25141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25142
42443a47
JL
251432012-08-13 Jeff Law <law@redhat.com>
25144
25145 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25146 null byte in the output string.
25147
121dce05
JM
251482012-08-10 Joseph Myers <joseph@codesourcery.com>
25149
25150 * sysdeps/unix/sysv/linux/kernel-features.h
25151 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25152 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25153 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25154 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25155 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25156 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25157 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25158
bf51f568
JL
251592012-08-09 Jeff Law <law@redhat.com>
25160
25161 [BZ #13939]
25162 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25163 When avoid_arena is set, don't retry in the that arena. Pick the
25164 next one, whatever it might be.
25165 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25166 (arena_lock): Pass in new parameter to arena_get2.
25167 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25168 arena_get2.
25169 (__libc_malloc): Unify retrying after main arena failure with
25170 __libc_memalign version.
25171 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25172
f85fa270
L
251732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25174
25175 [BZ #14166]
25176 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25177 to __redirect_strstr.
25178 (__strstr_sse42): Use typeof __redirect_strstr.
25179 (__strstr_ia32): Likewise.
25180 (__libc_strstr): New prototype.
25181 (strstr): Renamed to ...
25182 (__libc_strstr): This.
25183 (strstr): New strong alias of __libc_strstr.
25184 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25185 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25186 __redirect_time.
25187 Include <time.h>.
25188 (__libc_time): New prototype.
25189 (time_ifunc): Replace time with __libc_time.
25190 (time): New strong alias and hidden definition of __libc_time.
25191 (__GI_time): Remove strong alias.
25192 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25193 Include <stddef.h>.
25194 (memmove): Redefined to __redirect_memmove.
25195 (__memmove_sse2): Use typeof __redirect_memmove.
25196 (__memmove_ssse3): Likewise.
25197 (__memmove_ssse3_back): Likewise.
25198 (__libc_memmove): New prototype.
25199 (memmove): Renamed to ...
25200 (__libc_memmove): This.
25201 (memmove): New strong alias of __libc_memmove.
25202
33b4a91e
MS
252032012-08-08 Mark Salter <msalter@redhat.com>
25204
25205 * elf/elf.h
25206 (R_MN10300_TLS_GD): Define.
25207 (R_MN10300_TLS_LD): Likewise.
25208 (R_MN10300_TLS_LDO): Likewise.
25209 (R_MN10300_TLS_GOTIE): Likewise.
25210 (R_MN10300_TLS_IE): Likewise.
25211 (R_MN10300_TLS_LE): Likewise.
25212 (R_MN10300_TLS_DTPMOD): Likewise.
25213 (R_MN10300_TLS_DTPOFF): Likewise.
25214 (R_MN10300_TLS_TPOFF): Likewise.
25215 (R_MN10300_SYM_DIFF): Likewise.
25216 (R_MN10300_ALIGN): Likewise.
25217 (R_MN10300_NUM): Update.
25218
b36137f1
JM
252192012-08-08 Joseph Myers <joseph@codesourcery.com>
25220
25221 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25222 Remove.
25223
cdd915fd
RM
252242012-08-08 Roland McGrath <roland@hack.frob.com>
25225
a2433aac
RM
25226 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25227
cdd915fd
RM
25228 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25229 sysdeps/unix -> sysdeps/posix move.
25230 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25231
bf9b740a
AM
252322012-08-07 Allan McRae <allan@archlinux.org>
25233
25234 [BZ #14303]
25235 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25236 (SUNOS_CPP): Likewise.
25237 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25238 not found.
25239 (open_input): Call CPP using execvp.
25240
93df14ee
JM
252412012-08-07 Joseph Myers <joseph@codesourcery.com>
25242
25243 * sysdeps/unix/sysv/linux/kernel-features.h
25244 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25245 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25246 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25247 (__ASSUME_WAITID_SYSCALL): Likewise.
25248 * sysdeps/unix/sysv/linux/dl-execstack.c
25249 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25250 code unconditional.
25251 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25252 conditional code.
25253 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25254 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25255 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25256 code.
25257 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25258 unconditional.
25259 [__ASSUME_WAITID_SYSCALL]: Likewise.
25260 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25261
d34689de
RM
252622012-08-07 Roland McGrath <roland@hack.frob.com>
25263
a281decc
RM
25264 * sysdeps/unix/closedir.c: Renamed to ...
25265 * sysdeps/posix/closedir.c: ... here.
25266 * sysdeps/unix/dirfd.c: Renamed to ...
25267 * sysdeps/posix/dirfd.c: ... here.
25268 * sysdeps/unix/dirstream.h: Renamed to ...
25269 * sysdeps/posix/dirstream.h: ... here.
25270 * sysdeps/unix/fdopendir.c: Renamed to ...
25271 * sysdeps/posix/fdopendir.c: ... here.
25272 * sysdeps/unix/opendir.c: Renamed to ...
25273 * sysdeps/posix/opendir.c: ... here.
25274 * sysdeps/unix/readdir.c: Renamed to ...
25275 * sysdeps/posix/readdir.c: ... here.
25276 * sysdeps/unix/readdir_r.c: Renamed to ...
25277 * sysdeps/posix/readdir_r.c: ... here.
25278 * sysdeps/unix/rewinddir.c: Renamed to ...
25279 * sysdeps/posix/rewinddir.c: ... here.
25280 * sysdeps/unix/seekdir.c: Renamed to ...
25281 * sysdeps/posix/seekdir.c: ... here.
25282 * sysdeps/unix/telldir.c: Renamed to ...
25283 * sysdeps/posix/telldir.c: ... here.
25284 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25285 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25286 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25287 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25288
22895b47
RM
25289 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25290 * bits/fcntl.h: ... here.
25291
707a53b6
RM
25292 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25293 not 0.
25294 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25295 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25296 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25297 (struct flock): Move l_start, l_len to the beginning.
25298 Use __pid_t for l_pid.
25299 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25300 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25301 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25302 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25303 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25304 [__USE_LARGEFILE64] (struct flock64): New type.
25305 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25306
f0bd3e25
RM
25307 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25308 * bits/dirent.h: ... here.
25309
d34689de
RM
25310 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25311 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25312
6dad2c06
JM
253132012-08-07 Joseph Myers <joseph@codesourcery.com>
25314
25315 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25316 Change from 2.6.0 to 2.6.16.
25317 * sysdeps/unix/sysv/linux/configure: Regenerated.
25318 * sysdeps/unix/sysv/linux/kernel-features.h
25319 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25320 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25321 version.
25322 (__ASSUME_UTIMES): Likewise.
25323 (__ASSUME_CLONE_STOPPED): Remove.
25324 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25325 architectures, not kernel version.
25326 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25327 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25328 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25329 (__ASSUME_WAITID_SYSCALL): Likewise.
25330 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25331 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25332 * README: State 2.6.16 as minimum Linux kernel version. Do not
25333 refer to older versions.
25334
03af9520
RM
253352012-08-06 Roland McGrath <roland@hack.frob.com>
25336
8e49df1d
RM
25337 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25338 Define alphasort64 as an alias.
25339 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25340 Define versionsort64 as an alias.
25341 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25342 Define scandir64 as an alias.
25343 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25344 Define scandirat64 as an alias.
25345 * dirent/alphasort64.c (alphasort64):
25346 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25347 * dirent/versionsort64.c: Likewise.
25348 * dirent/scandir64.c: Likewise.
25349 * dirent/scandirat64.c: Likewise.
25350 * sysdeps/wordsize-64/alphasort.c: File removed.
25351 * sysdeps/wordsize-64/alphasort64.c: File removed.
25352 * sysdeps/wordsize-64/scandir.c: File removed.
25353 * sysdeps/wordsize-64/scandir64.c: File removed.
25354 * sysdeps/wordsize-64/scandirat.c: File removed.
25355 * sysdeps/wordsize-64/scandirat64.c: File removed.
25356 * sysdeps/wordsize-64/versionsort.c: File removed.
25357 * sysdeps/wordsize-64/versionsort64.c: File removed.
25358 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25361 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25363 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25364 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25365 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25366
25367 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25369 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25371 [defined __arch64__ || defined __sparcv9]
25372 (__INO_T_MATCHES_INO64_T): New macro.
25373 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25374 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25375 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25376 * sysdeps/unix/sysv/linux/bits/dirent.h
25377 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25378 (_DIRENT_MATCHES_DIRENT64): New macro.
25379
03af9520
RM
25380 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25381 Define lockf64 as an alias.
25382 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25383 Define fseeko64 as an alias.
25384 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25385 Define ftello64 as an alias.
25386 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25387 Define _IO_fgetpos64 and fgetpos64 as aliases.
25388 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25389 Define _IO_fsetpos64 and fsetpos64 as aliases.
25390 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25391 Conditionalize body on this.
25392 * libio/fseeko64.c: Likewise.
25393 * libio/ftello64.c: Likewise.
25394 * libio/iofgetpos64.c: Likewise.
25395 * libio/iofsetpos64.c: Likewise.
25396 * sysdeps/wordsize-64/lockf.c: File removed.
25397 * sysdeps/wordsize-64/lockf64.c: File removed.
25398 * sysdeps/wordsize-64/fseeko.c: File removed.
25399 * sysdeps/wordsize-64/fseeko64.c: File removed.
25400 * sysdeps/wordsize-64/ftello.c: File removed.
25401 * sysdeps/wordsize-64/ftello64.c: File removed.
25402 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25403 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25404 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25405 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25406 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25407 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25408 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25410 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25412 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25414 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25415 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25416
25417 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25419 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25420 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25421 [defined __arch64__ || defined __sparcv9]
25422 (__OFF_T_MATCHES_OFF64_T): New macro.
25423 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25424 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25426 (__OFF_T_MATCHES_OFF64_T): New macro.
25427
c5757acd
L
254282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25429
25430 * stdlib/secure-getenv.c (__secure_getenv): Replace
25431 GLIBC_2_16 with GLIBC_2_17.
25432
3a31811e
L
254332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25434
25435 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25436 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25437
faa2bccb
DM
254382012-08-03 David S. Miller <davem@davemloft.net>
25439
25440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25441
85fe1997
JM
254422012-08-03 Joseph Myers <joseph@codesourcery.com>
25443
25444 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25445 Remove.
25446 (__ASSUME_CORRECT_SI_PID): Likewise.
25447 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25448 (__ASSUME_TMPFS_NAME): Likewise.
25449 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25450 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25451 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25452 (HAVE_AUX_SECURE): Make definition unconditional.
25453 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25454 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25455
4f75b7a0
RM
254562012-08-03 Roland McGrath <roland@hack.frob.com>
25457
25458 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25459 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25460 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25461 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25462 __eloop_threshold instead of SYMLOOP_MAX.
25463
25464 * sysdeps/generic/eloop-threshold.h: New file.
25465 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25466 of MAXSYMLINKS.
25467 * elf/chroot_canon.c (chroot_canon): Likewise.
25468
7aab07e4
JM
254692012-08-03 Joseph Myers <joseph@codesourcery.com>
25470
25471 [BZ #13717]
25472 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25473 Change to 2.6.0 everywhere.
25474 * sysdeps/unix/sysv/linux/configure: Regenerated.
25475 * sysdeps/unix/sysv/linux/kernel-features.h
25476 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25477 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25478 kernel versions.
25479 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25480 (__ASSUME_FUTEX_REQUEUE): Remove.
25481 (__ASSUME_STATFS64): Define unconditionally.
25482 (__ASSUME_AT_SECURE): Likewise.
25483 (__ASSUME_CORRECT_SI_PID): Likewise.
25484 (__ASSUME_TGKILL): Define without depending on kernel version for
25485 i386.
25486 (__ASSUME_UTIMES): Likewise.
25487 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25488 kernel version.
25489 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25490 (__ASSUME_TMPFS_NAME): Likewise.
25491 * README: Update reference to Linux kernel versions.
25492
b67e9372
MP
254932012-08-02 Marek Polacek <polacek@redhat.com>
25494
1f529f7d 25495 [BZ# 14150]
b67e9372
MP
25496 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25497 libc_cv_asm_type_prefix with %.
25498 * configure: Regenerated.
d2441631
RM
25499 * include/libc-symbols.h: Remove comment about
25500 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25501 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25502 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25503 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25504 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25505 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25506 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25507 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25508 * elf/tst-unique2mod1.c: Likewise.
25509 * elf/tst-unique1mod2.c: Likewise.
25510 * elf/tst-unique1mod1.c: Likewise.
25511 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25512 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25513 Replace ASM_TYPE_DIRECTIVE with .type.
25514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25515 * sysdeps/i386/sysdep.h: Likewise.
25516 * sysdeps/x86_64/sysdep.h: Likewise.
25517 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25519 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25520 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25521 * sysdeps/powerpc/powerpc32/sysdep.h:
25522 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25523 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25524 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25525 * sysdeps/i386/fpu/e_powf.S: Likewise.
25526 * sysdeps/i386/fpu/e_expl.S: Likewise.
25527 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25528 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25529 * sysdeps/i386/fpu/e_pow.S: Likewise.
25530 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25531 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25532 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25533 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25534 * sysdeps/i386/fpu/e_log2.S: Likewise.
25535 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25536 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25537 * sysdeps/i386/fpu/e_powl.S: Likewise.
25538 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25539 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25540 * sysdeps/i386/fpu/e_logl.S: Likewise.
25541 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25542 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25543 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25544 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25545 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25546 * sysdeps/i386/fpu/e_log.S: Likewise.
25547 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25548 * sysdeps/i386/fpu/e_logf.S: Likewise.
25549 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25550 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25551 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25552 * sysdeps/i386/fpu/e_log10.S: Likewise.
25553 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25554 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25555 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25556 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25557 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25558 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25559 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25560 * sysdeps/i386/i686/strtok.S: Likewise.
25561 * sysdeps/i386/i386-mcount.S: Likewise.
25562 * sysdeps/i386/strtok.S: Likewise.
25563 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25564 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25565 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25566 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25567 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25568 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25569 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25570 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25571 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25572 * sysdeps/x86_64/_mcount.S: Likewise.
25573 * sysdeps/x86_64/strtok.S: Likewise.
25574 * sysdeps/sh/_mcount.S: Likewise.
25575
2747bf9a
RM
255762012-08-01 Roland McGrath <roland@hack.frob.com>
25577
25578 * libio/iofopen.c: Include <fcntl.h>.
25579 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25580 (_IO_fopen64, fopen64): Define as aliases.
25581 * libio/iofopen64.c: Include <fcntl.h>.
25582 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25583 Conditionalize body on this.
25584 * sysdeps/wordsize-64/iofopen.c: File removed.
25585 * sysdeps/wordsize-64/iofopen64.c: File removed.
25586
3fb791b8
MP
255872012-08-01 Marek Polacek <polacek@redhat.com>
25588
25589 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25590 Use dlfcn directly instead of a variable.
25591 (binfmt-subdir): Do not define.
25592 (dlfcn): Likewise.
25593
a9f1039f
JM
255942012-08-01 Joseph Myers <joseph@codesourcery.com>
25595
23bddc06
JM
25596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25597 Remove all definitions.
25598 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25599 <kernel-features.h>.
25600 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25601 (miss_F_GETOWN_EX): Remove all definitions.
25602 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25603 macro definition.
25604 [!__ASSUME_FCNTL64]: Remove conditional code.
25605 [__ASSUME_FCNTL64]: Make code unconditional.
25606 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25607 <kernel-features.h>.
25608 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25609 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25610 (lockf64) [__NR_fcntl64]: Make code unconditional.
25611 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25612
a9f1039f
JM
25613 * sysdeps/unix/sysv/linux/kernel-features.h
25614 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25615 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25616 Make code unconditional.
25617 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25618 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25620 [__NR_vfork]: Make code unconditional.
25621 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25622 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25624 [__NR_vfork]: Make code unconditional.
25625 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25626 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25627
09c0ee5f
RM
256282012-08-01 Roland McGrath <roland@hack.frob.com>
25629
48aec5b9
RM
25630 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25631 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25632
cd97c966
RM
25633 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25634 Define mkstemp64 as an alias.
3f55550c
RM
25635 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25636 Define mkstemps64 as an alias.
cd97c966
RM
25637 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25638 Define mkostemp64 as an alias.
b8625cfc
RM
25639 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25640 Define mkostemps64 as an alias.
cd97c966
RM
25641 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25642 Conditionalize body on this.
25643 * misc/mkostemp64.c: Likewise.
b8625cfc 25644 * misc/mkostemps64.c: Likewise.
3f55550c 25645 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25646 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25647 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25648 * sysdeps/wordsize-64/mkostemp.c: File removed.
25649 * sysdeps/wordsize-64/mkstemp.c: File removed.
25650 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25651 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25652 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25653 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25654
09c0ee5f
RM
25655 [BZ #14138]
25656 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25657 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25658 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25659 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25660
25661 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25662 compat_symbol macros from <shlib-compat.h> rather than the underlying
25663 default_symbol_version and symbol_version macros, so that DEFAULT
25664 lines in shlib-versions are respected.
25665 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25666
7e66ee51
FW
256672012-08-01 Florian Weimer <fweimer@redhat.com>
25668
25669 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25670 Declare with warn_unused_result.
25671 (setgid, setregid, setegid, setresgid): Likewise.
25672 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25673 Likewise.
25674 * WUR-REPORT: Remove set*id functions.
25675
d2a54255
PT
256762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25677
25678 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25679
7ecdb005
RM
256802012-07-31 Roland McGrath <roland@hack.frob.com>
25681
b4180a5e 25682 [BZ #10191]
789bd351
RM
25683 * include/sys/socket.h (__libc_accept, __libc_accept4):
25684 Add attribute_hidden.
25685 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25686
40ce302d
RM
25687 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25688 use of PTR_MANGLE.
25689 * inet/getnetgrent_r.c (setup): Likewise.
25690
7ecdb005
RM
25691 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25692
e2eabb2c
DM
256932012-07-31 David S. Miller <davem@davemloft.net>
25694
25695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25696
d0419dbf
JM
256972012-07-31 Joseph Myers <joseph@codesourcery.com>
25698
25699 [BZ #13629]
25700 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25701 value between 1.0 and 2.0 and smaller part has absolute value less
25702 than 1.0.
25703 * math/s_clog10.c (__clog10): Likewise.
25704 * math/s_clog10f.c (__clog10f): Likewise.
25705 * math/s_clog10l.c (__clog10l): Likewise.
25706 * math/s_clogf.c (__clogf): Likewise.
25707 * math/s_clogl.c (__clogl): Likewise.
25708 * math/libm-test.inc (clog_test): Add more tests.
25709 (clog10_test): Likewise.
25710 * sysdeps/i386/fpu/libm-test-ulps: Update.
25711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25712
2bc13872
FW
257132012-07-31 Florian Weimer <fweimer@redhat.com>
25714
25715 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25716 Exit with zero in case no suitable GID is found, and write a
25717 message to standard error.
25718
bea9b193
RM
257192012-07-30 Roland McGrath <roland@hack.frob.com>
25720
25721 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25722 rather than to 1.
25723 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25724 (MAXPATHLEN): Removed.
25725 (NOGROUP, NODEV): New macros.
25726 (setbit, clrbit, isset, isclr): New macros.
25727 (howmany, roundup, powerof2): New macros.
25728 (DEV_BSIZE): New macro.
25729
25730 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25731 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25732
25733 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25734 definition on [!__NO_LONG_DOUBLE_MATH].
25735
25736 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25737 PTR_MANGLE and PTR_DEMANGLE.
25738
25739 * socket/accept4.c (accept4): Rename to __libc_accept4.
25740 Define accept4 as a weak alias.
25741
25742 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25743 on [_DIRENT_HAVE_D_TYPE].
25744 * io/ftw.c (ftw_dir): Likewise.
25745
25746 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25747
25748 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25749
25750 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25751 Use the BSD numbers rather than the arbitrary ones we had.
25752 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25753 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25754 (SIGXCPU, SIGXFSZ): New macros.
25755 (_NSIG): Now 32.
25756
25757 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25758 initializer on [_LIBC_REENTRANT].
25759
25760 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25761 definitions inside [_POSIX_MAPPED_FILES].
25762
25763 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25764
25765 * dirent/opendir.c: Include <fcntl.h>.
25766
25767 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25768 (__libc_getspecific): Likewise.
25769 (__libc_key_create): Likewise.
25770
25771 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25772 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25773 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25774 (tmpfile64): Define as alias.
25775 * sysdeps/wordsize-64/tmpfile.c: File removed.
25776 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25779
25780 * stdio-common/vfscanf.c: Include <stdbool.h>.
25781 * nss/makedb.c: Likewise.
25782 * stdio-common/_i18n_number.h: Likewise.
25783 * argp/argp-help.c: Likewise.
25784 * posix/wordexp.c: Likewise.
25785 * sysdeps/posix/spawni.c: Likewise.
25786 * nss/nss_files/files-initgroups.c: Likewise.
25787 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25788 * nss/nss_files/files-initgroups.c: Likewise.
25789 * nss/nss_db/db-netgrp.c: Likewise.
25790 * nss/nss_db/db-initgroups.c: Likewise.
25791 * io/fchmodat.c: Include <sys/stat.h>.
25792
25793 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25794 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25795
25796 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25797 [HAVE_MMAP].
25798
25799 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25800 Add multiple inclusion protection.
25801
e5abc686
DM
258022012-07-27 David S. Miller <davem@davemloft.net>
25803
25804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25805
815e6fa3
GB
258062012-07-27 Gary Benson <gbenson@redhat.com>
25807
25808 [BZ #14298]
25809 * elf/rtld.c: Include <stap-probe.h>.
25810 (dl_main): Added static probes "init_start" and "init_complete".
25811 * elf/dl-load.c: Include <stap-probe.h>.
25812 (lose): Take new parameter "nsid".
25813 Added static probe "map_failed".
25814 (_dl_map_object_from_fd): Pass namespace id to lose.
25815 Added static probe "map_start".
25816 (open_verify): Pass namespace id to lose.
25817 * elf/dl-open.c: Include <stap-probe.h>.
25818 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25819 and "reloc_complete".
25820 * elf/dl-close.c: Include <stap-probe.h>.
25821 (_dl_close_worker): Added static probes "unmap_start" and
25822 "unmap_complete".
25823 * elf/rtld-debugger-interface.txt: New file documenting the above.
25824
9f98c16c
RM
258252012-07-26 Roland McGrath <roland@hack.frob.com>
25826
25827 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25828 rather than a string variable.
25829 * sunrpc/rpc_main.c (h_output): Likewise.
25830 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25831
f3c22df3
PT
258322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25833
25834 * inet/check_native.c: New file.
25835
3129cfc6
JM
258362012-07-26 Joseph Myers <joseph@codesourcery.com>
25837
da865e95
JM
25838 [BZ #13629]
25839 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25840 if larger part has absolute value 1.0.
25841 * math/s_clog10.c (__clog10): Likewise.
25842 * math/s_clog10f.c (__clog10f): Likewise.
25843 * math/s_clog10l.c (__clog10l): Likewise.
25844 * math/s_clogf.c (__clogf): Likewise.
25845 * math/s_clogl.c (__clogl): Likewise.
25846 * math/libm-test.inc (clog_test): Add more tests.
25847 (clog10_test): Likewise.
25848 * sysdeps/i386/fpu/libm-test-ulps: Update.
25849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25850
3129cfc6
JM
25851 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25852 (pltexit): Likewise.
25853 (La_regs): Likewise.
25854 (La_retval): Likewise.
25855 (int_retval): Likewise.
25856 Update #error for removed macros to refer only to definitions in
25857 tst-audit.h.
25858 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25859 macro.
25860 (pltexit): Likewise.
25861 (La_regs): Likewise.
25862 (La_retval): Likewise.
25863 (int_retval): Likewise.
25864 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25865 macro.
25866 (pltexit): Likewise.
25867 (La_regs): Likewise.
25868 (La_retval): Likewise.
25869 (int_retval): Likewise.
25870 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25871 macro.
25872 (pltexit): Likewise.
25873 (La_regs): Likewise.
25874 (La_retval): Likewise.
25875 (int_retval): Likewise.
25876 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25877 macro.
25878 (pltexit): Likewise.
25879 (La_regs): Likewise.
25880 (La_retval): Likewise.
25881 (int_retval): Likewise.
25882 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25883 macro.
25884 (pltexit): Likewise.
25885 (La_regs): Likewise.
25886 (La_retval): Likewise.
25887 (int_retval): Likewise.
25888 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25889 macro.
25890 (pltexit): Likewise.
25891 (La_regs): Likewise.
25892 (La_retval): Likewise.
25893 (int_retval): Likewise.
25894 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25895 macro definitions in tst-audit.h.
25896 * sysdeps/i386/tst-audit.h: New file.
25897 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25898 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25899 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25900 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25901 * sysdeps/sh/tst-audit.h: Likewise.
25902 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25903 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25904 * sysdeps/x86_64/tst-audit.h: Likewise.
25905
bfc07087
AJ
259062012-07-26 Andreas Jaeger <aj@suse.de>
25907
b1b2aaf8
AJ
25908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25909 ptrace.
25910
25911 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25912 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25913 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25914 PTRACE_O_MASK.
25915 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25916 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25917 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25918
bfc07087
AJ
25919 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25920 value.
25921
25922 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25923 _sigsys.
25924 (si_call_addr, si_syscall, si_arch): Define new macro.
25925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25926 _sigsys.
25927 (si_call_addr, si_syscall, si_arch): Define new marcro.
25928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25929 _sigsys.
25930 (si_call_addr, si_syscall, si_arch): Define new macro.
25931 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25932 _sigsys.
25933 (si_call_addr, si_syscall, si_arch): Define new macro.
25934
89b4b02f
JM
259352012-07-25 Joseph Myers <joseph@codesourcery.com>
25936
25937 [BZ #13717]
25938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25939 Change to 2.4.21 where previously 2.4.1.
25940 * sysdeps/unix/sysv/linux/configure: Regenerated.
25941 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25942 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25943 Linux kernel version.
25944 (__ASSUME_STD_AUXV): Remove.
25945 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25946 kernel version.
25947 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25948 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25949 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25950 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25951 (__ASSUME_NETLINK_SUPPORT): Likewise.
25952 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25953 (__no_netlink_support): Remove conditional definition.
25954 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25955 Remove.
25956 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25957 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25958 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25959 (if_nameindex_ioctl): Remove.
25960 (if_nameindex_netlink): Do not handle __no_netlink_support.
25961 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25962 code.
25963 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25964 Remove conditional code.
25965 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25966 code.
25967 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25968 unconditional.
25969 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25970 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25971 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25972 Remove.
25973 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25974 [!__ASSUME_STD_AUXV]: Remove conditional code.
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25976 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25977 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25979 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25980 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25981 code.
25982 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25984 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25985 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25986 conditional code.
25987 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25989 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25990 code.
25991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25992 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25993 conditional code.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25995 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25996 code unconditional.
25997 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25998 conditional code.
25999 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26000 unconditional.
26001 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26002 conditional code.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26004 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26005 unconditional.
26006 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26007 conditional code.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26009 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26010 code unconditional.
26011 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26012 conditional code.
26013 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26014 unconditional.
26015 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26016 conditional code.
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26018 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26019 code unconditional.
26020 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26021 conditional code.
26022 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26023 unconditional.
26024 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26025 conditional code.
26026
842a39cd
AS
260272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26028
26029 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26030 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26031 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26032 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26033 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26034 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26035 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26036 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26037 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26038 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26039 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26040 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26041 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26042 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26044 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26045 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26047 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26049 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26050 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26051 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26052
84b3fd84
FW
260532012-07-25 Florian Weimer <fweimer@redhat.com>
26054
26055 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26056 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26057 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26058 Introduce __libc_secure_getenv.
0c7936d5
FW
26059 * stdlib/Versions (2.17): Add secure_getenv
26060 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26061 * stdlib/secure-getenv.c: Rename __secure_getenv to
26062 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26063 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26064 * stdlib/tst-secure-getenv.c: New.
26065 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26066 * manual/startup.texi (Environment Access): Document
26067 secure_getenv.
84b3fd84
FW
26068 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26069 __libc_secure_getenv.
26070 * inet/ruserpass.c (ruserpass): Likewise.
26071 * malloc/mtrace.c (mtrace): Likewise.
26072 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26073 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26074 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26075 * sysdeps/posix/tempname.c: Likewise. Evaluate
26076 HAVE_SECURE_GETENV.
26077 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26078 __secure_getenv to __libc_secure_getenv.
84b3fd84 26079 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26081 Likewise.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26083 Likewise.
26084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26091
56e49b71
JM
260922012-07-25 Joseph Myers <joseph@codesourcery.com>
26093
26094 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26095 (struct La_i86_retval): Likewise.
26096 (struct La_x86_64_regs): Likewise.
26097 (struct La_x86_64_retval): Likewise.
26098 (struct La_x32_regs): Likewise.
26099 (struct La_x32_retval): Likewise.
26100 (struct La_ppc32_regs): Likewise.
26101 (struct La_ppc32_retval): Likewise.
26102 (struct La_ppc64_regs): Likewise.
26103 (struct La_ppc64_retval): Likewise.
26104 (struct La_sh_regs): Likewise.
26105 (struct La_sh_retval): Likewise.
26106 (struct La_s390_32_regs): Likewise.
26107 (struct La_s390_32_retval): Likewise.
26108 (struct La_s390_64_regs): Likewise.
26109 (struct La_s390_64_retval): Likewise.
26110 (struct La_sparc32_regs): Likewise.
26111 (struct La_sparc32_retval): Likewise.
26112 (struct La_sparc64_regs): Likewise.
26113 (struct La_sparc64_retval): Likewise.
26114 (struct audit_ifaces): Remove architecture-specific pltenter and
26115 pltexit members.
26116 * sysdeps/i386/ldsodefs.h: New file.
26117 * sysdeps/powerpc/ldsodefs.h: Likewise.
26118 * sysdeps/s390/ldsodefs.h: Likewise.
26119 * sysdeps/sh/ldsodefs.h: Likewise.
26120 * sysdeps/sparc/ldsodefs.h: Likewise.
26121 * sysdeps/x86_64/ldsodefs.h: Likewise.
26122
354691b7
MP
261232012-07-25 Marek Polacek <polacek@redhat.com>
26124
26125 [BZ #6808]
26126 * math/libm-test.inc (yn_test): Add another test.
26127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26128 to ERANGE when the result is +-Inf.
26129 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26130 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26131 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26132 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26133
bf9e2071
JM
261342012-07-24 Joseph Myers <joseph@codesourcery.com>
26135
26136 * conform/data/time.h-data (NULL): Use macro-constant. Require
26137 equal to 0.
26138 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26139 clock_t.
26140 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26141
57633811
TS
261422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26143
26144 * configure.in <sysdeps resolving>: Correct printing
26145 Implies_before.
26146 * configure: Regenerate.
26147
c23c33b0
TS
261482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26149
26150 * math/w_ilogb.c: Include <limits.h>.
26151 * math/w_ilogbl.c: Likewise.
26152
b5982523
JM
261532012-07-20 Joseph Myers <joseph@codesourcery.com>
26154
26155 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26156 va_copy. Document allowing for unavailable va_copy only as
26157 pre-C99 compatibility.
26158 * manual/string.texi (Copying and Concatenation): Use va_copy
26159 instead of __va_copy in concat example.
26160
ac4ea442
PT
261612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26162
26163 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26164 (__sendto): Use create_address_port. Initialize APORT and deallocate
26165 it if not null.
26166
f98eafbd
PT
26167 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26168 with O_NOLINK passed to __file_name_lookup.
26169
898c7aab
PT
26170 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26171 with O_NOLINK passed to __file_name_lookup.
26172
0ced335a
PT
26173 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26174 negative N or less than NGIDS.
26175
b3404dbd
PT
26176 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26177 type to string_t. Set ERANGE as errno and return it if NAME is not big
26178 enough. Use memcpy instead of strncpy.
26179
0f48659e
JM
261802012-07-20 Joseph Myers <joseph@codesourcery.com>
26181
26182 * elf/Makefile (check-data): Remove.
26183 (localplt.data): New vpath directive.
26184 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26185 instead of $(check-data).
26186 * scripts/data/localplt-generic.data: Move to ...
26187 * sysdeps/generic/localplt.data: ... here.
26188 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26189 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26190 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26192 ... here.
26193 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26195 ... here.
26196 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26198 ... here.
26199 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26201 ... here.
26202 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26204 ... here.
26205 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26207 ... here.
26208
d37cbdaa
AZ
262092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26210
26211 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26212 PPC32 and PPC64 files.
26213 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26214 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26215
46f85fc2
AK
262162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26217
26218 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26219 __makecontext_ret to ...
26220 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26221 ... here and call exit if uc_link is NULL. New file.
26222 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26223 __makecontext_ret.S.
26224 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26225 __makecontext_ret to ...
26226 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26227 ... here and call exit if uc_link is NULL. New file.
26228 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26229 __makecontext_ret.S.
26230
08f43f9b
AK
262312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26232
26233 * elf/elf.h (R_390_IRELATIVE): New definition.
26234 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26235 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26236 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26237 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26238 (elf_machine_lazy_rel): Likewise.
26239 * sysdeps/s390/dl-irel.h: New file.
26240 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26241 * sysdeps/s390/s390-64/memset.S: New asm code.
26242 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26243 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26244 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26245 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26246 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26247 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26248 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26249 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26250 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26251 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26252 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26253 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26254 * sysdeps/s390/s390-32/memset.S: New asm code.
26255 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26256
3b05db33
MP
262572012-07-17 Marek Polacek <polacek@redhat.com>
26258
26259 [BZ #14349]
26260 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26261 * sysdeps/s390/s390-64/configure.in: Likewise.
26262 * sysdeps/sparc/configure.in: Likewise.
26263 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26264 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26265 * sysdeps/i386/configure.in: Likewise.
26266 * sysdeps/x86_64/configure.in: Likewise.
26267 * sysdeps/sh/configure.in: Likewise.
26268 * sysdeps/s390/s390-32/configure: Regenerated.
26269 * sysdeps/s390/s390-64/configure: Likewise.
26270 * sysdeps/x86_64/configure: Likewise.
26271 * sysdeps/sh/configure: Likewise.
26272 * sysdeps/powerpc/powerpc64/configure: Likewise.
26273 * sysdeps/powerpc/powerpc32/configure: Likewise.
26274 * sysdeps/sparc/configure: Likwise.
26275 * sysdeps/i386/configure: Likewise.
26276
a66877c6
MP
26277 * elf/dl-open.c: Comment fixes.
26278
cfc82fd8
JM
262792012-07-17 Joseph Myers <joseph@codesourcery.com>
26280
bd29910a
JM
26281 * Makefile [CXX] (check-data): Remove.
26282 [CXX] (c++-types.data): New vpath directive.
26283 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26284 vpath. Do not allow for C++ type data being missing.
26285 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26286 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26287 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26288 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26289 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26290 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26291 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26293 ... here.
26294 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26296 ... here.
26297 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26299 ... here.
26300 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26302 ... here.
26303 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26305 ... here.
26306 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26308 ... here.
26309 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26311 ... here.
26312 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26314
cfc82fd8
JM
26315 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26316 definitions to architecture-specific files.
26317 (TLS_IE): Likewise.
26318 (TLS_LD): Likewise.
26319 (TLS_GD): Likewise.
26320 * sysdeps/i386/tls-macros.h: New file.
26321 * sysdeps/powerpc/tls-macros.h: Likewise.
26322 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26323 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26324 * sysdeps/sh/tls-macros.h: Likewise.
26325 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26326 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26327 * sysdeps/x86_64/tls-macros.h: Likewise.
26328
f7db3170
TS
263292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26330
07cbfc23
TS
26331 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26332 zero value for regular exit case.
26333
f7db3170
TS
26334 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26335 (__start_context): Preserve zero value for regular exit case.
26336
dc97c227
TS
263372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26338 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26339
26340 * manual/setjmp.texi (setcontext): Clarify normal process
26341 termination when uc_link is the null pointer.
26342 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26343 exit call.
26344
d0cd7d02
AS
263452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26346
26347 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26348 preprocessor. Test for each exception mask separately.
26349
dd318934
AJ
263502012-07-16 Andreas Jaeger <aj@suse.de>
26351
26352 * po/ru.po: Update from translation team.
26353
8048311a
JM
263542012-07-15 Joseph Myers <joseph@codesourcery.com>
26355
26356 * conform/data/string.h-data (NULL): Use macro-constant. Require
26357 equal to 0.
26358 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26359 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26360 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26361 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26363
b637d46e
AJ
263642012-07-13 Andreas Jaeger <aj@suse.de>
26365
26366 * po/fr.po: Update from translation team.
26367
541428fe
MP
263682012-07-12 Marek Polacek <polacek@redhat.com>
26369
26370 [BZ #14173]
26371 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26372 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26373 loop condition.
26374
ec332e94
JM
263752012-07-12 Joseph Myers <joseph@codesourcery.com>
26376
26377 [BZ #13717]
26378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26379 Change to 2.4.1 where previously 2.4.0.
26380 * sysdeps/unix/sysv/linux/configure: Regenerated.
26381 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26382 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26383 version.
26384 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26385 (__ASSUME_AT_CLKTCK): Remove.
26386 (__ASSUME_AT_PAGESIZE): Likewise.
26387 (__ASSUME_AT_XID): Likewise.
26388 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26389 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26390 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26391 unconditionally.
26392 (HAVE_AUX_PAGESIZE): Likewise.
26393 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26394 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26395 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26396
7b6e99be
JB
263972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26398
26399 [BZ #14307]
26400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26401 the temporary buffer used to invoke __gethostbyname2_r,
26402 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26403 host_data / struct gaih_addrtuple.
26404 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26405 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26406 header file nss/nsswitch.h.
26407 * nss/nsswitch.h (global scope): Add definition of implementation
26408 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26409 resolv/nss_dns/dns-host.c).
26410
608404eb
AJ
264112012-07-11 Andreas Jaeger <aj@suse.de>
26412
26413 * po/fr.po: Update from translation team.
26414
71220aca
AJ
26415 * po/sv.po: Update from translation team
26416 * po/fr.po: Another update from translation team.
26417
28cfe843
AZ
264182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26419
26420 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26421 for subnormals or multiply small sinh result by itself.
26422 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26424
6b90f981
DM
264252012-07-11 David S. Miller <davem@davemloft.net>
26426
26427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26428
c6825772
AS
264292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26430
26431 [BZ #14347]
26432 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26433 (INTERNAL_MARK): Shift it here.
26434
7b8e0d49
MP
264352012-07-10 Marek Polacek <polacek@redhat.com>
26436
26437 [BZ #14151]
26438 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26439 libc_cv_asm_global_directive with .globl.
26440 * configure: Regenerated.
26441 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26442 with .globl.
26443 * sysdeps/i386/configure: Regenerated.
26444 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26445 with .globl.
26446 * sysdeps/x86_64/configure: Regenerated.
26447 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26448 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26449 * elf/tst-unique2mod2.c: Likewise.
26450 * elf/tst-unique2mod1.c: Likewise.
26451 * elf/tst-unique1mod2.c: Likewise.
26452 * elf/tst-unique1mod1.c: Likewise.
26453 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26454 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26456 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26457 * sysdeps/mach/sysdep.h: Likewise.
26458 * sysdeps/i386/sysdep.h: Likewise.
26459 * sysdeps/i386/i386-mcount.S: Likewise.
26460 * sysdeps/x86_64/_mcount.S: Likewise.
26461 * sysdeps/x86_64/sysdep.h: Likewise.
26462 * sysdeps/sh/_mcount.S: Likewise.
26463 * sysdeps/sh/sysdep.h: Likewise.
26464 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26465 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26466 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26467 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26468 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26469 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26470 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26471 * locale/localeinfo.h: Likewise.
26472 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26473 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26474
6c55cda3
RM
264752012-07-09 Roland McGrath <roland@hack.frob.com>
26476
26477 [BZ #14336]
26478 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26479 system".
26480 * manual/message.texi (The Uniforum approach): Likewise.
26481 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26482 (glibc iconv Implementation): Likewise.
26483
638a572e
JM
264842012-07-09 Joseph Myers <joseph@codesourcery.com>
26485
26486 [BZ #14337]
26487 * math/s_clog.c (__clog): Avoid scaling a value down where that
26488 could result in underflow.
26489 * math/s_clog10.c (__clog10): Likewise.
26490 * math/s_clog10f.c (__clog10f): Likewise.
26491 * math/s_clog10l.c (__clog10l): Likewise.
26492 * math/s_clogf.c (__clogf): Likewise.
26493 * math/s_clogl.c (__clogl): Likewise.
26494 * math/libm-test.inc (clog_test): Add more tests.
26495 (clog10_test): Likewise.
26496 * sysdeps/i386/fpu/libm-test-ulps: Update.
26497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26498
261f4859
AS
264992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26500
0abaf3e4
AS
26501 [BZ #14283]
26502 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26503 by 7 not 8 to examine high bit of fractional part.
26504
261f4859
AS
26505 [BZ #14042]
26506 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26507 for call to __mcount_internal.
26508 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26509 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26510 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26511
f17ac40d
JM
265122012-07-06 Joseph Myers <joseph@codesourcery.com>
26513
9ad63c23
JM
26514 [BZ #14154]
26515 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26516 approximation for values within 0x1p-13f of an odd multiple of
26517 pi/4.
26518 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26519 exception. Add more tests.
26520 * sysdeps/i386/fpu/libm-test-ulps: Update.
26521
f17ac40d
JM
26522 [BZ #6778]
26523 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26524 inputs and return -1 for them. Do not check for +Inf in case not
26525 reachable for +Inf.
26526 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26527 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26528 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26529 and return -1 for them. Do not check for +Inf in case not
26530 reachable for +Inf.
26531 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26532 define.
26533 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26534 and return -1 for them. Do not check for +Inf in case not
26535 reachable for +Inf.
26536 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26537 spurious underflow.
26538 * sysdeps/i386/fpu/libm-test-ulps: Update.
26539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26540
fb21f89b
MF
265412012-07-06 Mike Frysinger <vapier@gentoo.org>
26542
26543 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26544
cdfe2c5e
JM
265452012-07-05 Joseph Myers <joseph@codesourcery.com>
26546
26547 [BZ #14157]
26548 [BZ #14331]
26549 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26550 could result in spurious underflow. Scale down values above
26551 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26552 * math/s_csqrtf.c (__csqrtf): Likewise.
26553 * math/s_csqrtl.c (__csqrtl): Likewise.
26554 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26555 spurious underflow.
26556 * sysdeps/i386/fpu/libm-test-ulps: Update.
26557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26558
70d35b67
AS
265592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26560
704bc459
AS
26561 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26562 xopen-msg.sed.
26563 * catgets/xopen-msg.awk: New file.
26564 * catgets/xopen-msg.sed: Removed.
26565
70d35b67
AS
26566 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26567 po2text.sed.
26568 * intl/po2test.awk: New file.
26569 * intl/po2test.sed: Removed.
26570
ca61cf32
JM
265712012-07-04 Joseph Myers <joseph@codesourcery.com>
26572
26573 [BZ #14328]
26574 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26575 or multiply small sinh result by itself.
26576 * math/s_ctanf.c (__ctanf): Likewise.
26577 * math/s_ctanh.c (__ctanh): Likewise.
26578 * math/s_ctanhf.c (__ctanhf): Likewise.
26579 * math/s_ctanhl.c (__ctanhl): Likewise.
26580 * math/s_ctanl.c (__ctanl): Likewise.
26581 * math/libm-test.inc (ctan_test_tonearest): New function.
26582 (ctan_test_towardzero): Likewise.
26583 (ctan_test_downward): Likewise.
26584 (ctan_test_upward): Likewise.
26585 (ctanh_test_tonearest): Likewise.
26586 (ctanh_test_towardzero): Likewise.
26587 (ctanh_test_downward): Likewise.
26588 (ctanh_test_upward): Likewise.
26589 (main): Call these new functions.
26590 * sysdeps/i386/fpu/libm-test-ulps: Update.
26591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26592
ca48a46a
MF
265932012-07-03 Mike Frysinger <vapier@gentoo.org>
26594
26595 * .gitignore: Delete /ports entry.
26596
9d63d37d
AJ
265972012-07-03 Andreas Jaeger <aj@suse.de>
26598
26599 * po/bg.po: Update from translation team.
26600 * po/cs.po: Likewise.
26601 * po/de.po: Likewise.
26602 * po/hr.po: Likewise.
26603 * po/nl.pl: Likewise.
26604 * po/pl.po: Likewise.
26605 * po/vi.po: Likewise.
26606
370ca3d2
JM
266072012-07-03 Joseph Myers <joseph@codesourcery.com>
26608
95f5a9a8
JM
26609 * Makeconfig [!+link] (+link-before-libc): New variable.
26610 [!+link] (+link-after-libc): Likewise.
26611 [!+link] (+link-tests): Likewise.
26612 [!+link] (+link): Define in terms of $(+link-before-libc) and
26613 $(+link-after-libc).
26614 [!+link-static] (+link-static-before-libc): New variable.
26615 [!+link-static] (+link-static-after-libc): Likewise.
26616 [!+link-static] (+link-static-tests): Likewise.
26617 [!+link-static] (+link-static): Define in terms of
26618 $(+link-static-before-libc) and $(+link-static-after-libc).
26619 [build-shared] (link-libc-before-gnulib): New variable.
26620 [build-shared] (link-libc-tests): Likewise.
26621 [build-shared] (link-libc): Define in terms of
26622 $(link-libc-before-gnulib).
26623 [!build-shared] (link-libc-tests): New variable.
26624 (link-libc-static-tests): New variable.
26625 [!gnulib] (gnulib-arch): New variable.
26626 [!gnulib] (gnulib-tests): Likewise.
26627 [!gnulib] (static-gnulib-arch): Likewise.
26628 [!gnulib] (static-gnulib-tests): Likewise.
26629 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26630 Define with "=" instead of ":=".
26631 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26632 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26633 * Rules (binaries-all-notests): New variable.
26634 (binaries-all-tests): Likewise.
26635 (binaries-static-notests): Likewise.
26636 (binaries-static-tests): Likewise.
26637 (binaries-all): Define using $(binaries-all-notests) and
26638 $(binaries-all-tests).
26639 (binaries-static): Define using $(binaries-static-notests) and
26640 $(binaries-static-tests).
26641 (binaries-shared-tests): New variable.
26642 (binaries-shared-notests): Likewise.
26643 (binaries-shared): Remove variable.
26644 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26645 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26646 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26647 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26648 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26649 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26650 * elf/Makefile (sln-modules): New variable.
26651 (extra-objs): Add $(sln-modules:=.o).
26652 (ldconfig-modules): Add static-stubs.
26653 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26654 * elf/static-stubs.c: New file.
26655
7a845b2c
JM
26656 [BZ #14283]
26657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26658 by 7 not 8 to examine high bit of fractional part. Use volatile
26659 variables when splitting into final array of floats if
26660 __FLT_EVAL_METHOD__ != 0.
26661 * math/libm-test.inc (cos_test): Add another test.
26662 (sin_test): Likewise.
26663 * sysdeps/i386/fpu/libm-test-ulps: Update.
26664
e2283f38
JM
26665 [BZ #14273]
26666 * math/libm-test.inc (cosh_test): Add more tests.
26667
370ca3d2
JM
26668 * version.h (RELEASE): Set to "development".
26669 (VERSION): Set to "2.16.90".
26670
ee9247c3
CD
266712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26672
26673 * NEWS: Update copyright. Remove last-updated date.
26674 Mention math library bug fixes and timezone data changes.
26675 * README: Mention GNU/Hurd, x32, and HPPA support status.
26676
4648c381
TS
266772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26678
26679 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26680
aac78a43
AJ
266812012-06-27 Andreas Jaeger <aj@suse.de>
26682
26683 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26684
ed3dbfad
AJ
266852012-06-25 Andreas Jaeger <aj@suse.de>
26686
26687 * sysdeps/s390/fpu/libm-test-ulps: Update.
26688
4d0ee855
AS
266892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26690 Thomas Schwinge <thomas@codesourcery.com>
26691
26692 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26693 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26695 fanotify_mark.
26696
af1bce34
TS
266972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26698
a9fa33ba
TS
26699 * sysdeps/mach/start.c: Remove file.
26700 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26701 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26702 * sysdeps/sh/init-first.c: Likewise.
26703
58f902b8
TS
26704 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26705 registers for frame unwinding purposes, add CFI directives.
26706 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26708 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26709 Likewise.
26710
1518f58b
TS
26711 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26712 __fortify_fail returning.
26713 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26714
db9b5059
TS
26715 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26716 sysdeps/sh/____longjmp_chk.S.
26717 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26718 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26719 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26720 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26721
967705fe
TS
26722 * sysdeps/sh/abort-instr.h: New file.
26723 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26724 process in case exit returns.
26725
a9def8c4
TS
26726 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26727 initialize the GOT register before use.
26728
2a649725
TS
26729 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26730 calculation of ARGC > 4.
26731
af1bce34
TS
26732 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26733 meaningful names to some local labels.
26734
d230f50a
KK
267352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26736 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26737
26738 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26739 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26740 (__arch_compare_and_exchange_val_16_acq): Likewise.
26741 (__arch_compare_and_exchange_val_32_acq): Likewise.
26742 (atomic_exchange_and_add): Fix gUSA sequence.
26743 (atomic_add): Likewise.
26744 (atomic_add_negative): Likewise.
26745 (atomic_add_zero): Likewise.
26746 (atomic_bit_test_set): Likewise.
26747
0479b305
AS
267482012-06-22 Andreas Schwab <schwab@redhat.com>
26749
26750 [BZ #13579]
26751 * include/link.h (struct link_map): Add l_free_initfini.
26752 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26753 l_initfini.
26754 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26755 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26756 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26757 set.
26758
0e3933b9
CD
267592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26760
26761 * configure.in: Use AC_LANG_SOURCE.
26762 * configure: Regenerate.
26763
4248b1b1
RM
267642012-06-22 Roland McGrath <roland@hack.frob.com>
26765
26766 * configure.in (libc_cv_localstatedir): New substituted variable.
26767 * configure: Regenerated.
26768 * config.make.in (localstatedir): New variable, substituted from
26769 libc_cv_localstatedir.
26770 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26771 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26772 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26773 * sysdeps/gnu/configure: Regenerated.
26774
006dd861
JL
267752012-06-21 Jeff Law <law@redhat.com>
26776
26777 [BZ #14277]
26778 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26779 free. Simplify list management for _LIBC case.
26780
79662d42
JM
267812012-06-21 Joseph Myers <joseph@codesourcery.com>
26782
b7abb4bf
JM
26783 [BZ #14273]
26784 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26785 Clear sign bit of 64-bit integer value before comparing against
26786 overflow value.
26787
79662d42
JM
26788 * sysdeps/mach/configure: Regenerated.
26789
1f150908
L
267902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26791
26792 [BZ #14278]
26793 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26794
28363bbf
JL
267952012-06-21 Jeff Law <law@redhat.com>
26796
26797 [BZ #13882]
26798 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26799 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26800 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26801 * elf/dl-open.c (dl_open_worker): Likewise.
26802
09615db4
CD
268032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26804
26805 * scripts/list-sources.sh: Scan PORTS for translations.
26806 * po/libc.pot: Regenerated.
26807
2174c6dd
AJ
268082012-06-21 Andreas Jaeger <aj@suse.de>
26809
26810 [BZ #12194]
26811 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26812 warning.
26813 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26814 * bits/byteswap-16.h (__bswap_16): Likewise.
26815 * bits/byteswap.h (__bswap_constant_16): Likewise.
26816
3ee947b1
L
268172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26818
26819 [BZ #14117]
a2f34833
L
26820 * sysdeps/i386/fpu_control.h: Removed.
26821 * sysdeps/x86_64/fpu_control.h: Moved to ...
26822 * sysdeps/x86/fpu_control.h: Here.
26823
3ee947b1
L
26824 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26825 (_FPU_SETCW): Likewise.
26826
ed1825f8
L
268272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26828
25f1282a
L
26829 [BZ #14117]
26830 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26831 * sysdeps/x86/fpu/bits/mathinline.h: This.
26832 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26833
ed1825f8
L
26834 [BZ #14050]
26835 [BZ #14117]
26836 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26837 functions if __x86_64__ is defined.
26838
36d54b74
CLT
268392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26840
26841 * string/endian.h: Add !__ASSEMBLER__ condition for including
26842 conversion interfaces.
26843
10285c21
JM
268442012-06-15 Joseph Myers <joseph@codesourcery.com>
26845
26846 [BZ #14241]
26847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26848 of ABS(x) in calculating zero to negative powers other than odd
26849 integers.
26850 * math/libm-test.inc (pow_test): Add more tests.
26851
06c5abbd
AJ
268522012-06-15 Andreas Jaeger <aj@suse.de>
26853
26854 * manual/contrib.texi (Contributors): Update entry of Liubov
26855 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26856 Machado Filho.
26857
a3aeac40
CH
268582012-06-15 Cyril Hrubis <metan@ucw.cz>
26859
26860 * string/string.h: Add __wur to GNU version of strerror_r.
26861
49bdf4c1
L
268622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26863
26864 [BZ #14229]
26865 * string/Makefile (tests): Add tst-strtok_r.
26866 * string/tst-strtok_r.c: New file.
26867 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26868 RAX_LP/RDX_LP on SAVE_PTR.
26869
834f9b8d
RM
268702012-06-14 Roland McGrath <roland@hack.frob.com>
26871
26872 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26873
75fa1921
JM
268742012-06-14 Joseph Myers <joseph@codesourcery.com>
26875
26876 * libm_test.inc (csqrt_test): Allow more spurious underflow
26877 exceptions.
26878 (j0_test): Likewise.
26879 (j1_test): Likewise.
26880 (y0_test): Likewise.
26881 (y1_test): Likewise.
26882
771766df
CD
268832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26884
26885 * po/Makefile (libc.pot): Use UTF-8 charset.
26886
ceb9e56b
PP
268872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26888
26889 [BZ #14210]
26890 Suppress sign-conversion warning from FD_SET.
26891 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26892 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26893 not unsigned long int.
26894 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26895
ddb28975
L
268962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26897
26898 [BZ #14050]
26899 [BZ #14117]
26900 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26901 __extern_always_inline instead of __extern_inline.
26902 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26903 (__signbit): Likewise.
26904 (__signbitl): Support C++ namespace.
26905 (lrintf): New inline function.
26906 (lrint): Likewise.
26907 (llrintf): Likewise.
26908 (llrint): Likewise.
26909 (fmaxf): Likewise.
26910 (fmax): Likewise.
26911 (fminf): Likewise.
26912 (fmin): Likewise.
26913 (rint): Likewise.
26914 (rintf): Likewise.
26915 (ceil): Likewise.
26916 (ceilf): Likewise.
26917 (floor): Likewise.
26918 (floorf): Likewise.
26919 (nearbyint): Likewise.
26920 (nearbyintf): Likewise.
26921
d7b4fb26
TS
269222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26923
26924 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26925 non-default versions.
26926
eb55f5c2
RM
269272012-06-11 Roland McGrath <roland@hack.frob.com>
26928
26929 [BZ #14218]
26930 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26931
366af02c
TS
269322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26933
99ff6e5c
TS
26934 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26935 (FE_UPWARD, FE_DOWNWARD): Don't define.
26936 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26937 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26938
366af02c
TS
26939 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26940 reading it.
26941 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26942 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26943
793ea851
KK
269442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26945
26946 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26948 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26949 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26950
a728a38f
L
269512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26952
26953 [BZ #14117]
c08010c7
L
26954 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26955 * sysdeps/i386/fpu/Implies: New file.
26956 * sysdeps/x86_64/fpu/Implies: Likewise.
26957 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26958 * sysdeps/x86/fpu/bits/fenv.h: This.
26959
a728a38f
L
26960 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26961 __SSE_MATH__.
26962
6e230d11
SP
269632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26964
26965 [BZ #14134]
26966 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26967 character 0xffff that matches the last element of the
26968 conversion table.
26969
1b671feb
AZ
269702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26971
26972 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26973 fmodl commit.
26974
6043738b
AZ
269752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26976
26977 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26978 values higher than 25.6283.
26979
34ae0b32
AZ
269802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26981
26982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26983 subnormal exponent extraction and add some __builtin_expect.
26984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26985 Fix for subnormal mantissa calculation.
26986
1214ec8f
MF
269872012-06-04 Mike Frysinger <vapier@gentoo.org>
26988
26989 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26990 cpu2 is -1 and errno is not ENOSYS.
26991
f3d1f93c
L
269922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26993
26994 [BZ #14117]
0e4a3cd7
L
26995 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26996 * sysdeps/x86/bits/string.h: This.
26997 * sysdeps/x86_64/bits/string.h: Removed.
26998
6704c645
L
26999 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27000 if not compiling for x86-64, but compiling for >= i486.
27001
48495318
L
27002 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27003 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27004
14adcbfc
L
27005 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27006 New macro from Linux kernel 3.4.0.
27007 (FP_XSTATE_MAGIC2): Likewise.
27008 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27009 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27010 (struct _fpx_sw_bytes): New struct.
27011 (struct _xsave_hdr): Likewise.
27012 (struct _ymmh_state): Likewise.
27013 (struct _xstate): Likewise.
27014
68e408ab
L
27015 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27016 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27017 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27018 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27019 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27020 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27021
f3d1f93c
L
27022 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27024 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27025 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27026 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27027 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27028
d9dc34cd
TMQMF
270292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27030
27031 [BZ #13743]
27032 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27033 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27034 (sysdep_headers): Include sys/platform/ppc.h.
27035 * sysdeps/powerpc/test-gettimebase.c: Test for
27036 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27037 * manual/Makefile (appendices): Include platform.texi.
27038 * manual/contrib.texi (Contributors): Update @node pointers.
27039 * manual/maint.texi (Maintenance): Likewise.
27040 (Platform): New node.
27041 * manual/platform.texi: New file. Document the new features.
27042
4af3879c
SP
270432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27044 Jakub Jelinek <jakub@redhat.com>
27045
27046 [BZ #14188]
27047 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27048 where __builtin_expect is unavailable.
27049
2fd6ff13
DM
270502012-06-03 David S. Miller <davem@davemloft.net>
27051
27052 * stdlib/longlong.h: Updated from GCC.
27053
173f7220
AS
270542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27055
27056 [BZ #14042]
27057 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27058 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27059 __mcount_internal.
27060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27061 (GLIBC_2.16): Likewise.
27062
f34a1c6f
L
270632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27064
27065 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27066
88a4576f
JM
270672012-06-01 Joseph Myers <joseph@codesourcery.com>
27068
ea32bcdd
JM
27069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27070 (default-abi): New variable.
27071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27072 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27073 variable.
27074 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27075 Likewise.
27076 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27077 Likewise.
27078 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27079 Likewise.
27080
88a4576f
JM
27081 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27082 definition. Document in comment.
27083
402fe938
DM
270842012-06-01 David S. Miller <davem@davemloft.net>
27085
27086 * stdlib/longlong.h: Updated from GCC.
27087
3553723f
L
270882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27089
27090 [BZ #14117]
3bd872c4
L
27091 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27092 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27093 sys/debugreg.h sys/io.h here.
27094 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27095 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27096 sys/io.h.
27097 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27098 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27099 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27100 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27101 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27102 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27103
3553723f
L
27104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27105 Define only if __x86_64__ is defined.
27106
4842e4fe
JM
271072012-06-01 Joseph Myers <joseph@codesourcery.com>
27108
c5bfe3d5
JM
27109 [BZ #14048]
27110 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27111 Use int64_t for variable i.
27112 * math/libm-test.inc (fmod_test): Add more tests.
27113
4842e4fe
JM
27114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27115 z computation is not scheduled after fetestexcept.
27116 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27117 Use math_force_eval instead of asm to ensure calculation scheduled
27118 before exception test.
27119 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27120 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27121
efb73488
AJ
271222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27123
27124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27125 computation is not scheduled after fetestexcept.
27126
29bcce7c
L
271272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27128
27129 [BZ #14117]
27130 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27131 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27132
73a68f94
AZ
271332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27134
27135 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27136 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27137
67b6df78
L
271382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27139
edf2933a 27140 [BZ #14117]
ebc64a18
L
27141 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27142 <bits/wordsize.h>.
27143 (__WCHAR_MIN): Support __WORDSIZE == 64.
27144 (__WCHAR_MAX): Likewise.
27145
edf2933a
L
27146 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27147 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27148
57c6cf40
L
27149 [BZ #14183]
27150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27151 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27152
67b6df78 27153 [BZ #14117]
8eb6281e
L
27154 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27155 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27156
aac639f4
L
27157 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27158 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27159
67b6df78
L
27160 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27161 Defined to 1 if __x86_64__ isn't defined.
27162 (_STAT_VER_LINUX_OLD): New.
27163 (st_atime): Remove duplicate.
27164 (st_mtime): Likewise.
27165 (st_ctime): Likewise.
27166
1c2cfe81
DM
271672012-05-31 David S. Miller <davem@davemloft.net>
27168
27169 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27170 entries.
27171
5be8418c
AS
271722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27173
e7725326
AS
27174 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27175 gen-libm-test.pl.
27176
5be8418c
AS
27177 [BZ #14132]
27178 * elf/dl-reloc.c: Include <_itoa.h>.
27179 (_dl_reloc_bad_type): Remove use of INTUSE.
27180 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27181 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27182 * stdio-common/psiginfo.c (psiginfo): Likewise.
27183 * stdio-common/psignal.c (psignal): Likewise.
27184 * string/strsignal.c (strsignal): Likewise.
27185 * include/signal.h (_sys_siglist): Declare hidden proto.
27186 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27187 INTVARDEF with libc_hidden_data_def.
27188 * stdio-common/itoa-udigits.c: Likewise.
27189 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27190 (_itoa_lower_digits_internal): Remove declaration.
27191 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27192 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27193 (_sys_sigabbrev_internal): Remove aliases.
27194 (_sys_siglist): Define hidden alias.
27195
507352f1
MT
271962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27197
27198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27199 bits/sysctl.h.
27200
42bbb1c3
L
272012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27202
27203 [BZ #14117]
6bd784b6
L
27204 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27205 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27206
8bca20f0
L
27207 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27208 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27209 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27210 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27211 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27212 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27213
f9e890a9
L
27214 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27215 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27216 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27217
471101a1
L
27218 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27219 with __addr.
27220 (insw): Likewise.
27221 (insl): Likewise.
27222 (outsb): Likewise.
27223 (outsw): Likewise.
27224 (outsl): Likewise.
27225
6451c862
L
27226 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27227 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27228 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27229
a254b8c9
L
27230 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27231 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27233 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27234 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27235 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27236
b8dfdd92
L
27237 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27238 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27239
578cd270
L
27240 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27241 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27242
de662f5f
L
27243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27244 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27245 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27246
25653439
L
27247 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27248 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27249 to ...
27250 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27251
6bad24a0
L
27252 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27253 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27254 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27255
42bbb1c3
L
27256 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27257 for x86-64.
27258 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27259
2d10d547
JM
272602012-05-31 Joseph Myers <joseph@codesourcery.com>
27261
27262 * math/math.h (M_El): Use two more decimal places.
27263 (M_LOG2El): Likewise.
27264 (M_LOG10El): Likewise.
27265 (M_LN2l): Likewise.
27266 (M_LN10l): Likewise.
27267 (M_PIl): Likewise.
27268 (M_PI_2l): Likewise.
27269 (M_PI_4l): Likewise.
27270 (M_1_PIl): Likewise.
27271 (M_2_PIl): Likewise.
27272 (M_2_SQRTPIl): Likewise.
27273 (M_SQRT2l): Likewise.
27274 (M_SQRT1_2l): Likewise.
27275
f230c29b
DM
272762012-05-31 David S. Miller <davem@davemloft.net>
27277
27278 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27279 values between float registers.
27280 * sysdeps/sparc/sparc64/memset.S: Likewise.
27281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27282
fed806c3
MF
272832012-05-31 Mike Frysinger <vapier@gentoo.org>
27284
27285 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27286 -D_FORTIFY_SOURCE=1.
27287 (CPPFLAGS-tst-longjmp_chk.c): Define.
27288 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27289 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27290 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27291 CFLAGS-tst-wchar-h.c.
27292
30917259
MP
272932012-05-31 Marek Polacek <polacek@redhat.com>
27294
27295 [BZ #14132]
27296 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27297 __endmntent_internal): Remove declaration.
27298 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27299 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27300 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27301
1c58d5dc
DM
273022012-05-30 David S. Miller <davem@davemloft.net>
27303
27304 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27305 (___Q_simulate_exceptions): Use real FP ops rather than writing
27306 into the %fsr.
27307 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27308 Likewise.
27309
7dc00e0d
L
273102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27311
27312 [BZ #14117]
0bd53985
L
27313 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27314 * sysdeps/x86/bits/xtitypes.h: This.
27315
3a257e66
L
27316 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27317 * sysdeps/x86/bits/wordsize.h: This.
27318
62f62904
L
27319 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27320 * sysdeps/x86/bits/huge_vall.h: This.
27321
404fe9d9
L
27322 * sysdeps/i386/bits/select.h: Removed.
27323 * sysdeps/x86_64/bits/select.h: Renamed to ...
27324 * sysdeps/x86/bits/select.h: This.
27325
d48d0446
L
27326 * sysdeps/i386/bits/setjmp.h: Removed.
27327 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27328 * sysdeps/x86/bits/setjmp.h: This.
27329
7dc00e0d
L
27330 * sysdeps/i386/bits/mathdef.h: Removed.
27331 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27332 * sysdeps/x86/bits/mathdef.h: This.
27333
03277f8f
AS
273342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27335
27336 [BZ #14132]
27337 * include/sys/socket.h (__connect_internal)
27338 (__libc_sa_len_internal): Remove declaration.
27339 (__connect, __libc_sa_len): Declare hidden_proto.
27340 (SA_LEN): Remove use of INTUSE.
27341 * socket/connect.c: Add libc_hidden_def.
27342 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27343 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27344 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27345 alias.
27346 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27347 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27348 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27349 of adding _internal alias.
27350
13764867
L
273512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27352
27353 [BZ #14117]
6bd97696
L
27354 * sysdeps/i386/bits/link.h: Removed.
27355 * sysdeps/i386/bits/linkmap.h: Likewise.
27356 * sysdeps/x86_64/bits/link.h: Renamed to ...
27357 * sysdeps/x86/bits/link.h: This.
27358 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27359 * sysdeps/x86/bits/linkmap.h: This.
27360
f726f0bb
L
27361 * sysdeps/i386/bits/endian.h: Removed.
27362 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27363 * sysdeps/x86/bits/endian.h: This.
27364
13764867
L
27365 * sysdeps/i386/bits/byteswap.h: Removed.
27366 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27367 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27368 * sysdeps/x86/bits/byteswap.h: This.
27369 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27370 * sysdeps/x86/bits/byteswap-16.h: This.
27371 * sysdeps/i386/Implies: Add x86.
27372 * sysdeps/x86_64/Implies: Likewise.
27373
ae251b0b
DM
273742012-05-30 David S. Miller <davem@davemloft.net>
27375
27376 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27377 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27378 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27379 (FP_TRAPPING_EXCEPTIONS): Define.
27380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27381 (FP_TRAPPING_EXCEPTIONS): Define.
27382 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27383 subnormals only when inexact has been signalled or underflow
27384 exceptions are enabled.
27385 (_FP_PACK_CANONICAL): Likewise.
27386
d5c90867
L
273872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27388
27389 [BZ #14183]
27390 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27391 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27392
63f1549e
RH
273932012-05-30 Richard Henderson <rth@twiddle.net>
27394
8d8f2279
RH
27395 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27396 with #ifndef NOT_IN_libc.
27397
63f1549e
RH
27398 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27399 marked to avoid plt entry.
27400
0ab0291b
L
274012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27402
27403 [BZ #14112]
27404 * Makeconfig (default-abi): New macro.
27405 (abi-includes): Likewise.
27406 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27407 $(abi-$(default-abi)-lib-soname) for soname if defined.
27408 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27409 abi-variants.
27410 * Makefile (installed-stubs): Likewise.
27411 * include/stubs-biarch.h: Removed.
27412 * scripts/lib-names.awk: Only handle one library at a time.
27413 * scripts/soversions.awk: Remove WORDSIZE support.
27414 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27415 entries.
27416 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27417 Removed.
27418 (syscall-list-default-condition): Likewise.
27419 (syscall-list-default-condition): Likewise.
27420 (syscall-list-includes): Likewise.
27421 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27422 syscall-list-* with abi-*. Handle undefined abi-variants.
27423 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27424 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27425 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27426 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27427 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27428 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27429 Removed.
27430 (syscall-list-32-options): Likewise.
27431 (syscall-list-32-condition): Likewise.
27432 (syscall-list-64-options): Likewise.
27433 (syscall-list-64-condition): Likewise.
27434 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27435 macro.
27436 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27437 Renamed to ...
27438 (abi-*): This.
27439 (abi-64-ld-soname): New macro.
27440 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27441 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27442 Renamed to ...
27443 (abi-*): This.
27444 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27445 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27446
4da0431d
JM
274472012-05-30 Joseph Myers <joseph@codesourcery.com>
27448
3a85279c
JM
27449 * sysdeps/unix/sysv/linux/kernel-features.h
27450 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27451 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27452 include <kernel-features.h>.
27453 [!__NR_ftruncate64]: Remove conditional code.
27454 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27455 [__NR_ftruncate64]: Make code unconditional.
27456 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27457 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27458 include <kernel-features.h>.
27459 [!__NR_ftruncate64]: Remove conditional code.
27460 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27461 [__NR_ftruncate64]: Make code unconditional.
27462 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27464 include <kernel-features.h>.
27465 [!__NR_ftruncate64]: Remove conditional code.
27466 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27467 [__NR_ftruncate64]: Make code unconditional.
27468 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27470 include <kernel-features.h>.
27471 [!__NR_ftruncate64]: Remove conditional code.
27472 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27473 [__NR_ftruncate64]: Make code unconditional.
27474 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27475
4da0431d
JM
27476 * configure.in (libc_cv_fpie): Weaken to a compile test using
27477 LIBC_TRY_CC_OPTION.
27478 * configure: Regenerated.
27479
11ef492c
AK
274802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27481
27482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27486 Refreshed.
27487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27493 Refreshed.
27494
d66ef399
DM
274952012-05-27 David S. Miller <davem@davemloft.net>
27496
27497 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27498 (___Q_zero): New.
27499 (__Q_simulate_exceptions): Return void. Change to simulate
27500 exceptions by writing into the %fsr.
27501 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27502 (__Qp_handle_exceptions): Likewise.
27503 (numbers): Delete.
27504 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27505 __Qp_handle_exceptions.
27506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27507 __Qp_handle_exceptions.
27508 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27509 as unused and give dummy FP_RND_NEAREST initializer.
27510 (FP_INHIBIT_RESULTS): Define.
27511 (___Q_simulate_exceptions): Update declaration.
27512 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27513 formatting.
27514 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27515 as unused and give dummy FP_RND_NEAREST initializer.
27516 (__Qp_handle_exceptions): Update declaration.
27517 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27518 formatting.
27519
04fb54b5
TS
275202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27521
27522 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27523 the temporary FPU control word.
27524 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27525 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27526 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27527 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27528 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27529 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27530 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27531 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27532 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27533 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27534 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27535
3f99608f
KK
275362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27537
27538 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27539 fields.
27540
65a4de4e
CLT
275412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27542
27543 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27544 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27545 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27546 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27547 Likewise.
27548 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27549 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27550 Likewise.
27551
15749d40
UD
275522012-05-27 Ulrich Drepper <drepper@gmail.com>
27553
27554 * po/h.po: Update from translation team.
27555
25dbcb27
AS
275562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27557
3d3f8e55
AS
27558 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27559
25dbcb27
AS
27560 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27561 handling of denormals.
27562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27563 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27564 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27565 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27566 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27569 Likewise.
27570
7ad47a80 275712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27572
27573 [BZ #14152]
27574 * math/libm-test.inc (fma_test): Don't always expect underflow
27575 exception.
27576
9c6ea9fa
SP
275772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27578
27579 [BZ #12416]
27580 * elf/tst-execstack.c: Include stackinfo.h.
27581 (do_test): Adjust test case to ensure that pthread_getattr_np
27582 behaviour remains the same after marking stack executable.
27583
a8239222
JM
275842012-05-25 Joseph Myers <joseph@codesourcery.com>
27585
27586 * sysdeps/unix/sysv/linux/kernel-features.h
27587 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27588 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27589 kernel-features.h.
27590 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27591 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27592 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27593 kernel-features.h.
27594 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27595 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27596
918b5606
L
275972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27598
27599 * configure.in: Define the default includes to being none.
27600 * configure: Regenerated.
27601
3a097cc7
RM
276022012-05-25 Roland McGrath <roland@hack.frob.com>
27603
8422c9a5
RM
27604 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27605 * sysdeps/x86_64/setjmp.S: Likewise.
27606 * sysdeps/i386/bsd-setjmp.S: Likewise.
27607 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27608 * sysdeps/i386/setjmp.S: Likewise.
27609 * sysdeps/i386/__longjmp.S: Likewise.
27610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27611 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27612
3a097cc7
RM
27613 * include/stap-probe.h: New file.
27614 * configure.in: Handle --enable-systemtap.
27615 * configure: Regenerated.
27616 * config.h.in (USE_STAP_PROBE): New #undef.
27617 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27618 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27619 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27620
21708942
JM
276212012-05-25 Joseph Myers <joseph@codesourcery.com>
27622
27623 [BZ #13717]
27624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27625 to 2.4.0 where earlier.
27626 * sysdeps/unix/sysv/linux/configure: Regenerated.
27627 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27628 <kernel-features.h>.
27629 [__ASSUME_32BITUIDS]: Make code unconditional.
27630 [!__ASSUME_32BITUIDS]: Remove conditional code.
27631 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27632 <kernel-features.h>.
27633 [__ASSUME_32BITUIDS]: Make code unconditional.
27634 [!__ASSUME_32BITUIDS]: Remove conditional code.
27635 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27636 [__ASSUME_32BITUIDS]: Make code unconditional.
27637 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27638 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27639 <kernel-features.h>.
27640 [__ASSUME_32BITUIDS]: Make code unconditional.
27641 [!__ASSUME_32BITUIDS]: Remove conditional code.
27642 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27643 <kernel-features.h>.
27644 [__ASSUME_32BITUIDS]: Make code unconditional.
27645 [!__ASSUME_32BITUIDS]: Remove conditional code.
27646 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27647 <kernel-features.h>.
27648 [__ASSUME_32BITUIDS]: Make code unconditional.
27649 [!__ASSUME_32BITUIDS]: Remove conditional code.
27650 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27651 <kernel-features.h>.
27652 [__ASSUME_32BITUIDS]: Make code unconditional.
27653 [!__ASSUME_32BITUIDS]: Remove conditional code.
27654 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27655 <kernel-features.h>.
27656 [__ASSUME_32BITUIDS]: Make code unconditional.
27657 [!__ASSUME_32BITUIDS]: Remove conditional code.
27658 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27659 <kernel-features.h>.
27660 [__ASSUME_32BITUIDS]: Make code unconditional.
27661 [!__ASSUME_32BITUIDS]: Remove conditional code.
27662 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27663 <kernel-features.h>.
27664 [__ASSUME_32BITUIDS]: Make code unconditional.
27665 [!__ASSUME_32BITUIDS]: Remove conditional code.
27666 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27667 <kernel-features.h>.
27668 [__ASSUME_32BITUIDS]: Make code unconditional.
27669 [!__ASSUME_32BITUIDS]: Remove conditional code.
27670 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27671 <kernel-features.h>.
27672 [__ASSUME_32BITUIDS]: Make code unconditional.
27673 [!__ASSUME_32BITUIDS]: Remove conditional code.
27674 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27675 <kernel-features.h>.
27676 [__ASSUME_32BITUIDS]: Make code unconditional.
27677 [!__ASSUME_32BITUIDS]: Remove conditional code.
27678 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27679 <kernel-features.h>.
27680 [__NR_setresgid] (__setresgid): Do not declare.
27681 [__ASSUME_32BITUIDS]: Make code unconditional.
27682 [!__ASSUME_32BITUIDS]: Remove conditional code.
27683 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27684 <kernel-features.h>.
27685 [__NR_setresuid] (__setresuid): Do not declare.
27686 [__ASSUME_32BITUIDS]: Make code unconditional.
27687 [!__ASSUME_32BITUIDS]: Remove conditional code.
27688 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27689 <kernel-features.h>.
27690 [__ASSUME_32BITUIDS]: Make code unconditional.
27691 [!__ASSUME_32BITUIDS]: Remove conditional code.
27692 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27693 <kernel-features.h>.
27694 [__ASSUME_32BITUIDS]: Make code unconditional.
27695 [!__ASSUME_32BITUIDS]: Remove conditional code.
27696 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27697 <kernel-features.h>.
27698 [__ASSUME_32BITUIDS]: Make code unconditional.
27699 [!__ASSUME_32BITUIDS]: Remove conditional code.
27700 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27701 <kernel-features.h>.
27702 [__ASSUME_32BITUIDS]: Make code unconditional.
27703 [!__ASSUME_32BITUIDS]: Remove conditional code.
27704 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27705 <kernel-features.h>.
27706 [__ASSUME_32BITUIDS]: Make code unconditional.
27707 [!__ASSUME_32BITUIDS]: Remove conditional code.
27708 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27709 <kernel-features.h>.
27710 [__ASSUME_32BITUIDS]: Make code unconditional.
27711 [!__ASSUME_32BITUIDS]: Remove conditional code.
27712 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27713 <kernel-features.h>.
27714 [__ASSUME_32BITUIDS]: Make code unconditional.
27715 [!__ASSUME_32BITUIDS]: Remove conditional code.
27716 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27717 <kernel-features.h>.
27718 [__ASSUME_32BITUIDS]: Make code unconditional.
27719 [!__ASSUME_32BITUIDS]: Remove conditional code.
27720 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27721 <kernel-features.h>.
27722 [__ASSUME_32BITUIDS]: Make code unconditional.
27723 [!__ASSUME_32BITUIDS]: Remove conditional code.
27724 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27725 <kernel-features.h>.
27726 [__ASSUME_32BITUIDS]: Make code unconditional.
27727 [!__ASSUME_32BITUIDS]: Remove conditional code.
27728 * sysdeps/unix/sysv/linux/kernel-features.h
27729 (__ASSUME_SETRESUID_SYSCALL): Remove.
27730 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27731 (__ASSUME_32BITUIDS): Likewise.
27732 (__ASSUME_LDT_WORKS): Likewise.
27733 (__ASSUME_O_DIRECTORY): Likewise.
27734 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27735 architecture but not kernel version.
27736 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27737 (__ASSUME_MMAP2_SYSCALL): Likewise.
27738 (__ASSUME_STAT64_SYSCALL): Likewise.
27739 (__ASSUME_IPC64): Likewise.
27740 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27741 <kernel-features.h>.
27742 [__ASSUME_32BITUIDS]: Make code unconditional.
27743 [!__ASSUME_32BITUIDS]: Remove conditional code.
27744 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27745 <kernel-features.h>.
27746 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27747 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27748 132096]: Remove conditional code.
27749 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27750 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27751 <kernel-features.h>.
27752 [__ASSUME_32BITUIDS]: Make code unconditional.
27753 [!__ASSUME_32BITUIDS]: Remove conditional code.
27754 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
27759 <kernel-features.h>.
27760 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27761 unconditional.
27762 (__setresgid): Do not declare.
27763 [__ASSUME_32BITUIDS]: Make code unconditional.
27764 [!__ASSUME_32BITUIDS]: Remove conditional code.
27765 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27766 <kernel-features.h>.
27767 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27768 unconditional.
27769 (__setresuid): Do not declare.
27770 [__ASSUME_32BITUIDS]: Make code unconditional.
27771 [!__ASSUME_32BITUIDS]: Remove conditional code.
27772 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27773 <kernel-features.h>.
27774 [__ASSUME_32BITUIDS]: Make code unconditional.
27775 [!__ASSUME_32BITUIDS]: Remove conditional code.
27776 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27777 <kernel-features.h>.
27778 [__ASSUME_32BITUIDS]: Make code unconditional.
27779 [!__ASSUME_32BITUIDS]: Remove conditional code.
27780
a386f1cc
RH
277812012-05-25 Richard Henderson <rth@twiddle.net>
27782
27783 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27784 dl_hwcap to ifunc resolver.
27785 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27786 elf_ifunc_invoke.
27787 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27788 dl_hwcap to ifunc resolver.
27789 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27790
b6550497
JM
277912012-05-24 Joseph Myers <joseph@codesourcery.com>
27792
27793 [BZ #14153]
27794 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27795 for |x| <= 2**-26, not 2**-57.
27796 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27797 exception.
27798
b0bc23a1
JL
277992012-05-24 Jeff Law <law@redhat.com>
27800
27801 * stdio-common/Makefile (tests): Add bug25.
27802 * stdio-common/bug25.c: New test.
27803
347c92e9
L
278042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27805
27806 [BZ #13576]
27807 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27808 multiple of MALLOC_ALIGNMENT in size.
27809 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27810
6bcc8b3f
JM
278112012-05-24 Joseph Myers <joseph@codesourcery.com>
27812
27813 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27814 Require >= 256.
27815 (FILENAME_MAX): Use macro-int-constant.
27816 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27817 (_IOFBF): Use macro-int-constant.
27818 (_IOLBF): Likewise.
27819 (_IONBF): Likewise.
27820 (SEEK_CUR): Likewise.
27821 (SEEK_END): Likewise.
27822 (SEEK_SET): Likewise.
27823 (TMP_MAX): Likewise.
27824 (EOF): Use macro-int-constant. Require < 0.
27825 (NULL): Use macro-constant. Require == 0.
27826 (stdin): Require type to be FILE *.
27827 (stdout): Likewise.
27828 (stderr): Likewise.
27829 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27830 macro-int-constant.
27831 (EXIT_SUCCESS): Likewise.
27832 (NULL): Use macro-constant. Require == 0.
27833 (RAND_MAX): Use macro-int-constant.
27834 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27835 [C99-based standards] (strtof): Require function.
27836 [C99-based standards] (strtold): Likewise.
27837 [C99-based standards] (strtoll): Likewise.
27838 [C99-based standards] (strtoull): Likewise.
27839 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27840 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27841 [ISO || ISO99 || ISO11] (math.h): Likewise.
27842 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27843 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27844 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27845
d18ea0c5
AS
278462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27847
27848 [BZ #14132]
56d25bb8
AS
27849 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27850 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27851 * intl/dgettext.c (DCGETTEXT): Likewise.
27852 * intl/gettext.c (DCGETTEXT): Likewise.
27853 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27854 * posix/regex_internal.h (gettext): Likewise.
27855 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27856 Remove declaration.
27857 * include/argz.h (__argz_count_internal)
27858 (__argz_stringify_internal): Remove declaration.
27859 (__argz_count, __argz_stringify): Declare hidden proto.
27860 * intl/dcgettext.c: Remove use of INTDEF.
27861 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27862 * string/argz-stringify.c: Likewise.
27863 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27864 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27865 Declare hidden proto.
d18ea0c5
AS
27866 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27867 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27868 Declare hidden proto.
27869 * include/stdio.h (__asprintf_internal): Don't declare.
27870 (__asprintf): Don't define as macro. Declare hidden proto.
27871 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27872 (__fsetlocking): Declare hidden proto.
27873 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27874 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27875 hidden proto.
27876 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27877 (_IO_setlinebuf): Remove use of INTUSE.
27878 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27879 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27880 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27881 Remove declaration.
27882 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27883 (_IO_do_flush): Remove use of INTUSE.
27884 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27885 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27886 (_IO_adjust_column, _IO_least_wmarker)
27887 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27888 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27889 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27890 (_IO_default_doallocate, _IO_wdefault_doallocate)
27891 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27892 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27893 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27894 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27895 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27896 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27897 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27898 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27899 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27900 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27901 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27902 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27903 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27904 proto.
27905 (_IO_flush_all_internal, _IO_adjust_column_internal)
27906 (_IO_default_uflow_internal, _IO_default_finish_internal)
27907 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27908 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27909 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27910 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27911 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27912 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27913 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27914 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27915 (_IO_file_close_internal, _IO_file_close_it_internal)
27916 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27917 (_IO_file_init_internal, _IO_file_attach_internal)
27918 (_IO_file_fopen_internal, _IO_file_read_internal)
27919 (_IO_file_sync_internal, _IO_file_seek_internal)
27920 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27921 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27922 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27923 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27924 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27925 (_IO_list_all_internal, _IO_link_in_internal)
27926 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27927 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27928 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27929 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27930 (_IO_do_write_internal, _IO_padn_internal)
27931 (_IO_getline_info_internal, _IO_getline_internal)
27932 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27933 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27934 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27935 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27936 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27937 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27938 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27939 with libc_hidden_ver, remove use of INTUSE.
27940 * libio/genops.c: Likewise.
27941 * libio/freopen.c: Likewise.
27942 * libio/freopen64.c: Likewise.
27943 * libio/iofclose.c: Likewise.
27944 * libio/iofdopen.c: Likewise.
27945 * libio/iofflush.c: Likewise.
27946 * libio/iofflush_u.c: Likewise.
27947 * libio/iofgets.c: Likewise.
27948 * libio/iofgets_u.c: Likewise.
27949 * libio/iofopen.c: Likewise.
27950 * libio/iofopncook.c: Likewise.
27951 * libio/iofread.c: Likewise.
27952 * libio/iofread_u.c: Likewise.
27953 * libio/ioftell.c: Likewise.
27954 * libio/iofwrite.c: Likewise.
27955 * libio/iogetline.c: Likewise.
27956 * libio/iogets.c: Likewise.
27957 * libio/iogetwline.c: Likewise.
27958 * libio/iopadn.c: Likewise.
27959 * libio/iopopen.c: Likewise.
27960 * libio/ioseekoff.c: Likewise.
27961 * libio/ioseekpos.c: Likewise.
27962 * libio/iosetbuffer.c: Likewise.
27963 * libio/iosetvbuf.c: Likewise.
27964 * libio/ioungetc.c: Likewise.
27965 * libio/ioungetwc.c: Likewise.
27966 * libio/iovdprintf.c: Likewise.
27967 * libio/iovsprintf.c: Likewise.
27968 * libio/iovsscanf.c: Likewise.
27969 * libio/memstream.c: Likewise.
27970 * libio/obprintf.c: Likewise.
27971 * libio/oldfileops.c: Likewise.
27972 * libio/oldiofclose.c: Likewise.
27973 * libio/oldiofdopen.c: Likewise.
27974 * libio/oldiofopen.c: Likewise.
27975 * libio/oldiopopen.c: Likewise.
27976 * libio/oldstdfiles.c: Likewise.
27977 * libio/putc.c: Likewise.
27978 * libio/setbuf.c: Likewise.
27979 * libio/setlinebuf.c: Likewise.
27980 * libio/stdfiles.c: Likewise.
27981 * libio/strops.c: Likewise.
27982 * libio/vasprintf.c: Likewise.
27983 * libio/vscanf.c: Likewise.
27984 * libio/vsnprintf.c: Likewise.
27985 * libio/vswprintf.c: Likewise.
27986 * libio/wfiledoalloc.c: Likewise.
27987 * libio/wfileops.c: Likewise.
27988 * libio/wgenops.c: Likewise.
27989 * libio/wmemstream.c: Likewise.
27990 * libio/wstrops.c: Likewise.
27991 * libio/__fpurge.c: Likewise.
27992 * libio/__fsetlocking.c: Likewise.
27993 * assert/assert.c: Likewise.
27994 * debug/fgets_chk.c: Likewise.
27995 * debug/fgets_u_chk.c: Likewise.
27996 * debug/fread_chk.c: Likewise.
27997 * debug/fread_u_chk.c: Likewise.
27998 * debug/gets_chk.c: Likewise.
27999 * debug/obprintf_chk.c: Likewise.
28000 * debug/vasprintf_chk.c: Likewise.
28001 * debug/vdprintf_chk.c: Likewise.
28002 * debug/vsnprintf_chk.c: Likewise.
28003 * debug/vsprintf_chk.c: Likewise.
28004 * malloc/mtrace.c: Likewise.
28005 * misc/error.c: Likewise.
28006 * misc/syslog.c: Likewise.
28007 * stdio-common/asprintf.c: Likewise.
28008 * stdio-common/fxprintf.c: Likewise.
28009 * stdio-common/getw.c: Likewise.
28010 * stdio-common/isoc99_fscanf.c: Likewise.
28011 * stdio-common/isoc99_scanf.c: Likewise.
28012 * stdio-common/isoc99_vfscanf.c: Likewise.
28013 * stdio-common/isoc99_vscanf.c: Likewise.
28014 * stdio-common/isoc99_vsscanf.c: Likewise.
28015 * stdio-common/printf-prs.c: Likewise.
28016 * stdio-common/printf_fp.c: Likewise.
28017 * stdio-common/printf_fphex.c: Likewise.
28018 * stdio-common/printf_size.c: Likewise.
28019 * stdio-common/putw.c: Likewise.
28020 * stdio-common/scanf.c: Likewise.
28021 * stdio-common/sprintf.c: Likewise.
28022 * stdio-common/tmpfile.c: Likewise.
28023 * stdio-common/vfprintf.c: Likewise.
28024 * stdio-common/vfscanf.c: Likewise.
28025 * stdlib/strfmon_l.c: Likewise.
28026 * sunrpc/openchild.c: Likewise.
28027 * sunrpc/xdr_stdio.c: Likewise.
28028 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28029 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28030
d6c33fda
RM
280312012-05-24 Roland McGrath <roland@hack.frob.com>
28032
c1487492
RM
28033 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28034
28035 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28036 in the third column, to generate for the shared library an IFUNC
28037 that uses _dl_vdso_vsym.
28038 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28039 * Makeconfig (object-suffixes-noshared): New variable.
28040
28041 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28042 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28043 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28044 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28045
d6c33fda
RM
28046 [BZ #14132]
28047 * include/sys/time.h (__gettimeofday): Remove macro.
28048 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28049 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28050 Remove INTDEF.
28051 (__gettimeofday): Add libc_hidden_def.
28052 (gettimeofday): Add libc_hidden_weak.
28053 * sysdeps/mach/gettimeofday.c: Likewise.
28054 * sysdeps/posix/gettimeofday.c: Likewise.
28055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28056 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28058 (__gettimeofday_internal): Remove strong_alias.
28059 (__gettimeofday): Add libc_hidden_def.
28060 (gettimeofday): Add libc_hidden_weak.
28061 * sysdeps/unix/syscalls.list (gettimeofday):
28062 Remove __gettimeofday_internal alias.
28063
b5a2bbe6
L
280642012-05-24 Daniel Jacobowitz <drow@false.org>
28065 H.J. Lu <hongjiu.lu@intel.com>
28066
28067 [BZ #12495]
28068 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28069 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28070 (largebin_index_32_big): New.
28071 (largebin_index): Use it for 16-byte alignment.
28072 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28073 correction with front_misalign.
28074
cfba4fda
L
280752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28076
7f907421
L
28077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28079 Likewise.
28080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28081 Likewise.
28082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28083 Likewise.
28084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28085 Likewise.
28086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28087 Likewise.
28088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28089 Likewise.
28090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28091 Likewise.
28092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28093 Likewise.
28094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28095 Likewise.
28096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28097 Likewise.
28098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28099 Likewise.
28100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28101 Likewise.
28102
cfba4fda
L
28103 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28104 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28105
80bad0cc
JM
281062012-05-24 Joseph Myers <joseph@codesourcery.com>
28107
7a25eb06
JM
28108 [BZ #10846]
28109 [BZ #14036]
28110 * math/libm-test.inc (exp_test): Add test from bug 14036.
28111 (pow_test): Add test from bug 10846.
28112
795405f9
JM
28113 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28114 and other flags.
28115 (special_function): Do not include flags in test name.
28116 (parse_args): Likewise.
28117 * sysdeps/i386/fpu/libm-test-ulps: Update.
28118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28119 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28120 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28122
80bad0cc
JM
28123 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28124 exceptions.
28125 * math/libm-test.inc ("Philosophy"): Update comment about
28126 exception testing.
28127 (UNDERFLOW_EXCEPTION): New macro.
28128 (UNDERFLOW_EXCEPTION_OK): Likewise.
28129 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28130 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28131 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28132 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28133 (INVALID_EXCEPTION_OK): Update value.
28134 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28135 (OVERFLOW_EXCEPTION_OK): Likewise.
28136 (IGNORE_ZERO_INF_SIGN): Likewise.
28137 (test_exceptions): Handle underflow exceptions.
28138 (acos_test): Update for underflow exception expectations.
28139 (cexp_test): Likewise.
28140 (clog_test): Likewise.
28141 (clog10_test): Likewise.
28142 (csqrt_test): Likewise.
28143 (ctan_test): Likewise.
28144 (ctanh_test): Likewise.
28145 (exp_test): Likewise.
28146 (exp10_test): Likewise.
28147 (exp2_test): Likewise.
28148 (expm1_test): Likewise.
28149 (fma_test): Likewise.
28150 (j0_test): Likewise.
28151 (jn_test): Likewise.
28152 (nexttoward_test): Likewise.
28153 (pow_test): Likewise.
28154 (scalbn_test): Likewise.
28155 (scalbln_test): Likewise.
28156 (tan_test): Likewise.
28157 (y1_test): Likewise.
28158 * sysdeps/i386/fpu/libm-test-ulps: Update.
28159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28160
9e0e3d0b
DM
281612012-05-23 David S. Miller <davem@davemloft.net>
28162
28163 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28164 (__libc_sigaction): Remove unused local variables.
28165
ccd0a08f
L
281662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28167
28168 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28169
62bdf9a6
PE
281702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28171
f8591f80
PE
28172 mktime: avoid signed integer overflow
28173 * time/mktime.c (__mktime_internal): Do not mishandle the case
28174 where diff == INT_MIN.
28175
94c7d826
PE
28176 mktime: simplify computation of average
28177 * time/mktime.c (ranged_convert): Use new time_t_avg function
28178 instead of rolling our own (probably-slower) code.
28179
ce73d683
PE
28180 mktime: do not assume signed right shift propagates sign bit
28181 * time/mktime.c (isdst_differ): New static function.
28182 (__mktime_internal): No need to normalize tm_isdst now.
28183 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28184 tm_isdst values.
28185
72a22e59
PE
28186 mktime: merge another wrapv change from gnulib
28187 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28188 from some compilers.
28189
68605433
PE
28190 mktime: remove incorrect attempt at unusual arithmetics
28191 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28192 The code didn't really work on such machines anyway.
28193 (TYPE_MINIMUM): Assume two's complement.
28194 (twos_complement_arithmetic): Verify that long_int and time_t
28195 are two's complement (or unsigned, in the latter case).
28196
03cf7fe3
PE
28197 mktime: check signed shifts on long_int and time_t, too
28198 * time/mktime.c (SHR): Check that shifts work as desired
28199 on the types long_int and time_t too, as SHR is used on
28200 such types.
28201
f04dfbc2
PE
28202 mktime: do not assume 'long' is wide enough
28203 * time/mktime.c (verify): Move decl up.
28204 (long_int): New type.
28205 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28206 to remove assumption in the code that 'long' is wide enough to
28207 store year values. This assumption is not true on x32 and on
28208 some non-glibc platforms.
28209
62bdf9a6
PE
28210 mktime: merge wrapv change from gnulib
28211 * time/mktime.c (WRAPV): New macro.
28212 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28213 (guess_time_tm, __mktime_internal): Do not assume that signed
28214 integer overflow wraps around; modern compilers generate code
28215 where this assumption is no longer valid.
28216
5e292e4f
L
282172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28218
28219 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28220 Replace "jmp L(pseudo_end)" with "ret".
28221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28222 Likewise.
28223
8caf8c87
AJ
282242012-05-23 Andreas Jaeger <aj@suse.de>
28225
28226 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28227 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28228
1a09dc56
AJ
282292012-05-23 Andreas Jaeger <aj@suse.de>
28230 Maximilian Attems <max@stro.at>
28231
28232 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28233 New macros.
28234
1c87aba0
L
282352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28236
28237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28238 code so that pseudo_end is just ret and the stack pointer is
28239 correct also for static library in error case.
28240
40e45bd5
JM
282412012-05-23 Joseph Myers <joseph@codesourcery.com>
28242
c2670533
JM
28243 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28244 move to syscalls.list.
28245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28249
40e45bd5
JM
28250 * manual/install.texi (Running make install): Do not mention Linux
28251 kernel version for which pt_chown is not needed.
28252 (Linux): Do not mention problems with nscd with 2.0 kernels.
28253 * INSTALL: Regenerated.
28254
be08eda5
AJ
282552012-05-23 Andreas Jaeger <aj@suse.de>
28256
28257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28258 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28259 macro.
28260 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28261 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28262 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28263 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28264 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28265 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28267 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28269 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28270 * sysdeps/unix/sysv/linux/bits/in.h
28271 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28272
a6a056bb
RM
282732012-05-22 Roland McGrath <roland@hack.frob.com>
28274
28275 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28276 (PREPARE_VERSION): Just use assert instead, it will be elided
28277 under [NDEBUG] anyway.
28278
c9009328
L
282792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28280
28281 * sysdeps/unix/sysv/linux/Makefile: Include
28282 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28283 (sysdep_routines): Remove sysctl.
c9009328
L
28284 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28285 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28286 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28287 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28288 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28289
73338355
AJ
282902012-05-22 Andreas Jaeger <aj@suse.de>
28291
28292 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28293 that pseudo_end is just ret and the stack pointer is correct also
28294 for static library in error case.
28295
d44638b0
PP
282962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28297
28298 [BZ #14122]
28299 * nss/nsswitch.c (defconfig_entries): New variable.
28300 (__nss_database_lookup): Don't leak defconfig entries.
28301 (nss_parse_service_list): Don't leak on error paths.
28302 (free_database_entries): New function.
28303 (free_defconfig): New function.
28304 (free_mem): Move common code to free_database_entries.
28305
31a39bd8
L
283062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28307
da0331a8
L
28308 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28309 Add arch_prctl.
28310 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28311
31a39bd8
L
28312 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28313 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28315 New macro.
28316 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28317 (INTERNAL_SYSCALL_TYPES): Likewise.
28318 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28319 (LOAD_REGS_TYPES_[1-6]): Likewise.
28320 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28321 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28322
45470df3
AZ
283232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28324
28325 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28326 copysignl for GLIBC_2_0.
28327 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28328 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28330 logbl for GLIBC_2_0.
28331 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28332 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28333
98a61bcb
L
283342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28335
a4f6e481
L
28336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28337 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28338
f63d5db6
L
28339 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28340 Use "neg %eax".
28341
98a61bcb
L
28342 * time/mktime.c: Update copyright years.
28343
95770f14
PE
283442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28345
6226efbd
PE
28346 mktime: merge comment-quoting-style change from gnulib
28347 * time/mktime.c: Quote 'like this' in comments.
28348 The GNU coding standards suggest that we no longer quote `like this',
28349 as "`" and "'" are typically rendered asymmetrically nowadays.
28350 The typical gnulib style is to quote 'like this' when quoting
28351 code, and "like this" when quoting English.
28352
b99e4f78
PE
28353 * time/mktime.c (compile-command): Add "-I.".
28354
643e01e6
PE
28355 mktime: merge mktime-internal.h change from gnulib
28356 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28357
2554247d
PE
28358 mktime: merge time_r change from gnulib
28359 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28360
826dd0ab
PE
28361 mktime: merge DEBUG change from gnulib
28362 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28363 case system <time.h> has a #define.
28364
bd83aabe
PE
28365 mktime: merge <sys/types.h> change from gnulib
28366 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28367 since <time.t> is now guaranteed to define time_t.
28368
95770f14
PE
28369 mktime: merge HAVE_CONFIG_H change from gnulib
28370 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28371
5e1a27a9
L
283722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28373
0e44a77e
L
28374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28375 Use "neg %eax".
28376
5e1a27a9
L
28377 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28378 __rlim_t cast.
28379 (struct rusage): Use anonymous union to pad each field to
28380 __syscall_slong_t.
28381
46259bec
DM
283822012-05-21 David S. Miller <davem@davemloft.net>
28383
28384 * Makefules (o-iterator): Remove .s cases.
28385 (compile-command.s): Delete.
28386 (COMPILE.s): Delete.
28387 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28388
59f0c22e
JM
283892012-05-21 Joseph Myers <joseph@codesourcery.com>
28390
28391 * configure.in (libc_cv_predef_stack_protector): Only consider
28392 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28393 * configure: Regenerated.
28394
20c07380
L
283952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28396
bbb3154b
L
28397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28398 New macro. Use R*LP on int and pointer.
28399 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28400 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28401 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28402 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28403
20c07380
L
28404 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28405 [__WORDSIZE_TIME64_COMPAT32] instead of
28406 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28407 (struct utmp): Likewise.
28408 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28409 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28410 Renamed to ...
28411 (__WORDSIZE_TIME64_COMPAT32): This.
28412 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28413 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28414 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28415 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28416 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28417 (__WORDSIZE_TIME64_COMPAT32): New macro.
28418
d8d1017e
AJ
284192012-05-21 Andreas Jaeger <aj@suse.de>
28420
28421 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28422 only if [SHARED]. Add prototype for __wcschr_ia32.
28423
6c7fb145
RM
284242012-05-21 Roland McGrath <roland@hack.frob.com>
28425
28426 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28427 of %rbp unmolested in the jmp_buf while mangling the low bits.
28428 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28429 unmolested high bits of %rbp while demangling the low bits.
28430 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28431
66274218
AJ
284322012-05-21 Andreas Jaeger <aj@suse.de>
28433
07c58f8f
AJ
28434 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28435 * sunrpc/svc_simple.c: Use it for registerrpc.
28436 * sunrpc/xcrypt.c: Use it for passwd2des.
28437
66274218
AJ
28438 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28439
61f65140
L
284402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28441
28442 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28443 Don't define if [__SYSCALL_WORDSIZE != 32].
28444 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28445 New macro.
28446
5fefb436
AJ
284472012-05-21 Bruno Haible <bruno@clisp.org>
28448 Andreas Jaeger <aj@suse.de>
28449
28450 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28451 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28452 inptr and inend for must_buffer_ch.
28453 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28454 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28455 * stdio-common/Makefile (tests): Remove bug15.
28456 (bug15-ENV): Remove macro.
28457 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28458 anymore.
28459
d8e272ab
AJ
284602012-05-19 Andreas Jaeger <aj@suse.de>
28461 Roland McGrath <roland@hack.frob.com>
28462
28463 * manual/contrib.texi: Completely rewritten. It contains now an
28464 alphabetical list of contributors and their contributions.
28465
4a56a162
RH
284662012-05-21 Richard Henderson <rth@twiddle.net>
28467
28468 * misc/getauxval.c (__getauxval): Use unsigned long int.
28469 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28470 (getauxval): Use unsigned long int.
28471
d024d23c
L
284722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28473
28474 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28475
cbc00a03
RM
284762012-05-21 Roland McGrath <roland@hack.frob.com>
28477
28478 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28479 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28480 __alignof__ (long double).
28481
478143fa
AZ
284822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28483
28484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28485
c7683a6d
RH
284862012-05-20 Richard Henderson <rth@twiddle.net>
28487
28488 * misc/getauxval.c: New file.
28489 * misc/sys/auxv.h: New file.
28490 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28491 (routines): Add getauxval.
28492 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28493 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28494 * elf/dl-sysdep.c (_dl_auxv): Remove.
28495 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28496 * elf/dl-support.c (_dl_auxv): New variable.
28497 (_dl_aux_init): Initialize it.
28498 * manual/startup.texi (Auxiliary Vector): New node.
28499 * sysdeps/generic/bits/hwcap.h: New file.
28500 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28501 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28502 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28503 * sysdeps/sparc/sysdep.h: ... here. Include it.
28504 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28507 Update.
c7683a6d
RH
28508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28511 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28516
a6f1845d
AZ
285172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28518
28519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28520
cbcbe830
DM
285212012-05-19 David S. Miller <davem@davemloft.net>
28522
28523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28524
e0b16cc2
JM
285252012-05-19 Joseph Myers <joseph@codesourcery.com>
28526
28527 [BZ #14123]
28528 * math/s_ccosh.c: Include <float.h>
28529 (__ccosh): Avoid internal overflow calculating sinh and cosh
28530 values before multiplying by sin and cos values.
28531 * math/s_ccoshf.c: Likewise.
28532 * math/s_ccoshl.c: Likewise.
28533 * math/s_csin.c: Likewise.
28534 * math/s_csinf.c: Likewise.
28535 * math/s_csinl.c: Likewise.
28536 * math/s_csinh.c: Likewise.
28537 * math/s_csinhf.c: Likewise.
28538 * math/s_csinhl.c: Likewise.
28539 * math/libm-test.inc (ccos_test): Add more tests.
28540 (ccosh_test): Likewise.
28541 (csin_test): Likewise.
28542 (csinh_test): Likewise.
28543 * sysdeps/i386/fpu/libm-test-ulps: Update.
28544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28545
6ad13e08
L
285462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28547
f66f0ce8
L
28548 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28549 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28550
6ad13e08
L
28551 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28552
b1d072a7
JM
285532012-05-19 Joseph Myers <joseph@codesourcery.com>
28554
28555 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28556 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28557 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28558 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28559 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28560 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28561 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28562 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28563 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28564 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28565 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28566 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28567 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28568 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28569 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28570 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28571 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28572 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28573 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28574 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28575 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28576 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28577 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28578 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28579 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28580 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28581 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28582 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28583 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28584 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28585 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28586
9eae47cb
AJ
285872012-05-18 Andreas Jaeger <aj@suse.de>
28588
28589 * csu/.gitignore: Delete.
28590
bb07f69f
L
285912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28592
28593 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28594 (timex): Use __syscall_slong_t.
28595
e6bdb741
AJ
285962012-05-18 Andreas Jaeger <aj@suse.de>
28597 Carlos O'Donell <carlos_odonell@mentor.com>
28598
28599 * manual/install.texi (Configuring and compiling): Update
28600 description about files modified in the source directory.
d6c33fda 28601 * INSTALL: Regenerated.
e6bdb741 28602
1b74487e
L
286032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28604
28605 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28606 value. Use "or" to set return value to -1.
28607 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28608 negate return value.
28609
a88b64b9
TMQMF
286102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28611
28612 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28613 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28614 failure if the compiler has Graphite support disabled.
28615 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28616 Likewise.
28617 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28618 CFLAGS-memmove.c): Likewise.
28619 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28620 Likewise.
28621
3707636e
L
286222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28623
610b8622
L
28624 * sysdeps/x86_64/x32/_itoa.h: New file.
28625
7cd195df
L
28626 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28627 getdents system call only if kernel and user dirents have the
28628 same d_ino and d_off.
28629
94b07d20
L
28630 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28631 LLONG_MAX != LONG_MAX.
28632 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28633 (_fitoa_word): Likewise.
28634
18298070
L
28635 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28636 years.
28637 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28638 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28639 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28640
553c7ea4
L
28641 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28642 include <bits/wordsize.h>. Check __x86_64__ instead of
28643 __WORDSIZE.
28644 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28645 if __x86_64__ is defined. Use anonymous union on fpstate.
28646
3707636e
L
28647 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28648 anonymous union.
28649
b53ef01a
AS
286502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28651
37fb1dc0
AS
28652 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28653 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28654 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28655 Refer to _rtld_local_ro instead of _rtld_global_ro.
28656 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28657 Likewise.
28658 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28659 Likewise.
28660 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28661 Likewise.
28662 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28663 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28664 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28665
b53ef01a
AS
28666 * sysdeps/powerpc/powerpc32/dl-machine.c
28667 (__elf_machine_runtime_setup) [PROF]: Don't reference
28668 _dl_prof_resolve.
28669
7a185db2
AJ
286702012-05-18 Andreas Jaeger <aj@suse.de>
28671
28672 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28673 function only available for GCCs before 3.4 since GCC 3.4
28674 introduced a builtin.
28675 (lrint): Likewise.
28676 (llrintf): Likewise.
28677 (llrint): Likewise.
28678 (fmaxf): Likewise.
28679 (fmax): Likewise.
28680 (fminf): Likewise.
28681 (fmin): Likewise.
28682 (rint): Likewise.
28683 (rintf): Likewise.
28684 (nearbyint): Likewise.
28685 (nearbyintf): Likewise.
28686 (ceil): Likewise.
28687 (ceilf): Likewise.
28688 (floor): Likewise.
28689 (floorf): Likewise.
28690
3e5aef87
L
286912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28692
428bd707
L
28693 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28694 on both fields and cast pointer to __syscall_ulong_t.
28695
3e5aef87
L
28696 * bits/types.h (__fsword_t): New type.
28697 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28698 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28700 (__FSWORD_T_TYPE): Likewise.
28701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28702 (__FSWORD_T_TYPE): Likewise.
28703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28704 (__FSWORD_T_TYPE): Likewise.
28705 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28706 (__FSWORD_T_TYPE): Likewise.
28707 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28708 __SWORD_TYPE with __fsword_t.
28709 (statfs64): Likewise.
28710
1ba7c3dc
DM
287112012-05-17 David S. Miller <davem@davemloft.net>
28712
28713 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28714
59910343
AJ
287152012-05-17 Andreas Jaeger <aj@suse.de>
28716
28717 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28718 warning.
28719
2e4c1e9e
L
287202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28721
28722 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28723
de7f5ce7
AJ
287242012-05-17 Andreas Jaeger <aj@suse.de>
28725
28726 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28727 when it is used.
28728
286abc3d
CM
287292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28730
28731 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28732
477cc68e
L
287332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28736 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28737
1a0994f5
CD
287382012-05-17 Andreas Jaeger <aj@suse.de>
28739 Carlos O'Donell <carlos_odonell@mentor.com>
28740
28741 [BZ #14059]
28742 * sysdeps/x86_64/multiarch/init-arch.h
28743 (bit_YMM_Usable): Rename to...
28744 (bit_AVX_Usable): ... this.
28745 (bit_FMA4_Usable): New macro.
28746 (bit_XMM_state): New macro.
28747 (bit_YMM_state): New macro.
28748 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28749 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28750 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28751 (CPUID_OSXSAVE): New macro.
28752 (CPUID_AVX): New macro.
28753 (CPUID_FMA4): New macro.
28754 (index_YMM_Usable): Rename to...
28755 (index_AVX_Usable): ... this.
28756 (HAS_AVX): Use HAS_ARCH_FEATURE.
28757 (HAS_FMA4): Likewise.
28758 (HAS_YMM_USABLE): Remove.
28759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28760 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28761 are present.
28762 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28763 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28764 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28765 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28766 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28767
0af797de
CM
287682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28769
28770 * math/libm-test.c: Support platforms without multiple rounding modes.
28771 * math/bug-nextafter.c: Support platforms without FP exceptions.
28772 * math/bug-nexttoward.c: Likewise.
28773 * math/test-fenv.c: Likewise.
28774 * math/test-misc.c: Likewise.
28775 * stdlib/bug-getcontext.c: Likewise.
28776
e39745ff
AJ
287772012-05-17 Andreas Jaeger <aj@suse.de>
28778
28779 * manual/examples/search.c (critter_cmp): Change signature to
28780 avoid warnings.
28781 * manual/string.texi (Collation Functions): Likewise.
28782
48970aba
L
287832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28784
28785 * bits/types.h: Fold copyright years.
28786 * bits/typesizes.h: Likewise.
28787 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28791 * time/time.h: Likewise.
28792
bedee953
PP
287932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28794
28795 [BZ #208]
28796 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28797 in instead of returning them. Return void.
28798 (__libc_mallinfo): Accumulate over all arenas.
28799 (__malloc_stats): Adjust for change in int_mallinfo interface.
28800
61653dfb
RM
288012012-05-16 Roland McGrath <roland@hack.frob.com>
28802
30b99d79
RM
28803 [BZ #10375]
28804 * configure.in (NM): Add AC_CHECK_TOOL for it.
28805 (libc_extra_cflags): New substituted variable.
28806 Check for -fstack-protector being used implicitly.
28807 * configure: Regenerated.
28808 * config.make.in (config-extra-cflags): New variable,
28809 gets @libc_extra_cflags@.
28810 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28811
61653dfb
RM
28812 [BZ #10375]
28813 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28814 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28815 * configure: Regenerated.
28816 * config.make.in (CPPUNDEFS): New substituted variable.
28817 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28818 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28819 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28820
661768bb
L
288212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28822
28823 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28824 (mq_attr): Use __syscall_slong_t.
28825
d4261567
L
288262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28827
28828 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28829 Check __x86_64__ instead of __WORDSIZE.
28830 (_STAT_VER_LINUX): Likewise.
28831 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28832 __syscall_ulong_t and __syscall_slong_t.
28833 (stat64): Likewise.
28834
cf3ff365
L
288352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28836
28837 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28838
76cf3e4d
L
288392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28842
a637753a
L
288432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28844
28845 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28846 __syscall_ulong_t.
28847
d5e05119
L
28848 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28849 include <bits/wordsize.h>. Check __x86_64__ instead of
28850 __WORDSIZE.
28851 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28852 defined.
28853 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28854
f62ee380
L
28855 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28856 include <bits/wordsize.h>. Check __x86_64__ instead of
28857 __WORDSIZE.
28858 (user_regs_struct): Use "__extension__ unsigned long long"
28859 instead of "unsigned long" if __x86_64__ is defined.
28860 (user): Likewise. Pad after pointer field if __ILP32__ is
28861 defined.
28862
4e124ced
JM
288632012-05-16 Joseph Myers <joseph@codesourcery.com>
28864
6a3951a0
JM
28865 * configure.in (makeinfo): Require version 4.5 or later. Allow
28866 versions 5 to 9.
28867 * configure: Regenerated.
28868 * manual/install.texi (texinfo): Increase version requirement to
28869 4.5 or later.
28870 * INSTALL: Regenerated.
28871
4e124ced
JM
28872 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28873
953ca31a
L
288742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28875
28876 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28877
617aca05
L
28878 * sysdeps/x86_64/x32/ffs.c: New file.
28879
5762f7ae
L
28880 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28881 __syscall_ulong_t.
28882 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28883 defined. Use __syscall_ulong_t.
28884 (shminfo): Use __syscall_ulong_t.
28885 (shm_info): Likewise.
28886
a26b6856
L
28887 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28888 __syscall_ulong_t.
28889
cb2b9ef7
L
28890 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28891 <bits/wordsize.h>.
28892 (msgqnum_t): Use __syscall_ulong_t.
28893 (msglen_t): Likewise.
28894 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28895 __syscall_ulong_t.
28896
34683bb0
L
28897 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28898 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28899
84a68786
L
28900 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28901
48baa5f1
L
28902 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28903 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28904
180be88b
L
28905 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28906 __syscall_slong_t.
28907
5e90c8ad
L
28908 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28909 include <bits/wordsize.h>. Check __x86_64__ instead of
28910 __WORDSIZE.
28911
23dfb58b
L
28912 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28913 "unsigned long long int" if __x86_64__ is defined.
28914 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28915
ce5d54b0
L
28916 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28917 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28918 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28919
13dc9eac
L
28920 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28921 <stdint.h>.
28922 (GET_PC): Cast to uintptr_t first.
28923 (GET_FRAME): Likewise.
28924 (GET_STACK): Likewise.
28925
a7895d15
L
28926 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28927 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28928 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28930 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28932 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28933 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28935 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28936 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28937 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28938 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28939 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28940 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28942 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28943 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28944 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28945 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28947 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28948 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28949 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28950 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28951 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28952 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28953 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28955
656416c9
AS
289562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28957
5bd66283
AS
28958 * Makerules (+depfiles): Also collect depfiles from .oS in
28959 $(extra-objs).
28960 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28961 .oS, $(libnldbl-routines)).
28962
656416c9
AS
28963 * Makerules (native-compile-mkdep-flags): Define.
28964 * sunrpc/Makefile (extra-objs): Add $(addprefix
28965 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28966 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28967 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28968 calling $(make-target-directory).
28969
a46f2169
L
289702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28971
28972 * bits/types.h (__snseconds_t): Removed.
28973 * time/time.h (struct timespec): Replace __snseconds_t with
28974 __syscall_slong_t.
28975 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28976 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28977 Likewise.
28978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28979 (__SNSECONDS_T_TYPE): Likewise.
28980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28981 (__SNSECONDS_T_TYPE): Likewise.
28982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28983 (__SNSECONDS_T_TYPE): Likewise.
28984
6af6528b
L
289852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28986
28987 * sysdeps/mach/hurd/bits/typesizes.h
28988 (__SYSCALL_SLONG_TYPE): New macro.
28989 (__SYSCALL_ULONG_TYPE): Likewise.
28990
de986b56
L
289912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28992
28993 * bits/types.h (__syscall_slong_t): New type.
28994 (__syscall_ulong_t): Likewise.
28995
28996 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28997 (__SYSCALL_ULONG_TYPE): Likewise.
28998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28999 (__SYSCALL_SLONG_TYPE): Likewise.
29000 (__SYSCALL_ULONG_TYPE): Likewise.
29001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29002 (__SYSCALL_SLONG_TYPE): Likewise.
29003 (__SYSCALL_ULONG_TYPE): Likewise.
29004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29005 (__SYSCALL_SLONG_TYPE): Likewise.
29006 (__SYSCALL_ULONG_TYPE): Likewise.
29007
85736dc7
L
290082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29009
29010 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29011 Add sigaltstack-offsets.sym.
29012 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29013 <sigaltstack-offsets.h>.
29014 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29015 longjmp_msg pointer.
29016 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29017 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29018 signal stack.
29019 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29020
cc03b296
JM
290212012-05-15 Joseph Myers <joseph@codesourcery.com>
29022
a9538892
JM
29023 * elf/stackguard-macros.h: Remove file.
29024 * sysdeps/generic/stackguard-macros.h: New file.
29025 * sysdeps/i386/stackguard-macros.h: Likewise.
29026 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29027 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29028 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29029 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29030 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29031 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29032 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29033 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29034 <elf/stackguard-macros.h>.
29035
cc03b296
JM
29036 [BZ #14109]
29037 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29038 __aligned__ in attribute.
29039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29040 (gregset_t): Likewise.
29041
93171016
L
290422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29043
29044 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29045 * sysdeps/x86_64/64/Implies-after: Here. New file.
29046 * sysdeps/x86_64/x32/Implies-after: New file.
29047
d86813a0
L
290482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29049
29050 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29051 and access return value for _dl_profile_fixup. Use R10_LP to
29052 load frame size.
29053
2953ec75
L
290542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29055
29056 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29057
3b550e9e
L
290582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29059
29060 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29061 * sysdeps/x86_64/x32/sysdep.h: New file.
29062
eda41706
L
290632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29066 * sysdeps/x86_64/setjmp.S: Likewise.
29067
9ea01d93
AZ
290682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29069
29070 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29071 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29072 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29074 remove unused global constant.
29075
02a91938
CM
290762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29077
29078 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29079 include of <not-cancel.h>.
29080
6540185f
RM
290812012-05-15 Roland McGrath <roland@hack.frob.com>
29082
29083 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29084
509072a0
AJ
290852012-05-15 Jeff Law <law@redhat.com>
29086 Andreas Jaeger <aj@suse.de>
29087
29088 [BZ #13594]
29089 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29090 out from...
29091 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29092 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29093 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29094 code changing __hst_map_handle.map.
29095
ba75122d
RM
290962012-05-15 Roland McGrath <roland@hack.frob.com>
29097
29098 * configure.in (sysnames): Look for Implies-before and Implies-after
29099 files.
29100 * configure: Regenerated.
29101
890d8bd8
L
291022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29103
29104 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29105 8-byte data alignment with LP_SIZE alignment.
29106
f6ee6623
L
291072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29108
29109 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29110 into R10_LP.
29111
ea2626f6
L
291122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29113
29114 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29115
085f715e
L
291162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29117
29118 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29119 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29120 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29121 Likewise.
29122 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29123
be8498fc
L
291242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29125
29126 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29127 (stackinfo_sub_sp): Likewise.
29128
70bc83b9
L
291292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29130
29131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29132 RAX_LP.
29133
9bc0b730
L
291342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29135
29136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29137 into R*_LP.
29138
6d2850e7
L
291392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29140
29141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29142 sizes into R*_LP.
29143
3cb84561
L
291442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29145
29146 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29147
54e2ed81
L
291482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29149
29150 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29151 into R11_LP and load __x86_64_shared_cache_size_half into
29152 R8_LP.
29153
8a17f349
L
291542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29155
29156 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29157 R8_LP.
29158
777b1eea
AZ
291592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29160
29161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29162 logb for POWER7.
29163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29164 logbf for POWER7.
29165 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29166 logbl for POWER7.
29167 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29168 powerpc32/power7/fpu/s_logb.c via #include.
29169 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29170 powerpc32/power7/fpu/s_logbf.c via #include.
29171 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29172 powerpc32/power7/fpu/s_logbl.c via #include.
29173
d20d4ac2
JM
291742012-05-15 Joseph Myers <joseph@codesourcery.com>
29175
29176 * README.libm: Remove file.
29177
6cdef1ab
L
291782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29179
29180 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29181 count for x32. Use R*_LP and omit operand-size suffix.
29182
0b254d8f
L
291832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29184
29185 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29186 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29187 * sysdeps/x86_64/x32/shlib-versions: New file.
29188
ceb809dc
RM
291892012-05-14 Roland McGrath <roland@hack.frob.com>
29190
29191 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29192 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29193 Use _dl_fatal_printf instead.
29194
37f1abd4
JM
291952012-05-14 Joseph Myers <joseph@codesourcery.com>
29196
29197 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29198 set if not set by the user. Do not allow for being unset.
29199 * sysdeps/unix/sysv/linux/configure: Regenerated.
29200
11de3a33
L
292012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29202
29203 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29204 the `q' suffix from lea and replace .quad with ASM_ADDR.
29205
e02f153a
L
292062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29207
29208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29209 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29210 instead of $17.
29211 (PTR_DEMANGLE): Likewise.
29212
520ae0fd
L
292132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29214
29215 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29216 (LP_OP): Likewise.
29217 (ASM_ADDR): Likewise.
29218 (RAX_LP): Likewise.
29219 (RBP_LP): Likewise.
29220 (RBX_LP): Likewise.
29221 (RCX_LP): Likewise.
29222 (RDI_LP): Likewise.
29223 (RSI_LP): Likewise.
29224 (RSP_LP): Likewise.
29225 (R8_LP): Likewise.
29226 (R9_LP): Likewise.
29227 (R10_LP): Likewise.
29228 (R10_LP): Likewise.
29229 (R11_LP): Likewise.
29230 (R12_LP): Likewise.
29231 (R13_LP): Likewise.
29232 (R14_LP): Likewise.
29233 (R15_LP): Likewise.
29234
b985be81
L
292352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29236
29237 * sysdeps/x86_64/x32/dl-machine.h: New file.
29238
6a4888ff
AJ
292392012-05-14 Andreas Jaeger <aj@suse.de>
29240
29241 * manual/Makefile (subdir): Remove export of subdir.
29242 (all): Remove target.
29243 (.PHONY): Remove all from list.
29244 (mkinstalldirs): Remove.
29245 (.PHONY): Remove installdirs from list.
29246 ($(inst_infodir)/libc.info): Use make-target-directory.
29247 (installdirs): Remove.
29248 (subdir_%): Remove.
29249 (glibc-targets): Remove.
29250 (lib): Remove.
29251 (stubs): Remove.
29252 ($(objpfx)stubs ../po/manual.pot): Remove.
29253 ($(objpfx)stamp%): Remove.
29254 (make-target-directory): Remove.
29255 (subdir_install): Remove.
29256 (routines): Remove.
29257 (aux): Remove.
29258 (sources): Remove.
29259 (objects): Remove.
29260 (headers): Remove.
29261
29262 [BZ #13750]
29263 * manual/.gitignore: Remove, it's not needed anymore.
29264 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29265 all files in it.
29266 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29267 directory.
29268 (texis): Renamed to $(objpfx)texis.
29269 (texis-path): New, contains path to generated files.
29270 (chapters.%): Use texis-path for complete path, add extra argument
29271 libc-texinfo.sh.
29272 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29273 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29274 (summary,texi, stamp-summary): Use complete path of
29275 files. Generate files in build dir.
29276 (dir-add.texi): Build in build dir.
29277 (libm-err.texi,stamp-libm-err): Likewise.
29278 (version.texi, stamp-version): Likewise.
29279 (.%c.texi): Likewise.
29280 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29281 (mostlyclean): Remove target.
29282 (realclean): Remove target.
29283 (generated): Add new variable with contents from mostlyclean and
29284 realclean, remove entries duplicated in common-mostlyclean, add
29285 stamp-libm-err and stamp-version.
29286 (generated-dirs): Add libc directory.
29287 ($(inst_infodir)/libc.info): Install files from build dir.
29288
29289 * manual/install.texi (Configuring and compiling): Adjust since
29290 the info files are not part of the tar ball anymore.
29291
7ac77294
AJ
292922012-05-14 Andreas Jaeger <aj@suse.de>
29293
29294 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29295 variable.
29296
ffb7875d
JM
292972012-05-14 Joseph Myers <joseph@codesourcery.com>
29298
29299 [BZ #13717]
29300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29301 to 2.2.0 where earlier.
29302 * sysdeps/unix/sysv/linux/configure: Regenerated.
29303 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29304 Remove conditional code.
29305 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29306 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29307 Remove conditional code.
29308 [!__NR_lchown]: Likewise.
29309 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29310 [__NR_lchown]: Likewise.
29311 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29312 comment referencing __ASSUME_LCHOWN_SYSCALL.
29313 * sysdeps/unix/sysv/linux/i386/sigaction.c
29314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29316 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29317 Remove conditional code.
29318 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29319 (__protocol_available): Remove #if 0 code.
29320 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29321 conditional code.
29322 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29323 * sysdeps/unix/sysv/linux/kernel-features.h
29324 (__ASSUME_GETCWD_SYSCALL): Don't define.
29325 (__ASSUME_REALTIME_SIGNALS): Likewise.
29326 (__ASSUME_PREAD_SYSCALL): Likewise.
29327 (__ASSUME_PWRITE_SYSCALL): Likewise.
29328 (__ASSUME_POLL_SYSCALL): Likewise.
29329 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29330 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29331 non-SPARC.
29332 (__ASSUME_SIOCGIFNAME): Don't define.
29333 (__ASSUME_MSG_NOSIGNAL): Likewise.
29334 (__ASSUME_SENDFILE): Define unconditionally.
29335 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29336 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29337 conditional code.
29338 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29339 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29340 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29341 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29342 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29343 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29344 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29346 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29349 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29352 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29355 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29358 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29361 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29364 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29369 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29370 Remove conditional code.
29371 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29372 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29373 Remove conditional code.
29374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29375 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29376 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29377 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29378 Remove conditional code.
29379 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29380 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29381 Remove conditional code.
29382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29383 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29384 Remove conditional code.
29385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29386 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29387 Remove conditional code.
29388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29389 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29390 Remove conditional code.
29391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29392 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29395 * sysdeps/unix/sysv/linux/sigaction.c
29396 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29397 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29398 * sysdeps/unix/sysv/linux/sigpending.c
29399 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29400 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29401 * sysdeps/unix/sysv/linux/sigprocmask.c
29402 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29403 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29404 * sysdeps/unix/sysv/linux/sigsuspend.c
29405 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29406 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29407 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29408 (__libc_missing_rt_sigs): Remove.
29409 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29410 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29411 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29412 Remove conditional code.
29413 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29414 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29415 return 1.
29416 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29417 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29418 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29419 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29420
1bfb7291
AJ
294212012-05-14 Andreas Jaeger <aj@suse.de>
29422
caae5a81
AJ
29423 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29424 it's not used in glibc.
29425 (__coshm1): Likewise.
29426 (__acosh1p): Likewise.
29427 (__sgn): Likewise.
29428
1bfb7291
AJ
29429 * manual/string.texi (Copying and Concatenation): Add missing
29430 variable in concat example.
29431 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29432
c044d724
L
294332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29434
144c5467 29435 [BZ #14103]
c044d724
L
29436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29437 __builtin_clzl with __builtin_clzll.
29438
2523c62b
L
294392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29440
29441 [BZ #14104]
29442 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29443 libc_freeres_ptr.
29444
d7bb4c42
LD
294452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29446
29447 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29448 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29449 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29451
9dc4e1fb
MF
294522012-05-14 Mike Frysinger <vapier@gentoo.org>
29453
29454 * NEWS: Update ia64 info.
29455
c7df0112
AS
294562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29457
29458 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29459 used as bcopy.
29460
dc70356c
TS
294612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29462
29463 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29464 * sysdeps/unix/syscalls.list (dup3): Likewise.
29465 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29466 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29467
9fb1a21f
L
294682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29469
29470 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29471 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29472
4822a2a5
L
294732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29474
29475 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29476 thread pointer.
29477 (TLS_IE): Use mov/add instead of movq/addq to load thread
29478 pointer.
29479 (TLS_GD_PREFIX): New.
29480 (TLS_GD): Use it.
29481
842b81d6
DM
294822012-05-11 David S. Miller <davem@davemloft.net>
29483
29484 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29485 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29486 (_FPU_SETCW): Likewise.
29487
1cf463cd
L
294882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29489
29490 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29491 is 32-byte aligned.
29492
60cc4a18
AS
294932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29494
29495 [BZ #11837]
29496 * iconvdata/gb18030.c: Update tables.
29497 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29498 characters specially.
29499 (BODY for TO_LOOP): Add encoding of missing ranges.
29500
febb44a4
TS
295012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29502
29503 [BZ #13673]
29504 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29505 * sysdeps/mach/hurd/dup3.c: Likewise.
29506 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29507 * sysdeps/powerpc/memmove.c:: Likewise.
29508
0a10fb9e
L
295092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29510
29511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29512 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29513
df8a552f
L
295142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29515
29516 * elf/elf.h (R_X86_64_RELATIVE64): New.
29517 (R_X86_64_NUM): Updated.
29518 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29519 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29520 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29521 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29522 tst-quad1pie tst-quad2pie
29523 (modules-names): Add tst-quadmod1 tst-quadmod2.
29524 ($(objpfx)tst-quad1): New dependency.
29525 ($(objpfx)tst-quad2): Likewise.
29526 ($(objpfx)tst-quad1pie): Likewise.
29527 ($(objpfx)tst-quad2pie): Likewise.
29528 * sysdeps/x86_64/tst-quad1.c: New file.
29529 * sysdeps/x86_64/tst-quad1pie.c: New file.
29530 * sysdeps/x86_64/tst-quad2.c: Likewise.
29531 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29532 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29533 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29534 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29535 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29536
f34d6f84
ST
295372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29538
f42d41d1
ST
29539 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29540 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29541 * streams/stropts.h (t_scalar_t): Define type.
29542
3c3571fc
ST
29543 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29544 (_PATH_PRESERVE): Set to "/var/lib".
29545 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29546
61f06bd3
ST
29547 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29548 instead of int.
29549
918d4d71
ST
29550 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29551 if __dir_mkfile succeeded.
29552
f34d6f84
ST
29553 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29554 checking for _hurd_dtablesize. Unlock it right after having
29555 finished _hurd_dtable allocation.
29556
10589b4a
TS
295572012-05-10 Thomas Schwinge <thomas@schwinge.name>
29558
674cdbc7
TS
29559 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29560 * sysdeps/mach/hurd/configure: Regenerated.
29561 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29562 special-casing to...
29563 * sysdeps/gnu/configure.in: ... this new file.
29564 * sysdeps/unix/sysv/linux/configure: Regenerated.
29565 * sysdeps/gnu/configure: New generated file.
29566
8e41b99f
TS
29567 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29568 for Linux: use nsec instead of usec, as well as:
29569 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29570 members of type struct timespec.
29571 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29572 New macros.
29573 (struct stat64): Likewise.
29574 (_STATBUF_ST_NSEC): New macro.
29575 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29576
10589b4a
TS
29577 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29578 __strtoul_internal rather than strtoul.
29579
63643c85
PT
295802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29581
29582 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29583 and reject them.
29584
3faebe6a
ST
295852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29586
29587 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29588 which preserves existing values.
29589 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29590
c6474b07
PT
295912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29592
29593 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29594 TIMEOUT values. Return EINVAL for NFDS values either negative or
29595 greater than FD_SETSIZE.
29596
1043890b
ST
295972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29598
29599 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29600 allocated, call __vm_protect to finish enabling the existing space, and
29601 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29602 allocate the remainder.
29603
37ed8b9b
PT
296042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29605
29606 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29607 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29608
db653660
ST
296092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29610
37ed8b9b
PT
29611 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29612 sysdeps/mach/hurd/readlink.c.
b29d4053 29613
db653660
ST
29614 * posix/tst-sysconf.c (posix_options): Only use
29615 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29616 _POSIX_SYNCHRONIZED_IO when they are defined
29617 * sysdeps/mach/hurd/bits/posix_opt.h:
29618 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29619 (_XOPEN_REALTIME): Undefine macro.
29620 (_XOPEN_REALTIME_THREADS): Undefine macro.
29621 (_XOPEN_SHM): Undefine macro.
29622 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29623 macro to -1.
29624 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29625 macro to -1.
29626 (_POSIX_ASYNC_IO): Undefine macro.
29627 (_POSIX_PRIORITIZED_IO): Undefine macro.
29628 (_POSIX_SPIN_LOCKS): Define macro to -1.
29629
ee16e894
ST
29630 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29631 SA_NODEFER, SA_RESETHAND.
29632 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29633 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29634 F_DUPFD_CLOEXEC.
29635
6103ae3b
TS
296362012-05-10 Thomas Schwinge <thomas@schwinge.name>
29637
29638 * elf/Makefile (pldd-modules): Define unconditionally.
29639
80b4e5f3
TS
296402012-05-10 Thomas Schwinge <thomas@schwinge.name>
29641
29642 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29643
edadcbd6
ST
296442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29645
29646 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29647 Return ENOENT when name is empty.
29648 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29649
80694780
TS
296502012-05-10 Thomas Schwinge <thomas@schwinge.name>
29651
1792c087
TS
29652 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29653
80694780
TS
29654 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29655
6b645f0d
ST
296562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29657
80694780
TS
29658 Fix mlock in all cases except non-readable pages.
29659 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29660 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29661
6b645f0d
ST
29662 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29663 (__mkdir): When path is `/', just fail with EEXIST.
29664 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29665
e468f8a3
TS
296662012-05-10 Thomas Schwinge <thomas@schwinge.name>
29667
29668 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29669 <sys/uio.h> (for writev).
29670 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29671 and <sys/param.h> (for MIN).
29672
a4186cff
PT
296732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29674
29675 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29676 REQUESTED_TIME. Properly set the remaining time and return EINTR
29677 if interrupted.
29678
510bbf14
TS
296792012-05-10 Thomas Schwinge <thomas@schwinge.name>
29680
29681 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29682 Depend on against $(link-rpcuserlibs).
29683
5d5722e8
ST
296842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29685
a4186cff
PT
29686 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29687 (__libc_stack_end): Do not use attribute_relro.
29688 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29689 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29690 to libthread-provided value.
a4186cff
PT
29691 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29692 attribute_relro.
5d5722e8 29693
37233df9
TS
296942012-05-10 Thomas Schwinge <thomas@schwinge.name>
29695
be971a2b
TS
29696 [BZ #3748]
29697 * bits/libc-lock.h (__libc_once_get): New macro.
29698 * sysdeps/mach/bits/libc-lock.h: Likewise.
29699 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29701 instead of using implementation details.
29702
37233df9
TS
29703 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29704 * libio/freopen.c: Likewise.
29705 * libio/freopen64.c: Likewise.
29706 * misc/syslog.c: Likewise.
29707 * nscd/connections.c: Likewise.
29708 * nscd/netgroupcache.c: Likewise.
29709 * sysdeps/posix/getcwd.c: Likewise.
29710
38de94a5
RM
297112012-05-10 Roland McGrath <roland@hack.frob.com>
29712
29713 * math/w_ilogbf.c: Add #include <limits.h>.
29714
67530489
ST
297152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29716
a4186cff 29717 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29718 path instead of returning without unlocking.
29719
67530489
ST
29720 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29721 immediate-write ioctls.
29722 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29723
5aa3a74a
TS
297242012-05-10 Thomas Schwinge <thomas@schwinge.name>
29725
18bad2ae
TS
29726 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29727 __builtin_frame_address instead of making assumptions about the
29728 location of the return address relative to DATA. Force early load of
29729 the return address.
29730 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29731 __builtin_frame_address.
29732
5aa3a74a
TS
29733 dup3 for GNU Hurd.
29734 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29735 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29736 implement dup3 and do some further code clean-ups.
29737 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29738 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29739
ecd0de9a
ST
297402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29741
cd9fa985
ST
29742 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29743
a4186cff
PT
29744 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29745 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29746 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29747 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29748 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29749 d->port.lock.
802ca5a5 29750
a4186cff
PT
29751 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29752 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29753 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29754
bcf55240
TS
297552012-05-10 Thomas Schwinge <thomas@schwinge.name>
29756
6960eb42
TS
29757 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29758 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29759 definitions.
29760
eb43375f
TS
29761 accept4 for GNU Hurd.
29762 * include/sys/socket.h (__libc_accept4): New prototype.
29763 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29764 to implement __libc_accept4.
29765 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29766 __libc_accept4.
29767 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29768
bcf55240
TS
29769 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29770 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29771 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29772 signal-defines.sym.
29773
6178c55b
ST
297742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29775
a4186cff 29776 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29777
6f080c2f
TS
297782012-05-10 Thomas Schwinge <thomas@schwinge.name>
29779
29780 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29781 assertion on O_CLOEXEC flag.
29782 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29783 * hurd/intern-fd.c: Likewise.
29784 * hurd/port2fd.c: Likewise.
29785
bcfe3a54
ST
297862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29787
29788 [BZ #3906]
29789 * bits/in.h (IPV6_PKTINFO): Define new macro.
29790 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29791
89c9aa49
AZ
297922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29793
29794 [BZ #13954]
29795 [BZ #13955]
29796 [BZ #13956]
29797 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29799 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29800 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29802 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29803 * math/libm-test.inc (logb_test) : Additional logb tests.
29804
021db4be
AJ
298052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29806 Andreas Jaeger <aj@suse.de>
29807
29808 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29809 * configure: Regenerated.
29810 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29811 * config.make.in (link-obsolete-rpc): New substituted variable.
29812 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29813 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29814 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29815 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29816 so that libc.a contains the symbols.
29817 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29818 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29819 * sunrpc/auth_none.c: Likewise.
29820 * sunrpc/auth_unix.c: Likewise.
29821 * sunrpc/authdes_prot.c: Likewise.
29822 * sunrpc/authuxprot.c: Likewise.
29823 * sunrpc/clnt_gen.c: Likewise.
29824 * sunrpc/clnt_perr.c: Likewise.
29825 * sunrpc/clnt_raw.c: Likewise.
29826 * sunrpc/clnt_simp.c: Likewise.
29827 * sunrpc/clnt_tcp.c: Likewise.
29828 * sunrpc/clnt_udp.c: Likewise.
29829 * sunrpc/clnt_unix.c: Likewise.
29830 * sunrpc/des_crypt.c: Likewise.
29831 * sunrpc/des_soft.c: Likewise.
29832 * sunrpc/get_myaddr.c: Likewise.
29833 * sunrpc/key_call.c: Likewise.
29834 * sunrpc/key_prot.c: Likewise.
29835 * sunrpc/netname.c: Likewise.
29836 * sunrpc/pm_getmaps.c: Likewise.
29837 * sunrpc/pm_getport.c: Likewise.
29838 * sunrpc/pmap_clnt.c: Likewise.
29839 * sunrpc/pmap_prot.c: Likewise.
29840 * sunrpc/pmap_prot2.c: Likewise.
29841 * sunrpc/pmap_rmt.c: Likewise.
29842 * sunrpc/publickey.c: Likewise.
29843 * sunrpc/rpc_cmsg.c: Likewise.
29844 * sunrpc/rpc_common.c: Likewise.
29845 * sunrpc/rpc_dtable.c: Likewise.
29846 * sunrpc/rpc_prot.c: Likewise.
29847 * sunrpc/rpc_thread.c: Likewise.
29848 * sunrpc/rtime.c: Likewise.
29849 * sunrpc/svc.c: Likewise.
29850 * sunrpc/svc_auth.c: Likewise.
29851 * sunrpc/svc_raw.c: Likewise.
29852 * sunrpc/svc_run.c: Likewise.
29853 * sunrpc/svc_tcp.c: Likewise.
29854 * sunrpc/svc_udp.c: Likewise.
29855 * sunrpc/svc_unix.c: Likewise.
29856 * sunrpc/svcauth_des.c: Likewise.
29857 * sunrpc/xcrypt.c: Likewise.
29858 * sunrpc/xdr.c: Likewise.
29859 * sunrpc/xdr_array.c: Likewise.
29860 * sunrpc/xdr_float.c: Likewise.
29861 * sunrpc/xdr_intXX_t.c: Likewise.
29862 * sunrpc/xdr_mem.c: Likewise.
29863 * sunrpc/xdr_rec.c: Likewise.
29864 * sunrpc/xdr_ref.c: Likewise.
29865 * sunrpc/xdr_sizeof.c: Likewise.
29866 * sunrpc/xdr_stdio.c: Likewise.
29867
b5c086a2
RM
298682012-05-10 Roland McGrath <roland@hack.frob.com>
29869
29870 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29871 change. Update copyright years.
29872
6d74dd09
JM
298732012-05-10 Joseph Myers <joseph@codesourcery.com>
29874
29875 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29876
28e72501
MK
298772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29878 Joseph Myers <joseph@codesourcery.com>
29879 Paul Pluzhnikov <ppluzhnikov@google.com>
29880
29881 [BZ #14012]
29882 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29883 requiring rpcgen.
29884 [cross-compiling] (extra-libs): Likewise.
29885 [cross-compiling] (extra-libs-others): Likewise.
29886 [cross-compiling] (librpcsvc-routines): Likewise.
29887 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29888 [cross-compiling] (omit-deps): Likewise.
29889 (sunrpc-CPPFLAGS): New variable.
29890 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29891 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29892 (cross-rpcgen-objs): New variable.
29893 (extra-objs): Append $(cross-rpcgen-objs).
29894 ($(cross-rpcgen-objs)): New rule.
29895 ($(objpfx)cross-rpcgen): Likewise.
29896 (rpcgen-cmd): Define to use $(built-program-file). Expand
29897 comment.
29898 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29899 ($(objpfx)x%.stmp): Likewise.
29900 * sunrpc/proto.h [IS_IN_build] (_): Define.
29901 [IS_IN_build] (_libc_intl_domainname): Likewise.
29902
c8c59454
L
299032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29904
29905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29906 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29907 and R_X86_64_TPOFF64.
29908
6f27cd16
JM
299092012-05-10 Joseph Myers <joseph@codesourcery.com>
29910
29911 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29912 sysdeps/unix/sysv/syscalls.list.
29913 (stime): Likewise.
29914 (utime): Likewise.
29915 * sysdeps/unix/sysv/syscalls.list: Remove file.
29916
02467e1c
PE
299172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29918
29919 [BZ #3440]
29920 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29921 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29922 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29923 (__LC_IDENTIFICATION): Make these macros useful in #if
29924 expressions, as required by C99.
29925
da392631
AS
299262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29927
29928 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29929 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29930 after this.
29931
8115f29b
L
299322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29933
29934 * stdlib/longlong.h: Updated from GCC.
29935
bdd74070
AJ
299362012-05-09 Andreas Jaeger <aj@suse.de>
29937
edfe0dbe
AJ
29938 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29939 default is first entry.
29940 (run_mode): Set type.
29941 (main): Remove informal message about syslog.
29942 (options): Fix typo.
29943
bcfe3a54
ST
29944 [BZ #14053]
29945 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29946 to asm.
bcfe3a54
ST
29947 (lrint): Likewise.
29948 (llrintf): Likewise.
29949 (llrint): Likewise.
29950 (rint): Likewise.
29951 (rintf): Likewise.
29952 (nearbyint): Likewise.
29953 (nearbyintf): Likewise.
bdd74070 29954
91d8d69e
AJ
299552012-05-09 Andreas Jaeger <aj@suse.de>
29956 Pedro Alves <palves@redhat.com>
29957
29958 * nscd/nscd.c (run_mode): Use enum.
29959 (main): Cleanup coding style issue.
29960
bb90b80b
AJ
299612012-05-09 Alexandre Oliva <aoliva@redhat.com>
29962 Andreas Jaeger <aj@suse.de>
29963
bcfe3a54
ST
29964 * nscd/nscd.c (go_background): Replaced with...
29965 (run_mode): ... this.
bb90b80b 29966 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29967 (options): Add -F --foreground.
29968 (main): Implement it.
29969 (parse_opt): Parse it.
bb90b80b 29970
1a4b75a1
AJ
299712012-05-09 Andreas Jaeger <aj@suse.de>
29972
29973 [BZ #14083]
29974 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29975 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29976 -Wconversion warning.
29977 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29978 Likewise.
29979
b1cc2472
JM
299802012-05-09 Joseph Myers <joseph@codesourcery.com>
29981
29982 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29983 == 0.
29984 (LC_ALL): Use macro-int-constant.
29985 (LC_COLLATE): Likewise.
29986 (LC_CTYPE): Likewise.
29987 (LC_MESSAGES): Likewise.
29988 (LC_MONETARY): Likewise.
29989 (LC_NUMERIC): Likewise.
29990 (LC_TIME): Likewise.
29991 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29992 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29994 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29995 Specify type.
29996 [C99-based standards] (float_t): Expect type.
29997 [C99-based standards] (double_t): Expect type.
29998 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29999 type.
30000 [C99-based standards] (HUGE_VALL): Likewise.
30001 [C99-based standards] (INFINITY): Likewise.
30002 [C99-based standards] (NAN): Likewise.
30003 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30004 [C99-based standards] (FP_NAN): Likewise.
30005 [C99-based standards] (FP_NORMAL): Likewise.
30006 [C99-based standards] (FP_SUBNORMAL): Likewise.
30007 [C99-based standards] (FP_ZERO): Likewise.
30008 [C99-based standards] (FP_FAST_FMA): Use
30009 optional-macro-int-constant. Specify type. Require == 1.
30010 [C99-based standards] (FP_FAST_FMAF): Likewise.
30011 [C99-based standards] (FP_FAST_FMAL): Likewise.
30012 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30013 [C99-based standards] (FP_ILOGBNAN): Likewise.
30014 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30015 Specify type.
30016 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30017 [C99-based standards] (math_errhandling): Specify type.
30018 [ISO99 || ISO11] (signgam): Do not allow.
30019 [non-C99-based standards] (copysignf): Do not allow.
30020 [non-C99-based standards] (exp2f): Likewise.
30021 [non-C99-based standards] (log2f): Likewise.
30022 [non-C99-based standards] (modff): Allow.
30023 [non-C99-based standards] (erff): Do not allow.
30024 [non-C99-based standards] (erfcf): Likewise.
30025 [non-C99-based standards] (gammaf): Likewise.
30026 [non-C99-based standards] (hypotf): Likewise.
30027 [non-C99-based standards] (j0f): Likewise.
30028 [non-C99-based standards] (j1f): Likewise.
30029 [non-C99-based standards] (jnf): Likewise.
30030 [non-C99-based standards] (lgammaf): Likewise.
30031 [non-C99-based standards] (tgammaf): Likewise.
30032 [non-C99-based standards] (y0f): Likewise.
30033 [non-C99-based standards] (y1f): Likewise.
30034 [non-C99-based standards] (ynf): Likewise.
30035 [non-C99-based standards] (isnanf): Likewise.
30036 [non-C99-based standards] (acoshf): Likewise.
30037 [non-C99-based standards] (asinhf): Likewise.
30038 [non-C99-based standards] (atanhf): Likewise.
30039 [non-C99-based standards] (cbrtf): Likewise.
30040 [non-C99-based standards] (expm1f): Likewise.
30041 [non-C99-based standards] (ilogbf): Likewise.
30042 [non-C99-based standards] (log1pf): Likewise.
30043 [non-C99-based standards] (logbf): Likewise.
30044 [non-C99-based standards] (nextafterf): Likewise.
30045 [non-C99-based standards] (remainderf): Likewise.
30046 [non-C99-based standards] (rintf): Likewise.
30047 [non-C99-based standards] (scalbf): Likewise.
30048 [non-C99-based standards] (copysignl): Likewise.
30049 [non-C99-based standards] (exp2l): Likewise.
30050 [non-C99-based standards] (log2l): Likewise.
30051 [non-C99-based standards] (modfl): Allow.
30052 [non-C99-based standards] (erfl): Do not allow.
30053 [non-C99-based standards] (erfcl): Likewise.
30054 [non-C99-based standards] (gammal): Likewise.
30055 [non-C99-based standards] (hypotl): Likewise.
30056 [non-C99-based standards] (j0l): Likewise.
30057 [non-C99-based standards] (j1l): Likewise.
30058 [non-C99-based standards] (jnl): Likewise.
30059 [non-C99-based standards] (lgammal): Likewise.
30060 [non-C99-based standards] (tgammal): Likewise.
30061 [non-C99-based standards] (y0l): Likewise.
30062 [non-C99-based standards] (y1l): Likewise.
30063 [non-C99-based standards] (ynl): Likewise.
30064 [non-C99-based standards] (isnanl): Likewise.
30065 [non-C99-based standards] (acoshl): Likewise.
30066 [non-C99-based standards] (asinhl): Likewise.
30067 [non-C99-based standards] (atanhl): Likewise.
30068 [non-C99-based standards] (cbrtl): Likewise.
30069 [non-C99-based standards] (expm1l): Likewise.
30070 [non-C99-based standards] (ilogbl): Likewise.
30071 [non-C99-based standards] (log1pl): Likewise.
30072 [non-C99-based standards] (logbl): Likewise.
30073 [non-C99-based standards] (nextafterl): Likewise.
30074 [non-C99-based standards] (remainderl): Likewise.
30075 [non-C99-based standards] (rintl): Likewise.
30076 [non-C99-based standards] (scalbl): Likewise.
30077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30078 [non-C99-based standards] (FP_*): Do not allow.
30079 [C99-based standards] (FP_*): Change to
30080 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30081 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30082 allow.
30083 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30084 (SIG_ERR): Likewise.
30085 [X/Open-based standards] (SIG_HOLD): Likewise.
30086 (SIG_IGN): Likewise.
30087 (SIGABRT): Use macro-int-constant. Specify type. Require
30088 positive value.
30089 (SIGFPE): Likewise.
30090 (SIGILL): Likewise.
30091 (SIGINT): Likewise.
30092 (SIGSEGV): Likewise.
30093 (SIGTER): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30095 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30096 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30098 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30102 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30103 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30104 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30105 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30106 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30107 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30111 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30112 [X/Open-based standards] (SIGTRAP): Likewise.
30113 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30114 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30117 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30118 allow.
30119
b9f1922d
IW
301202012-05-08 Ian Wienand <ianw@vmware.com>
30121
30122 [BZ #14080]
30123 * time/tzset.c (__tzset_parse_tz): Update default rules for
30124 daylight time changes in the Energy Policy Act of 2005.
30125
1db86e88
AJ
301262012-05-09 Andreas Jaeger <aj@suse.de>
30127
30128 [BZ #13983]
30129 * elf/ldconfig.c (parse_conf): Change string to make clear that
30130 ldconfig only issued a warning if ld.so.conf does not exist.
30131
dee4a4e3
DM
301322012-05-08 David S. Miller <davem@davemloft.net>
30133
ee0db190
DM
30134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30135 movxtod instead of popping the value on the stack.
30136
dee4a4e3
DM
30137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30138
6a43ec98
CD
301392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30140
30141 * config.h.in: Add HAVE_ARM_PCS_VFP.
30142
05c2c961
RMG
301432012-05-08 Roland Mc Grath <roland@hack.frob.com>
30144
bcfe3a54
ST
30145 [BZ #13979]
30146 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30147 checking but the checks are disabled for any reason.
05c2c961 30148
4b30f61a
L
301492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30150
30151 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30152 and ELF64_R_TYPE with ELFW(R_TYPE).
30153
eee2bc67
JM
301542012-05-08 Joseph Myers <joseph@codesourcery.com>
30155
7ea5391a
JM
30156 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30157 (ulimit): Likewise.
30158
eee2bc67
JM
30159 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30160 (settimeofday): Likewise.
30161
abb66a67
MF
301622012-05-08 Mike Frysinger <vapier@gentoo.org>
30163
30164 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30165 a struct th_u2 inside the union, and move tu_block/tu_code into
30166 a new th_u3 union of tu_block/tu_code inside of that. Move
30167 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30168 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30169 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30170 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30171 (th_stuff): Change to th_u1.tu_stuff.
30172 (th_data): Define.
30173 (th_msg): Change to th_u1.th_u2.tu_data.
30174
7f18b530
DM
301752012-05-07 David S. Miller <davem@davemloft.net>
30176
05760585
DM
30177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30178
7f18b530
DM
30179 [BZ #14074]
30180 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30181 (SETUP_PIC_REG): Use it.
30182 (SETUP_PIC_REG_LEAF): Use it.
30183
495fd99f
JM
301842012-05-07 Joseph Myers <joseph@codesourcery.com>
30185
30186 [BZ #13885]
30187 [BZ #13923]
30188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30189 USE_AS_EXPM1L.
30190 (EXPL_FINITE): Likewise.
30191 (FLDLOG): Likewise.
30192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30193 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30194 e_expl.S.
30195 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30196 USE_AS_EXPM1L.
30197 (EXPL_FINITE): Likewise.
30198 (FLDLOG): Likewise.
30199 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30200 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30201 e_expl.S.
30202 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30203 test of -max_value argument for long double.
30204 * sysdeps/i386/fpu/libm-test-ulps: Update.
30205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30206
6693d694
DM
302072012-05-06 David S. Miller <davem@davemloft.net>
30208
30209 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30210 quad soft-float symbols whose references which are compiler
30211 generated.
30212 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30213
6c23e11c
JM
302142012-05-06 Joseph Myers <joseph@codesourcery.com>
30215
d8b82cad
JM
30216 [BZ #13884]
30217 [BZ #13914]
30218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30219 USE_AS_EXP10L.
30220 (EXPL_FINITE): Likewise.
30221 (FLDLOG): Likewise.
30222 (c0): Likewise.
30223 (c1): Likewise.
30224 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30225 Adjust comments for base varying.
30226 (__expl_finite): Change alias to EXPL_FINITE.
30227 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30228 e_expl.S.
30229 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30230 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30231 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30232 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30234 USE_AS_EXP10L.
30235 (EXPL_FINITE): Likewise.
30236 (FLDLOG): Likewise.
30237 (c0): Likewise.
30238 (c1): Likewise.
30239 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30240 Adjust comments for base varying.
30241 (__expl_finite): Change alias to EXPL_FINITE.
30242 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30243 tests for bugs.
30244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30245
6c23e11c
JM
30246 [BZ #14064]
30247 * math/libm-test.inc (check_float_internal): Correct ulp
30248 calculation for subnormal expected results.
30249
29ba805c
AJ
302502012-05-06 Andreas Jaeger <aj@suse.de>
30251
30252 * Makeconfig (+math-flags): New, set to -frounding-math.
30253 (+cflags): Add +math-flags so that all of glibc gets compiled with
30254 it.
30255
30256 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30257
7b17aeda
JM
302582012-05-05 Joseph Myers <joseph@codesourcery.com>
30259
5779f134
JM
30260 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30261 Disable one test.
30262
41498f4d
JM
30263 [BZ #13787]
30264 [BZ #13922]
30265 [BZ #14036]
30266 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30267 (__ieee754_expl): Allow for and saturate large arguments.
30268 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30269 (u_threshold): Likewise.
30270 (__exp): Call __ieee754_exp before checking for overflow and
30271 underflow.
30272 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30273 (u_threshold): Likewise.
30274 (__expf): Call __ieee754_expf before checking for overflow and
30275 underflow.
30276 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30277 (u_threshold): Likewise.
30278 (__expl): Call __ieee754_expl before checking for overflow and
30279 underflow.
30280 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30281 (__ieee754_expl): Allow for and saturate large arguments.
30282 * math/libm-test.inc (exp_test): Add another test. Do not allow
30283 missing overflow exception on overflow.
30284 (expm1_test): Do not allow missing overflow exception on overflow.
30285
6698b8bf
JM
30286 * sysdeps/i386/fpu/e_expl.c: Move to ...
30287 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30288 rather than using inline asm.
30289 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30290 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30291 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30292
7b17aeda
JM
30293 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30294 (nice): Likewise.
30295 (poll): Likewise.
30296 (signal): Likewise.
30297 (time): Likewise.
30298 (times): Likewise.
30299
f7c85819
JM
303002012-05-04 Joseph Myers <joseph@codesourcery.com>
30301
30302 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30303 sysdeps/unix/common/syscalls.list.
30304 (fchmod): Likewise.
30305 (fchown): Likewise.
30306 (ftruncate): Likewise.
30307 (getrusage): Likewise.
30308 (gettimeofday): Likewise.
30309 (setpgid): Likewise.
30310 (setregid): Likewise.
30311 (setreuid): Likewise.
30312 (sigaction): Likewise.
30313 (truncate): Likewise.
30314 (vhangup): Likewise.
30315 * sysdeps/unix/common/syscalls.list: Remove file.
30316 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30317 * sysdeps/unix/sysv/linux/Implies: Likewise.
30318
336270d0
L
303192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30320
30321 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30323 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30324 Moved to ...
30325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30326 Here.
30327 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30328 to ...
30329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30330 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30331 to ...
30332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30333 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30334 to ...
30335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30336 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30337 to ...
30338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30339 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30340 to ...
30341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30342 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30343 to ...
30344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30345 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30346 to ...
30347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30348 Here.
30349 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30350 to ...
30351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30352 Here.
30353 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30354 to ...
30355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30356 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30357 Moved to ...
30358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30359 Here.
30360 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30361 to ...
30362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30363
d128e450
JM
303642012-05-04 Joseph Myers <joseph@codesourcery.com>
30365
fa8ee516
JM
30366 * sysdeps/unix/common/bits/dirent.h: Remove file.
30367 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30368
d128e450
JM
30369 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30370 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30371 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30372 * sysdeps/unix/bsd/isatty.c: Likewise.
30373 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30374 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30375 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30376
ff8faaf0 303772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30378
62881be4 30379 [BZ #13563]
31dc8730
AZ
30380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30381 long double comparison inaccuracies.
30382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30384
6fef930c
AS
303852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30386
30387 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30389
8f203e6c
JM
303902012-05-04 Joseph Myers <joseph@codesourcery.com>
30391
30392 [BZ #14049]
30393 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30394 nonzero digits before rounding a hex value.
30395 * stdlib/tst-strtod.c (tests): Add another test.
30396
5197d9c2
AK
303972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30398
30399 * sysdeps/s390/fpu/libm-test-ulps: Update.
30400
f0c1dedf
AJ
304012012-05-03 Andreas Jaeger <aj@suse.de>
30402
30403 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30404 does not get optimized out.
30405 (malloc_opt_barrier): New.
30406
a65ef2ae 304072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30408 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30409
2b942cb7 30410 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30411 intermediate file deletion.
2b942cb7 30412 (generated): Add .symlist files.
a65ef2ae 30413
54b71e02
JM
304142012-05-03 Joseph Myers <joseph@codesourcery.com>
30415
30416 [BZ #13775]
30417 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30418 Redirect under this condition.
30419 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30420 [__USE_GNU] (__dprintf_chk): Not under this condition.
30421 [__USE_GNU] (__vdprintf_chk): Likewise.
30422 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30423 under this condition.
30424 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30425 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30426 [__USE_XOPEN2K8] (vdprintf): Likewise.
30427 [__USE_GNU] (__dprintf_chk): Not under this condition.
30428 [__USE_GNU] (__vdprintf_chk): Likewise.
30429 [__USE_GNU] (dprintf): Likewise.
30430 [__USE_GNU] (vdprintf): Likewise.
30431
d3dfcc41
RM
304322012-05-03 Roland McGrath <roland@hack.frob.com>
30433
30434 * elf/Makefile (common-generated): Set this instead of generated for
30435 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30436 $(all-built-dso)-derived lists.
30437
7ac30cc5
AJ
304382012-05-03 Andreas Jaeger <aj@suse.de>
30439
0c51e550
AJ
30440 * sysdeps/i386/fpu/libm-test-ulps: Update.
30441
7ac30cc5
AJ
30442 * FAQ: Removed.
30443 * FAQ.in: Likewise.
30444 * scripts/gen-FAQ.pl: Likewise.
30445 * manual/install.texi (Installation): Point to online location of
30446 FAQ.
30447 * Makefile (files-for-dist): Remove FAQ.
30448 (FAQ): Remove.
30449
d4c2917f
AM
304502012-05-02 Allan McRae <allan@archlinux.org>
30451
30452 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30453 (LDFLAGS-reldepmod5.so): Likewise.
30454 (LDFLAGS-reldep6mod1.so): Likewise.
30455 (LDFLAGS-reldep6mod4.so): Likewise.
30456 (LDFLAGS-reldep8mod3.so): Likewise.
30457 (LDFLAGS-unload4mod1.so): Likewise.
30458 (LDFLAGS-unload4mod2.so): Likewise.
30459 (LDFLAGS-tst-initorder): Likewise.
30460 (LDFLAGS-tst-initordera2.so): Likewise.
30461 (LDFLAGS-tst-initordera3.so): Likewise.
30462 (LDFLAGS-tst-initordera4.so): Likewise.
30463 (LDFLAGS-tst-initorderb2.so): Likewise.
30464 (LDFLAGS-noload): Likewise.
30465 (LDFLAGS-next): Likewise.
30466 (LDFLAGS-order2mod1.so): Likewise.
30467 (LDFLAGS-order2mod2.so): Likewise.
30468 (LDFLAGS-tst-initorder2): Likewise.
30469 (LDFLAGS-tst-initorder2a.so): Likewise.
30470 (LDFLAGS-tst-initorder2b.so): Likewise.
30471 (LDFLAGS-tst-initorder2c.so): Likewise.
30472 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30473
d77f993f
DM
304742012-05-02 David S. Miller <davem@davemloft.net>
30475
30476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30477
171a70b4
PP
304782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30479
30480 [BZ #14055]
30481 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30482
0be196ad
AJ
304832012-05-02 Andreas Jaeger <aj@suse.de>
30484
30485 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30486 since we manipulate rounding mode.
30487 (CPPFLAGS-test-idouble.c): Likewise.
30488 (CPPFLAGS-test-ifloat.c): Likewise.
30489 (CFLAGS-test-ldouble.c): Likewise.
30490 (CFLAGS-test-double.c): Likewise.
30491 (CFLAGS-test-float.c): Likewise.
30492 (CFLAGS-test-misc.c): Likewise.
30493 (CFLAGS-test-test-fenv.c): Likewise.
30494
4f9d04aa
AZ
304952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30496
2b942cb7
RM
30497 [BZ #2550]
30498 [BZ #2570]
30499 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30500 comparisons to determine direction to adjust input.
4f9d04aa 30501
82a79e7d
RM
305022012-05-01 Roland McGrath <roland@hack.frob.com>
30503
f5a01ca9
RM
30504 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30505 output to the target.
30506
90fe4186
RM
30507 * scripts/localplt.awk: New file.
30508 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30509 (check-localplt-CFLAGS): Variable removed.
30510 ($(all-built-dso:=.jmprel)): New static pattern rule.
30511 (generated): Add those targets.
30512 (localplt-built-dso): New variable.
30513 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30514
30515 * elf/check-localplt.c: File removed.
30516
82397ed6
RM
30517 * scripts/check-execstack.awk: New file.
30518 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30519 (check-execstack-CFLAGS): Variable removed.
30520 ($(objpfx)check-execstack.h): Target removed.
30521 ($(objpfx)execstack-default): New target.
30522 (generated): Add that instead of check-execstack.h.
30523 ($(all-built-dso:=.phdr)): New static pattern rule.
30524 (generated): Add those targets.
30525 * elf/check-execstack.c: File removed.
30526
82a79e7d
RM
30527 * scripts/check-textrel.awk: New file.
30528 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30529 (check-textrel-CFLAGS): Variable removed.
30530 (all-built-dso): Use := to define.o
30531 ($(all-built-dso:=.dyn)): New static pattern rule.
30532 (generated): Add those targets.
30533 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30534 * config.make.in (READELF): New substituted variable.
30535 * elf/check-textrel.c: File removed.
30536
62fde54f 305372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30538
615605c9
JM
30539 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30540 allow.
30541 * conform/data/ctype.h-data [C99-based standards] (isblank):
30542 Expect function.
30543 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30544 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30545 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30546 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30547 Specify type. Require positive value.
30548 (EILSEQ): Likewise.
30549 (ERANGE): Likewise.
30550 [ISO || POSIX] (EILSEQ): Do not expect.
30551 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30552 Specify type. Require positive value.
30553 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30573 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30574 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30575 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30576 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30577 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30578 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30579 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30580 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30581 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30582 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30583 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30584 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30585 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30586 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30587 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30588 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30589 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30590 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30591 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30592 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30593 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30613 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30614 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30615 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30617 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30619 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30620 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30621 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30622 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30623 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30624 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30625 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30626 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30627 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30628 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30629 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30630 Require >= 2.
30631 (FLT_ROUNDS): Expect as macro, not constant.
30632 (FLT_MANT_DIG): Use macro-int-constant.
30633 (DBL_MANT_DIG): Likewise.
30634 (LDBL_MANT_DIG): Likewise.
30635 (FLT_DIG): Likewise.
30636 (DBL_DIG): Likewise.
30637 (LDBL_DIG): Likewise.
30638 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30639 (DBL_MIN_EXP): Likewise.
30640 (LDBL_MIN_EXP): Likewise.
30641 (FLT_MAX_EXP): Use macro-int-constant.
30642 (DBL_MAX_EXP): Likewise.
30643 (LDBL_MAX_EXP): Likewise.
30644 (FLT_MAX_10_EXP): Likewise.
30645 (DBL_MAX_10_EXP): Likewise.
30646 (LDBL_MAX_10_EXP): Likewise.
30647 (FLT_MAX): Use macro-constant.
30648 (DBL_MAX): Likewise.
30649 (LDBL_MAX): Likewise.
30650 (FLT_EPSILON): Use macro-constant. Give upper bound.
30651 (DBL_EPSILON): Likewise.
30652 (LDBL_EPSILON): Likewise.
30653 (FLT_MIN): Likewise.
30654 (DBL_MIN): Likewise.
30655 (LDBL_MIN): Likewise.
30656 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30657 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30658 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30659 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30660 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30661 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30662 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30663 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30664 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30665 [ISO11] (FLT_TRUE_MIN): Likewise.
30666 [ISO11] (LDBL_TRUE_MIN): Likewise.
30667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30668 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30669 (SCHAR_MIN): Use macro-int-constant. Specify type.
30670 (SCHAR_MAX): Likewise.
30671 (UCHAR_MAX): Likewise.
30672 (CHAR_MIN): Likewise.
30673 (CHAR_MAX): Likewise.
30674 (MB_LEN_MAX): Use macro-int-constant.
30675 (SHRT_MIN): Use macro-int-constant. Specify type.
30676 (SHRT_MAX): Likewise.
30677 (USHRT_MAX): Likewise.
30678 (INT_MAX): Likewise.
30679 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30680 bound negative.
30681 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30682 bound with "U".
30683 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30684 bound with "L".
30685 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30686 bound negative. Suffix upper bound with "L".
30687 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30688 bound with "UL".
30689 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30690 Specify type.
30691 [C99-based standards] (LLONG_MAX): Likewise.
30692 [C99-based standards] (ULLONG_MAX): Likewise.
30693 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30694 == 0.
30695 [ISO11] (max_align_t): Require type.
30696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30697
c9140a62
JM
30698 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30699 from $CFLAGS, without defining away __attribute__ calls.
30700 (checknamespace): Use $CFLAGS_namespace.
30701
9af0bf29
JM
30702 * conform/conformtest.pl (@keywords): Only include C99 keywords
30703 for standards based on C99 or C11.
30704
343222a2
JM
30705 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30706 Disable tests.
30707 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30708 UNIX98]: Likewise.
30709
661f8cf0
JM
30710 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30711 usability of symbols in #if.
30712
ee74b9cb
JM
30713 * conform/conformtest.pl: If macro or constant types start
30714 "promoted:", expect the symbol to be of the following type
30715 promoted by the integer promotions.
62fde54f 30716
aafc49b3
JM
30717 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30718 in one place. Also handle "macro-constant".
30719
fefdf574
JM
30720 * conform/conformtest.pl: Only accept expected macro values with
30721 "==". Parse all "macro" lines in one place.
30722 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30723
f2d922fe
JM
30724 * conform/conformtest.pl: Handle braced types on "constant" lines
30725 instead of handling "typed-constant".
30726 * conform/data/signal.h-data: Use "constant" instead of
30727 "typed-constant".
30728
d22956c9
JM
30729 * conform/conformtest.pl: Handle "optional-" at start of lines in
30730 one place rather than duplicating several cases. Handle each
30731 format of "macro" line with initial "optional-".
30732
028e2e38
JM
30733 * conform/conformtest.pl: Only accept expected constant or
30734 optional-constant values with "==". Parse all "constant" lines in
30735 one place. Parse all "optional-constant" lines in one place.
30736 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30737 * conform/data/fmtmsg.h-data: Likewise.
30738 * conform/data/netinet/in.h-data: Likewise.
30739 * conform/data/tar.h-data: Likewise.
30740 * conform/data/limits.h-data: Use "==" form on "constant" and
30741 "optional-constant" lines.
30742
1b8f2850
JM
30743 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30744 Use -std=c99 for XOPEN2K.
30745 (@knownproblems): Remove.
30746 (newtoken): Don't check %isknown.
30747
a05a144b
JM
30748 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30749 Do not expect macro.
30750 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30762 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30763 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30780 [XPG3] (acosh): Likewise.
30781 [XPG3] (asinh): Likewise.
30782 [XPG3] (atanh): Likewise.
30783 [XPG3] (cbrt): Likewise.
30784 [XPG3] (expm1): Likewise.
30785 [XPG3] (ilogb): Likewise.
30786 [XPG3] (log1p): Likewise.
30787 [XPG3] (logb): Likewise.
30788 [XPG3] (nextafter): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30791 [XPG3] (remainder): Likewise.
30792 [XPG3] (rint): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30800 [UNIX98 || XOPEN2K] (scalb): Expect.
30801 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30802 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30938
73c5ebe3
JM
30939 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30940 _XOPEN_SOURCE_EXTENDED for XPG4.
30941
39c33b6c
JM
30942 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30943
62fde54f
JM
30944 * Makeconfig (localtime): Remove variable.
30945 (inst_localtime-file): Likewise.
30946
0741d64c
AS
309472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30948
30949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30950 Update.
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30952 Update.
30953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30954 Update.
30955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30956 Update.
30957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30958 Update.
30959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30960 Update.
30961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30962 Update.
30963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30964 Update.
30965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30966 Update.
30967
7cb029ee
JM
309682012-05-01 Joseph Myers <joseph@codesourcery.com>
30969
30970 [BZ #2550]
30971 [BZ #2570]
30972 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30973 comparisons to determine direction to adjust input.
30974 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30975 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30976 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30977 Likewise.
30978 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30979 Likewise.
30980 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30981 Likewise.
30982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30984 Likewise.
30985 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30986 Likewise.
30987 * math/libm-test.inc (nexttoward_test): Add more tests.
30988
412bd966
AS
309892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30990
30991 [BZ #14040]
30992 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30993 in version GLIBC_2.1, not GLIBC_2.0.
30994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30995 Likewise.
30996
9568c0c2
JM
309972012-04-30 Joseph Myers <joseph@codesourcery.com>
30998
adfbc8ac
JM
30999 [BZ #13942]
31000 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31001 (1 - x) * (1 + x).
31002 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31003 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31004 * math/libm-test.inc (acos_test): Add more tests.
31005 (asin_test): Likewise.
31006 * sysdeps/i386/fpu/libm-test-ulps: Update.
31007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31008
5ba3cc69
JM
31009 [BZ #14034]
31010 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31011 of square root.
31012 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31013 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31014 * math/libm-test.inc (acos_test_tonearest): New function.
31015 (acos_test_towardzero): Likewise.
31016 (acos_test_downward): Likewise.
31017 (acos_test_upward): Likewise.
31018 (asin_test_tonearest): Likewise.
31019 (asin_test_towardzero): Likewise.
31020 (asin_test_downward): Likewise.
31021 (asin_test_upward): Likewise.
31022 (main): Call the new functions.
31023 * sysdeps/i386/fpu/libm-test-ulps: Update.
31024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31025
9568c0c2
JM
31026 [BZ #13884]
31027 [BZ #13924]
31028 * math/e_exp10.c: Include <float.h>.
31029 (__ieee754_exp10): Handle underflow here rather than multiplying
31030 large negative argument by M_LN10.
31031 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31032 of __ieee754_expf.
31033 * math/e_exp10l.c: Include <float.h>.
31034 (__ieee754_exp10l): Handle underflow here rather than multiplying
31035 large negative argument by M_LN10l.
31036 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31037 spurious overflow exception on underflow.
31038
5ac3ea17
MP
310392012-04-29 Marek Polacek <polacek@redhat.com>
31040
31041 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31042 (__fortify_function): New macro.
31043 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31044 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31045 __extern_always_inline.
31046 * libio/bits/stdio2.h: Likewise.
31047 * libio/bits/stdio.h: Likewise.
31048 * string/string.h: Likewise.
31049 * string/bits/string3.h: Likewise.
31050 * include/stdio.h: Likewise.
31051 * stdlib/bits/stdlib.h: Likewise.
31052 * stdlib/stdlib.h: Likewise.
31053 * rt/bits/mqueue2.h: Likewise.
31054 * rt/mqueue.h: Likewise.
31055 * posix/bits/unistd.h: Likewise.
31056 * posix/unistd.h: Likewise.
31057 * io/bits/poll2.h: Likewise.
31058 * io/bits/fcntl2.h: Likewise.
31059 * io/fcntl.h: Likewise.
31060 * io/sys/poll.h: Likewise.
31061 * misc/bits/syslog.h: Likewise.
31062 * misc/bits/syslog-ldbl.h: Likewise.
31063 * misc/sys/syslog.h: Likewise.
31064 * socket/bits/socket2.h: Likewise.
31065 * socket/sys/socket.h: Likewise.
31066 * debug/tst-chk1.c: Likewise.
31067 * wcsmbs/bits/wchar2.h: Likewise.
31068 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31069 * wcsmbs/wchar.h: Likewise.
31070
ecf0ebfb
AJ
310712012-04-29 Andreas Jaeger <aj@suse.de>
31072
31073 * Makerules (tests): Remove enable-check-abi protection.
31074 (check-abi-warn): Remove.
31075 (check-abi-%): Remove check-abi-warn usage.
31076
31077 * configure.in: Remove check-abi configure option.
31078 * configure: Regenerated.
31079 * config.make.in (enable-check-abi): Remove.
31080
6d5c57fa
AS
310812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31082
24c5d07e 31083 [BZ #14033]
ded5180a
AS
31084 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31085 double functions to double *_finite functions.
31086
7e0d315d
AS
31087 [BZ #13941]
31088 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31089 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31090 LDBL_MIN_EXP.
31091 * stdio-common/Makefile (tests): Add tst-sprintf3.
31092 * stdio-common/tst-sprintf3.c: New file.
31093
6d5c57fa
AS
31094 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31095 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31096
0749ff8b
JM
310972012-04-28 Joseph Myers <joseph@codesourcery.com>
31098
31099 * conform/conformtest.pl: Remove duplicate typed-constant
31100 handling.
31101
8dbd5d7b
DM
311022012-04-28 David S. Miller <davem@davemloft.net>
31103
31104 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31105 (check-abi-%): Remove AWK script prerequisite and explicit
31106 abilist directory.
31107 (check-abi): Rewrite to just diff the symlist with the abilist.
31108 (config-tls, config-abi-config): Delete, no longer used.
31109 (update-abi-%): Remove AWK script and explicit abilist directory.
31110 (update-abi): Rewrite to simply compare and conditionally copy the
31111 symlist and the sysdep abilist file. Remove update-abi-config
31112 checks.
31113 * abilist/ld.abilist: Remove.
31114 * abilist/libBrokenLocale.abilist: Remove.
31115 * abilist/libanl.abilist: Remove.
31116 * abilist/libcrypt.abilist: Remove.
31117 * abilist/libdl.abilist: Remove.
31118 * abilist/librt.abilist: Remove.
31119 * abilist/libthread_db.abilist: Remove.
31120 * abilist/libutil.abilist: Remove.
31121 * scripts/extract-abilist.awk: Remove.
31122 * scripts/merge-abilist.awk: Remove.
31123 * sysdeps/generic/libcidn.abilist: New file.
31124 * sysdeps/generic/libnss_compat.abilist: New file.
31125 * sysdeps/generic/libnss_db.abilist: New file.
31126 * sysdeps/generic/libnss_dns.abilist: New file.
31127 * sysdeps/generic/libnss_files.abilist: New file.
31128 * sysdeps/generic/libnss_hesiod.abilist: New file.
31129 * sysdeps/generic/libnss_nis.abilist: New file.
31130 * sysdeps/generic/libnss_nisplus.abilist: New file.
31131 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31132 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31133 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31134 file.
31135 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31136 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31137 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31138 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31139 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31140 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31141 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31142 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31143 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31144 file.
31145 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31146 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31147 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31148 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31149 file.
31150 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31151 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31152 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31153 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31154 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31155 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31156 file.
31157 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31158 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31159 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31160 file.
31161 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31163 New file.
31164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31165 New file.
31166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31167 New file.
31168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31169 New file.
31170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31171 New file.
31172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31173 New file.
31174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31175 New file.
31176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31177 New file.
31178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31179 New file.
31180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31181 New file.
31182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31183 New file.
31184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31185 New file.
31186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31187 New file.
31188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31189 file.
31190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31191 New file.
31192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31193 New file.
31194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31195 file.
31196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31197 New file.
31198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31199 New file.
31200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31201 file.
31202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31203 New file.
31204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31205 New file.
31206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31207 New file.
31208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31209 New file.
31210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31211 New file.
31212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31213 New file.
31214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31216 file.
31217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31218 New file.
31219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31220 file.
31221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31222 file.
31223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31224 file.
31225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31226 file.
31227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31228 file.
31229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31230 New file.
31231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31232 file.
31233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31234 file.
31235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31236 New file.
31237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31238 file.
31239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31241 file.
31242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31243 New file.
31244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31245 file.
31246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31247 file.
31248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31249 file.
31250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31251 file.
31252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31253 file.
31254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31255 New file.
31256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31257 file.
31258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31259 file.
31260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31261 New file.
31262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31263 file.
31264 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31265 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31266 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31267 file.
31268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31269 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31270 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31271 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31272 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31273 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31274 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31275 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31276 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31277 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31280 file.
31281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31282 New file.
31283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31284 file.
31285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31286 file.
31287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31288 file.
31289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31290 file.
31291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31292 file.
31293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31294 New file.
31295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31296 New file.
31297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31298 file.
31299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31300 New file.
31301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31302 file.
31303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31305 file.
31306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31307 New file.
31308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31309 file.
31310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31311 file.
31312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31313 file.
31314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31315 file.
31316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31317 file.
31318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31319 New file.
31320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31321 New file.
31322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31323 file.
31324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31325 New file.
31326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31327 file.
31328
41d73a1b
JM
313292012-04-28 Joseph Myers <joseph@codesourcery.com>
31330
31331 * conform/conformtest.pl: Fix typo in handling typed-constant from
31332 allow-header.
31333
28aeeda4
JM
313342012-04-27 Joseph Myers <joseph@codesourcery.com>
31335
adae8f5e
JM
31336 * README: Cut down references to pre-2.6 Linux kernels and
31337 Linuxthreads. Update lists of configurations in libc and ports
31338 and sort alphabetically. Say "or newer" with Linux kernel version
31339 requirements.
31340
28aeeda4
JM
31341 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31342
a462cb63
RA
313432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31344
31345 [BZ #887]
31346 * math/libm-test.inc (logb_test_downward): New test to expose
31347 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31348 rounding mode.
31349
6ad3493e
JM
313502012-04-27 Joseph Myers <joseph@codesourcery.com>
31351
31352 [BZ #14027]
31353 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31354 to be done.
31355 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31356 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31357
2ce4f015
JM
313582012-04-26 Joseph Myers <joseph@codesourcery.com>
31359
5aeb141a
JM
31360 * sysdeps/unix/i386/brk.S: Remove file.
31361 * sysdeps/unix/i386/dl-brk.S: Likewise.
31362 * sysdeps/unix/i386/pipe.S: Likewise.
31363 * sysdeps/unix/i386/sigreturn.S: Likewise.
31364 * sysdeps/unix/i386/syscall.S: Likewise.
31365 * sysdeps/unix/i386/vfork.S: Likewise.
31366 * sysdeps/unix/i386/wait.S: Likewise.
31367
7143acae
JM
31368 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31369 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31370
2ce4f015
JM
31371 * configure.in (arm*-none*): Do not allow without
31372 --enable-hacker-mode.
31373 (netbsd*): Remove case setting base_os.
31374 (386bsd*): Likewise.
31375 (freebsd*): Likewise.
31376 (bsdi*): Likewise.
31377 (osf*): Likewise.
31378 (sunos*): Likewise.
31379 (ultrix*): Likewise.
31380 (newsos*): Likewise.
31381 (dynix*): Likewise.
31382 (*bsd*): Likewise.
31383 (sysv*): Likewise.
31384 (isc*): Likewise.
31385 (esix*): Likewise.
31386 (sco*): Likewise.
31387 (minix*): Likewise.
31388 (irix4*): Likewise.
31389 (irix6*): Likewise.
31390 (solaris[2-9]*): Likewise.
31391 (none): Likewise.
31392 * configure: Regenerated.
31393
0ac229c8
AZ
313942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31395
31396 [BZ #11521]
31397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31398 overflow or cancellation in calculating denominator.
31399 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31400 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31401 down expression to avoid unexpected rounding in newer GCCs.
31402 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31403
33f244f4
DM
314042012-04-26 David S. Miller <davem@davemloft.net>
31405
31406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31407 long-double compat symbols.
31408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31421
cfa1f3e8
DM
314222012-04-25 David S. Miller <davem@davemloft.net>
31423
31424 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31425 HWCAP_* values only after the memory barriers have been defined.
31426 (atomic_full_barrier): Define.
31427 (atomic_read_barrier): Define.
31428 (atomic_write_barrier): Define.
31429
6e236b92
SP
314302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31431
31432 * shlib-versions: Add libgcc_s version information.
31433 * sysdeps/generic/libgcc_s.h: Remove.
31434 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31435 libgcc_s.h.
31436 * sysdeps/gnu/unwind-resume.c: Likewise.
31437 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31438
aab39a09
DM
314392012-04-25 David S. Miller <davem@davemloft.net>
31440
31441 * sysdeps/unix/sparc/brk.S: Delete.
31442 * sysdeps/unix/sparc/dl-brk.S: Delete.
31443 * sysdeps/unix/sparc/pipe.S: Delete.
31444 * sysdeps/unix/sparc/sysdep.S: Delete.
31445 * sysdeps/unix/sparc/sysdep.h: Delete.
31446 * sysdeps/unix/sparc/vfork.S: Delete.
31447 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31448 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31450 ret_ERRVAL, r0, r1, MOVE): Define.
31451 (JUMPTARGET): Remove.
31452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31453 sysdeps/unix/sparc/sysdep.h
31454 (ENTRY, END): Remove.
31455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31456
a3cc4f48
JM
314572012-04-25 Joseph Myers <joseph@codesourcery.com>
31458
2ed8cda2
JM
31459 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31460 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31461 -DIS_IN_build.
31462
35d76d59
JM
31463 * timezone/README: Update upstream location and email address for
31464 tzcode and tzdata.
31465 * timezone/zdump.c: Update from tzcode 2012b.
31466 * timezone/zic.c: Likewise.
31467
a3cc4f48
JM
31468 * configure.in (libc_cv_as_needed): Remove test.
31469 * configure: Regenerated.
31470 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31471 conditional definition.
31472 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31473 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31474 * config.make.in (have-as-needed): Remove variable.
31475
ceab42c3
SP
314762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31477 Paul Pluzhnikov <ppluzhnikov@google.com>
31478
31479 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31480 strings correctly.
31481
3ce2865f
CLT
314822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31483
31484 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31485 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31486 * sysdeps/sh/strlen.S: Likewise.
31487
f37e0d68
JM
314882012-04-24 Joseph Myers <joseph@codesourcery.com>
31489
ae186e9a
JM
31490 * sysdeps/unix/fork.S: Remove file.
31491 * sysdeps/unix/i386/fork.S: Likewise.
31492 * sysdeps/unix/sparc/fork.S: Likewise.
31493
b96914af
JM
31494 * sysdeps/unix/system.c: Remove file.
31495 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31496
f37e0d68
JM
31497 * sysdeps/unix/getegid.S: Remove file.
31498 * sysdeps/unix/geteuid.S: Likewise.
31499
87ef29ca
RM
315002012-04-24 Roland McGrath <roland@hack.frob.com>
31501
83bcd236
RM
31502 * scripts/check-localplt.awk: New file.
31503 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31504 of diff.
31505 * scripts/data/localplt-generic.data: Add a comment.
31506
87ef29ca
RM
31507 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31508 NODE when __dir_mkfile failed.
31509 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31510 Reported by Ludovic Courtès <ludo@gnu.org>.
31511
e5a6e567
AJ
315122012-04-24 Andreas Jaeger <aj@suse.de>
31513
31514 * Makerules (common-clean): Also remove gen-as-const-headers
31515 files.
31516
c1820385
JM
315172012-04-24 Joseph Myers <joseph@codesourcery.com>
31518
31519 * Makerules (native-compile): Do not change working directory for
31520 build. Use $(OUTPUT_OPTION) in command.
31521 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31522
94e02fc4
AZ
315232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31524
31525 [BZ #13886]
31526 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31527 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31528 * math/libm-test.inc (floor_test): Add more tests.
31529 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31530
3a533ca3
JM
315312012-04-24 Joseph Myers <joseph@codesourcery.com>
31532
940ab4b3
JM
31533 * sysdeps/unix/getdents.c: Remove file.
31534 * sysdeps/unix/sysv/getdents.c: Likewise.
31535 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31536
90e037bd
JM
31537 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31538 sysdeps/unix/mman/syscalls.list.
31539 (mmap): Likewise.
31540 (mprotect): Likewise.
31541 (msync): Likewise.
31542 (munmap): Likewise.
31543 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31544 * sysdeps/unix/mman/syscalls.list: Remove.
31545 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31546
3a533ca3
JM
31547 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31548 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31549 * configure: Regenerated.
31550 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31551 $(libgcc_s_suffix).
31552 * config.make.in (libgcc_s_suffix): Remove variable.
31553
1ad743de
JM
315542012-04-23 Joseph Myers <joseph@codesourcery.com>
31555
4ad451e2
JM
31556 * sysdeps/unix/sysv/gethostname.c: Move to ...
31557 * sysdeps/posix/gethostname.c: ... here.
31558
5e37ce39
JM
31559 * sysdeps/unix/execve.S: Remove file.
31560
1ad743de
JM
31561 * sysdeps/unix/_exit.S: Remove file.
31562
4e681b5b
AJ
315632012-04-23 Andreas Jaeger <aj@suse.de>
31564
31565 [BZ #13739]
31566 * manual/Makefile: Remove make dist support, there's no
31567 need for a stand-alone documentation tar ball.
31568 (TEXI2DVI): Define always, it's not in Makeconfig.
31569 (dist): Removed.
31570 (tar-it): Removed.
31571 (edition): Removed.
31572 (glibc-doc-$(edition).tar): Removed
31573 (%.Z): Removed.
31574 (%.gz): Removed.
31575 (%.uu): Removed.
31576 (ETAGS): Remove, it's in Makeconfig.
31577 (move-if-change): Remove, it's in Makeconfig.
31578
38686a03 315792012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31580
31581 [BZ #13970]
31582 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31583 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31584 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31585 (strtod_l, strtof_l, strtold_l): Remove __wur.
31586 It is not necessarily an error to ignore strtol's return value.
31587 One can reliably look at the stored endptr to decide whether
31588 the number had valid syntax.
31589
7c0616fa
AJ
315902012-04-21 Andreas Jaeger <aj@suse.de>
31591
803cb6b7 31592 [BZ #13739]
7c0616fa
AJ
31593 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31594
b0fe253f
JM
315952012-04-21 Joseph Myers <joseph@codesourcery.com>
31596
31597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31598 * sysdeps/unix/sysv/Versions: Remove file.
31599
8280f22d
MT
316002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31601
31602 [BZ #13927]
31603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31604
75ce411f 316052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31606
31607 [BZ #7064]
31608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31609 version from __vm86.
31610
097d59fa
JM
316112012-04-20 Joseph Myers <joseph@codesourcery.com>
31612
a90f3bcb
JM
31613 * sysdeps/unix/common/lxstat.c: Remove file.
31614 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31615
edc7ea78
JM
31616 * sysdeps/unix/sysv/Makefile: Remove file.
31617
cb78c221
JM
31618 * sysdeps/unix/sysv/direct.h: Remove file.
31619
efa6a45f
JM
31620 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31621 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31622 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31623 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31624 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31625 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31626 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31627
9c9f2d0c
JM
31628 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31629
4541c83b
JM
31630 * sysdeps/unix/xmknod.c: Remove file.
31631 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31632
f5d153a0
JM
31633 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31634
aa746595
JM
31635 * sysdeps/unix/sysv/i386/time.S: Remove file.
31636
cce5905e
JM
31637 * sysdeps/unix/fxstat.c: Remove file.
31638 * sysdeps/unix/xstat.c: Likewise.
31639 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31640
37fa3841
JM
31641 * sysdeps/unix/sysv/sigaction.c: Remove file.
31642
ff1962a3
JM
31643 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31644 (sysdep_headers): Remove variable.
31645 [termio.h not in sysdep_headers] (generated): Likewise.
31646 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31647 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31648 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31649 * sysdeps/unix/sysv/tcflow.c: Likewise.
31650 * sysdeps/unix/sysv/tcflush.c: Likewise.
31651 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31652 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31653 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31654 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31655 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31656
e7740d31
JM
31657 * sysdeps/unix/siglist.c: Remove file.
31658
ee06f18b
JM
31659 * sysdeps/unix/getppid.S: Remove file.
31660
097d59fa
JM
31661 * sysdeps/unix/mkdir.c: Remove file.
31662 * sysdeps/unix/rmdir.c: Likewise.
31663
ff3d51ec
AS
316642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31665
31666 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31667 ERR_MAX value.
31668 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31669 errlist-compat value.
31670
50f81fd7
DM
316712012-04-18 David S. Miller <davem@davemloft.net>
31672
31673 * sysdeps/generic/memcopy.h (reg_char): Delete.
31674 * debug/strcat_chk.c: Use char, not reg_char.
31675 * debug/strcpy_chk.c: Likewise.
31676 * debug/strncat_chk.c: Likewise.
31677 * debug/strncpy_chk.c: Likewise.
31678 * string/memchr.c: Likewise.
31679 * string/memrchr.c: Likewise.
31680 * string/rawmemchr.c: Likewise.
31681 * string/strcat.c: Likewise.
31682 * string/strchr.c: Likewise.
31683 * string/strchrnul.c: Likewise.
31684 * string/strcmp.c: Likewise.
31685 * string/strcpy.c: Likewise.
31686 * string/strncat.c: Likewise.
31687 * string/strncmp.c: Likewise.
31688 * string/strncpy.c: Likewise.
31689
8ff41c46
WS
316902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31691
31692 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31693 __builtin_memcopy is called when src and dest ranges are known to not
31694 overlap.
31695
6b652f46
WS
316962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31697
31698 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31699 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31700 fwd_align_merge macro call.
31701 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31702 bwd_align_merge macro call.
31703 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31704
b282631e
WS
317052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31706
31707 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31708 bwd_align_merge macros.
31709 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31710 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31712
95aa737c
DM
317132012-04-18 David S. Miller <davem@davemloft.net>
31714
31715 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31716
7a99a614
AJ
317172012-04-18 Andreas Jaeger <aj@suse.de>
31718
31719 [BZ# 6794]
31720 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31721 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31722 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31723
31724 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31725 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31726 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31727
31728 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31729 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31730 Adjust for changed ldbl-128 files.
31731
31732 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31733 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31734 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31735
e5270c23
DM
317362012-04-17 David S. Miller <davem@davemloft.net>
31737
31738 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31739
fb5e92c9
AS
317402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31741
31742 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31743 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31744 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31745 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31746 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31747 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31748
76da7265
AZ
317492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31750
31751 [BZ #6794]
31752 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31753 * math/libm-test.inc: Add ilogb errno and exception tests.
31754 * math/w_ilogb.c: New file: ilogb wrapper.
31755 * math/w_ilogbf.c: New file: ilogbf wrapper.
31756 * math/w_ilogbl.c: New file: ilogbl wrapper.
31757 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31758 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31759 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31760 exception being thrown with 0.0 as argument.
31761 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31762 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31763 exception being thrown with 0.0 as argument.
31764 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31765 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31766 exception being thrown with 0.0 as argument.
31767 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31768 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31769 exception being thrown with 0.0 as argument.
31770 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31771 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31772 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31773 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31774 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31775 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31776 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31777 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31778 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31779
0396e69d
PB
317802012-04-17 Petr Baudis <pasky@ucw.cz>
31781
31782 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31783 with altivec.
31784
750b5926
MP
317852012-04-16 Marek Polacek <polacek@redhat.com>
31786
31787 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31788
751728a1
MP
317892012-04-16 Marek Polacek <polacek@redhat.com>
31790
31791 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31792 operands of fdivp instruction.
31793
34a27407
L
317942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31795
31796 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31797 * elf/tst-auditmod3b.c: Likewise.
31798 * elf/tst-auditmod4b.c: Likewise.
31799 * elf/tst-auditmod5b.c: Likewise.
31800 * elf/tst-auditmod6b.c: Likewise.
31801 * elf/tst-auditmod6c.c: Likewise.
31802 * elf/tst-auditmod7b.c: Likewise.
31803 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31804 * sysdeps/x86_64/preconfigure.in: Likewise.
31805 * sysdeps/x86_64/preconfigure: Regenerated.
31806
7e73e17d
L
318072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31808
31809 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31810 __ILP32__.
31811
c7a6ab72
AB
318122012-04-13 Antoine Balestrat <merkil33@gmail.com>
31813
31814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31815 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31816
a9e8e0e0
CL
318172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31818
31819 [BZ #13973]
31820 * locale/iso-639.def: Fix gl language name. Spotted by
31821 Yaron Shahrabani.
31822
ec98af7d
RM
318232012-04-12 Roland McGrath <roland@hack.frob.com>
31824
31825 [BZ #2074]
31826 * libio/libio.h (__io_write_fn): Update comment.
31827
247c3ede
PB
318282012-04-12 Petr Baudis <pasky@ucw.cz>
31829
31830 [BZ #2074]
31831 * stdio.texi (Hook Functions): The user provided writer function
31832 is not allowed to return -1.
31833
55939d6d
DM
318342012-04-11 David S. Miller <davem@davemloft.net>
31835
31836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31837
90020f5a
MF
318382012-04-11 Mike Frysinger <vapier@gentoo.org>
31839
31840 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31841 Add a leading slash to rtkaio.
31842
288f9098
JM
318432012-04-11 Jim Meyering <meyering@redhat.com>
31844
90020f5a
MF
31845 [BZ #11959]
31846 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31847 It is not necessarily an error to ignore fwrite's return
31848 value. One can reliably use ferror to test for errors after
31849 the fact.
288f9098 31850
4be2b570
L
318512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * bits/types.h (__snseconds_t): New type.
31854 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31855
31856 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31858 (__SNSECONDS_T_TYPE): Likewise.
31859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31860 (__SNSECONDS_T_TYPE): Likewise.
31861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31862 (__SNSECONDS_T_TYPE): Likewise.
31863
288f9098 318642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31865
31866 [BZ #2636]
31867 * manual/time.texi (Processor Time): Return type of times is
31868 elapsed real time since an arbitrary point in the past.
31869 (CPU Time): Move CLK_TCK from here...
31870 (Processor Time): ...to here. Correct description.
31871 * manual/conf.texi (Constants for Sysconf): Correct description of
31872 _SC_CLK_TCK.
31873
d7dd4413
DM
318742012-04-10 David S. Miller <davem@davemloft.net>
31875
31876 [BZ #13967]
31877 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31878 where the is a gap between DT_REL(A) and DT_JMPREL.
31879
b46068fc
L
318802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31881
31882 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31883 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31884 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31885
73d65cc3
SP
318862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31887
31888 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31889 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31890 (dl_main): Handle --inhibit-cache.
31891 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31892 _dl_inhibit_cache.
31893 * elf/dl-load.c (_dl_map_object): Use it.
31894 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31895
bcc8d661
JM
318962012-04-09 Joseph Myers <joseph@codesourcery.com>
31897
8f9a2fae
JM
31898 [BZ #13872]
31899 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31900 (__ieee754_powl): Saturate large exponents rather than testing for
31901 overflow of y*log2(x).
31902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31903 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31904 exceptions.
31905
bcc8d661
JM
31906 [BZ #11521]
31907 * math/s_ctan.c: Include <float.h>.
31908 (__ctan): Avoid internal overflow or cancellation in calculating
31909 denominator.
31910 * math/s_ctanf.c: Likewise.
31911 * math/s_ctanl.c: Likewise.
31912 * math/s_ctanh.c: Likewise.
31913 * math/s_ctanhf.c: Likewise.
31914 * math/s_ctanhl.c: Likewise.
31915 * math/libm-test.inc (ctan_test): Add more tests.
31916 (ctanh_test): Likewise.
31917 * sysdeps/i386/fpu/libm-test-ulps: Update.
31918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31919
823fbbb4
AJ
319202012-04-09 Andreas Jaeger <aj@suse.de>
31921
03879793
AJ
31922 [BZ #6894]
31923 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31924 is an optional BSD extension.
31925
823fbbb4
AJ
31926 [BZ #10254]
31927 * manual/stdio.texi (Opening Streams): Document additional fopen
31928 parameters.
31929
8de131cb
RM
319302012-04-09 Roland McGrath <roland@hack.frob.com>
31931
31932 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31933 %eax without telling the compiler.
31934
c0ed9d7d
CD
319352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31936
31937 [BZ # 13963]
31938 * manual/install.texi: Use sourceware.org.
31939
c483f6b4
JM
319402012-04-09 Joseph Myers <joseph@codesourcery.com>
31941
d7dd9453
JM
31942 [BZ #13873]
31943 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31944 (__ieee754_pow): Generate overflow and underflow using huge*huge
31945 and tiny*tiny rather than just returning constant infinity or zero
31946 for large exponents.
31947 * math/libm-test.inc (pow_test): Require overflow exceptions for
31948 applicable cases of large exponents.
31949
c483f6b4
JM
31950 [BZ #706]
31951 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31952 (__ieee754_pow): Use iterative multiplication algorithm only for
31953 integer exponents with absolute value below 1024. Check for odd
31954 integer exponents when using algorithm for real exponents.
31955 * math/libm-test.inc (pow_test): Add more tests.
31956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31957
d2de7579
JM
319582012-04-08 Joseph Myers <joseph@codesourcery.com>
31959
31960 [BZ #13705]
31961 * math/libm-test.inc (exp_test): Do not allow overflow exception
31962 on underflow test.
31963
f77f1232
AJ
319642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31965
31966 [BZ #13705]
31967 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31968 instead of __kernel_standard_f.
31969
3884932b
MF
319702012-04-08 Mike Frysinger <vapier@gentoo.org>
31971
31972 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31973 * sysdeps/x86_64/memset_chk.S: Likewise.
31974
54472e9c
AJ
319752012-04-08 Andreas Jaeger <aj@suse.de>
31976
6ab0fbfc
AJ
31977 [BZ #10153]
31978 * manual/startup.texi (Environment Access): Describe return value
31979 for putenv and setenv.
31980
61efba8c
AJ
31981 [BZ #6895]
31982 * manual/filesys.texi (Directory Entries): Add description for
31983 DT_LNK.
31984
95c3f29a
AJ
31985 [BZ #6890]
31986 * manual/filesys.texi (Directory Entries): Clarify that it's file
31987 system not operating system in the description of DT_UNKNOWN.
31988
54472e9c
AJ
31989 [BZ #6578]
31990 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31991
624254b1
SC
319922012-04-08 Stephen Compall <s11@member.fsf.org>
31993
31994 [BZ #6649]
31995 * manual/llio.texi (Opening and Closing Files): Add cross
31996 reference to explain mode argument.
31997
1e4920e0
MF
319982012-04-07 Mike Frysinger <vapier@gentoo.org>
31999
32000 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32001 * sysdeps/x86_64/memset_chk.S: Likewise.
32002
5ed848f3
DM
320032012-04-07 David S. Miller <davem@davemloft.net>
32004
32005 * elf/elf.h (R_SPARC_WDISP10): Define.
32006 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32007 R_SPARC_SIZE32.
32008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32009 R_SPARC_SIZE64 and R_SPARC_H34.
32010
96154cd8
CD
320112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32012
32013 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32014 conditions and remove no longer applicable assertion.
32015
9904dc47
L
320162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32017
32018 * bits/byteswap.h: Include <features.h>.
32019 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32020 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32021
f8887d0a
L
320222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32023
32024 * bits/byteswap.h (__bswap_16): Removed.
32025 Include <bits/byteswap-16.h> to get __bswap_16.
32026 * sysdeps/i386/bits/byteswap.h: Likewise.
32027 * sysdeps/s390/bits/byteswap.h: Likewise.
32028 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32029 * bits/byteswap-16.h: New file.
32030 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32031 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32032 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32033 * string/Makefile (headers): Add bits/byteswap-16.h.
32034
62470f60
PP
320352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32036
32037 [BZ #13895]
32038 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32039 extra indirection.
32040 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32041 * nss/tst-nss-static.c: New.
32042
4dad7bab
RM
320432012-04-06 Robert Millan <rmh@gnu.org>
32044
32045 [BZ #6486]
32046 * manual/llio.texi (File Position Primitive): lseek
32047 refers to WHENCE when it really means OFFSET.
32048
e9142a17
AJ
320492012-04-06 Andreas Jaeger <aj@suse.de>
32050
2c040eff
AJ
32051 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32052 strncmp declarations.
32053
e9142a17
AJ
32054 * abilist/libc.abilist: Add __poll and __ppoll.
32055
ff9f1c5f
DM
320562012-04-05 David S. Miller <davem@davemloft.net>
32057
dcd2ae90
DM
32058 * scripts/check-local-headers.sh: Accept a host triplet in the
32059 path matched by the exclude regexp.
32060
993eb054
DM
32061 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32062 definition.
32063 * sysdeps/powerpc/powerpc32/dl-machine.h
32064 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32065 * sysdeps/s390/s390-32/dl-machine.h
32066 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32067 * sysdeps/sparc/sparc32/dl-machine.h
32068 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32069 * sysdeps/sparc/sparc64/dl-machine.h
32070 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32071
ff9f1c5f
DM
32072 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32073 lazy binding.
48e2e132 32074 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32075 undefined symbol errors.
32076
48e2e132 32077 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32078 DT_NEEDED entries.
32079
e80d6f94
MM
320802012-04-05 Michael Matz <matz@suse.de>
32081
32082 [BZ #13592]
32083 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32084
349fa79f
AJ
320852012-04-05 Andreas Jaeger <aj@suse.de>
32086
32087 [BZ #13908]
32088 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32089 comment.
32090
f402708f
KK
320912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32092
32093 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32094 which ROUND is no valid rounding mode.
32095
2ecccfc9
KK
320962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32097
32098 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32099 read again.
32100 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32101
8a53f50f
KK
321022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32103
32104 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32105 an exception using FPU order intentionally.
32106
321072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32108
32109 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32110 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32111 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32112 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32113
d653abb7
SJ
321142012-04-05 Simon Josefsson <simon@josefsson.org>
32115
32116 [BZ #12340]
32117 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32118 EINVAL when BUFLEN is too smal.
32119
c3b1bf7d
TS
321202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32121
32122 [BZ #13553]
32123 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32124 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32125
b1aa60f3
AJ
321262012-04-03 Andreas Jaeger <aj@suse.de>
32127
c3b1bf7d 32128 [BZ #13938]
67f60a26
AJ
32129 * manual/setjmp.texi (System V contexts): Fix sentence.
32130
b1aa60f3
AJ
32131 [BZ #13926]
32132 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32133 New macro for this case.
32134 [!__GNUC__] (__bswap_64): New inline function for this case.
32135 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32136 * bits/byteswap.h: Likewise.
32137 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32138 ull, guard with __GLIBC_HAVE_LONG_LONG.
32139
32140 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32141 __GLIBC_HAVE_LONG_LONG.
32142
32143 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32144 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32145
39c59c35
TMQMF
321462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32147
32148 [BZ #13691]
32149 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32150 inptr and inend, rather than using last_ch.
32151
135ffda8
DM
321522012-04-02 David S. Miller <davem@davemloft.net>
32153
32154 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32155 * stdio-common/printf-parse.h (read_int): Change return type to
32156 'int', return -1 on INT_MAX overflow.
32157 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32158 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32159 overflows INT_MAX. Check for overflow of in-format-string precision
32160 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32161 SIZE_MAX not INT_MAX for integer overflow test.
32162 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32163 skip the construct in the format string but do not record anything.
32164 * stdio-common/bug22.c: Adjust to test both width/prevision
32165 INT_MAX overflow as well as total length INT_MAX overflow. Check
32166 explicitly for proper errno values.
32167
228c019e
TS
321682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32169
302cadd3
TS
32170 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32171 CHAR_MAX.
32172 * string/test-strcmp.c [! WIDE]: Likewise.
32173 * time/tst-mktime2.c: Likewise for INT_MAX.
32174 * string/test-string.h: #include <sys/param.h> for MIN.
32175
228c019e
TS
32176 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32177 * sysdeps/i386/init-first.c (init): Likewise.
32178 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32179 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32180 * sysdeps/sh/init-first.c (init): Likewise.
32181
cfa633f5
UD
321822012-04-01 Ulrich Drepper <drepper@gmail.com>
32183
32184 * po/ru.po: Update from translation team.
d1635ef8 32185 * po/vi.po: Likewise.
cfa633f5 32186
6cd0a5ea
SP
321872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32188
32189 * resolv/nss_dns/dns-host.c: Merge copyright years.
32190
4b43400f
LD
321912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32192
32193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32194 Optimize memcpy with prefetch if
32195 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32196 src, dst pointers have unequal 16 byte alignments.
32197
48c41d04
SP
321982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32199
32200 [BZ #13928]
32201 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32202 from a CNAME entry and return the minimum ttl for the query.
32203 (gaih_getanswer_slice): Likewise.
32204
b8dc394d
JL
322052012-03-30 Jeff Law <law@redhat.com>
32206
32207 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32208 due to long keys.
32209 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32210 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32211
2f5a5ed0
JL
32212 * resolv/nss_dns/dns-host.c: Update copyright year.
32213
1d39e359
UD
322142012-03-30 Ulrich Drepper <drepper@gmail.com>
32215
c030f70c 32216 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32217 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32218
1d39e359
UD
32219 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32220 comments for sendmmsg.
32221
322222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32223
32224 [BZ #13691]
32225 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32226 with only 1 character between 0x0041 and 0x01b0.
32227 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32228 * wcsmbs/tst-mbsnrtowcs.c: New file.
32229
20fde227
DM
322302012-03-29 David S. Miller <davem@davemloft.net>
32231
32232 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32233 small copies by hand.
32234
984a4237
JL
322352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32236
32237 [BZ #13761]
32238 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32239 _nss_compat_initgroups_dyn): Fall back to malloc/free
32240 for large group memberships.
32241
18c9d62b
DM
322422012-03-28 David S. Miller <davem@davemloft.net>
32243
88d85d4f
DM
32244 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32245 that branches into memcpy.
32246 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32248 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32249 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32251 bits.
32252 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32253 implementation too.
32254 * sysdeps/sparc/mempcpy.S: New file.
32255
e5aa83e1
DM
32256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32257 the IFUNC routine in the libc case.
32258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32259
88570753
DM
32260 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32261 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32262 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32263 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32264 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32265 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32266 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32267 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32268
249d7567
DM
32269 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32270 loop to 256 bytes instead of 64 bytes and fix test signedness.
32271
18c9d62b
DM
32272 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32273 * sysdeps/sparc/sparc32/Makefile: rather than here...
32274 * sysdeps/sparc/sparc64/Makefile: and here.
32275
05f3d1f6
UD
322762012-03-28 Ulrich Drepper <drepper@gmail.com>
32277
32278 * malloc/mallocbug.c: Avoid warnings about unused variables.
32279
86ae07a8
JL
322802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32281
32282 [BZ #13760]
32283 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32284 in the right place. Discard and retry query if response is
32285 larger than input buffer size.
32286
41bf21a1
JM
322872012-03-28 Joseph Myers <joseph@codesourcery.com>
32288
d6270972
JM
32289 [BZ #369]
32290 [BZ #2678]
32291 [BZ #3866]
32292 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32293 x for large integer exponent.
32294 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32295 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32296 sign of result as needed afterwards.
32297 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32298 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32299 result for underflowing pow the same as for overflow.
32300 (__kernel_standard_l): Handle powl overflow and underflow here
32301 rather than calling __kernel_standard.
32302 * math/libm-test.inc (pow_test): Add more tests.
32303
414fca03 32304 [BZ #3868]
41bf21a1
JM
32305 [BZ #13879]
32306 [BZ #13910]
32307 [BZ #13911]
32308 [BZ #13912]
32309 [BZ #13913]
32310 [BZ #13915]
32311 [BZ #13916]
32312 [BZ #13917]
32313 [BZ #13918]
32314 [BZ #13919]
32315 [BZ #13920]
32316 [BZ #13921]
32317 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32318 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32319 (__kernel_standard_l): New function.
32320 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32321 __kernel_standard.
32322 * math/w_acosl.c (__acosl): Likewise.
32323 * math/w_asinl.c (__asinl): Likewise.
32324 * math/w_atan2l.c (__atan2l): Likewise.
32325 * math/w_atanhl.c (__atanhl): Likewise.
32326 * math/w_coshl.c (__coshl): Likewise.
32327 * math/w_exp10l.c (__exp10l): Likewise.
32328 * math/w_exp2l.c (__exp2l): Likewise.
32329 * math/w_fmodl.c (__fmodl): Likewise.
32330 * math/w_hypotl.c (__hypotl): Likewise.
32331 * math/w_j0l.c (__j0l, __y0l): Likewise.
32332 * math/w_j1l.c (__j1l, __y1l): Likewise.
32333 * math/w_jnl.c (__jnl, __ynl): Likewise.
32334 * math/w_lgammal.c (__lgammal): Likewise.
32335 * math/w_log10l.c (__log10l): Likewise.
32336 * math/w_log2l.c (__log2l): Likewise.
32337 * math/w_logl.c (__logl): Likewise.
32338 * math/w_powl.c (__powl): Likewise.
32339 * math/w_remainderl.c (__remainderl): Likewise.
32340 * math/w_scalbl.c (sysv_scalbl): Likewise.
32341 * math/w_sinhl.c (__sinhl): Likewise.
32342 * math/w_sqrtl.c (__sqrtl): Likewise.
32343 * math/w_tgammal.c (__tgammal): Likewise.
32344 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32345 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32346 * math/libm-test.inc (acos_test): Add more tests.
32347 (acosh_test): Likewise.
32348 (asin_test): Likewise.
32349 (atanh_test): Likewise.
32350 (exp_test): Likewise.
32351 (exp10_test): Likewise.
32352 (exp2_test): Likewise.
32353 (expm1_test): Likewise.
32354 (lgamma_test): Likewise.
32355 (log_test): Likewise.
32356 (log10_test): Likewise.
32357 (log1p_test): Likewise.
32358 (log2_test): Likewise.
32359 (pow_test): Do not allow some spurious overflow exceptions.
32360 (sqrt_test): Add more tests.
32361 (tgamma_test): Likewise.
32362 (y0_test): Likewise.
32363 (y1_test): Likewise.
32364 (yn_test): Likewise.
32365
dd62fda6
AB
323662012-03-27 Anton Blanchard <anton@samba.org>
32367
32368 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32369 MAP_HUGETLB.
32370 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32371 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32372 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32373
1e3cdfda
AJ
323742012-03-27 David S. Miller <davem@davemloft.net>
32375
b855ab85
DM
32376 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32377
1e3cdfda
AJ
32378 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32379 have-as-vis3 check.
32380
323812012-03-27 Andreas Jaeger <aj@suse.de>
32382
32383 * sysdeps/x86_64/elf/configure.in: Moved to ...
32384 * sysdeps/x86_64/configure.in: ... here.
32385 * sysdeps/x86_64/elf/start.S: Moved to ...
32386 * sysdeps/x86_64/start.S: ... here.
32387 * sysdeps/x86_64/elf/configure: Delete.
32388
32389 * sysdeps/x86_64/configure.in: Merge contents from
32390 sysdeps/i386/configure.in (without i686 check).
32391
32392 * sysdeps/i386/elf/Versions: Merge into ...
32393 * sysdeps/i386/Versions: ... this.
32394 * sysdeps/i386/elf/Versions: Delete file.
32395 * sysdeps/i386/elf/start.S: Moved to ...
32396 * sysdeps/i386/start.S: ...here.
32397 * sysdeps/i386/elf/configure.in: Merge into...
32398 * sysdeps/i386/configure.in: ...here.
32399 * sysdeps/i386/elf/configure.in: Delete file.
32400 * sysdeps/i386/elf/configure: Delete file.
32401
32402 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32403 * debug/backtracesyms.c: ... here.
32404 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32405 * debug/backtracesymsfd.c: ... here.
32406 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32407 * sysdeps/generic/ifunc-sel.h: ... here.
32408
32409 * sysdeps/unix/i386/start.c: Delete file.
32410 * sysdeps/unix/sparc/start.c: Delete file.
32411 * sysdeps/unix/start.c: Delete file.
32412
32413 * sysdeps/sh/elf/configure.in: Moved to ...
32414 * sysdeps/sh/configure.in: ... here.
32415 * sysdeps/sh/elf/start.S: Moved to ...
32416 * sysdeps/sh/start.S: ... here.
32417 * sysdeps/sh/elf/configure: Delete file.
32418
32419 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32420 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32421 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32422 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32423 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32424 * sysdeps/powerpc/powerpc64/start.S: here.
32425 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32426 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32427 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32428 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32429 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32430
32431 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32432 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32433 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32434 * sysdeps/powerpc/powerpc32/start.S: ... here.
32435 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32436 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32437 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32438
32439 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32440 * sysdeps/powerpc/ifunc-sel.h: ... here.
32441 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32442 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32443
32444 * sysdeps/sparc/elf/configure.in: Moved to ...
32445 * sysdeps/sparc/configure.in: ... here.
32446 * sysdeps/sparc/elf/configure: Delete file.
32447 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32448 * sysdeps/sparc/sparc32/start.S: ... here.
32449 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32450 * sysdeps/sparc/sparc64/start.S: ... here.
32451 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32452 * sysdeps/sparc/sparc32/Makefile: ... this.
32453 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32454 * sysdeps/sparc/sparc64/Makefile: ... this.
32455
32456 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32457 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32458 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32459 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32460 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32461 * sysdeps/s390/s390-32/setjmp.S: ... here.
32462 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32463 * sysdeps/s390/s390-32/configure.in: ... here.
32464 * sysdeps/s390/s390-32/elf/configure: Delete file.
32465 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32466 * sysdeps/s390/s390-32/start.S: ... here.
32467
32468 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32469 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32470 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32471 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32472 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32473 * sysdeps/s390/s390-64/setjmp.S: ... here.
32474 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32475 * sysdeps/s390/s390-64/configure.in: ... here
32476 * sysdeps/s390/s390-64/elf/configure: Delete file.
32477 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32478 * sysdeps/s390/s390-64/start.S: ... here.
32479 * sysdeps/s390/s390-64/elf/configure: Delete.
32480
32481 * configure.in: Remove support for elf directories in sysdeps.
32482
32483 * configure: Regenerated.
32484 * sysdeps/i386/configure: Regenerated.
32485 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32486 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32487 * sysdeps/s390/s390-32/configure: Regenerated.
32488 * sysdeps/s390/s390-64/configure: Regenerated.
32489 * sysdeps/sh/configure: Regenerated.
32490 * sysdeps/sparc/configure: Regenerated.
32491 * sysdeps/x86_64/configure: Regenerated.
32492
a3f61311
AS
324932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32494
c876e002
AS
32495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32496
a3f61311
AS
32497 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32498 denormal result into account.
32499
ac4c54f0
RM
325002012-03-25 Roland McGrath <roland@hack.frob.com>
32501
32502 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32503 Reported by Allan McRae <allan@archlinux.org>.
32504
6a9b9c02
JL
325052012-03-23 Jeff Law <law@redhat.com>
32506
32507 * nss/getnssent.c (__nss_getent): Fix typo.
32508
4c42a0c1
DM
325092012-03-23 David S. Miller <davem@davemloft.net>
32510
32511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32512
1532c7ac
L
325132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32514
32515 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32516 to pad to uint64_t for each field.
32517 (dl_tls_index): Replace unsigned long with uint64_t.
32518
3ff42526
PP
325192012-03-23 Daniel Jacobowitz <dmj@google.com>
32520 Paul Pluzhnikov <ppluzhnikov@google.com>
32521
32522 [BZ #6528]
32523 * grp/Makefile (otherlibs): Don't set it.
32524 * inet/Makefile (otherlibs): Likewise.
32525 * login/Makefile (otherlibs): Likewise.
32526 * nscd/Makefile (otherlibs): Likewise.
32527 * posix/Makefile (otherlibs): Likewise.
32528 * pwd/Makefile (otherlibs): Likewise.
32529 * rt/Makefile (otherlibs): Likewise.
32530 * sunrpc/Makefile (otherlibs): Likewise.
32531 * nss/Makefile (otherlibs): Likewise.
32532 Add libnss_files to routines and static-only-routines.
32533 ($(objpfx)getent): Remove rule.
32534 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32535 static-only-routines.
32536
7c69cd14
JM
325372012-03-22 Joseph Myers <joseph@codesourcery.com>
32538
32539 [BZ #13892]
32540 * math/s_cexp.c: Include <float.h>.
32541 (__cexp): Handle exp result overflowing not necessarily
32542 overflowing both real and imaginary parts of result.
32543 * math/s_cexpf.c: Likewise.
32544 * math/s_cexpl.c: Likewise.
32545 * math/libm-test.inc (cexp_test): Add more tests.
32546 * sysdeps/i386/fpu/libm-test-ulps: Update.
32547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32548
81b035fe
L
325492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32550
32551 * include/link.h (ELFW): New macro.
32552 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32553 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32554
1da7940c
L
325552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32556
32557 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32558 with uint64_t.
32559
b749dbb9
L
325602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32561
32562 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32563 declaration.
32564 (struct La_x32_retval): Likewise.
32565
2ff87f3f
L
325662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32567
32568 * sysdeps/x86_64/preconfigure.in: New file.
32569 * sysdeps/x86_64/preconfigure: New generated file.
32570
c0df8e69
JM
325712012-03-22 Joseph Myers <joseph@codesourcery.com>
32572
48e44791
JM
32573 [BZ #13824]
32574 * math/e_exp2l.c: Include <float.h>.
32575 (__ieee754_exp2l): Handle overflow and underflow cases
32576 separately. Only pass fractional part of argument to
32577 __ieee754_expl.
32578 * math/libm-test.inc (exp2_test): Add more tests.
32579
c0df8e69
JM
32580 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32581 negating x to take absolute value.
32582 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32583 Likewise.
32584 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32586 Likewise.
32587 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32588 computing low part if x was negated.
32589 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32590
c8e43ba7
L
325912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32592
32593 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32594 la_x32_gnu_pltexit.
32595 (pltexit): Cast int_retval to ptrdiff_t.
32596 * elf/tst-auditmod3b.c: Likewise.
32597 * elf/tst-auditmod4b.c: Likewise.
32598 * elf/tst-auditmod5b.c: Likewise.
32599 * elf/tst-auditmod6b.c: Likewise.
32600 * elf/tst-auditmod6c.c: Likewise.
32601 * elf/tst-auditmod7b.c: Likewise.
32602
32603 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32604 and x32_gnu_pltexit.
32605
32606 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32607 __ELF_NATIVE_CLASS.
32608 (La_x32_regs): New macro.
32609 (La_x32_retval): Likewise.
32610 (la_x32_gnu_pltenter): New function prototype.
32611 (la_x32_gnu_pltexit): Likewise.
32612
7998fa78
AS
326132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32614
dcb33988
AS
32615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32616 exponent.
32617
233fc563
AS
32618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32619
7998fa78
AS
32620 * configure.in (libc_cv_cc_nofma): Check for option to disable
32621 generation of FMA instructions.
32622 * configure: Regenerate.
32623 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32624 * sysdeps/ieee754/dbl-64/Makefile: New file.
32625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32626 Remove brandred-fma4.
32627 (CFLAGS-brandred-fma4.c): Remove.
32628 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32629 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32630 define.
32631 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32632 define.
32633
8e95c99a
L
326342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32635
32636 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32637 LLONG_MAX != LONG_MAX.
32638 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32639 (_fitoa_word): Likewise.
32640 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32641 LLONG_MAX != LONG_MAX.
32642 * stdio-common/_itowa.h: Include <_itoa.h>.
32643 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32644 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32645 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32646 only if not defined.
32647 (_ITOA_WORD_TYPE): Likewise.
32648 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32649 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32650
6f4db457
DM
326512012-03-21 David S. Miller <davem@davemloft.net>
32652
32653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32654
7785fe5a
L
326552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32656
32657 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32658 of x86_64 when setting libc_cv_slibdir, libdir and
32659 libc_cv_localedir.
32660 * sysdeps/unix/sysv/linux/configure: Regenerated.
32661
4535cd55
JM
326622012-03-21 Joseph Myers <joseph@codesourcery.com>
32663
32664 * manual/lang.texi (Old Varargs): Remove section.
32665 (How Variadic): Update menu.
32666 (va_start): Do not mention varargs.h.
32667
17228132
TS
326682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32669 Joseph Myers <joseph@codesourcery.com>
32670
32671 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32672 link test.
32673 * configure: Regenerated.
32674
8149f976
TS
326752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32676
05f3d1f6
UD
32677 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32678 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32679 conformtest.pl
8149f976 32680
1a4ac776
JM
326812012-03-21 Joseph Myers <joseph@codesourcery.com>
32682
be22ce65
JM
32683 * NOTES: Remove.
32684 * Makefile (files-for-dist): Remove NOTES.
32685 (NOTES): Remove rule.
32686 * README: Don't refer to NOTES.
32687 * manual/creature.texi: Don't include macros.texi.
32688 * manual/intro.texi (creature.texi): Remove comment referring to
32689 NOTES.
32690
40b601fb
JM
32691 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32692 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32693 * configure: Regenerated.
32694 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32695 LIBC_TRY_CC_OPTION.
32696 (libc_cv_as_i686): Likewise.
32697 (libc_cv_cc_avx): Likewise.
32698 (libc_cv_cc_sse2avx): Likewise.
32699 (libc_cv_cc_fma4): Likewise.
32700 (libc_cv_cc_novzeroupper): Likewise.
32701 * sysdeps/i386/configure: Regenerated.
32702
1a4ac776
JM
32703 [BZ #13883]
32704 * sysdeps/i386/fpu/s_cexp.S: Remove.
32705 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32706 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32707 * math/libm-test.inc (cexp_test): Add more tests.
32708 * sysdeps/i386/fpu/libm-test-ulps: Update.
32709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32710
a458e7fe
AM
327112012-03-21 Allan McRae <allan@archlinux.org>
32712
32713 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32714
0cb7efc5
JM
327152012-03-21 Joseph Myers <joseph@codesourcery.com>
32716
32717 [BZ #13871]
32718 * math/w_exp2.c: Do not include <float.h>.
32719 (o_threshold, u_threshold): Remove.
32720 (__exp2): Calculate result before checking finiteness and calling
32721 __kernel_standard.
32722 * math/w_exp2f.c: Likewise.
32723 * math/w_exp2l.c: Likewise.
32724 * math/libm-test.inc (exp2_test): Require overflow exception for
32725 1e6 input.
2460d3aa
JM
32726
32727 [BZ #3866]
32728 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32729 range of signed 64-bit integers before using fistpll. Remove
32730 checks for whether integers fit in mantissa bits.
32731 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32732 the range of signed 32-bit integers before using fistpl. Remove
32733 checks for whether integers fit in mantissa bits.
32734 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32735 (__ieee754_powl): Test for y outside the range of signed 64-bit
32736 integers before using fistpll. Reduce 64-bit values to 63-bit
32737 ones as needed.
32738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32739 divide-by-zero is raised for zero to large negative powers.
32740 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32741 (__ieee754_powl): Test for y outside the range of signed 64-bit
32742 integers before using fistpll. Reduce 64-bit values to 63-bit
32743 ones as needed.
32744 * math/libm-test.inc (pow_test): Add more tests.
32745
eb96ffb0
L
327462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32749 <stdio-common/_itoa.h>.
32750 * debug/segfault.c: Likewise.
32751 * elf/dl-cache.c: Likewise.
32752 * elf/dl-minimal.c: Likewise.
32753 * elf/dl-misc.c: Likewise.
32754 * elf/dl-sysdep.c: Likewise.
32755 * elf/dl-version.c: Likewise.
32756 * elf/rtld.c: Likewise.
32757 * hurd/hurdsock.c: Likewise.
32758 * hurd/lookup-retry.c: Likewise.
32759 * malloc/malloc.c: Likewise.
32760 * malloc/mtrace.c: Likewise.
32761 * nscd/nscd_getgr_r.c: Likewise.
32762 * nscd/nscd_getpw_r.c: Likewise.
32763 * nscd/nscd_getserv_r.c: Likewise.
32764 * posix/getopt_init.c: Likewise.
32765 * posix/wordexp.c: Likewise.
32766 * stdio-common/_itoa.c: Likewise.
32767 * stdio-common/printf_fphex.c: Likewise.
32768 * stdio-common/vfprintf.c: Likewise.
32769 * string/_strerror.c: Likewise.
32770 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32771 * sysdeps/i386/i686/hp-timing.h: Likewise.
32772 * sysdeps/mach/_strerror.c: Likewise.
32773 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32774 * sysdeps/mach/hurd/sethostid.c: Likewise.
32775 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32776 * sysdeps/mach/xpg-strerror.c: Likewise.
32777 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32778 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32779 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32780 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32781 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32782 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32783 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32784 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32785 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32786 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32787 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32788 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32789 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32790 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32791 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32792 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32793 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32794 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32795 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32796 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32797 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32798
32799 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32800
32801 * stdio-common/_itoa.h: Moved to ...
32802 * sysdeps/generic/_itoa.h: Here.
32803
32804 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32805
32806 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32807 instead of "_itoa.h" and "_itowa.h".
32808 * stdio-common/vfprintf.: Likewise.
32809
d1af992d
L
328102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32811
32812 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32813 <bits/wordsize.h>.
32814 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32815 (__signbit): Likwise.
32816 (llrintf): Likwise.
32817 (llrint): Likwise.
32818
114883e0
L
328192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32820
32821 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32822 __WORDSIZE != 64.
32823
c135cc1b
JM
328242012-03-20 Joseph Myers <joseph@codesourcery.com>
32825
32826 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32827 OVERFLOW_EXCEPTION_OK.
32828 * math/libm-test.inc ("Philosophy"): Update comment about
32829 exception testing.
32830 (OVERFLOW_EXCEPTION): Define.
32831 (OVERFLOW_EXCEPTION_OK): Likewise.
32832 (INVALID_EXCEPTION_OK): Renumber.
32833 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32834 (IGNORE_ZERO_INF_SIGN): Likewise.
32835 (test_exceptions): Handle FE_OVERFLOW.
32836 (exp10_test): Expect overflow exceptions.
32837 (exp2_test): Likewise.
32838 (expm1_test): Likewise.
32839 (nextafter_test): Likewise.
32840 (pow_test): Likewise.
32841 (scalbn_test): Likewise.
32842 (scalbln_test): Likewise.
32843
95443d88
L
328442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32845
32846 * sysdeps/x86_64/bits/atomic.h
32847 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32848 64bit integer.
32849 (atomic_exchange_acq): Likewise.
32850 (__arch_exchange_and_add_body): Likewise.
32851 (__arch_add_body): Likewise.
32852 (atomic_add_negative): Likewise.
32853 (atomic_add_zero): Likewise.
32854
490df6c4
L
328552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32856
c2722551 32857 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32858 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32859
5e52b189
L
328602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32861
32862 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32863 Check __x86_64__ instead of __WORDSIZE.
32864
a9879d4c
L
328652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32866
32867 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32868
5df98260
DM
328692012-03-19 David S. Miller <davem@davemloft.net>
32870
e1497744
DM
32871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32872
5df98260
DM
32873 * sysdeps/sparc/fpu/fenv_private.h: New file.
32874 * sysdeps/sparc/fpu/math_private.h: Use it.
32875 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32876 Remove.
32877 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32878 (libc_feholdexcept_setroundl): Remove.
32879 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32880 Remove.
32881 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32882 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32883
b4c35121
L
328842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32885
32886 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32887 int64_t instead of long int.
32888 (INSERT_WORDS64): Likwise.
32889
56965fd7
L
328902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32891
32892 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32893 _Unwind_GetCFA return to _Unwind_Ptr first.
32894
83d1aec8
JM
328952012-03-19 Joseph Myers <joseph@codesourcery.com>
32896
1897ad44
JM
32897 [BZ #13629]
32898 * math/s_clog.c: Include <float.h>.
32899 (__clog): Scale large or subnormal inputs.
32900 * math/s_clogf.c: Likewise.
32901 * math/s_clogl.c: Likewise.
32902 * math/s_clog10.c: Include <float.h>.
32903 (M_LOG10_2): Define.
32904 (__clog10): Scale large or subnormal inputs.
32905 * math/s_clog10f.c: Likewise.
32906 * math/s_clog10l.c: Likewise.
32907 * math/libm-test.inc (clog_test): Add more tests.
32908 (clog10_test): Likewise.
32909 * sysdeps/i386/fpu/libm-test-ulps: Update.
32910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32911
7726d6a9
JM
32912 [BZ #11451]
32913 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32914 x and y.
32915 * math/libm-test.inc (atan2_test): Add another test.
32916
83d1aec8
JM
32917 * Makerules (common-objdir-compile): Remove.
32918 * sysdeps/unix/Makefile (config-generated): Do not add
32919 $(unix-generated) to variable.
32920 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32921 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32922 Remove rule.
32923 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32924 Likewise.
32925 [generic bits/local_lim.h] (before-compile): Do not append to
32926 variable.
32927 [generic bits/local_lim.h] (common-generated): Likewise.
32928 [generic sys/param.h] (before-compile): Do not append to variable.
32929 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32930 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32931 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32932 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32933 include.
32934 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32935 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32936 [generic sys/param.h] ($(addprefix
32937 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32938 [generic sys/param.h] (common-generated): Do not append to
32939 variable.
32940 [generic sys/param.h] (sysdep_headers): Likewise.
32941 [generic bits/errno.h] (before-compile): Do not append to
32942 variable.
32943 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32944 rule.
32945 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32946 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32947 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32948 [generic bits/errno.h] (common-generated): Do not append to
32949 variable.
32950 [generic bits/ioctls.h] (before-compile): Do not append to
32951 variable.
32952 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32953 rule.
32954 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32955 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32956 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32957 rule.
32958 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32959 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32960 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32961 [generic bits/ioctls.h] (common-generated): Do not append to
32962 variable.
32963 [generic sys/syscall.h] (syscall.h): Remove variable.
32964 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32965 rule.
32966 [generic sys/syscall.h] (before-compile): Do not append to
32967 variable.
32968 [generic sys/syscall.h] (common-generated): Likewise.
32969 * sysdeps/unix/errnos-tmpl.c: Remove file.
32970 * sysdeps/unix/errnos.awk: Likewise.
32971 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32972 * sysdeps/unix/ioctls.awk: Likewise.
32973 * sysdeps/unix/mk-local_lim.c: Likewise.
32974 * sysdeps/unix/snarf-ioctls: Likewise.
32975
4851a949
RH
329762012-03-19 Richard Henderson <rth@twiddle.net>
32977
bd37f2ee
RH
32978 * sysdeps/i386/fpu/fenv_private.h: New file.
32979 * sysdeps/i386/fpu/math_private.h: Use it.
32980 (math_opt_barrier, math_force_eval): Remove.
32981 (libc_feholdexcept_setround_53bit): Remove.
32982 (libc_feupdateenv_53bit): Remove.
32983 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32984 (math_opt_barrier, math_force_eval): Remove.
32985 (libc_feholdexcept): Remove.
32986 (libc_feholdexcept_setround): Remove.
32987 (libc_fetestexcept, libc_fesetenv): Remove.
32988 (libc_feupdateenv_test): Remove.
32989 (libc_feupdateenv, libc_feholdsetround): Remove.
32990 (libc_feresetround): Remove.
32991
d0adc922
RH
32992 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32993 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32994
0fe0f1f8
RH
32995 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32996 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32997 (libc_feupdateenv_testl): New.
32998 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32999 (libc_feupdateenv_testf): New.
33000 (libc_feupdateenv): Use libc_feupdateenv_test.
33001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33003
eb92c487
RH
33004 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33005 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33006 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33007 (libc_feresetround_noex): New.
33008 (libc_feresetround_noexf): New.
33009 (libc_feresetround_noexl): New.
33010 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33011 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33012 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33013 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33014 SET_RESTORE_ROUND.
33015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33017 (__cos): Likewise.
33018 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33019 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33020 SET_RESTORE_ROUND_NOEX.
33021 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33022 SET_RESTORE_ROUND_NOEXF.
33023 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33024 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33025 (libc_feholdsetroundf): New.
33026 (libc_feresetround, libc_feresetroundf): New.
33027
7d2e8012
RH
33028 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33029 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33030 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33031
b4dabbb4
RH
33032 * sysdeps/generic/math_private.h: Include <fenv.h>.
33033 (default_libc_feholdexcept): New.
33034 (default_libc_feholdexcept_setround): New.
33035 (default_libc_fesetenv, default_libc_feupdateenv): New.
33036 (libc_feholdexcept): Only define if undefined.
33037 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33038 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33039 (libc_feholdexcept_setroundl): Likewise.
33040 (libc_feholdexcept_setround_53bit): Likewise.
33041 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33042 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33043 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33044 (libc_feupdateenv_53bit): Likewise.
33045 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33046 (libc_feholdexcept): Convert from macro to inline function.
33047 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33048 (libc_fesetenv, libc_feupdateenv): Likewise.
33049
4851a949
RH
33050 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33051 not previously defined.
33052 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33053 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33054 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33055 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33056 * sysdeps/ieee754/flt-32/math_private.h: New file.
33057 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33058 math_private.h below SET_FLOAT_WORD.
33059 (__isnan, __isinf_ns, __finite): Remove.
33060 (__isnanf, __isinf_nsf, __finitef): Remove.
33061
e79d442e
AS
330622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33063
33064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33065
90b80344
DM
330662012-03-17 David S. Miller <davem@davemloft.net>
33067
33068 [BZ #6471]
33069 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33070 for 2.16.
33071
edc21804
DM
330722012-03-16 David S. Miller <davem@davemloft.net>
33073
77e927af
DM
33074 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33075 warnings.
33076
374976dd
DM
33077 [BZ #6471]
33078 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33079 properly.
33080 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33081 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33082 sysdep_routines when subdir is sysvipc.
33083 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33084 __getshmlba helper.
33085
edc21804
DM
33086 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33087
473c3ef3
L
330882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33089
33090 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33091 [__LP64__].
33092
eb0f39b6
L
330932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33094
33095 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33096 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33097 (__lround): Renamed to ...
33098 (__llround): This. Replace long int with long long int.
33099 Define lround functions as aliases of llround functions.
33100 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33101
6b6cd74b
L
331022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33103
33104 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33105 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33106 adresses to uintptr_t. Replace "long int" and "unsigned long
33107 int" with "greg_t" on va_arg.
33108
f1a77b01
L
331092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33110
33111 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33112 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33113
33114 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33115 Move e_machine check before EI_CLASS check. Handle x32
33116 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33117 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33118 SKIP_EM_IA_64 and include
33119 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33120
33121 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33122 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33123 (add_system_dir): New macro.
33124
33125 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33126 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33127
11b90b9f
JM
331282012-03-16 Joseph Myers <joseph@codesourcery.com>
33129
c36e1d23
JM
33130 [BZ #2551]
33131 [BZ #2552]
33132 [BZ #2553]
33133 [BZ #2554]
33134 [BZ #2562]
33135 [BZ #2563]
33136 [BZ #2565]
33137 [BZ #2566]
33138 [BZ #2576]
33139 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33140 (y0): Likewise.
33141 * math/w_j0f.c (j0f): Likewise.
33142 (y0f): Likewise.
33143 * math/w_j0l.c (__j0l): Likewise.
33144 (__y0l): Likewise.
33145 * math/w_j1.c (j1): Likewise.
33146 (y1): Likewise.
33147 * math/w_j1f.c (j1f): Likewise.
33148 (y1f): Likewise.
33149 * math/w_j1l.c (__j1l): Likewise.
33150 (__y1l): Likewise.
33151 * math/w_jn.c (jn): Likewise.
33152 (yn): Likewise.
33153 * math/w_jnf.c (jnf): Likewise.
33154 (ynf): Likewise.
33155 * math/w_jnl.c (__jnl): Likewise.
33156 (__ynl): Likewise.
33157 * math/libm-test.inc (j0_test): Add more tests.
33158 (j1_test): Likewise.
33159 (jn_test): Likewise. Add trailing semicolon to existing test.
33160 (y0_test): Likewise.
33161 (y1_test): Likewise.
33162 * sysdeps/i386/fpu/libm-test-ulps: Update.
33163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33164
11b90b9f
JM
33165 [BZ #13851]
33166 [BZ #13854]
33167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33168 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33169 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33170 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33171 (__tanl): Set errno for infinite argument.
33172 * sysdeps/i386/fpu/mptan.c: Remove.
33173 * sysdeps/i386/fpu/s_tan.S: Likewise.
33174 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33175 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33176 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33177 * math/libm-test.inc (tan_test): Add more tests and enable more
33178 tests for double and long double.
33179 * sysdeps/i386/fpu/libm-test-ulps: Update.
33180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33181
6a1bd2a1
JK
331822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33183
33184 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33185 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33186
10a803e0
RM
331872012-03-16 Roland McGrath <roland@hack.frob.com>
33188
33189 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33190 * configure.in: Use it for both main tree and add-ons.
33191 * configure: Regenerated.
33192
f196c7f7
L
331932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33194
33195 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33196
8848d99d
JM
331972012-03-16 Joseph Myers <joseph@codesourcery.com>
33198
96cbe7f4
JM
33199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33200 in comment.
33201
8848d99d
JM
33202 [BZ #13851]
33203 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33204 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33208 infinite argument.
33209 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33211 != 0 for prec == 2.
33212 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33213 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33214 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33215 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33216 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33217 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33218 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33219 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33220 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33221 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33222 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33223 * math/libm-test.inc (cos_test): Add more tests and enable more
33224 tests for long double.
33225 (sin_test): Likewise.
33226 (sincos_test): Likewise.
33227 * sysdeps/i386/fpu/libm-test-ulps: Update.
33228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33229
dd7f4703
DM
332302012-03-16 David S. Miller <davem@davemloft.net>
33231
33232 * sysdeps/sparc/fpu/math_private.h: New file.
33233
006f1daa
DM
332342012-03-15 David S. Miller <davem@davemloft.net>
33235
c0c83bc8
DM
33236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33237 file.
e6a62e18 33238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33240 file.
e6a62e18
DM
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33247 sysdep routines.
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33249
88cb87d9
DM
33250 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33251 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33252
006f1daa 33253 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33255 sparc-ifunc.h
006f1daa 33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33258 Likewise.
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33260 Likewise.
006f1daa
DM
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33265 Likewise.
006f1daa
DM
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33271 Likewise.
33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33273 Likewise.
006f1daa
DM
33274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33297 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33298
11e0098e
AS
332992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33300
33301 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33302 scaling.
33303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33304
e85b09d0
AJ
333052012-03-15 Andreas Jaeger <aj@suse.de>
33306
33307 [BZ #13852]
33308 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33309 ieee754/flt-32 implementation for sin, cos and sincos.
33310 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33311 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33312 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33313 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33314 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33315 ieee754/flt-32 implementation for tan.
33316
33317 * math/libm-test.inc (cos_test): Enable some large input tests for
33318 float as well
33319 (sin_test): Likewise.
33320 (sincos_test): Likewise.
33321 (tan_test): Add tests for large input.
33322
33323 * sysdeps/i386/fpu/libm-test-ulps: Update.
33324
81c64153
AJ
333252012-03-15 Andreas Jaeger <aj@suse.de>
33326
33327 [BZ #13658]
33328 * math/libm-test.inc (cos_test): Add more test cases.
33329 (sin_test): Likewise.
33330 (sincos_test): Likewise.
33331
7bbfa5c6
AJ
333322012-03-15 Andreas Jaeger <aj@suse.de>
33333
33334 [BZ #13837]
33335 * math/libm-test.inc (cos_test): Add a test case for large input
33336 value.
33337 (sin_test): Likewise.
33338 (sincos_test): Likewise.
33339
333402012-03-15 Andreas Jaeger <aj@suse.de>,
33341 Joseph Myers <joseph@codesourcery.com>
33342
33343 [BZ #13658]
0671f479 33344 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33345 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33346 * sysdeps/i386/fpu/branred.c: Likewise.
33347 * sysdeps/i386/fpu/dosincos.c: Likewise.
33348 * sysdeps/i386/fpu/mpa.c: Likewise.
33349 * sysdeps/i386/fpu/s_cos.S: Likewise.
33350 * sysdeps/i386/fpu/s_sin.S: Likewise.
33351 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33352 * sysdeps/i386/fpu/sincos32.c: Likewise.
33353
33354 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33355 Define.
33356 (libc_feupdateenv_53bit): Define.
33357 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33358 Define.
33359 (libc_feupdateenv_53bit): Define.
33360
33361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33362 53 bit (without extend i386 double precision).
33363
33364 * math/libm-test.inc (sincos_test): Add tests for large input.
33365 (sin): Likewise.
33366 (cos): Likewise.
33367
33368 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33369
9cad04ea
AS
333702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33371
33372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33373
f7062b9a
DM
333742012-03-15 David S. Miller <davem@davemloft.net>
33375
33376 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33377 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33378 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33379 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33392 file.
f7062b9a 33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33395 file.
f7062b9a 33396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33398 file.
f7062b9a 33399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33401 file.
f7062b9a
DM
33402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33404 fmin/fmax sysdep routines.
33405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33406
7bd951ff
DM
334072012-03-14 David S. Miller <davem@davemloft.net>
33408
559398ab
DM
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33438 routines.
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33440 file.
559398ab 33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33443 file.
559398ab 33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33446 file.
559398ab 33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33449 file.
559398ab 33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33452 file.
559398ab 33453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33455 file.
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33457 file.
33458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33459 file.
33460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33461 file.
33462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33463 New file.
33464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33465 file.
33466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33467 file.
559398ab 33468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33470 file.
559398ab 33471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33473 file.
559398ab 33474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33476 file.
559398ab 33477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33479 VIS3 routines.
559398ab
DM
33480
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33482 New file.
33483
5a1c1e32
DM
33484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33485
eae47a36
DM
33486 * sysdeps/sparc/configure.in: New file.
33487 * sysdeps/sparc/configure: Generate.
33488 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33489 * configure: Regenerate.
33490 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33491 * config.make.in (have-as-vis3): New.
33492 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33493 available use -Av9d instead of -Av9a.
33494 * sysdeps/sparc/sparc64/Makefile: Likewise.
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33497 New file.
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33499 file.
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33501 New file.
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33503 file.
eae47a36
DM
33504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33509
c0c83bc8
DM
33510 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33511 fzeros/fnegs to load 0x80000000 into a float register instead of
33512 using the stack.
7bd951ff
DM
33513 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33514
bd951ccb
JM
335152012-03-14 Joseph Myers <joseph@codesourcery.com>
33516
33517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33518 bits/syscall.h.
33519 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33520 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33521 ($(inst_includedir)/bits/syscall.h): Remove rule.
33522 ($(objpfx)bits/syscall.d): Include instead of
33523 $(objpfx)syscall-list.d.
33524 (generated): Change syscall-list.h and syscall-list.d to
33525 bits/syscall.h and bits/syscall.d.
33526
bb4e6db2
RM
335272012-03-14 Roland McGrath <roland@hack.frob.com>
33528
33529 [BZ #13846]
33530 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33531
aa4a2ae1
JM
335322012-03-14 Joseph Myers <joseph@codesourcery.com>
33533
e456826d
JM
33534 [BZ #13841]
33535 * math/s_csqrt.c: Include <float.h>.
33536 (__csqrt): Scale large or subnormal inputs.
33537 * math/s_csqrtf.c: Likewise.
33538 * math/s_csqrtl.c: Likewise.
33539 * math/libm-test.inc (csqrt_test): Add more tests.
33540 * sysdeps/i386/fpu/libm-test-ulps: Update.
33541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33542
aa4a2ae1
JM
33543 [BZ #13840]
33544 * math/libm-test.inc (hypot_test): Add more tests.
33545
7c10fd35
DM
335462012-03-13 David S. Miller <davem@davemloft.net>
33547
33548 [BZ #13840]
33549 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33550 double-precision for the calculation instead of scaling.
33551
f453b98b
JM
335522012-03-13 Joseph Myers <joseph@codesourcery.com>
33553
33554 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33555 manipulate bits before adding and subtracting TWO52[sx].
33556 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33558 Likewise.
33559 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33560
09a3453f
DM
335612012-03-13 David S. Miller <davem@davemloft.net>
33562
8e59da90
DM
33563 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33564 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33566 rtld-global-offsets.h
33567 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33568
2a8ab7f2
DM
33569 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33570 large parameters.
33571
10f62770
DM
33572 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33573
5f0bdb18
DM
33574 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33575 'err' in the ifdef scope in which it is actually used.
33576
09a3453f
DM
33577 * nss/nss_db/db-init.c: Include string.h
33578
b4b2eb5e
DM
335792012-03-12 David S. Miller <davem@davemloft.net>
33580
98bb2f1c
DM
33581 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33582 masking out of the most significant byte of random value used.
33583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33584 Fix coding style in previous change.
33585
b4b2eb5e
DM
33586 * sysdeps/unix/sysv/linux/kernel-features.h
33587 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33588 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33589 expression.
33590 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33591 later.
33592
6e226b09
DM
335932012-03-11 David S. Miller <davem@davemloft.net>
33594
a1bcbd40
DM
33595 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33596 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33597 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33598 for 'resultvar' otherwise things get truncated on 64-bit.
33599
cb9d6174
DM
33600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33601 Fix masking out of the most significant byte of random value used.
33602
6e226b09
DM
33603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33604
058c132d
AS
336052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33606
33607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33608
2d2cd515
DM
336092012-03-09 David S. Miller <davem@davemloft.net>
33610
33611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33612 variables with appropriate CPP guards.
33613 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33614 frame pointer, not the stack pointer. Correct layout comments. Fix test
33615 on resulting framesize and the management of the outregs buffer for pltexit.
33616 Preserve floating point return values across _dl_call_pltexit call.
33617 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33618 framesize and the management of the outregs buffer for pltexit.
33619 Preserve floating point return values across _dl_call_pltexit
33620 call.
33621 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33622 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33623 (print_exit): Fix format string for return register value.
33624
9a07f9d0
JM
336252012-03-10 Joseph Myers <joseph@codesourcery.com>
33626
33627 * sunrpc/Makefile (others): Add rpcgen.
33628 ($(objpfx)rpcgen): Remove special build rule and dependency on
33629 libc.
33630 * sunrpc/rpcgen.c: New file.
33631
547b5e30
PE
336322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33633
c524201a
PE
33634 [BZ #13673]
33635 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33636 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33637 * sysdeps/i386/crti.S: Likewise.
33638 * sysdeps/i386/crtn.S: Likewise.
33639 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33640 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33641 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33642 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33643 * sysdeps/sh/crti.S: Likewise.
33644 * sysdeps/sh/crtn.S: Likewise.
33645 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33646
7b6235f2
PE
33647 [BZ #13673]
33648 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33649 with URL.
33650 * locale/programs/locfile-kw.gperf: Likewise.
33651 * locale/programs/charmap-kw.h: Regenerated.
33652 * locale/programs/locfile-kw.h: Likewise.
33653
547b5e30
PE
33654 [BZ #13673]
33655 * intl/plural.y: Replace FSF snail mail address with URL.
33656 * intl/plural.c: Regenerated.
33657
5f0a5dae
RH
336582012-03-09 Richard Henderson <rth@twiddle.net>
33659
33660 * include/math_private.h: Remove file.
33661 * math/math_private.h: Move file ...
33662 * sysdeps/generic/math_private.h: ... here.
33663
b8c03620
RH
33664 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33665 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33666 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33667
4e234f5d 33668 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33669 and <math_private.h>.
33670 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33671 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33672 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33673 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33674 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33758 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33759 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33761 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33762 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33763 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33764 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33765 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33766 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33767 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33768 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33769 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33770 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33771 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33772 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33773 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33774 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33775 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33776 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33777 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33778 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33779 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33780 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33781 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33782 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33783 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33784 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33785 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33786 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33787 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33788 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33789 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33790 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33791 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33792 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33793 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33794 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33795 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33796 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33797 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33798 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33799 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33800 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33801 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33802 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33803 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33804 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33805 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33806 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33807 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33808 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33809 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33810 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33811 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33812 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33814 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33816 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33817 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33818 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33819 * sysdeps/ieee754/k_standard.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33935 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33939 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33940 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33942 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33947 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33952 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33968 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33969 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33970 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33980 * sysdeps/ieee754/s_lib_version.c: Likewise.
33981 * sysdeps/ieee754/s_matherr.c: Likewise.
33982 * sysdeps/ieee754/s_signgam.c: Likewise.
33983 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33984 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33985 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33986 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33987 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33988 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33989 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33990 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33991 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33992 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33993 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33994 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33995 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33997 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33998 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33999 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34000 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34001 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34004
1991fa03
JM
340052012-03-09 Joseph Myers <joseph@codesourcery.com>
34006
34007 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34008 * sunrpc/rpc_main.c: Likewise.
34009 * sunrpc/rpc_svcout.c: Likewise.
34010
60d6f5a6
DM
340112012-03-09 David S. Miller <davem@davemloft.net>
34012
34013 * include/math_private.h: New file.
34014
4962050e
JM
340152012-03-09 Joseph Myers <joseph@codesourcery.com>
34016
02a6f887
JM
34017 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34018 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34019 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34020 from <bits/socket_type.h>.
34021 (enum __socket_type): Don't define here.
34022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34024 bits/socket_type.h.
34025
c6e013c1
JM
34026 [BZ #13566]
34027 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34028 checking __USE_GNU.
34029
4962050e
JM
34030 * Makerules ($(inst_includedir)/%.h): New rule.
34031 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34032 (install-others): Remove variable setting.
34033 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34034
38842f45
RH
340352012-03-08 Richard Henderson <rth@twiddle.net>
34036
67bb6da6
RH
34037 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34038 from macro to inline function; merge with the
34039 !__LIBC_INTERNAL_MATH_INLINES version.
34040 (__ieee754_sqrtf): Likewise.
34041
15194b4b
RH
34042 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34043 to inline function.
34044 (__rintf, __floor, __floorf): Likewise.
34045
64e21ede
RH
34046 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34047 macro to inline function.
34048 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34049
38842f45
RH
34050 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34051 not <math/math_private.h>.
34052
c64bf5fe
DM
340532012-03-08 David S. Miller <davem@davemloft.net>
34054
34055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34056 copyright year.
34057 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34058
82d86f28
TS
340592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34060
34061 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34062 normalization.
34063 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34064 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34065
aea5d727
UD
340662012-03-08 Ulrich Drepper <drepper@gmail.com>
34067
34068 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34069 be defined individually, they must be defined as a block. Define
34070 S for printing a string instead of hidint the different by using a
34071 macro for adding the 'l'.
34072 * stdio-common/tst-fphex-wide.c: Adjust.
34073
70bca0a3
MP
340742012-03-07 Marek Polacek <polacek@redhat.com>
34075
34076 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34077
65b81130
MP
340782012-03-08 Marek Polacek <polacek@redhat.com>
34079
34080 [BZ #13806]
34081 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34082 * stdio-common/tst-fphex.c: Define a few macros to make the
34083 test reusable. Use them.
34084 * stdio-common/tst-fphex-wide.c: New file.
34085
07037eeb
JM
340862012-03-08 Joseph Myers <joseph@codesourcery.com>
34087
a7a93d50
JM
34088 [BZ #6911]
34089 * manual/macros.texi (gnusystems): New macro.
34090 (nongnusystems): Likewise.
34091 (gnulinuxhurdsystems): Likewise.
34092 (gnuhurdsystems): Likewise..
34093 (gnulinuxsystems): Likewise.
34094 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34095 variants of the GNU system, not "GNU system".
34096 * manual/conf.texi: Likewise.
34097 * manual/errno.texi: Likewise. Update example of errno macro
34098 expansion.
34099 * manual/filesys.texi: Likewise.
34100 (getumask): Document as specific to GNU/Hurd.
34101 * manual/install.texi: Likewise. Reword some references to
34102 GNU/Linux.
34103 * manual/intro.texi: Likewise.
34104 * manual/io.texi: Likewise.
34105 (File Name Portability): Detail which constraints are inapplicable
34106 to all GNU systems and which are only inapplicable to GNU/Hurd.
34107 * manual/job.texi: Likewise.
34108 * manual/llio.texi: Likewise.
34109 (O_NOCTTY): Document as present on GNU/Linux.
34110 * manual/maint.texi: Likewise.
34111 * manual/memory.texi: Likewise.
34112 * manual/pattern.texi: Likewise.
34113 * manual/pipe.texi: Likewise.
34114 * manual/process.texi: Likewise.
34115 * manual/resource.texi: Likewise.
34116 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34117 child on GNU/Hurd.
34118 * manual/setjmp.texi: Likewise.
34119 * manual/signal.texi: Likewise.
34120 * manual/startup.texi: Likewise.
34121 * manual/stdio.texi: Likewise.
34122 * manual/terminal.texi: Likewise.
34123 (ONLCR): Document as POSIX.
34124 (OXTABS): Document availability on GNU/Linux as XTABS.
34125 (ONOEOT): Document availability separately from other bits.
34126 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34127 * manual/time.texi: Likewise.
34128 * manual/users.texi: Likewise.
34129 * INSTALL: Regenerated.
34130 * sysdeps/gnu/errlist.c: Regenerated.
34131
07037eeb
JM
34132 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34133 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34134 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34135 puts.
34136 * configure: Regenerated.
34137
d1d3431a
JM
341382012-03-07 Joseph Myers <joseph@codesourcery.com>
34139
af6a1e37
JM
34140 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34141 default includes instead of AC_HEADER_CHECK.
34142 * sysdeps/i386/configure: Regenerated.
34143
d1d3431a
JM
34144 [BZ #10716]
34145 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34146 * math/s_cacoshf.c (__cacoshf): Likewise.
34147 * math/s_cacoshl.c (__cacoshl): Likewise.
34148 * math/s_casinh.c (__casinh): Set signs of result from argument.
34149 * math/s_casinhf.c (__casinhf): Likewise.
34150 * math/s_casinhl.c (__casinhl): Likewise.
34151 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34152 (casinh_test): Add more tests.
34153 * sysdeps/i386/fpu/libm-test-ulps: Update.
34154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34155
482ff4da
UD
341562012-03-07 Ulrich Drepper <drepper@gmail.com>
34157
872fda05
UD
34158 * po/zh_TW.po: Update from translation team.
34159
a4300c7a
UD
34160 * login/Makefile (distribute): Remove variable.
34161 * catgets/Makefile: Likewise.
34162 * mach/Makefile: Likewise.
34163 * malloc/Makefile: Likewise.
34164 * misc/Makefile: Likewise.
34165 * iconv/Makefile: Likewise.
34166 * nscd/Makefile: Likewise.
34167 * hurd/Makefile: Likewise.
34168 * manual/Makefile: Likewise.
34169 * locale/Makefile: Likewise.
34170 * intl/Makefile: Likewise.
34171 * conform/Makefile: Likewise.
34172 * nss/Makefile: Likewise.
34173 * time/Makefile: Likewise.
34174 * soft-fp/Makefile: Likewise.
34175 * dirent/Makefile: Likewise.
34176 * gmon/Makefile: Likewise.
34177 * po/Makefile: Likewise.
34178 * rt/Makefile: Likewise.
34179 * socket/Makefile: Likewise.
34180 * math/Makefile: Likewise.
34181 * signal/Makefile: Likewise.
34182 * debug/Makefile: Likewise.
34183 * elf/Makefile: Likewise.
34184 * timezone/Makefile: Likewise.
34185 * stdlib/Makefile: Likewise.
34186 * iconvdata/Makefile: Likewise.
34187 * sunrpc/Makefile: Likewise.
34188 * io/Makefile: Likewise.
34189 * argp/Makefile: Likewise.
34190 * inet/Makefile: Likewise.
34191 * hesiod/Makefile: Likewise.
34192 * grp/Makefile: Likewise.
34193 * csu/Makefile: Likewise.
34194 * wctype/Makefile: Likewise.
34195 * crypt/Makefile: Likewise.
34196 * libio/Makefile: Likewise.
34197 * string/Makefile: Likewise.
34198 * nis/Makefile: Likewise.
34199 * resolv/Makefile: Likewise.
34200 * stdio-common/Makefile: Likewise.
34201 * wcsmbs/Makefile: Likewise.
34202 * dlfcn/Makefile: Likewise.
34203 * posix/Makefile: Likewise.
34204
3b7c4e74 34205 [BZ #6959]
482ff4da
UD
34206 * timezone/Makefile: Don't install timezone files, just the programs
34207 and scripts.
34208
f72ed77d
UD
342092012-03-06 Ulrich Drepper <drepper@gmail.com>
34210
a000466f
UD
34211 * nss/databases.def: Add missing gshadow entry.
34212
f72ed77d
UD
34213 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34214
a53b7a4e
MP
342152012-03-06 Marek Polacek <polacek@redhat.com>
34216
34217 [BZ #13726]
34218 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34219 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34220 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34221 * stdio-common/tst-long-dbl-fphex.c: New file.
34222
e9258400
DM
342232012-03-06 David S. Miller <davem@davemloft.net>
34224
34225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34226 (set_obp_int): New function.
34227 (get_obp_int): New function.
34228 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34230 Avoid unused variable warnings on 'val' and use builtin_expect.
34231 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34232 __builtin_expect.
e9258400
DM
34233 (INLINE_CLONE_SYSCALL): Likewise.
34234
3bd2c723
DM
342352012-03-05 David S. Miller <davem@davemloft.net>
34236
34237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34238
bbb78d03
AS
342392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34240
884c5db4
AS
34241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34242
bbb78d03
AS
34243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34244 only for |x| >= 40.
34245 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34246
1c9f702a 342472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34248
34249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34250 Replace gettimeofday with __vdso_gettimeofday.
34251
7be16f82
RM
34252 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34253 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34254 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34255
34256 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34257 time with __vdso_time.
34258
ed58a00f
JM
342592012-03-05 Joseph Myers <joseph@codesourcery.com>
34260
34261 * manual/lang.texi (size_t): Note types to which size_t may be
34262 equivalent with the GNU C Library, but do not describe when
34263 differences between them are significant.
34264
30ee4ced
AJ
342652012-03-05 Andreas Jaeger <aj@suse.de>
34266
34267 * sysdeps/i386/fpu/libm-test-ulps: Update.
34268
b7cd39e8
JM
342692012-03-05 Joseph Myers <joseph@codesourcery.com>
34270
34271 [BZ #3976]
34272 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34273 (__ieee754_pow): Save and restore rounding mode and use
34274 round-to-nearest for main computations.
34275 * math/libm-test.inc (pow_test_tonearest): New function.
34276 (pow_test_towardzero): Likewise.
34277 (pow_test_downward): Likewise.
34278 (pow_test_upward): Likewise.
34279 (main): Call the new functions.
34280 * sysdeps/i386/fpu/libm-test-ulps: Update.
34281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34282
34283 [BZ #3976]
34284 * math/libm-test.inc (cosh_test_tonearest): New function.
34285 (cosh_test_towardzero): Likewise.
34286 (cosh_test_downward): Likewise.
34287 (cosh_test_upward): Likewise.
34288 (sinh_test_tonearest): Likewise.
34289 (sinh_test_towardzero): Likewise.
34290 (sinh_test_downward): Likewise.
34291 (sinh_test_upward): Likewise.
34292 (main): Call the new functions.
34293 * sysdeps/i386/fpu/libm-test-ulps: Update.
34294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34295
6c6a98c9
TV
342962012-03-05 Tom de Vries <tom@codesourcery.com>
34297
34298 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34299 default stack guard is set in last bytes.
34300 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34301
21bb2d2e 343022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34303
21bb2d2e 34304 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34305
21bb2d2e
AJ
34306 [BZ #13656]
34307 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34308 possibly allocate from heap instead of stack.
34309 * stdio-common/bug-vfprintf-nargs.c: New file.
34310 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34311
c6922934
AS
343122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34313
34314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34315
bc957d53
MP
343162012-03-03 Marek Polacek <polacek@redhat.com>
34317
34318 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34319 * math/math_private.h: Likewise.
34320 * stdlib/tst-strtod.c: Likewise.
34321 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34322 * sysdeps/x86_64/bits/atomic.h: Likewise.
34323
6358490d
DM
343242012-03-02 David S. Miller <davem@davemloft.net>
34325
34326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34330 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34331 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34332 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34333 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34334
01ae168d
RM
343352012-03-02 Roland McGrath <roland@hack.frob.com>
34336
d9a17c07
RM
34337 [BZ #13792]
34338 * manual/examples/README: New file, says the example source files
34339 can be used under GPL>=2.
34340 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34341 line containing just "*/".
34342 * manual/examples/add.c: Add copyright header (GPL>=2).
34343 * manual/examples/argp-ex1.c: Likewise.
34344 * manual/examples/argp-ex2.c: Likewise.
34345 * manual/examples/argp-ex3.c: Likewise.
34346 * manual/examples/argp-ex4.c: Likewise.
34347 * manual/examples/atexit.c: Likewise.
34348 * manual/examples/db.c: Likewise.
34349 * manual/examples/dir.c: Likewise.
34350 * manual/examples/dir2.c: Likewise.
34351 * manual/examples/execinfo.c: Likewise.
34352 * manual/examples/filecli.c: Likewise.
34353 * manual/examples/filesrv.c: Likewise.
34354 * manual/examples/fmtmsgexpl.c: Likewise.
34355 * manual/examples/genpass.c: Likewise.
34356 * manual/examples/inetcli.c: Likewise.
34357 * manual/examples/inetsrv.c: Likewise.
34358 * manual/examples/isockad.c: Likewise.
34359 * manual/examples/longopt.c: Likewise.
34360 * manual/examples/memopen.c: Likewise.
34361 * manual/examples/memstrm.c: Likewise.
34362 * manual/examples/mkfsock.c: Likewise.
34363 * manual/examples/mkisock.c: Likewise.
34364 * manual/examples/mygetpass.c: Likewise.
34365 * manual/examples/pipe.c: Likewise.
34366 * manual/examples/popen.c: Likewise.
34367 * manual/examples/rprintf.c: Likewise.
34368 * manual/examples/search.c: Likewise.
34369 * manual/examples/select.c: Likewise.
34370 * manual/examples/setjmp.c: Likewise.
34371 * manual/examples/sigh1.c: Likewise.
34372 * manual/examples/sigusr.c: Likewise.
34373 * manual/examples/stpcpy.c: Likewise.
34374 * manual/examples/strdupa.c: Likewise.
34375 * manual/examples/strftim.c: Likewise.
34376 * manual/examples/strncat.c: Likewise.
34377 * manual/examples/subopt.c: Likewise.
34378 * manual/examples/swapcontext.c: Likewise.
34379 * manual/examples/termios.c: Likewise.
34380 * manual/examples/testopt.c: Likewise.
34381 * manual/examples/testpass.c: Likewise.
34382 * manual/examples/timeval_subtract.c: Likewise.
34383
01ae168d
RM
34384 [BZ #13792]
34385 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34386 function to ...
34387 * manual/timeval_subtract.c.texi: ... here, new file.
34388
49efa33d
DM
343892012-03-02 David S. Miller <davem@davemloft.net>
34390
34391 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34392
28afd92d
JM
343932012-03-02 Joseph Myers <joseph@codesourcery.com>
34394
804360ed
JM
34395 [BZ #3976]
34396 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34397 (__sin): Save and restore rounding mode and use round-to-nearest
34398 for all computations.
34399 (__cos): Save and restore rounding mode and use round-to-nearest
34400 for all computations.
34401 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34402 <fenv.h>.
34403 (tan): Save and restore rounding mode and use round-to-nearest for
34404 all computations.
34405 * math/libm-test.inc (cos_test_tonearest): New function.
34406 (cos_test_towardzero): Likewise.
34407 (cos_test_downward): Likewise.
34408 (cos_test_upward): Likewise.
34409 (sin_test_tonearest): Likewise.
34410 (sin_test_towardzero): Likewise.
34411 (sin_test_downward): Likewise.
34412 (sin_test_upward): Likewise.
34413 (tan_test_tonearest): Likewise.
34414 (tan_test_towardzero): Likewise.
34415 (tan_test_downward): Likewise.
34416 (tan_test_upward): Likewise.
34417 (main): Call the new functions.
34418 * sysdeps/i386/fpu/libm-test-ulps: Update.
34419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34420
a6d06d7b
JM
34421 [BZ #10135]
34422 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34423 small n, then large n, before computing and testing k+n.
34424 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34426 Likewise.
34427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34428 Likewise.
34429 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34430 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34431 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34432 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34433 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34434 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34435 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34436 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34437 * math/libm-test.inc (scalbn_test): Add more tests.
34438 (scalbln_test): Likewise.
34439
07e12bb3
JM
34440 * manual/filesys.texi (mode_t): Describe constraints on size and
34441 signedness, not exact equivalence to a particular type.
34442 (ino_t): Likewise.
34443 (ino64_t): Likewise.
34444 (dev_t): Likewise.
34445 (nlink_t): Likewise.
34446 (blkcnt_t): Likewise.
34447 (blkcnt64_t): Likewise.
34448 * manual/llio.texi (off_t): Likewise.
34449
28afd92d
JM
34450 [BZ #3976]
34451 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34452 (__ieee754_exp): Save and restore rounding mode and use
34453 round-to-nearest for all computations.
34454 * math/libm-test.inc (exp_test_tonearest): New function.
34455 (exp_test_towardzero): Likewise.
34456 (exp_test_downward): Likewise.
34457 (exp_test_upward): Likewise.
34458 (main): Call the new functions.
34459 * sysdeps/i386/fpu/libm-test-ulps: Update.
34460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34461
b1eeb65d
CD
344622012-03-01 Chris Demetriou <cgd@google.com>
34463
34464 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34465 have predictable order.
34466
53362a4b
DM
344672012-03-01 David S. Miller <davem@davemloft.net>
34468
3c969083
DM
34469 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34470
759707de
DM
34471 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34472 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34473 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34474 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34475
dfdb8ff2
DM
34476 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34477 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34478 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34480 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34481 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34482 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34483 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34484 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34485
ead89f96
DM
34486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34487
7f66bd07
DM
34488 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34489 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34490 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34491
53362a4b
DM
34492 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34493 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34494 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34495 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34496 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34497 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34498 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34499 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34500 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34501 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34502 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34503 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34505 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34506 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34507 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34508 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34509 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34510 * sysdeps/sparc/elf/configure: Regenerated.
34511
7b1902cb
JM
345122012-03-01 Joseph Myers <joseph@codesourcery.com>
34513
bec039bc
JM
34514 * configure.in (AS, LD): Require binutils 2.20 or later.
34515 * configure: Regenerated.
34516 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34517 as required minimum version.
34518 * INSTALL: Regenerated.
34519
7b1902cb
JM
34520 [BZ #2541]
34521 [BZ #4108]
34522 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34523 before squaring exponent.
34524 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34525 bottom long double and 27 bits of top long double before squaring
34526 exponent.
34527 * math/libm-test.inc (erfc_test): Add more tests.
34528 * sysdeps/i386/fpu/libm-test-ulps: Update.
34529 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34531
f775c276
KT
345322012-03-01 Kai Tietz <ktietz@redhat.com>
34533
34534 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34535 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34536 containing bit-fields.
34537 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34538 * soft-fp/single.h (_FP_UNION_S): Likewise.
34539 * soft-fp/double.h (_FP_UNION_D): Likewise.
34540
5b8a4d4a
JM
345412012-02-29 Joseph Myers <joseph@codesourcery.com>
34542
0bab47b6
JM
34543 [BZ #13786]
34544 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34545 not include ../strcmp.S.
34546 [USE_AS_STRNCASECMP_L]: Likewise.
34547 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34548 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34549 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34550 (__strncasecmp_l_ia32): Define as alias to
34551 __strncasecmp_l_nonascii.
34552
0fcad3e2
JM
34553 [BZ #5794]
34554 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34555 * sysdeps/i386/fpu/libm-test-ulps: Update.
34556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34557
5b8a4d4a
JM
34558 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34560
8fdceb2e
JL
345612012-02-29 Jeff Law <law@redhat.com>
34562
34563 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34564 out of bounds read.
34565
1f393a11
MP
345662012-02-29 Marek Polacek <polacek@redhat.com>
34567
34568 [BZ #13706]
34569 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34570 * elf/Makefile: Add rules to run tst-unused-dep.out.
34571
8847f037
DM
345722012-02-28 David S. Miller <davem@davemloft.net>
34573
34574 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34575 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34576 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34578 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34579 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34580
169d7f11
JM
345812012-02-29 Joseph Myers <joseph@codesourcery.com>
34582
34583 * math/libm-test.inc (llround_test): Move one test from
34584 lround_test. Use TEST_f_L in moved test.
34585 (lround_test): Move misplaced test to llround_test. Add testcase
34586 from bug 2561.
34587
39adf059
UD
345882012-02-28 Ulrich Drepper <drepper@gmail.com>
34589
34590 * sysdeps/x86_64/fpu/e_expf.S: New file.
34591 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34592
71b5d1c5
SB
345932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34594
34595 [BZ #13637]
34596 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34597 of remain_len that may cause incomplete multi-byte character and
34598 false match.
34599 * posix/bug-regex33.c: New file.
34600 * posix/Makefile (tests): Add bug-regex33.
34601
1f77f049
JM
346022012-02-28 Joseph Myers <joseph@codesourcery.com>
34603
34604 * manual/macros.texi: New file.
34605 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34606 * manual/libc.texinfo: Include macros.texi.
34607 * manual/creatute.texi: Likewise.
34608 * manual/install.texi: Likewise.
34609 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34610 @glibcadj{} in references to the GNU C Library.
34611 * manual/charset.texi: Likewise.
34612 * manual/conf.texi: Likewise.
34613 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34614 when not using those macros.
34615 * manual/creature.texi: Likewise.
34616 * manual/crypt.texi: Likewise.
34617 * manual/errno.texi: Likewise.
34618 * manual/filesys.texi: Likewise.
34619 * manual/header.texi: Likewise.
34620 * manual/install.texi: Likewise.
34621 * manual/intro.texi: Likewise.
34622 * manual/io.texi: Likewise.
34623 * manual/job.texi: Likewise.
34624 * manual/lang.texi: Likewise.
34625 * manual/libc.texiinfo: Likewise.
34626 * manual/llio.texi: Likewise.
34627 * manual/locale.texi: Likewise.
34628 * manual/maint.texi: Likewise.
34629 * manual/math.texi: Likewise.
34630 * manual/memory.texi: Likewise.
34631 * manual/message.texi: Likewise.
34632 * manual/nss.texi: Likewise.
34633 * manual/pattern.texi: Likewise.
34634 * manual/process.texi: Likewise.
34635 * manual/resource.texi: Likewise.
34636 * manual/search.texi: Likewise.
34637 * manual/setjmp.texi: Likewise.
34638 * manual/signal.texi: Likewise.
34639 * manual/socket.texi: Likewise.
34640 * manual/startup.texi: Likewise.
34641 * manual/stdio.texi: Likewise.
34642 * manual/string.texi: Likewise.
34643 * manual/sysinfo.texi: Likewise.
34644 * manual/syslog.texi: Likewise.
34645 * manual/terminal.texi: Likewise.
34646 * manual/time.texi: Likewise.
34647 * manual/users.texi: Likewise.
34648 * INSTALL: Regenerated.
34649 * NOTES: Regenerated.
d40c5d54 34650 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34651
450bf206
AS
346522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34653
34654 * include/dirent.h: Include <dirstream.h> before
34655 <dirent/dirent.h>.
34656
741a235b
DM
346572012-02-28 David S. Miller <davem@davemloft.net>
34658
34659 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34660 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34661 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34662 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34663
d6b5aa58
DM
346642012-02-27 David S. Miller <davem@davemloft.net>
34665
1aff59a3
DM
34666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34668 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34669 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34670
d6b5aa58
DM
34671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34672 frame pointer instead of stack pointer relative arg slot.
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34674 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34675 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34676
433f48bf
CD
346772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34678
34679 [BZ #3992]
34680 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34681
d674b76d
DM
346822012-02-27 David S. Miller <davem@davemloft.net>
34683
34684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34688 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34689 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34690 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34691 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34692
0e7727f7
JM
346932012-02-27 Joseph Myers <joseph@codesourcery.com>
34694
34695 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34696 later. Allow versions 5-9.
43be4ca2 34697 * configure: Regenerated.
0e7727f7
JM
34698 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34699 required minimum version and 4.6 as recommended version. Do not
34700 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34701 * INSTALL: Regenerated.
0e7727f7 34702
a78bc654
DM
347032012-02-27 David S. Miller <davem@davemloft.net>
34704
428d5830
DM
34705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34709 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34710 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34711 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34712 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34713
a78bc654
DM
34714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34715 manipulate bits before adding and subtracting TWO112[sx].
34716 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34717
4579f81c
RM
347182012-02-27 Roland McGrath <roland@hack.frob.com>
34719
36c8acb4
RM
34720 [BZ #13775]
34721 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34722 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34723 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34724 being in POSIX, because they are in 1003.1-2008.
34725
84ad622b
RM
34726 * rt/tst-aio.c: Include <fcntl.h>.
34727 * rt/tst-aio7.c: Likewise.
34728 * rt/tst-aio64.c: Likewise.
34729
4579f81c
RM
34730 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34731
abd923db
JM
347322012-02-27 Joseph Myers <joseph@codesourcery.com>
34733
34734 * manual/install.texi (--with-headers): Describe headers as
34735 interface headers, not private headers.
34736 (Specific advice for GNU/Linux systems): Describe use of headers
34737 from "make headers_install", not private headers from older
34738 kernels.
43be4ca2 34739 * INSTALL: Regenerated.
abd923db
JM
34740 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34741 Change to 2.6.19.
34742 * sysdeps/unix/sysv/linux/configure: Regenerated.
34743
6664049b
JM
34744 * manual/llio.texi (fclean): Remove documentation.
34745
bb8b6697
JM
34746 * manual/Makefile (libc-texi-generated): New variable. Include
34747 version.texi.
34748 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34749 $(libc-texi-generated), not duplicated list of files.
34750 (version.texi, stamp-version): New rules.
34751 (realclean): Remove $(libc-texi-generated), not individual files
34752 from that list. Do not remove dir-add.texinfo.
34753 * manual/libc.texinfo: Comment out uses of edition numbers and
34754 references to printed manual. Remove last-updated dates.
34755 (EDITION): Comment out.
34756 (ISBN): Likewise.
34757 (VERSION, UPDATED): Remove.
34758 (version.texi): Include.
34759
12e5c3b9
AS
347602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34761
34762 * sysdeps/posix/spawni.c: Include <signal.h>.
34763 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34764 * sysdeps/pthread/aio_fsync.c: Likewise.
34765
4efeffc1 347662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34767
ba63ba08
UD
34768 * conform/Makefile (tests): Run only when not cross-compiling and
34769 when fast-check is not defined.
34770
d94a4670
UD
34771 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34772 * conform/data/limits.h-data: Fixes for POSIX2008.
34773 * conform/run-conformtest.sh: Run all tests.
34774 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34775 headers.
34776 * include/bits/dlfcn.h: Likewise.
34777 * include/langinfo.h: Likewise.
34778 * include/monetary.h: Likewise.
34779 * include/sys/poll.h: Likewise.
34780
34781 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34782 for __USE_GNU.
34783 * posix/spawn.h: Define __need_sigset_t.
34784 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34785 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34786 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34787 to get sigevent_t only.
34788 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34789 only for __USE_GNU.
34790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34791 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34792 process_vm_writev only for __USE_GNU.
34793 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34794
34795 * conform/Makefile: For now ignore errors from run-conformtest.
34796 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34797 POSIX to avoid namespace pollution. Don't prepend headers.
34798 * conform/data/aio.h-data: Fixes for POSIX testing.
34799 * conform/data/fcntl.h-data: Likewise.
34800 * conform/data/glob.h-data: Likewise.
34801 * conform/data/grp.h-data: Likewise.
34802 * conform/data/pthread.h-data: Likewise.
34803 * conform/data/pwd.h-data: Likewise.
34804 * conform/data/signal.h-data: Likewise.
34805 * conform/data/spawn.h-data: Likewise.
34806 * conform/data/stdio.h-data: Likewise.
34807 * conform/data/stdlib.h-data: Likewise.
34808 * conform/data/stropts.h-data: Likewise.
34809 * conform/data/sys/mman.h-data: Likewise.
34810 * conform/data/sys/stat.h-data: Likewise.
34811 * conform/data/sys/types.h-data: Likewise.
34812 * conform/data/sys/wait.h-data: Likewise.
34813 * conform/data/time.h-data: Likewise.
34814 * conform/data/unistd.h-data: Likewise.
34815 * conform/data/utime.h-data: Likewise.
34816
34817 * io/sys/stat.h: fchmod was always in POSIX.
34818 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34819 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34820 * rt/aio.h: Define __need_timespec before including <time.h>.
34821 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34822 struct. Add forward declaration of pthread_attr_t and use it in
34823 sigevent.
34824 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34826 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34827 always remove CLK_TCK definition.
34828
c20105c3
AS
348292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34830
34831 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34832
7a270350
UD
348332012-02-25 Ulrich Drepper <drepper@gmail.com>
34834
31341567
UD
34835 * conform/run-conformtest.sh: New file.
34836 * conform/Makefile: Run run-conformtest for tests.
34837 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34838 support.
34839
34840 * conform/data/uchar.h-data: New file.
34841 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34842 * conform/data/arpa/inet.h-data: Likewise.
34843 * conform/data/assert.h-data: Likewise.
34844 * conform/data/complex.h-data: Likewise.
34845 * conform/data/cpio.h-data: Likewise.
34846 * conform/data/ctype.h-data: Likewise.
34847 * conform/data/dirent.h-data: Likewise.
34848 * conform/data/dlfcn.h-data: Likewise.
34849 * conform/data/errno.h-data: Likewise.
34850 * conform/data/fcntl.h-data: Likewise.
34851 * conform/data/float.h-data: Likewise.
34852 * conform/data/fmtmsg.h-data: Likewise.
34853 * conform/data/fnmatch.h-data: Likewise.
34854 * conform/data/ftw.h-data: Likewise.
34855 * conform/data/glob.h-data: Likewise.
34856 * conform/data/grp.h-data: Likewise.
34857 * conform/data/iconv.h-data: Likewise.
34858 * conform/data/inttypes.h-data: Likewise.
34859 * conform/data/langinfo.h-data: Likewise.
34860 * conform/data/libgen.h-data: Likewise.
34861 * conform/data/limits.h-data: Likewise.
34862 * conform/data/locale.h-data: Likewise.
34863 * conform/data/math.h-data: Likewise.
34864 * conform/data/monetary.h-data: Likewise.
34865 * conform/data/mqueue.h-data: Likewise.
34866 * conform/data/ndbm.h-data: Likewise.
34867 * conform/data/net/if.h-data: Likewise.
34868 * conform/data/netdb.h-data: Likewise.
34869 * conform/data/netinet/in.h-data: Likewise.
34870 * conform/data/nl_types.h-data: Likewise.
34871 * conform/data/poll.h-data: Likewise.
34872 * conform/data/pthread.h-data: Likewise.
34873 * conform/data/pwd.h-data: Likewise.
34874 * conform/data/regex.h-data: Likewise.
34875 * conform/data/sched.h-data: Likewise.
34876 * conform/data/search.h-data: Likewise.
34877 * conform/data/semaphore.h-data: Likewise.
34878 * conform/data/setjmp.h-data: Likewise.
34879 * conform/data/signal.h-data: Likewise.
34880 * conform/data/spawn.h-data: Likewise.
34881 * conform/data/stdarg.h-data: Likewise.
34882 * conform/data/stdio.h-data: Likewise.
34883 * conform/data/stdlib.h-data: Likewise.
34884 * conform/data/string.h-data: Likewise.
34885 * conform/data/strings.h-data: Likewise.
34886 * conform/data/stropts.h-data: Likewise.
34887 * conform/data/sys/ipc.h-data: Likewise.
34888 * conform/data/sys/mman.h-data: Likewise.
34889 * conform/data/sys/msg.h-data: Likewise.
34890 * conform/data/sys/resource.h-data: Likewise.
34891 * conform/data/sys/select.h-data: Likewise.
34892 * conform/data/sys/sem.h-data: Likewise.
34893 * conform/data/sys/shm.h-data: Likewise.
34894 * conform/data/sys/socket.h-data: Likewise.
34895 * conform/data/sys/stat.h-data: Likewise.
34896 * conform/data/sys/statvfs.h-data: Likewise.
34897 * conform/data/sys/time.h-data: Likewise.
34898 * conform/data/sys/timeb.h-data: Likewise.
34899 * conform/data/sys/times.h-data: Likewise.
34900 * conform/data/sys/types.h-data: Likewise.
34901 * conform/data/sys/uio.h-data: Likewise.
34902 * conform/data/sys/un.h-data: Likewise.
34903 * conform/data/sys/utsname.h-data: Likewise.
34904 * conform/data/sys/wait.h-data: Likewise.
34905 * conform/data/syslog.h-data: Likewise.
34906 * conform/data/tar.h-data: Likewise.
34907 * conform/data/termios.h-data: Likewise.
34908 * conform/data/utime.h-data: Likewise.
34909 * conform/data/utmpx.h-data: Likewise.
34910 * conform/data/varargs.h-data: Likewise.
34911 * conform/data/wchar.h-data: Likewise.
34912 * conform/data/wctype.h-data: Likewise.
34913 * conform/data/wordexp.h-data: Likewise.
34914
34915 * include/stropts.h: New file.
34916 * include/uchar.h: New file.
34917 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34918 * include/assert.h: Likewise.
34919 * include/ctype.h: Likewise.
34920 * include/dirent.h: Likewise.
34921 * include/dlfcn.h: Likewise.
34922 * include/fcntl.h: Likewise.
34923 * include/fnmatch.h: Likewise.
34924 * include/glob.h: Likewise.
34925 * include/grp.h: Likewise.
34926 * include/libio.h: Likewise.
34927 * include/locale.h: Likewise.
34928 * include/math.h: Likewise.
34929 * include/net/if.h: Likewise.
34930 * include/netdb.h: Likewise.
34931 * include/netinet/in.h: Likewise.
34932 * include/pthread.h: Likewise.
34933 * include/pwd.h: Likewise.
34934 * include/regex.h: Likewise.
34935 * include/sched.h: Likewise.
34936 * include/search.h: Likewise.
34937 * include/setjmp.h: Likewise.
34938 * include/signal.h: Likewise.
34939 * include/stdio.h: Likewise.
34940 * include/stdlib.h: Likewise.
34941 * include/string.h: Likewise.
34942 * include/sys/cdefs.h: Likewise.
34943 * include/sys/mman.h: Likewise.
34944 * include/sys/msg.h: Likewise.
34945 * include/sys/resource.h: Likewise.
34946 * include/sys/select.h: Likewise.
34947 * include/sys/socket.h: Likewise.
34948 * include/sys/stat.h: Likewise.
34949 * include/sys/statvfs.h: Likewise.
34950 * include/sys/time.h: Likewise.
34951 * include/sys/times.h: Likewise.
34952 * include/sys/uio.h: Likewise.
34953 * include/sys/utsname.h: Likewise.
34954 * include/sys/wait.h: Likewise.
34955 * include/termios.h: Likewise.
34956 * include/time.h: Likewise.
34957 * include/ulimit.h: Likewise.
34958 * include/unistd.h: Likewise.
34959 * include/utime.h: Likewise.
34960 * include/wchar.h: Likewise.
34961 * include/wctype.h: Likewise.
34962 * include/wordexp.h: Likewise.
34963
34964 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34965
7a270350
UD
34966 * time/time.h: TIME_UTC must be a macro.
34967 Make timespec_get available for ISO C11 only as well.
34968
7724defc
UD
349692012-02-24 Ulrich Drepper <drepper@gmail.com>
34970
34971 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34972 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34973
6b1d1d46
JM
349742012-02-24 Joseph Myers <joseph@codesourcery.com>
34975
34976 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34977
0f8bbd69
JM
349782012-02-24 Joseph Myers <joseph@codesourcery.com>
34979
34980 * manual/texinfo.tex: Update to version 2012-01-19.16.
34981
66ab80bc
JM
349822012-02-24 Joseph Myers <joseph@codesourcery.com>
34983
34984 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34985
74981cc5
RM
349862012-02-24 Roland McGrath <roland@hack.frob.com>
34987
ee968201
RM
34988 [BZ #13738]
34989 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34990 * manual/fdl-1.3.texi: New file.
34991 * manual/fdl-1.1.texi: File removed.
34992
74981cc5
RM
34993 [BZ #13738]
34994 * manual/libc.texinfo (FDL_VERSION): New @set.
34995 Use it for mention of FDL in cover text.
34996 (Documentation License): Use it in @include file name.
34997
7bb764bc
JM
349982012-02-22 Joseph Myers <joseph@codesourcery.com>
34999 Roland McGrath <roland@hack.frob.com>
35000
35001 [BZ #5461]
35002 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
35003 not LONG_LONG_MAX and LONG_LONG_MIN.
35004 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35005 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35006 name.
35007 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35008
6cbeae47
JM
350092012-02-22 Joseph Myers <joseph@codesourcery.com>
35010
35011 [BZ #2547]
35012 [BZ #11365]
35013 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35014 manipulate bits before adding and subtracting TWO23[sx].
35015 * math/libm-test.inc (nearbyint_test): Add more tests.
35016
fe45ce09
JM
350172012-02-22 Joseph Myers <joseph@codesourcery.com>
35018
35019 [BZ #2548]
35020 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35021 bits before adding and subtracting TWO23[sx].
35022 * math/libm-test.inc (rint_test): Add more tests.
35023 (rint_test_tonearest): Likewise.
35024 (rint_test_towardzero): Likewise.
35025 (rint_test_downward): Likewise.
35026 (rint_test_upward: Likewise.
35027
ff3b3d82
JM
350282012-02-22 Joseph Myers <joseph@codesourcery.com>
35029
35030 [BZ #10110]
35031 * include/stdc-predef.h: New file. Extracted from features.h.
35032 * include/features.h: Include stdc-predef.h.
35033 * Makefile (headers): Add stdc-predef.h.
35034 * CONFORMANCE (Compiler limitations): Update.
35035
ef0aab35
JM
350362012-02-22 Joseph Myers <joseph@codesourcery.com>
35037
35038 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35039
58639409
DM
350402012-02-21 David S. Miller <davem@davemloft.net>
35041
35042 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35043 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35044
c0e70b25
DM
350452012-02-20 David S. Miller <davem@davemloft.net>
35046
35047 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35048 using a normal save/restore sequence, rather than allocating a
35049 dummy stack frame just to store a frame pointer and restore.
35050 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35051
fb06851d
JM
350522012-02-21 Joseph Myers <joseph@codesourcery.com>
35053
35054 * manual/install.texi: Fix stray word in line-wrapped comment.
35055
7a8b71c3
DM
350562012-02-20 David S. Miller <davem@davemloft.net>
35057
d510c123
DM
35058 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35059 both binutils and gcc support GOTDATA.
35060
0722d7c2
DM
35061 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35062 "rd %pc" in the PIC register setup sequences.
35063
3d2b3019
DM
35064 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35065 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35066 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35067 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35068 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35070 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35071 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35073 (SYSCALL_ERROR_HANDLER): Likewise.
35074 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35075 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35077 (SYSCALL_ERROR_HANDLER): Likewise.
35078
c80098a9
DM
35079 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35080 (HAVE_GCC_GOTDATA): New.
35081 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35082 relocation support in both binutils and gcc.
35083 * sysdeps/sparc/elf/configure: Regenerate.
35084
3a2545a0
DM
35085 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35086 * sysdeps/sparc/sparc32/elf/configure: Delete.
35087 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35088 * sysdeps/sparc/sparc64/elf/configure: Delete.
35089 * sysdeps/sparc/elf/configure.in: New file.
35090 * sysdeps/sparc/elf/configure: Generate.
35091
7a8b71c3
DM
35092 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35093 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35094 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35095 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35096 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35097
f1e86fca
JM
350982012-02-21 Joseph Myers <joseph@codesourcery.com>
35099
35100 * manual/install.texi: Do not mention specific glibc version
35101 numbers.
35102 * manual/libc.texinfo (VERSION, UPDATED): Update.
35103 (@copying): Use @copyright{} and range of years.
35104
0e7dfaef
JM
351052012-02-21 Joseph Myers <joseph@codesourcery.com>
35106
35107 [BZ #13695]
35108 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35109 [crti.S not in sysdirs] (generated): Do not append.
35110 [crti.S not in sysdirs] (omit-deps): Likewise.
35111 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35112 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35113 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35114 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35115 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35116 Likewise.
35117 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35118 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35119 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35120 * csu/defs.awk: Remove file.
35121 * sysdeps/generic/initfini.c: Likewise.
35122 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35123 variable.
35124 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35125 Likewise.
35126
599af3ca
JM
351272012-02-20 Joseph Myers <joseph@codesourcery.com>
35128
35129 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35130 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35131 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35132 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35133 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35134 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35135 <bits/epoll.h>.
35136 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35137 (__EPOLL_PACKED): Define to empty if not defined by
35138 <bits/epoll.h>.
35139 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35141 bits/epoll.h.
35142
0e499750
JM
351432012-02-20 Joseph Myers <joseph@codesourcery.com>
35144
35145 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35146 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35147 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35148 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35149 <bits/timerfd.h>.
35150 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35152 bits/timerfd.h.
35153
5ad91f6e
JM
351542012-02-20 Joseph Myers <joseph@codesourcery.com>
35155
35156 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35157 in C locale.
35158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35159 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35162
06b99b02
AJ
351632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35164
35165 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35166 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35167
7638c0fd
AS
351682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35169
35170 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35171 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35172 defined.
35173 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35174 Likewise.
35175 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35176 entry for 2.16.
35177
92221550
AJ
351782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35179
35180 * math/w_acos.c: Use non-signaling floating-point comparisons.
35181 * math/w_acosf.c: Likewise.
35182 * math/w_acosh.c: Likewise.
35183 * math/w_acoshf.c: Likewise.
35184 * math/w_acoshl.c: Likewise.
35185 * math/w_acosl.c: Likewise.
35186 * math/w_asin.c: Likewise.
35187 * math/w_asinf.c: Likewise.
35188 * math/w_asinl.c: Likewise.
35189 * math/w_atanh.c: Likewise.
35190 * math/w_atanhf.c: Likewise.
35191 * math/w_atanhl.c: Likewise.
35192 * math/w_exp2.c: Likewise.
35193 * math/w_exp2f.c: Likewise.
35194 * math/w_exp2l.c: Likewise.
35195 * math/w_j0.c: Likewise.
35196 * math/w_j0f.c: Likewise.
35197 * math/w_j0l.c: Likewise.
35198 * math/w_j1.c: Likewise.
35199 * math/w_j1f.c: Likewise.
35200 * math/w_j1l.c: Likewise.
35201 * math/w_jn.c: Likewise.
35202 * math/w_jnf.c: Likewise.
35203 * math/w_log.c: Likewise.
35204 * math/w_log10.c: Likewise.
35205 * math/w_log10f.c: Likewise.
35206 * math/w_log10l.c: Likewise.
35207 * math/w_log2.c: Likewise.
35208 * math/w_log2f.c: Likewise.
35209 * math/w_log2l.c: Likewise.
35210 * math/w_logf.c: Likewise.
35211 * math/w_logl.c: Likewise.
35212 * math/w_sqrt.c: Likewise.
35213 * math/w_sqrtf.c: Likewise.
35214 * math/w_sqrtl.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35217 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35218 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35219 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35220
ebaf36eb
JM
352212012-02-19 Joseph Myers <joseph@codesourcery.com>
35222
35223 [BZ #9739]
35224 * manual/string.texi (strnlen): Use correct parameter name in
35225 equivalent expression.
35226
71c254a6
JM
352272012-02-19 Joseph Myers <joseph@codesourcery.com>
35228
35229 [BZ #11174]
35230 * manual/users.texi (seteuid): Consistently use neweuid for
35231 argument name.
35232
16d2c631
JM
352332012-02-19 Joseph Myers <joseph@codesourcery.com>
35234
35235 [BZ #13704]
35236 * manual/nss.texi (Services in the NSS configuration): Correct
35237 list of services in example configuration file.
35238
cd837b09
NB
352392012-02-19 Nick Bowler <nbowler@draconx.ca>
35240
35241 [BZ #11322]
35242 * manual/arith.texi: Remove statements about negative zero
35243 behaving identically to zero.
35244
02c4bbad
JM
352452012-02-18 Joseph Myers <joseph@codesourcery.com>
35246
35247 [BZ #5993]
35248 * manual/install.texi: Do not document upgrading from libc5.
35249
366842e7
JM
352502012-02-18 Joseph Myers <joseph@codesourcery.com>
35251
35252 [BZ #4596]
35253 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35254
dd54084d
DM
352552012-02-18 David S. Miller <davem@davemloft.net>
35256
35257 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35258 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35259 %o7 across the call.
35260 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35261 instead.
35262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35263 SETUP_PIC_REG_LEAF.
35264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35265 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35266 * sysdeps/sparc/crtn.S: Likewise.
35267
2bcc53a3
UD
352682012-02-17 Ulrich Drepper <drepper@gmail.com>
35269
35270 * aout/Makefile: Remove.
35271
09c093b5
RK
352722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35273
35274 [BZ #13058]
35275 * manual/examples/argp-ex1.c (main): Format definition in GNU
35276 style.
35277 * manual/examples/argp-ex2.c (main): Likewise.
35278 * manual/examples/argp-ex3.c (main): Likewise.
35279 * manual/examples/argp-ex4.c (main): Likewise.
35280 * manual/examples/longopt.c (main): Use new-style prototype
35281 definition.
35282 * manual/examples/strncat.c (main): Specify return type and use
35283 (void) for arguments.
35284 * manual/examples/subopt.c (main): Use char **argv argument.
35285
2ee633a2
JM
352862012-02-17 Joseph Myers <joseph@codesourcery.com>
35287
35288 [BZ #5077]
35289 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35290 rounding modes.
35291
0520adde
FB
352922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35293
35294 [BZ #6907]
35295 * manual/string.texi (strchr): Change when strchrnul is
35296 recommended.
35297
3f4081cd
DGM
352982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35299
35300 [BZ #174]
35301 * manual/locale.texi (setlocale): Document LOCPATH.
35302
d1b10e78
JM
353032012-02-17 Joseph Myers <joseph@codesourcery.com>
35304
35305 [BZ #10210]
35306 * manual/process.texi (execle): Move @dots{} before last argument.
35307
79c6869c
PB
353082012-02-17 Paul Bolle <pebolle@tiscali.nl>
35309
35310 [BZ #12047]
35311 * manual/charset.texi (Generic Charset Conversion): Fix typo
35312 (LC_TYPE -> LC_CTYPE).
35313
cc6e48bc
NB
353142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35315
35316 [BZ #5805]
35317 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35318 (scalbnf): Likewise.
35319 (scalbnl): Likewise.
35320 (scalbln): Likewise.
35321 (scalblnf): Likewise.
35322 (scalblnl): Likewise.
35323 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35324 (vwarnx): Likewise.
35325 (verr): Likewise.
35326 (verrx): Likewise.
35327 * manual/filesys.texi (telldir): Use braces around return type.
35328 * manual/llio.texi (mmap): Add space after comma.
35329 (mmap64): Likewise.
35330 * manual/math.texi (jn): Use @var{} on parameter names.
35331 (jnf): Likewise.
35332 (jnl): Likewise.
35333 (yn): Likewise.
35334 (ynf): Likewise.
35335 (ynl): Likewise.
35336 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35337 line.
35338 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35339 "...".
35340 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35341 (sched_get_priority_max): Likewise.
35342 * manual/signal.texi (sigvec): Add space after comma.
35343 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35344 names.
35345 (if_indextoname): Likewise.
35346 (if_freenameindex): Likewise.
35347 (sendto): Use ',' instead of '.' in prototype.
35348 * manual/startup.texi (syscall): Use @dots{} instead of literal
35349 "...".
35350 * manual/stdio.texi (__fpending): Separate initial words of
35351 paragraph from @deftypefun line.
35352 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35353 "...".
35354 (vsyslog): Use @var{} on parameter names.
35355 * manual/terminal.texi (stty): Use @var{} on parameter names.
35356 * manual/users.texi (getutmp): Use @var{} on parameter names.
35357 (getutmpx): Likewise.
35358
5b23062f
JM
353592012-02-17 Joseph Myers <joseph@codesourcery.com>
35360
35361 [BZ #6884]
35362 * manual/stdio.texi (fopen): Fix typos in description of
35363 ",ccs=STRING".
35364
8dee4833
AJ
353652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35366
35367 [BZ #4026]
35368 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35369 get clock_id definition.
35370
9078ce93
TS
353712012-02-17 Thomas Schwinge <thomas@schwinge.name>
35372
35373 [BZ #4822]
35374 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35375 (madvise): Cast every argument to void on its own.
35376
3835c55f
JM
353772012-02-17 Joseph Myers <joseph@codesourcery.com>
35378
35379 [BZ #9902]
35380 * manual/startup.texi (Exit Status): Fix typo.
35381
35c47e37
JM
353822012-02-17 Joseph Myers <joseph@codesourcery.com>
35383
35384 [BZ #10140]
35385 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35386 * manual/examples/argp-ex2.c: Likewise.
35387 * manual/examples/argp-ex3.c: Likewise.
35388
e3b69ca7
RH
353892012-02-16 Richard Henderson <rth@redhat.com>
35390
35391 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35392 * sysdeps/s390/s390-32/initfini.c: Remove.
35393 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35394 * sysdeps/s390/s390-64/initfini.c: Remove.
35395
df83af67
KK
353962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35397
35398 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35399 compiler output for sysdeps/generic/initfini.c.
35400 * sysdeps/sh/elf/initfini.c: Remove file.
35401
f63f3380
DM
354022012-02-16 David S. Miller <davem@davemloft.net>
35403
fb59b3a4
DM
35404 [BZ #11494]
35405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35406
f63f3380
DM
35407 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35408 * sysdeps/sparc/crti.S: New file.
35409 * sysdeps/sparc/crtn.S: New file.
35410 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35411 * sysdeps/sparc/sparc64/Makefile: Likewise.
35412
df6a4a4a
MF
354132012-02-15 Mike Frysinger <vapier@gentoo.org>
35414
6dd8f3dc 35415 [BZ #3335]
df6a4a4a
MF
35416 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35417
1cac7236
RM
354182012-02-15 Roland McGrath <roland@hack.frob.com>
35419
d2c736f8
RM
35420 [BZ #4822]
35421 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35422
1cac7236
RM
35423 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35424 (write, read, close): Likewise.
35425 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35426
8e475601
JM
354272012-02-15 Joseph Myers <joseph@codesourcery.com>
35428
35429 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35430 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35431 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35432 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35433 <bits/signalfd.h>.
35434 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35436 bits/signalfd.h.
35437
ed656b40
MP
354382012-02-14 Marek Polacek <polacek@redhat.com>
35439
35440 * sysdeps/x86_64/crti.S: New file.
35441 * sysdeps/x86_64/crtn.S: New file.
35442 * sysdeps/x86_64/elf/initfini.c: Remove file.
35443
2a979d3a
JM
354442012-02-13 Joseph Myers <joseph@codesourcery.com>
35445
35446 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35447 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35448 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35449 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35450 <bits/inotify.h>.
35451 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35453 bits/inotify.h.
35454
2a418ac3
JM
354552012-02-13 Joseph Myers <joseph@codesourcery.com>
35456
35457 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35458 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35459 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35460 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35461 <bits/eventfd.h>.
35462 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35464 bits/eventfd.h.
35465
fb779be7
TS
354662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35467
e19e83c5
RM
35468 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35469 __feraiseexcept instead of feraiseexcept.
7c35ffed 35470
fb779be7
TS
35471 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35472 nanosleep invocations.
35473 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35474 strings, and add error checking for a nanosleep invocations.
35475
59ba27a6
PE
354762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35477
35478 Replace FSF snail mail address with URLs, as per GNU coding standards.
35479 Most of the snail mail addresses were wrong anyway, and omitting
35480 them makes the source code easier to maintain. Almost all of the
35481 changes are to license notices and to locale LC_IDENTIFICATION
35482 addresses, except for this one:
35483 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35484 not its snail mail address.
35485
57b957eb
RH
354862012-02-09 Richard Henderson <rth@twiddle.net>
35487
af850b1c
RH
35488 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35489 of kernel-features.h.
35490
57b957eb
RH
35491 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35492
6b73181a
MP
354932012-02-08 Marek Polacek <polacek@redhat.com>
35494
35495 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35496 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35497 * sysdeps/gnu/_G_config.h: Likewise.
35498 * sysdeps/generic/_G_config.h: Likewise.
35499
26ecc33a
AS
355002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35501
6c6dbc63
AS
35502 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35503 tests.
35504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35505
e216c012
AS
35506 * sysdeps/powerpc/powerpc32/crti.S: New file.
35507 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35508 * sysdeps/powerpc/powerpc64/crti.S: New file.
35509 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35510
26ecc33a
AS
35511 * Makeconfig (have-initfini): Don't set.
35512 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35513 * configure.in (nopic_initfini): Don't substitute.
35514 * config.h.in (HAVE_INITFINI): Don't #undef.
35515 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35516 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35517
3add8e13
JM
355182012-02-08 Joseph Myers <joseph@codesourcery.com>
35519
35520 Support crti.S and crtn.S provided directly by architectures.
35521 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35522 [crti.S in sysdirs] (omit-deps): Likewise.
35523 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35524 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35525 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35526 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35527 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35528 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35529 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35530 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35531 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35532 compiler output for sysdeps/generic/initfini.c.
35533 * sysdeps/i386/elf/Makefile: Remove file.
35534 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35535
a22f12b4
MP
355362012-02-07 Marek Polacek <polacek@redhat.com>
35537
35538 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35539 * sysdeps/gnu/_G_config.h: Likewise.
35540 * sysdeps/mach/hurd/_G_config.h: Likewise.
35541
148cf100
MP
355422012-02-07 Marek Polacek <polacek@redhat.com>
35543
35544 * math/Makefile (tests): Add tst-CMPLX2.
35545 * math/tst-CMPLX2.c: New file.
35546
cfdc0dd7
AS
355472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35548
84ba42c4
AS
35549 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35550
cfdc0dd7
AS
35551 * math/libm-test.inc (jn_test): Add missing L suffix.
35552
622c86f4
MP
355532012-02-06 Marek Polacek <polacek@redhat.com>
35554
35555 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35556 * sysdeps/i386/fpu/e_powf.S: Likewise.
35557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35558 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35559 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35560 * sysdeps/i386/fpu/e_pow.S: Likewise.
35561 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35562 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35563 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35564 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35565 * sysdeps/i386/fpu/e_log2.S: Likewise.
35566 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35567 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35568 * sysdeps/i386/fpu/e_powl.S: Likewise.
35569 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35570 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35571 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35572 * sysdeps/i386/fpu/e_logl.S: Likewise.
35573 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35574 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35575 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35576 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35577 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35578 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35579 * sysdeps/i386/fpu/e_log.S: Likewise.
35580 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35581 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35582 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35583 * sysdeps/i386/fpu/e_logf.S: Likewise.
35584 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35585 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35586 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35587 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35588 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35589 * sysdeps/i386/fpu/e_log10.S: Likewise.
35590 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35591 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35592 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35593 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35594 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35595 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35596 * sysdeps/i386/asm-syntax.h: Likewise.
35597 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35598 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35599 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35600 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35601 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35602 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35603 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35604 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35605 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35606 * sysdeps/powerpc/sysdep.h: Likewise.
35607 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35608 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35609
d4a54ac6
JM
356102012-02-06 Joseph Myers <joseph@codesourcery.com>
35611
35612 [BZ #411]
35613 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35614
314054ea
JM
356152012-02-06 Joseph Myers <joseph@codesourcery.com>
35616
35617 * sysdeps/i386/sysdep.h: Include <features.h>.
35618 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35619 version.
35620
d8e0ca50
JM
356212012-02-05 Joseph Myers <joseph@codesourcery.com>
35622
35623 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35624 Define.
35625 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35626 LOAD_PIC_REG_STR.
35627
b1da7dd9
JM
356282012-02-03 Joseph Myers <joseph@codesourcery.com>
35629
35630 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35631 (SETUP_PIC_REG): Use GET_PC_THUNK.
35632 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35633 macro.
35634
9a1d9254
JM
356352012-02-03 Joseph Myers <joseph@codesourcery.com>
35636
35637 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35638 for non-PIC compilation.
35639 (SETUP_PIC_REG): Add .p2align directive.
35640 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35641 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35642 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35643 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35644 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35645 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35646 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35647 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35648 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35649 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35650 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35651 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35652 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35653 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35654 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35655 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35658 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35659 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35660 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35661 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35662 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35663 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35666 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35667 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35668 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35669 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35670 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35671 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35672 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35673 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35674 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35676 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35677 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35678 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35679 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35680 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35681
65dc3b75
JM
356822012-02-03 Joseph Myers <joseph@codesourcery.com>
35683
35684 * math/tst-CMPLX.c: Include <stdio.h>.
35685
d55bf177
JM
356862012-01-31 Joseph Myers <joseph@codesourcery.com>
35687
35688 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35689 float.
35690 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35691 * sysdeps/sparc/bits/mathdef.h: Likewise.
35692
69db4f8f
MP
356932012-01-31 Marek Polacek <polacek@redhat.com>
35694
35695 * libio/libio.h: Don't define _PARAMS.
35696 * locale/programs/config.h: Don't define PARAMS.
35697 * stdlib/strtol_l.c: Likewise.
35698 (__strtol_l): Remove PARAMS from the prototype.
35699
41b81892
UD
357002012-01-31 Ulrich Drepper <drepper@gmail.com>
35701
3b49edc0
UD
35702 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35703 names. Just use the correct names. Remove unnecessary wrapper
35704 functions.
35705 * malloc/arena.c: Likewise.
35706 * malloc/hooks.c: Likewise.
35707
41b81892
UD
35708 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35709 ARENA_TEST says not to. Simplify test for creation of a new arena.
35710 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35711
27a25b6e
UD
357122012-01-30 Ulrich Drepper <drepper@gmail.com>
35713
35714 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35715 into tail calls.
35716 (update_get_addr): New function.
35717 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35718 GET_ADDR_MODULE parameter.
35719
c8a89e7d
JM
357202012-01-30 Joseph Myers <joseph@codesourcery.com>
35721
35722 * crypt/cert.c: Remove __STDC__ conditionals.
35723 * crypt/crypt-entry.c: Likewise.
35724 * crypt/crypt_util.c: Likewise.
35725 * libio/filedoalloc.c: Likewise.
35726 * libio/fileops.c: Likewise.
35727 * libio/genops.c: Likewise.
35728 * libio/iofclose.c: Likewise.
35729 * libio/iofdopen.c: Likewise.
35730 * libio/iofopen.c: Likewise.
35731 * libio/iofopen64.c: Likewise.
35732 * libio/iogetdelim.c: Likewise.
35733 * libio/iopopen.c: Likewise.
35734 * libio/obprintf.c: Likewise.
35735 * libio/oldfileops.c: Likewise.
35736 * libio/oldiofclose.c: Likewise.
35737 * libio/oldiofdopen.c: Likewise.
35738 * libio/oldiofopen.c: Likewise.
35739 * libio/oldiopopen.c: Likewise.
35740 * libio/wfiledoalloc.c: Likewise.
35741 * libio/wgenops.c: Likewise.
35742 * locale/programs/xmalloc.c: Likewise.
35743 * misc/syslog.c: Likewise.
35744 * stdio-common/xbug.c: Likewise.
35745 * string/memchr.c: Likewise.
35746 * string/memcmp.c: Likewise.
35747 * string/memrchr.c: Likewise.
35748 * string/rawmemchr.c: Likewise.
35749 * sysdeps/posix/getcwd.c: Likewise.
35750 * time/strftime_l.c: Likewise.
35751
3b100462
JM
357522012-01-30 Joseph Myers <joseph@codesourcery.com>
35753
35754 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35755 * config.make.in (config-cflags-sse2avx): Define.
35756 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35757 Fix typo.
35758
607998af
CM
357592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35760
35761 * scripts/config.guess: Update from upstream config git repository.
35762 * scripts/config.sub: Likewise.
35763
3601428f
CM
357642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35765
3ac8b282
CM
35766 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35767 (EM_NUM): Update.
35768 (R_TILEPRO_*, R_TILEGX_*): New macros.
35769
e034841e
CM
35770 * scripts/firstversions.awk: Fix bug in version range handling.
35771
540d7568
CM
35772 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35773
3601428f
CM
35774 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35775
463de862
CM
35776 * include/sys/epoll.h: New file.
35777 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35778 libc_hidden_def.
35779
73139a76
UD
357802012-01-28 Ulrich Drepper <drepper@gmail.com>
35781
96bc5b45
UD
35782 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35783 Avoid unnecessary __WORDSIZE == 64 test.
35784 (fmaxf): Use VEX format if possible.
35785 (fmax): Likewise.
35786 (fminf): Likewise.
35787 (fmin): Likewise.
35788
56f6f6a2
UD
35789 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35790 * math/math_private.h: Remove libc_fegetround* and
35791 libc_fesetround*.
35792 * sysdeps/i386/configure.in: Check for -msse2avx.
35793 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35794 also if SSE2AVX is defined.
35795 Remove libc_fegetround* and libc_fesetround*.
35796 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35797 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35798 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35799 of HAS_YMM_USABLE.
35800 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35801 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35802 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35803 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35804 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35805
73139a76
UD
35806 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35807
d73f93a4
AZ
358082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35809
35810 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35811 size is not set.
35812 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35813
6ee65ed6
UD
358142012-01-27 Ulrich Drepper <drepper@gmail.com>
35815
35816 [BZ #13618]
35817 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35818 relocation.
35819 * Makeconfig (libm): Define.
35820 * elf/Makefile: Add rules to build and run tst-relsort1.
35821 * elf/tst-relsort1.c: New file.
35822 * elf/tst-relsort1mod1.c: New file.
35823 * elf/tst-relsort1mod2.c: New file.
35824
8db21882
JM
358252012-01-27 Joseph Myers <joseph@codesourcery.com>
35826
35827 * math/s_ldexp.c: Remove __STDC__ conditionals.
35828 * math/s_ldexpf.c: Likewise.
35829 * math/s_ldexpl.c: Likewise.
35830 * math/s_nextafter.c: Likewise.
35831 * math/s_nexttowardf.c: Likewise.
35832 * math/s_significand.c: Likewise.
35833 * math/s_significandf.c: Likewise.
35834 * math/s_significandl.c: Likewise.
35835 * math/w_jnl.c: Likewise.
35836 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35837 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35838 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35839 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35840 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35841 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35842 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35843 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35844 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35845 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35846 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35847 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35848 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35849 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35850 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35851 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35853 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35855 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35856 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35857 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35858 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35860 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35861 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35862 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35863 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35864 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35865 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35866 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35867 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35868 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35869 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35870 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35871 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35872 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35873 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35874 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35875 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35876 * sysdeps/ieee754/k_standard.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35881 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35938 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35943 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35949 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35951 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35952 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35956 * sysdeps/ieee754/s_matherr.c: Likewise.
35957 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35958 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35959 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35961
965a54a4
JM
359622012-01-26 Joseph Myers <joseph@codesourcery.com>
35963
35964 * crypt/md5.h: Remove __STDC__ conditionals.
35965 * libio/libioP.h: Likewise.
35966 * locale/programs/config.h: Likewise.
35967 * sysdeps/generic/sysdep.h: Likewise.
35968 * sysdeps/i386/asm-syntax.h: Likewise.
35969 * sysdeps/s390/asm-syntax.h: Likewise.
35970 * sysdeps/unix/sysdep.h: Likewise.
35971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35973
7071ad79
JM
359742012-01-26 Joseph Myers <joseph@codesourcery.com>
35975
35976 * libio/libio.h: Remove __STDC__ conditionals.
35977 * malloc/obstack.h: Likewise.
35978 * math/complex.h: Likewise.
35979 * math/math.h: Likewise.
35980 * sysdeps/generic/_G_config.h: Likewise.
35981 * sysdeps/gnu/_G_config.h: Likewise.
35982 * sysdeps/mach/hurd/_G_config.h: Likewise.
35983 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35984 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35985 * sysdeps/sparc/bits/mathdef.h: Likewise.
35986
afc5ed09
UD
359872012-01-26 Ulrich Drepper <drepper@gmail.com>
35988
35989 [BZ #13583]
35990 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35991 Clean up HAS_* macros.
afc5ed09 35992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35993 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35994 possible.
35995 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35996 HAS_AVX.
35997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35998 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35999 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36000 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36002
bdb6de1d
JM
360032012-01-25 Joseph Myers <joseph@codesourcery.com>
36004
36005 * elf/tst-unique3.cc (gets): Remove declaration.
36006 * elf/tst-unique3lib.cc (gets): Likewise.
36007 * elf/tst-unique3lib2.cc (gets): Likewise.
36008 * elf/tst-unique4.cc (gets): Likewise.
36009
b15549e6
UD
360102012-01-24 Ulrich Drepper <drepper@gmail.com>
36011
36012 * include/stdio.h: Add C++ protection. Add gets declarations and
36013 definitions.
36014 * debug/tst-chk1.c: Don't declare gets here.
36015 * stdio-common/tst-gets.c: Likewise.
36016
a037381f
JM
360172012-01-24 Joseph Myers <joseph@codesourcery.com>
36018
36019 * posix/glob: Remove directory.
36020
f1d4aa75
JM
360212012-01-24 Joseph Myers <joseph@codesourcery.com>
36022
36023 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36024
81c0c964
PT
360252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36026
36027 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36028 of the non-standard EPFNOSUPPORT.
36029
0ea698ae
ST
360302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36031
36032 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36033 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36034 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36035
d220b117
UD
360362012-01-21 Ulrich Drepper <drepper@gmail.com>
36037
36038 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36039
3e1aa84e
UD
360402012-01-20 Ulrich Drepper <drepper@gmail.com>
36041
36042 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36043 transient errors.
36044 * nscd/grpcache.c (cache_addgr): Likewise.
36045 * nscd/hstcache.c (cache_addhst): Likewise.
36046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36047 * nscd/pwdcache.c (cache_addpw): Likewise.
36048 * nscd/servicescache.c (cache_addserv): Likewise.
36049
400aa020
UD
360502012-01-16 Ulrich Drepper <drepper@gmail.com>
36051
d77e7869
UD
36052 * malloc/malloc.c: Various cleanups.
36053 * malloc/hooks.c: Likewise.
36054
400aa020
UD
36055 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36056 * stdlib/bug-fmtmsg1.c: New file.
36057
36058 * stdlib/fmtmsg.c (init): Add missing unlock.
36059 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36060
e0a309cf
MP
360612012-01-12 Marek Polacek <polacek@redhat.com>
36062
36063 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36064 and _GNU_SOURCE.
36065
929d11c7
WS
360662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36067
36068 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36069 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36070 macro to ensure uniqueness of label name.
36071 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36072 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36073
41d0e869
UD
360742012-01-11 Ulrich Drepper <drepper@gmail.com>
36075
0cc5ed3b
UD
36076 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36077
41d0e869
UD
36078 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36079 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36081 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36082
a47a831a
UD
360832012-01-10 Ulrich Drepper <drepper@gmail.com>
36084
daa891c0
UD
36085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36086
36087 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36088 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36089 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36090
e58ef0f2
UD
36091 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36092
a47a831a 36093 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36094 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36095 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36097
36098 * math/bits/math-finite.h: Add ldexp support.
36099
a0bfc9c7
MP
361002012-01-10 Marek Polacek <polacek@redhat.com>
36101
36102 * locale/programs/localedef.h (show_archive_content): Add noreturn
36103 attribute.
36104
d6e97a1d
UD
361052012-01-09 Ulrich Drepper <drepper@gmail.com>
36106
36107 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36108
d5835c26
UD
361092012-01-08 Ulrich Drepper <drepper@gmail.com>
36110
e5f484c6
UD
36111 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36112
d5835c26
UD
36113 * io/Makefile (headers): Add bits/poll2.h.
36114
d1f741e9
WS
361152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36116
36117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36118 typo #include statement.
36119
ec09c1c4
UD
361202012-01-08 Ulrich Drepper <drepper@gmail.com>
36121
36122 * include/sys/cdefs.h: Define __attribute_alloc_size.
36123 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36124 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36125 * elf/pldd.c: Likewise.
36126 * iconv/iconv_charmap.c: Likewise.
36127 * iconv/iconvconfig.c: Likewise.
36128 * iconv/strtab.c: Likewise.
36129 * locale/programs/locale.c: Likewise.
36130 * locale/programs/localedef.h: Likewise.
36131 * locale/programs/simple-hash.c: Likewise.
36132 * nscd/nscd.h: Likewise.
36133 * nss/makedb.c: Likewise.
36134 * sysdeps/generic/ldconfig.h: Likewise.
36135 * locale/programs/localedef.c: Remove xmalloc prototype.
36136 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36137
20b38e03
PP
361382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36139
36140 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36141 appropriate.
36142
a0da5fe1
UD
361432012-01-08 Ulrich Drepper <drepper@gmail.com>
36144
1d5a644a 36145 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36146 * math/tst-CMPLX.c: New file.
1d5a644a 36147
8784a6db
UD
36148 * math/complex.h (CMPLXL): Fix typo.
36149
d9a216c0
UD
36150 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36151 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36152 GLIBC_2.16.
36153 * debug/tst-chk1.c: Add poll and ppoll tests.
36154 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36155 * include/sys/poll.h: Add hidden proto for ppoll.
36156 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36157 * sysdeps/mach/hurd/ppoll.c: Likewise.
36158 * io/ppoll.c: Likewise.
36159 * debug/poll_chk.c: New file.
36160 * debug/ppoll_chk.c: New file.
36161 * include/bits/poll2.h: New file.
36162 * io/bits/poll2.h: New file.
36163
ac097f5c
UD
36164 [BZ #1350]
36165 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36166
2119dcfa
UD
36167 * configure.in: static is always set to yes. Remove.
36168 * config.make.in: Don't set build-static.
36169 * Makeconfig: Remove use of build-static.
36170 * dlfcn/Makefile: Likewise.
36171 * elf/Makefile: Likewise.
36172 * math/Makefile: Likewise.
36173 * misc/Makefile: Likewise.
36174 * nptl/Makefile: Likewise.
36175 * sysdeps/mach/hurd/Makefile: Likewise.
36176
121766a9
UD
36177 * configure.in: PWD_P is not used anymore.
36178 * config.make.in: Remove PWD_P entry.
36179
51a1d39c 36180 * configure.in: Remove last remnants of RANLIB.
8720d066 36181 No need to check for signed size_t anymore.
215f4bdc
UD
36182 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36183 and IA-64.
3857022a 36184 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36185 * aclocal.m4: Likewise.
36186
d3ed7225
UD
36187 * wcsmbs/mbrtoc16.c: Implement using towc function.
36188 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36189 * wcsmbs/wcsmbsload.c: Likewise.
36190 * iconv/gconv_simple.c: Likewise.
36191 * iconv/gconv_int.h: Likewise.
36192 * iconv/gconv_builtin.h: Likewise.
36193 * iconv/iconv_prog.c: Remove CHAR16 handling.
36194
36195 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36196
36197 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36198
a0da5fe1
UD
36199 * configure.in: Remove --with-elf and --enable-bounded options.
36200 Dont set base_machine for ia64. More non-ELF conditions removed.
36201 Remove testing and setting of leading underscore information.
36202 * config.make.in (build-bounded): Set to no.
36203 * config.h.in: Remove NO_UNDERSCORES entry.
36204 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36205 them.
36206 * csu/start.c: Remove !NO_UNDERSCORE code.
36207 * locale/localeinfo.h: Likewise.
36208 * sysdeps/generic/machine-gmon.h: Likewise.
36209 * sysdeps/generic/sysdep.h: Likewise.
36210 * sysdeps/i386/sysdep.h: Likewise.
36211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36212 * sysdeps/mach/sysdep.h: Likewise.
36213 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36215 * sysdeps/sh/sysdep.h: Likewise.
36216 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36217 * sysdeps/unix/i386/sysdep.S: Likewise.
36218 * sysdeps/unix/sparc/start.c: Likewise.
36219 * sysdeps/unix/sparc/sysdep.S: Likewise.
36220 * sysdeps/unix/sparc/sysdep.h: Likewise.
36221 * sysdeps/unix/start.c: Likewise.
36222 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36223 * sysdeps/x86_64/sysdep.h: Likewise.
36224
df78418a
UD
362252012-01-07 Ulrich Drepper <drepper@gmail.com>
36226
a784e502
UD
36227 [BZ #13553]
36228 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36229 for non-gcc.
36230 * argp/argp-fmtstream.h: Use const instead __const.
36231 * argp/argp.h: Likewise.
36232 * assert/assert.h: Likewise.
36233 * bits/fenv.h: Likewise.
36234 * bits/sched.h: Likewise.
36235 * bits/sigset.h: Likewise.
36236 * bits/sigthread.h: Likewise.
36237 * catgets/nl_types.h: Likewise.
36238 * conform/data/pthread.h-data: Likewise.
36239 * crypt/crypt-private.h: Likewise.
36240 * crypt/crypt.h: Likewise.
36241 * crypt/crypt_util.c: Likewise.
36242 * ctype/ctype.h: Likewise.
36243 * debug/execinfo.h: Likewise.
36244 * debug/mbsnrtowcs_chk.c: Likewise.
36245 * debug/mbsrtowcs_chk.c: Likewise.
36246 * debug/wcsnrtombs_chk.c: Likewise.
36247 * debug/wcsrtombs_chk.c: Likewise.
36248 * debug/wcstombs_chk.c: Likewise.
36249 * dirent/dirent.h: Likewise.
36250 * dlfcn/dlfcn.h: Likewise.
36251 * elf/neededtest4.c: Likewise.
36252 * grp/grp.h: Likewise.
36253 * gshadow/gshadow.h: Likewise.
36254 * iconv/gconv.h: Likewise.
36255 * iconv/gconv_int.h: Likewise.
36256 * iconv/gconv_simple.c: Likewise.
36257 * iconv/iconv.h: Likewise.
36258 * iconv/loop.c: Likewise.
36259 * iconv/skeleton.c: Likewise.
36260 * include/aio.h: Likewise.
36261 * include/aliases.h: Likewise.
36262 * include/argz.h: Likewise.
36263 * include/arpa/inet.h: Likewise.
36264 * include/assert.h: Likewise.
36265 * include/dirent.h: Likewise.
36266 * include/dlfcn.h: Likewise.
36267 * include/execinfo.h: Likewise.
36268 * include/fcntl.h: Likewise.
36269 * include/fenv.h: Likewise.
36270 * include/glob.h: Likewise.
36271 * include/grp.h: Likewise.
36272 * include/libintl.h: Likewise.
36273 * include/mntent.h: Likewise.
36274 * include/netdb.h: Likewise.
36275 * include/pwd.h: Likewise.
36276 * include/rpc/netdb.h: Likewise.
36277 * include/sched.h: Likewise.
36278 * include/search.h: Likewise.
36279 * include/shadow.h: Likewise.
36280 * include/signal.h: Likewise.
36281 * include/stdio.h: Likewise.
36282 * include/stdlib.h: Likewise.
36283 * include/string.h: Likewise.
36284 * include/sys/socket.h: Likewise.
36285 * include/sys/stat.h: Likewise.
36286 * include/sys/statfs.h: Likewise.
36287 * include/sys/statvfs.h: Likewise.
36288 * include/sys/syslog.h: Likewise.
36289 * include/sys/time.h: Likewise.
36290 * include/sys/uio.h: Likewise.
36291 * include/time.h: Likewise.
36292 * include/unistd.h: Likewise.
36293 * include/utmp.h: Likewise.
36294 * include/wchar.h: Likewise.
36295 * include/wctype.h: Likewise.
36296 * inet/aliases.h: Likewise.
36297 * inet/arpa/inet.h: Likewise.
36298 * inet/netinet/ether.h: Likewise.
36299 * inet/netinet/in.h: Likewise.
36300 * intl/libintl.h: Likewise.
36301 * io/bits/fcntl2.h: Likewise.
36302 * io/fcntl.h: Likewise.
36303 * io/ftw.h: Likewise.
36304 * io/sys/poll.h: Likewise.
36305 * io/sys/stat.h: Likewise.
36306 * io/sys/statfs.h: Likewise.
36307 * io/sys/statvfs.h: Likewise.
36308 * io/utime.h: Likewise.
36309 * libio/bits/stdio.h: Likewise.
36310 * libio/bits/stdio2.h: Likewise.
36311 * libio/libio.h: Likewise.
36312 * libio/libioP.h: Likewise.
36313 * libio/stdio.h: Likewise.
36314 * locale/lc-ctype.c: Likewise.
36315 * locale/locale.h: Likewise.
36316 * login/utmp.h: Likewise.
36317 * malloc/arena.c: Likewise.
36318 * malloc/malloc.c: Likewise.
36319 * malloc/malloc.h: Likewise.
36320 * malloc/mcheck.c: Likewise.
36321 * malloc/mtrace.c: Likewise.
36322 * math/bits/mathcalls.h: Likewise.
36323 * math/fenv.h: Likewise.
36324 * math/math_private.h: Likewise.
36325 * misc/bits/error.h: Likewise.
36326 * misc/bits/syslog.h: Likewise.
36327 * misc/err.h: Likewise.
36328 * misc/error.h: Likewise.
36329 * misc/fstab.h: Likewise.
36330 * misc/mntent.h: Likewise.
36331 * misc/regexp.h: Likewise.
36332 * misc/search.h: Likewise.
36333 * misc/sgtty.h: Likewise.
36334 * misc/sys/mman.h: Likewise.
36335 * misc/sys/syslog.h: Likewise.
36336 * misc/sys/uio.h: Likewise.
36337 * misc/sys/xattr.h: Likewise.
36338 * misc/ttyent.h: Likewise.
36339 * nis/rpcsvc/ypclnt.h: Likewise.
36340 * nss/nss.h: Likewise.
36341 * posix/bits/unistd.h: Likewise.
36342 * posix/fnmatch.h: Likewise.
36343 * posix/glob.h: Likewise.
36344 * posix/sched.h: Likewise.
36345 * posix/spawn.h: Likewise.
36346 * posix/sys/wait.h: Likewise.
36347 * posix/unistd.h: Likewise.
36348 * posix/wordexp.h: Likewise.
36349 * pwd/pwd.h: Likewise.
36350 * resolv/netdb.h: Likewise.
36351 * resource/sys/resource.h: Likewise.
36352 * rt/aio.h: Likewise.
36353 * rt/bits/mqueue2.h: Likewise.
36354 * rt/mqueue.h: Likewise.
36355 * shadow/shadow.h: Likewise.
36356 * signal/signal.h: Likewise.
36357 * socket/send.c: Likewise.
36358 * socket/sendto.c: Likewise.
36359 * socket/sys/socket.h: Likewise.
36360 * stdio-common/printf.h: Likewise.
36361 * stdlib/bits/stdlib.h: Likewise.
36362 * stdlib/fmtmsg.h: Likewise.
36363 * stdlib/monetary.h: Likewise.
36364 * stdlib/stdlib.h: Likewise.
36365 * stdlib/ucontext.h: Likewise.
36366 * streams/stropts.h: Likewise.
36367 * string/argz.h: Likewise.
36368 * string/bits/string2.h: Likewise.
36369 * string/string.h: Likewise.
36370 * string/strings.h: Likewise.
36371 * sunrpc/rpc/auth.h: Likewise.
36372 * sunrpc/rpc/auth_des.h: Likewise.
36373 * sunrpc/rpc/clnt.h: Likewise.
36374 * sunrpc/rpc/netdb.h: Likewise.
36375 * sunrpc/rpc/pmap_clnt.h: Likewise.
36376 * sunrpc/rpc/xdr.h: Likewise.
36377 * sysdeps/generic/inttypes.h: Likewise.
36378 * sysdeps/generic/net/if.h: Likewise.
36379 * sysdeps/generic/sys/swap.h: Likewise.
36380 * sysdeps/gnu/net/if.h: Likewise.
36381 * sysdeps/gnu/utmpx.h: Likewise.
36382 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36383 * sysdeps/i386/i486/bits/string.h: Likewise.
36384 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36385 * sysdeps/s390/bits/string.h: Likewise.
36386 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36387 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36388 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36389 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36390 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36391 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36392 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36393 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36394 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36395 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36396 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36397 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36398 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36399 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36400 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36401 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36402 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36404 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36405 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36407 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36408 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36409 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36410 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36411 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36412 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36413 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36414 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36415 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36416 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36417 * sysvipc/sys/ipc.h: Likewise.
36418 * sysvipc/sys/msg.h: Likewise.
36419 * sysvipc/sys/sem.h: Likewise.
36420 * sysvipc/sys/shm.h: Likewise.
36421 * termios/termios.h: Likewise.
36422 * time/sys/time.h: Likewise.
36423 * time/time.h: Likewise.
36424 * wcsmbs/bits/wchar2.h: Likewise.
36425 * wcsmbs/uchar.h: Likewise.
36426 * wcsmbs/wchar.h: Likewise.
36427 * wctype/wctype.h: Likewise.
36428
0269750c
UD
36429 [BZ #13551]
36430 * Makeconfig: Remove all but ELF support including AIX support.
36431 * Makerules: Likewise.
36432 * config.h.in: Likewise.
36433 * config.make.in: Likewise.
36434 * configure: Likewise.
36435 * configure.in: Likewise.
36436 * csu/Makefile: Likewise.
36437 * csu/version.c: Likewise.
36438 * debug/Makefile: Likewise.
36439 * dlfcn/Makefile: Likewise.
36440 * elf/Makefile: Likewise.
36441 * extra-lib.mk: Likewise.
36442 * iconv/Makefile: Likewise.
36443 * include/libc-symbols.h: Likewise.
36444 * include/shlib-compat.h: Likewise.
36445 * resolv/Makefile: Likewise.
36446 * resolv/res_libc.c: Likewise.
36447 * rt/Makefile: Likewise.
36448 * sysdeps/i386/asm-syntax.h: Likewise.
36449 * sysdeps/i386/sysdep.h: Likewise.
36450 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36451 * sysdeps/mach/sysdep.h: Likewise.
36452 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36453 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36454 * sysdeps/s390/asm-syntax.h: Likewise.
36455 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36456 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36457 * sysdeps/sh/sysdep.h: Likewise.
36458 * sysdeps/unix/sparc/sysdep.h: Likewise.
36459 * sysdeps/wordsize-32/divdi3.c: Likewise.
36460 * sysdeps/x86_64/sysdep.h: Likewise.
36461
00bbd29b
UD
36462 * argp/Versions: Remove _argp_unlock_xxx.
36463
36464 [BZ #13559]
36465 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36466 * abilist/libBrokenLocale.abilist: Likewise.
36467 * abilist/libanl.abilist: Likewise.
36468 * abilist/libc.abilist: Likewise.
36469 * abilist/libcrypt.abilist: Likewise.
36470 * abilist/libdl.abilist: Likewise.
36471 * abilist/libm.abilist: Likewise.
36472 * abilist/libnsl.abilist: Likewise.
36473 * abilist/libpthread.abilist: Likewise.
36474 * abilist/libresolv.abilist: Likewise.
36475 * abilist/librt.abilist: Likewise.
36476 * abilist/libthread_db.abilist: Likewise.
36477 * abilist/libutil.abilist: Likewise.
36478 * abilist/libnss_db.abilist: New file.
36479
36480 * scripts/abilist.awk: Add support for indirect functions.
36481
a2693a0e
UD
36482 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36483
3f05895f
UD
36484 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36485
ecb6fb48
UD
36486 * shlib-versions: Remove entries for ports architectures.
36487
664f8cb9
UD
36488 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36489 files in ports.
36490 * elf/stackguard-macros.h: Remove support for IA-64.
36491 * elf/tst-auditmod1.c: Likewise.
36492 * sysdeps/generic/ldsodefs.h: Likewise.
36493
7ae81d88
UD
36494 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36495 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36496 configure files.
36497
bdeba135
UD
36498 [BZ #13552]
36499 * configure.in: Remove --enable-omitfp support.
36500 * FAQ.in: Adjust.
36501 * config.make.in: Likewise.
36502 * Makeconfig: Likewise.
36503 * manual/install.texi: Likewise.
36504
d75a0a62
UD
36505 In case anyone cares, the IA-64 architecture could move to ports.
36506 * sysdeps/ia64/*: Removed.
36507 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36508 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36509
dcc9756b
UD
36510 [BZ #13555]
36511 * configure.in: Remove entries for unsupported architectures.
36512
d3761ebc 36513 [BZ #13533]
9954432e
UD
36514 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36515 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36516 routines.
36517 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36518 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36519 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36520 fall back to using wcrtomb.
36521 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36522 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36523 renaming.
36524 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36525 * wcsmbs/tst-c16c32-1.c: New file.
36526
36527 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36528 local variable.
36529
c3a87236
UD
36530 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36531
28926a1b
UD
36532 * elf/tst-unique3.cc: Add explicit declaration of gets.
36533 * elf/tst-unique3lib.cc: Likewise.
36534 * elf/tst-unique3lib2.cc: Likewise.
36535 * elf/tst-unique4.cc: Likewise.
36536
df78418a
UD
36537 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36538
8ecd6b2a
JM
365392012-01-06 Joseph Myers <joseph@codesourcery.com>
36540
36541 [BZ #13566]
36542 * assert/assert.h (static_assert): Don't define for C++.
36543 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36544 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36545
9f115170
UD
365462012-01-03 Ulrich Drepper <drepper@gmail.com>
36547
5e0d0300
UD
36548 * iconv/loop.c (single loop): Fix assertion in storing of
36549 remaining bytes.
36550
9f115170
UD
36551 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36552
81fb02b0
UD
365532012-01-01 Ulrich Drepper <drepper@gmail.com>
36554
36555 * posix/getconf.c: Update copyright year.
36556 * nss/getent.c: Likewise.
a316c1f6 36557 * nss/makedb.c: Likewise.
81fb02b0
UD
36558 * iconv/iconvconfig.c: Likewise.
36559 * iconv/iconv_prog.c: Likewise.
36560 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36561 * elf/pldd.c: Likewise.
36562 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36563 * catgets/gencat.c: Likewise.
36564 * csu/version.c: Likewise.
36565 * elf/ldd.bash.in: Likewise.
36566 * elf/sprof.c (print_version): Likewise.
36567 * locale/programs/locale.c: Likewise.
36568 * locale/programs/localedef.c: Likewise.
a316c1f6 36569 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36570 * nscd/nscd.c (print_version): Likewise.
36571 * debug/xtrace.sh: Likewise.
36572 * malloc/memusage.sh: Likewise.
36573 * malloc/mtrace.pl: Likewise.
36574 * debug/catchsegv.sh: Likewise.
36575
2ba92745
JJ
365762011-12-30 Jakub Jelinek <jakub@redhat.com>
36577
36578 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36579 pure attribute.
36580
dadebdae
UD
365812011-12-24 Ulrich Drepper <drepper@gmail.com>
36582
d3761ebc 36583 [BZ #13533]
db6af3eb
UD
36584 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36585 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36586 transformations.
36587 * iconv/gconv_int.h: Likewise.
36588 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36589 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36590 from libc for GLIBC_2.16.
36591 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36592 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36593 * wcsmbs/uchar.h: Really define mbstate_t.
36594 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36595 * wcsmbs/c16rtomb.c: New file.
36596 * wcsmbs/mbrtoc16.c: New file.
36597 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36598 for C/POSIX locale.
36599 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36600 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36601
dadebdae
UD
36602 * wcsmbs/wchar.h: Add missing __restrict.
36603
67371b56
UD
366042011-12-23 Ulrich Drepper <drepper@gmail.com>
36605
74033a25
UD
36606 [BZ #13532]
36607 * time/Makefile (routines): Add timespec_get.
36608 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36609 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36610 timespec for ISO C11.
36611 * time/timespec_get.c: New file.
36612 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36613 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36614
380d7e87
UD
36615 [BZ #13531]
36616 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36617 * stdlib/stdlib.h: Declare aligned_alloc.
36618 * Versions.def: Add GLIBC_2.16 for libc.
36619 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36620
4e9e7a35
UD
36621 [BZ 13527]
36622 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36623 ISO C11.
36624
380d7e87 36625 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36626 code.
36627
03a71829
UD
36628 [BZ #13528]
36629 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36630
839e283e
UD
36631 [BZ #13529]
36632 * assert/assert.h (static_assert): Define.
36633
ce5294e2 36634 * version.h: Update for 2.16 development version.
90fa7312 36635
8d44e150 36636 [BZ #13526]
d7809905
UD
36637 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36638 _ISOC11_SOURCE.
36639
c0da14cd
UD
36640 * version.h (RELEASE): Bump for 2.15 release.
36641 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36642
530a3249
MP
36643 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36644 Patch by Marek Polacek <mpolacek@redhat.com>.
36645
67371b56
UD
36646 * bits/byteswap.h: Protect long long constants with __extension__.
36647 * sysdeps/i386/bits/byteswap.h: Likewise.
36648 * sysdeps/ia64/bits/byteswap.h: Likewise.
36649 * sysdeps/s390/bits/byteswap.h: Likewise.
36650 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36651
15db4de1
LD
366522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36653
36654 [BZ #13540]
bbe315ea
LD
36655 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36656 destination buffer.
15db4de1
LD
36657 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36658
2b2596b1
MP
366592011-12-23 Marek Polacek <polacek@redhat.com>
36660
36661 * elf/dl-addr.c (determine_info): Add inline keyword.
36662 * elf/tst-auditmod4b.c (check_avx): Likewise.
36663 * elf/tst-auditmod6b.c (check_avx): Likewise.
36664 * elf/tst-auditmod6c.c (check_avx): Likewise.
36665 * elf/tst-auditmod7b.c (check_avx): Likewise.
36666
70c6c246
UD
366672011-12-23 Ulrich Drepper <drepper@gmail.com>
36668
36669 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36670 !__SSE_MATH__.
36671
c044cf14
LD
366722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36673
15db4de1 36674 [BZ #13540]
c044cf14
LD
36675 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36676 processing for last bytes.
36677
6b13d9d9
BH
366782011-08-06 Bruno Haible <bruno@clisp.org>
36679
d455f537
BH
36680 [BZ #13061]
36681 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36682 U+0385, not to U+1FEE.
36683
6b13d9d9
BH
36684 [BZ #13062]
36685 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36686 entry for U+00A5 U+0301.
36687
db910efd
UD
366882011-12-22 Ulrich Drepper <drepper@gmail.com>
36689
27deeafc
UD
36690 [BZ #13166]
36691 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36692 buffer for the output is too small.
36693
aed9d171
UD
36694 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36695 optimization.
36696
db910efd
UD
36697 [BZ #13185]
36698 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36699 SSE flags if possible.
36700
2bd779ae
LD
367012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36702
e7f9dac3 36703 [BZ #13540]
2bd779ae
LD
36704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36705 processing for last bytes.
36706
154bfc16
JM
367072011-12-22 Joseph Myers <joseph@codesourcery.com>
36708
36709 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36710 (syscall-list-default-options, syscall-list-default-condition)
36711 (syscall-list-includes): Define.
36712 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36713 list of ABIs and options and #if conditions for each ABI. Do not
36714 handle common syscalls between ABIs specially.
36715 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36716 Remove.
36717 (syscall-list-variants, syscall-list-32bit-options)
36718 (syscall-list-32bit-condition, syscall-list-64bit-options)
36719 (syscall-list-64bit-condition): Define.
36720 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36721 (syscall-list-variants, syscall-list-32bit-options)
36722 (syscall-list-32bit-condition, syscall-list-64bit-options)
36723 (syscall-list-64bit-condition): Define.
36724 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36725 Remove.
36726 (syscall-list-variants, syscall-list-32bit-options)
36727 (syscall-list-32bit-condition, syscall-list-64bit-options)
36728 (syscall-list-64bit-condition): Define.
36729 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36730 Remove.
36731 (syscall-list-variants, syscall-list-32bit-options)
36732 (syscall-list-32bit-condition, syscall-list-64bit-options)
36733 (syscall-list-64bit-condition): Define.
36734
21eaf3a5
UD
367352011-12-22 Ulrich Drepper <drepper@gmail.com>
36736
16c6f992
UD
36737 * locale/iso-639.def: Add brx entry.
36738
41043168
UD
36739 [BZ #13328]
36740 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36741 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36742
21eaf3a5
UD
36743 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36744 __feraiseexcept_renamed.
36745
e3a851a2
UD
367462011-12-21 Ulrich Drepper <drepper@gmail.com>
36747
4920765e
UD
36748 [BZ #13538]
36749 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36750 EPOLLET with unsigned values.
36751 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36752 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36753
e3a851a2
UD
36754 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36755 to large cancellation.
36756 * math/s_cacoshf.c: Likewise.
36757 * math/s_cacoshl.c: Likewise.
36758
b27e24b8
RK
367592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36760
36761 [BZ #13305]
aebefeee 36762 [BZ #12786]
b27e24b8
RK
36763 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36764 * math/s_cacoshf.c: Likewise.
36765 * math/s_cacoshl.c: Likewise.
36766
ee190f67
UD
367672011-12-21 Ulrich Drepper <drepper@gmail.com>
36768
36769 [BZ #13439]
36770 * iconv/gconv.h: Define __GCONV_SWAP.
36771 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36772 * iconvdata/utf-16.c: Likewise.
36773 * iconvdata/utf-32.c: Likewise.
36774
707f25df
AS
367752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36776
36777 [BZ #13524]
36778 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36779 numerator after shifting it by one limb.
36780
d2daaa1e
RÁE
367812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36782
36783 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36784 under [__USE_EXTERN_INLINES].
36785
a4647e72
UD
367862011-12-17 Ulrich Drepper <drepper@gmail.com>
36787
36788 [BZ #13446]
36789 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36790
f0b264f1
AZ
367912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36792
36793 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36794 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36795 optimized code.
36796 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36797 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36798 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36799 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36800 for strncasecmp/strncasecmp_l compilation.
36801 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36802 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36803
8ef4f244
MP
368042011-12-08 Marek Polacek <mpolacek@redhat.com>
36805
36806 [BZ #13484]
36807 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36808 of __asm__.
36809
97ac2654
UD
368102011-12-17 Ulrich Drepper <drepper@gmail.com>
36811
36812 [BZ #13506]
36813 * time/tzfile.c (__tzfile_read): Check values from file header.
36814
91d2a845
WS
368152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36816
36817 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36818 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36819 * powerpc/powerpc32/dl-start.S: Likewise.
36820 * powerpc/powerpc32/elf/start.S: Likewise.
36821 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36822 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36823 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36824 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36825 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36826 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36827 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36828 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36829 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36830 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36831 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36832 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36833 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36834 * powerpc/powerpc32/memset.S: Likewise.
36835 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36836 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36837 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36838 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36839 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36840 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36841 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36842 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36843 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36844 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36845 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36846 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36847 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36848
a1267ba1
AZ
368492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36850
36851 * math/libm-test.inc: Added more nearbyint tests.
36852 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36853 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36855 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36856
ad8ac1bd
RL
368572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36858
36859 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36860 FD_CLOEXEC.
36861
1d3e4b61
UD
368622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36863
36864 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36865 Add wcscpy-ssse3 wcscpy-c.
36866 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36867 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36868 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36869 * sysdeps/x86_64/wcschr.S: New file.
36870 * sysdeps/x86_64/wcsrchr.S: New file.
36871 * string/test-strcmp.c: Remove checking of wcscmp function for
36872 wrong alignments.
36873 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36874 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36875 wcsrchr-sse2 wcsrchr-c.
36876 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36877 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36878 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36879 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36880 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36881 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36882 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36883 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36884 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36885 * wcsmbc/wcschr.c (WCSCHR): New macro.
36886
5b330a2d
UD
368872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36888
36889 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36890 * wcsmbs/test-wcsrchr.c: New file.
36891 * string/test-strrchr.c: Add wcsrchr support.
36892 (WIDE): New macro.
36893 * wcsmbs/test-wcscpy.c: New file.
36894 * string/test-strcpy.c: Add wcscpy support.
36895 (WIDE): New macro.
26428b7c 36896
f039c043
UD
368972011-12-10 Ulrich Drepper <drepper@gmail.com>
36898
36899 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36900 the inner loop.
36901
850fb039
AS
369022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36903
36904 [BZ #13472]
36905 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36906
4efbd5cb
UD
369072011-12-04 Ulrich Drepper <drepper@gmail.com>
36908
52ff5dd0 36909 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36910 Minor optimizations.
52ff5dd0 36911
4efbd5cb
UD
36912 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36913 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36914 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36915
8a426e12
UD
369162011-12-03 Ulrich Drepper <drepper@gmail.com>
36917
aff2453d
UD
36918 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36919 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36920 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36921 for gcc to avoid warnings.
36922 * inet/Makefile (tests): Add tst-checks.
36923 * inet/tst-checks.c: New file.
36924
36925 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36926 warning.
36927
36928 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36929 __wmemcmp_sse2.
36930
36931 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36932 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36933
8a426e12
UD
36934 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36935
9bea3473
UD
369362011-12-02 Ulrich Drepper <drepper@gmail.com>
36937
3a965496
UD
36938 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36939 problem.
36940
9bea3473
UD
36941 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36942
f101631b
UD
369432011-11-29 Joseph Myers <joseph@codesourcery.com>
36944
36945 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36946 conditional on GCC version.
36947 (__arch_compare_and_exchange_val_8_acq)
36948 (__arch_compare_and_exchange_val_16_acq)
36949 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36950 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36951 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36952
a98275aa
UD
369532011-12-02 Joseph Myers <joseph@codesourcery.com>
36954
36955 * sysdeps/sh/backtrace.c: New file.
36956
d4cc29a2
AS
369572011-12-02 Andreas Schwab <schwab@redhat.com>
36958
36959 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36960 parenthesis.
36961
6257af2d
AS
369622011-12-01 Andreas Schwab <schwab@redhat.com>
36963
36964 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36965 falling back to utime.
36966
b5f44c1a
AS
369672011-11-30 Andreas Schwab <schwab@redhat.com>
36968
36969 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36970 expectations for float.
36971
f3a6cc0a
AS
369722011-11-29 Andreas Schwab <schwab@redhat.com>
36973
36974 * locale/weight.h (findidx): Add parameter len.
36975 * locale/weightwc.h (findidx): Likewise.
36976 * posix/fnmatch_loop.c (FCT): Adjust caller.
36977 * posix/regcomp.c (build_equiv_class): Likewise.
36978 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36979 * posix/regexec.c (check_node_accept_bytes): Likewise.
36980 * string/strcoll_l.c (STRCOLL): Likewise.
36981 * string/strxfrm_l.c (STRXFRM): Likewise.
36982
9d65ea3a
UD
369832011-11-17 Ulrich Drepper <drepper@gmail.com>
36984
36985 * Makefile.in: Remove CVSOPT handling.
36986 * configure.in: Remove use of AC_REVISION.
36987 * iconvdata/Makefile (distribute): No need to filter out CVS.
36988 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36989 handling.
36990
5583a086
AS
369912011-11-16 Andreas Schwab <schwab@redhat.com>
36992
36993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36994 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36995 [USE_AS_STRNCASECMP_L]: Likewise.
36996 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36997 NO_TLS_DIRECT_SEG_REFS.
36998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36999 Fix argument offsets for non-PIC.
37000 [USE_AS_STRNCASECMP_L]: Likewise.
37001 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37002 NO_TLS_DIRECT_SEG_REFS.
37003
d62a8200
UD
370042011-11-15 Ulrich Drepper <drepper@gmail.com>
37005
9d65ea3a 37006 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37007 O_CLOEXEC.
37008 * locale/loadlocale.c (_nl_load_locale): Likewise.
37009
09f93bd3
AS
370102011-11-15 Andreas Schwab <schwab@redhat.com>
37011
446514f9
AS
37012 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37013 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37014 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37015 (SYSCALL_GETTIME): Set errno on error.
37016
09f93bd3
AS
37017 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37018 count references to noai6ai_cached.
37019
312be3f9
UD
370202011-11-15 Ulrich Drepper <drepper@gmail.com>
37021
37022 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37023
37024 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37025 FD_CLOEXEC for /proc/self/maps.
37026
37027 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37028 FD_CLOEXEC for /proc/meminfo.
37029
37030 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37031 gai.conf.
37032
37033 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37034 FD_CLOEXEC for given file.
37035
37036 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37037
37038 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37039 FD_CLOEXEC for /etc/hosts.
37040 (_gethtent): Likewise.
37041
37042 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37043
37044 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37045 cancellation and set FD_CLOEXEC for /etc/netgroup.
37046
37047 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37048 reading /etc/publickey.
37049
37050 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37051 allow cancellation when reading /etc/group.
37052
37053 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37054 cancellation.
37055 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37056
37057 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37058 when using data file.
37059
37060 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37061
37062 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37063 (write_nis_obj): Use "c" and "e" in fopen.
37064
37065 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37066
37067 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37068
37069 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37070
37071 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37072
37073 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37074 locale.alias.
37075
37076 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37077
37078 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37079
37080 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37081
37082 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37083 file parsing and set FD_CLOEXEC.
37084
82af0fa8
UD
370852011-11-14 Ulrich Drepper <drepper@gmail.com>
37086
37087 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37088
a5fb313c
AS
370892011-11-14 Andreas Schwab <schwab@redhat.com>
37090
37091 * malloc/arena.c (arena_get2): Don't call reused_arena when
37092 _int_new_arena failed.
37093
6abf3465
UD
370942011-11-14 Ulrich Drepper <drepper@gmail.com>
37095
37096 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37097 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37098 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37100 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37102 to compile strcasecmp and strncasecmp.
37103 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37104 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37105
37106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37107
76e3966e
UD
371082011-11-13 Ulrich Drepper <drepper@gmail.com>
37109
37110 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37111 locale-defines.sym to gen-as-const-headers.
37112 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37113 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37115 to compile strcasecmp and strncasecmp.
37116 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37117 strcasecmp_l and strncasecmp_l.
37118 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37119 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37120 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37121 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37122 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37123 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37124 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37125 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37126 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37127 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37128 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37129
ab26144e
UD
371302011-11-12 Ulrich Drepper <drepper@gmail.com>
37131
7edb22ef
UD
37132 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37133 result of SYSDEP_GETTIME_CPU to retval.
37134 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37135 parameter list to macro. Remove trailing semicolon. Adjust users.
37136
9694fc44
UD
37137 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37138 variable.
37139
8ad89ef8
UD
37140 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37141 mantissa words.
37142 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37143
0c822ef9
UD
37144 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37145 from unused variable.
37146
874e0564
UD
37147 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37148 DWARF definitions.
37149 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37150 for assembling.
37151
3a2edc79
UD
37152 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37153 over namespaces.
37154
f3c2577f
UD
37155 * sunrpc/rpc_prot.c (rejected): Fix case value.
37156
294ce126
UD
37157 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37158 unsigned long long int to avoid warnings in shift.
37159
5e2b63c6
UD
37160 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37161 of use of trans.
37162 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37163 variable tmp.
37164
e7f4b08e
UD
37165 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37166 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37167 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37168
ab26144e
UD
37169 * nis/nis_table.c (nis_list): Use variable of correct type for
37170 result of __follow_path call.
37171
8a6d5255
AZ
371722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37173
37174 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37175 of math functions ceil, trunc, floor, round, and sqrt, when
37176 avaliable on the platform.
37177 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37178 name clash.
37179 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37180 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37181 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37182
aaddc98c
MP
371832011-10-30 Marek Polacek <mpolacek@redhat.com>
37184
37185 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37186 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37187
95b7042b
RM
371882011-11-11 Roland McGrath <roland@hack.frob.com>
37189
37190 * include/unistd.h: Fix __readlink return type.
37191 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37192
57769839
UD
371932011-11-11 Ulrich Drepper <drepper@gmail.com>
37194
37195 * stdlib/ucontext.h: Undo last change for makecontext.
37196
edc5984d
AS
371972011-11-11 Andreas Schwab <schwab@redhat.com>
37198
98591e58
AS
37199 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37200
edc5984d
AS
37201 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37202 * setjmp/setjmp.h: Mark functions as non-leaf.
37203 * setjmp/bits/setjmp2.h: Likewise.
37204 * stdlib/ucontext.h: Likewise.
37205
77cdc054
AS
372062011-11-10 Andreas Schwab <schwab@redhat.com>
37207
37208 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37209 (reused_arena): Don't check arena limit.
37210 (arena_get2): Atomically check arena limit.
37211
fe72eebd
UD
372122011-11-08 Ulrich Drepper <drepper@gmail.com>
37213
5f078c32
UD
37214 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37215 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37216
fe72eebd
UD
37217 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37218 instructions.
37219
ae1bc2fa
AS
372202011-11-07 Andreas Schwab <schwab@redhat.com>
37221
7583a88d
AS
37222 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37223 handler when locking.
37224
ae1bc2fa
AS
37225 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37226 Fix size of allocated buffer.
37227
10fb0bfa
AS
372282011-11-04 Andreas Schwab <schwab@redhat.com>
37229
998832a4
AS
37230 [BZ #10103]
37231 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37232 declarations for long double functions.
37233 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37234
10fb0bfa
AS
37235 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37236
3d7ba52b
AS
372372011-11-03 Andreas Schwab <schwab@redhat.com>
37238
a9ae54a1
AS
37239 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37240 installed.
37241
3d7ba52b
AS
37242 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37243 is disabled.
37244
bc8db248
ST
372452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37246
37247 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37248
45b96dd6
AS
372492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37250
647776f6
AS
37251 * include/alloca.h (stackinfo_alloca_round): Define.
37252 (extend_alloca): Use it.
37253 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37254 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37255 here.
37256
d91a8b93
AS
37257 * scripts/check-local-headers.sh: Ignore libaudit.h.
37258
45b96dd6
AS
37259 * nscd/Makefile (extra-objs): Make recursively expanded.
37260
432d41ce
UD
372612011-11-01 Ulrich Drepper <drepper@gmail.com>
37262
34372fc6
UD
37263 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37265
fadb59f8
UD
37266 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37267 * posix/tst-rfc3484-2.c: Likewise.
37268 * posix/tst-rfc3484-3.c: Likewise.
37269
78239589
UD
37270 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37271 process_vm_writev.
37272 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37273 process_vm_writev.
37274 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37275 process_vm_writev from libc using GLIBC_2.15 version.
37276
432d41ce
UD
37277 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37278
02f9c6cf
PP
372792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37280
37281 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37282 stack usage.
37283
3a2c0242
UD
372842011-10-31 Ulrich Drepper <drepper@gmail.com>
37285
f4ec4833
UD
37286 [BZ #13367]
37287 * nss/getent.c (initgroups_keys): Show error message in case no group
37288 names are given.
37289
3a2c0242
UD
37290 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37291 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37292 __bump_nl_timestamp.
37293 * nscd/connections (nscd_init): When host database is served open
37294 netlink socket and request notification about configuration changes.
37295 (main_loop_poll): Track netlink file descriptor and bump timestamp
37296 in case data becomes available.
37297 (main_loop_epoll): Likewise.
37298 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37299 (database_pers_head): Add extra_data fileds.
37300 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37301 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37302 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37303 Adjust caller.
37304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37305 in6ai data, call __free_in6ai.
37306 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37307 Add -DHAVE_NETLINK.
37308 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37309 interface information. Reuse previous data if netlink timestamp
37310 is not changed.
37311 (__bump_nl_timestamp): New function.
37312 (__free_in6ai): New function.
37313
636064eb
UD
373142011-10-30 Ulrich Drepper <drepper@gmail.com>
37315
37316 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37317 close_not_cancel_no_status here.
37318 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37319
9beb2334
UD
373202011-10-29 Ulrich Drepper <drepper@gmail.com>
37321
6ef76f3b
UD
37322 [BZ #13276]
37323 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37324 return value.
37325
0ffc4f3e 37326 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37327 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37328 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37329
cb95113e
UD
373302011-07-03 Andreas Jaeger <aj@suse.de>
37331
37332 [BZ #10709]
37333 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37334 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37335 * math/libm-test.inc (sin_test): Add test case.
37336
a1b560ff
UD
373372011-10-29 Ulrich Drepper <drepper@gmail.com>
37338
c9aaface
UD
37339 [BZ #13337]
37340 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37341 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37342
d272e7f1
UD
37343 * elf/chroot_canon.c (chroot_canon): Cleanups.
37344
1bc33071
UD
37345 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37346
1760874d
TJ
37347 [BZ #13335]
37348 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37349 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37350
51d91b18
UD
37351 * string/test-strchr.c: Make usable for strchrnul testing.
37352 * string/test-strchrnul.c: New file.
37353 * string/Makefile (strop-tests): Add strchrnul.
37354
a1b560ff 37355 * po/it.po: Update from translation team.
b611fb81 37356 * po/es.po: Likewise.
a1b560ff 37357
a5b81e1f
UD
373582011-10-28 Ulrich Drepper <drepper@gmail.com>
37359
fd52bc6d
UD
37360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37361 the three constants needed as parameters. Drop the others.
37362 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37363 __m128i_strloadu_tolower.
52e4b9eb
UD
37364 Create and initialize variable zero and use it in all the places
37365 where _mm_setzero_si128 was used.
fd52bc6d 37366
a5b81e1f
UD
37367 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37368 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37369 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37370 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37371 anymore.
37372 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37373 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37374 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37375 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37376 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37377 __mpranred, __mptan.
37378 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37379 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37380 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37381 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37382 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37383 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37385 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37386 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37387
b4343346
AS
373882011-10-28 Andreas Schwab <schwab@redhat.com>
37389
0c92d8a8
AS
37390 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37391 redefine if SHARED.
37392 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37393
b4343346
AS
37394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37395 wide char related routines to wcsmbs subdir.
37396
3871f58f
AS
373972011-10-27 Andreas Schwab <schwab@redhat.com>
37398
37399 [BZ #13344]
37400 * misc/sys/cdefs.h (__THROWNL): Define.
37401 * posix/unistd.h: Use __THREADNL instead of __THREAD
37402 for memory synchronization functions.
37403
94d44d9f
RM
374042011-10-26 Roland McGrath <roland@hack.frob.com>
37405
21b64b15 37406 [BZ #13349]
94d44d9f
RM
37407 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37408 doesn't exist.
37409 * manual/stdio.texi (Obstack Streams): Node removed.
37410
f6ce9294
AS
374112011-10-26 Andreas Schwab <schwab@redhat.com>
37412
80479147
AS
37413 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37414 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37415 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37416
f6ce9294
AS
37417 * math/math_private.h (math_force_eval): Allow non-addressable
37418 arguments.
37419 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37420
618280a1
UD
374212011-10-25 Ulrich Drepper <drepper@gmail.com>
37422
e0016b11
UD
37423 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37424 file is not needed.
37425
37426 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37427 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37428 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37429 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37430 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37432 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37433 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37434 Add AVX variants.
37435 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37436 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37437 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37438 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37439 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37440 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37441 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37442 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37443 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37444 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37445 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37446 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37448 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37451 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37452 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37453 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37454
37455 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37456 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37457
618280a1
UD
37458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37459 place. Use VEX encoding when compiling for AVX.
37460
37822576
AS
374612011-10-25 Andreas Schwab <schwab@redhat.com>
37462
1f1e1947
AS
37463 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37464 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37465
37822576
AS
37466 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37467
31ea014d
UD
374682011-10-25 Ulrich Drepper <drepper@gmail.com>
37469
d7826aa1 37470 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37471 useless if() expression.
d7826aa1
UD
37472 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37475 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37476 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37477 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37478 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37479 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37480 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37481 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37482 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37484 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37485 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37486 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37487 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37488 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37489 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37490 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37491
31ea014d
UD
37492 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37493
16437fec
AS
374942011-10-25 Andreas Schwab <schwab@redhat.com>
37495
37496 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37497 condition.
37498 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37499
31d3cc00
UD
375002011-10-25 Ulrich Drepper <drepper@gmail.com>
37501
37502 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37503 .text section. Avoid duplicate constants.
37504 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37514 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37516 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37519 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37521 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37527 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37528 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37529 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37530 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37531 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37532 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37533 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37534 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37535 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37536 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37537 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37538 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37539 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37540 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37542 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37543 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37544 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37545 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37546 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37547 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37548 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37549
58985aa9
UD
375502011-10-24 Ulrich Drepper <drepper@gmail.com>
37551
202c9deb
UD
37552 * sysdeps/x86_64/dla.h: Move to ...
37553 * sysdeps/x86_64/fpu/dla.h: ...here.
37554 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37555 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37556
af968f62
UD
37557 * config.make.in: Add have-mfma4 entry.
37558 * configure.in: Substitute libc_cv_cc_fma4.
37559 * math/Makefile (dbl-only-routines): Add sincostab.
37560 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37561 Use __sincostab not sincos.
37562 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37563 name is a macro.
37564 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37568 using __copysign.
37569 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37570 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37571 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37572 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37573 and __inv.
37574 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37575 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37576 __copysign.
37577 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37578 define aliases when function name is a macro.
37579 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37580 sysdeps/ieee754/dbl-64/sincos.tbl.
37581 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37582 fma4-enabled routines.
37583 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37584 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37585 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37586 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37587 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37588 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37589 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37590 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37591 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37592 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37593 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37594 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37595 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37596 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37597 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37598 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37599 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37600 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37601 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37603 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37604 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37605 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37606 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37607 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37608 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37610 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37611 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37612 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37613
58985aa9
UD
37614 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37615 rename.
37616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37624
a201fbcf
AS
376252011-10-24 Andreas Schwab <schwab@redhat.com>
37626
37627 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37628
fc2ee42a
LD
376292011-10-23 Ulrich Drepper <drepper@gmail.com>
37630
bb3129bd
UD
37631 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37632
0275fff8
UD
37633 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37634 prediction.
37635 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37636
2fa2ae85
UD
37637 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37638 Remove unused variable magic_bits.
37639 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37640
fc2ee42a
LD
37641 * string/strnlen.c: Define and use STRNLEN macro.
37642 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37643 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37645 * wcsmbs/wcslen.c: Define and use WCSLEN.
37646 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37647 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37648 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37649 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37650 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37651 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37652 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37653
ce7dd29f
LD
376542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37655
37656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37657 strnlen-sse2-no-bsf.
37658 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37659 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37660 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37661 Add strnlen support.
37662 (USE_AS_STRNLEN): New macro.
37663 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37664 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37665 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37666 * sysdeps/x86_64/wcslen.S: New file.
37667
979c70a3
MZ
376682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37669
37670 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37671 XMM-moves are used for copying on small sizes.
37672
2d09f82f
LD
376732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37674
37675 * wcsmbs/Makefile (strop-tests): Add wcschr.
37676 * wcsmbs/test-wcschr.c: New file.
37677 * string/test-strchr.c: Update.
37678 Add wcschr support.
37679 (WIDE): New macro.
37680
619fccca
LD
376812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37682
2d09f82f 37683 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37684 * wcsmbs/test-wcslen.c: New file.
37685 * string/test-strlen.c: Update.
37686 Add wcslen support.
37687 (WIDE): New macro.
37688
09f699ea
UD
376892011-10-23 Ulrich Drepper <drepper@gmail.com>
37690
37691 * po/it.po: Update from translation team.
37692
95584d3b
LD
376932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37694
37695 * sysdeps/x86_64/wcscmp.S: Update.
37696 Fix wrong comparison semantics.
37697 wcscmp shall use signed comparison not unsigned.
37698 Don't use substraction to avoid overflow bug.
37699 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37700 * wcsmbc/wcscmp.c: Likewise.
37701 * string/test-strcmp.c: Likewise.
37702 Add new tests to check cases with negative values.
37703
c8b3296b
UD
377042011-10-23 Ulrich Drepper <drepper@gmail.com>
37705
37706 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37707 * sysdeps/x86_64/dla.h: ...here. New file.
37708 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37717
246ad57a
AS
377182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37719
37720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37721 __ynl_finite aliases.
37722
a1a87169
UD
377232011-10-22 Ulrich Drepper <drepper@gmail.com>
37724
0d355eb7
UD
37725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37726
a1a87169
UD
37727 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37728 define DLA_FMA.
37729 [DLA_FMA] (EMULV): Use DLA_FMA.
37730 [DLA_FMA] (MUL12): Use EMULV.
37731 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37732 that are not needed.
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
ee2aafe0
AS
377412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37742
37743 * math/s_nan.c: Undef __nan.
37744 * math/s_nanf.c: Undef __nanf.
37745 * math/s_nanl.c: Undef __nanl.
37746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37747 "math_private.h".
37748
bc62c2fb
UD
377492011-10-22 Ulrich Drepper <drepper@gmail.com>
37750
77425c63
UD
37751 * math/s_catan.c: Add branch predictions.
37752 * math/s_catanf.c: Likewise.
37753 * math/s_catanh.c: Likewise.
37754 * math/s_catanhf.c: Likewise.
37755 * math/s_catanhl.c: Likewise.
37756 * math/s_catanl.c: Likewise.
37757 * math/s_cexp.c: Likewise.
37758 * math/s_cexpf.c: Likewise.
37759 * math/s_cexpl.c: Likewise.
37760 * math/s_clog.c: Likewise.
37761 * math/s_clog10.c: Likewise.
37762 * math/s_clog10f.c: Likewise.
37763 * math/s_clog10l.c: Likewise.
37764 * math/s_clogf.c: Likewise.
37765 * math/s_clogl.c: Likewise.
37766 * math/s_csqrt.c: Likewise.
37767 * math/s_csqrtf.c: Likewise.
37768 * math/s_csqrtl.c: Likewise.
37769 * math/s_ctanf.c: Likewise.
37770 * math/s_ctanh.c: Likewise.
37771 * math/s_ctanhf.c: Likewise.
37772 * math/s_ctanhl.c: Likewise.
37773 * math/s_ctanl.c: Likewise.
37774
bc62c2fb
UD
37775 * math/math_private.h: Define __nan, __nanf, __nanl.
37776 * math/s_cacosh.c: Include <math_private.h>.
37777 * math/s_cacoshl.c: Likewise.
37778 * math/s_casinh.c: Likewise.
37779 * math/s_casinhf.c: Likewise.
37780 * math/s_casinhl.c: Likewise.
37781 * math/s_ccos.c: Rely entire on ccosh.
37782 * math/s_ccosf.c: Rely entire on ccoshf.
37783 * math/s_ccosl.c: Rely entirely on ccoshl.
37784 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37785 Remove tests for FE_INVALID.
37786 * math/s_ccoshf.c: Likewise.
37787 * math/s_ccoshl.c: Likewise.
37788 * math/s_csin.c: Likewise.
37789 * math/s_csinf.c: Likewise.
37790 * math/s_csinh.c Likewise.
37791 * math/s_csinhf.c: Likewise.
37792 * math/s_csinhl.c: Likewise.
37793 * math/s_csinl.c: Likewise.
37794 * math/s_ctan.c: Likewise.
37795 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37796 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37797 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37798
8ec250a4
UD
377992011-10-21 Ulrich Drepper <drepper@gmail.com>
37800
c196fed8
UD
37801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37802 compilation problems.
37803
8ec250a4
UD
37804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37805 __builtin_expect.
37806
8d4f46c6
UD
378072011-10-20 Ulrich Drepper <drepper@gmail.com>
37808
ed72b654
UD
37809 * sysdeps/i386/configure.in: Test for -mfma4 option.
37810 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37811 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37812 COMMON_CPUID_INDEX_80000001.
37813 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37814 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37815 use it if FMA3 is not supported.
37816 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37817
8d4f46c6
UD
37818 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37819 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37820
d45c60c2
AS
378212011-10-20 Andreas Schwab <schwab@redhat.com>
37822
37823 [BZ #12892]
37824 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37825 it would create a cycle with a link time dependency.
37826
d9a4d2ab
UD
378272011-10-19 Ulrich Drepper <drepper@gmail.com>
37828
855d1560
UD
37829 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37830 instruction.
37831 * string/Makefile (strop-tests): Add rawmemchr.
37832 * string/test-rawmemchr.c: New file.
37833
d9a4d2ab
UD
37834 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37835 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37836 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37837 when compiling str{,n}casecmp and when AVX is available. Hook up
37838 new optimized code in initializers.
37839
8f3b1ffe
AS
378402011-10-19 Andreas Schwab <schwab@redhat.com>
37841
37842 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37843 __feraiseexcept instead of feraiseexcept.
37844
d38f1dba
UD
378452011-10-18 Ulrich Drepper <drepper@gmail.com>
37846
d9a8d0ab
UD
37847 * math/math_private.h: Define defaults for libc_fetestexcept and
37848 libc_feupdateenv.
37849 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37850 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37851 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37852 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37853 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37854 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37855 libc_fetestexcept and libc_feupdateenv.
37856
4855e3dd
UD
37857 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37858 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37859 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37860 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37861 libc_feholdexcept_setround.
37862
581d30e3
UD
37863 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37864 Add s_nearbyint-c and s_nearbyintf-c.
37865 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37866 nearbyintf inlines.
37867 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37868 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37869 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37870 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37871
d38f1dba
UD
37872 * math/math_private.h: Define defaults for libc_fegetround,
37873 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37874 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37875 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37876 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37877 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37878 standard functions.
37879 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37880 Remove comments and hacks for old compiler versions.
37881 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37882 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37883 libc_feholdexceptl.
37884
caa6c9d8
AS
378852011-10-18 Andreas Schwab <schwab@redhat.com>
37886
37887 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37888 (__feraiseexcept_renamed): Add __NTH.
37889 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37890 namespace violations.
37891
97c066e6
UD
378922011-10-17 Ulrich Drepper <drepper@gmail.com>
37893
99ce7b04
UD
37894 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37895
1004d182
UD
37896 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37897
228a984d
UD
37898 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37899 recently added interfaces.
37900 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37901
c8553a6a
UD
37902 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37903 about macro parameter expansion.
37904
ed22dcf6
UD
37905 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37906 __NO_MATH_INLINES is defined. Cleanups.
37907
37908 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37909 and __floorf is target has SSE4.1.
37910 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37911 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37912 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37913 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37914
b171c137
UD
37915 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37916 name.
37917 (floorf): Likewise.
37918
97c066e6
UD
37919 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37920
629f62ef
AS
379212011-10-17 Andreas Schwab <schwab@redhat.com>
37922
49a43d80
AS
37923 * misc/sys/cdefs.h: Fix last change.
37924
629f62ef
AS
37925 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37926 database lookup.
37927
e453f6cd
UD
379282011-10-16 Ulrich Drepper <drepper@gmail.com>
37929
aa78043a
UD
37930 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37931
ad0f5cad
UD
37932 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37936 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37937 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37938 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37939 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37940 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37941 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37942 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37943 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37944 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37945 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37946 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37947 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37948 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37949 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37950 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37951 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37952 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37953 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37954
37955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37956 ceil, ceilf, floor, floorf.
37957
37958 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37959 Perform IRELATIVE relocations last.
37960
e453f6cd
UD
37961 * elf/do-rel.h: Add another parameter nrelative, replacing the
37962 local variable with the same name. Change name of the function
37963 to end in Rel or Rela (uppercase).
37964 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37965 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37966 elf_dynamic_do_##reloc function.
37967
fd5bdc09
UD
379682011-10-15 Ulrich Drepper <drepper@gmail.com>
37969
79b195b5
UD
37970 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37971 is sufficient, at least on modern CPUs.
37972
d4a28569
UD
37973 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37974
b61099b5
UD
37975 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37976 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37977
bcf01e6d
UD
37978 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37979 __expl_finite.
37980 * math/bits/math-finite.h: Add entries for exp.
37981 * math/e_expl.c: Add __*_finite alias.
37982 * sysdeps/i386/fpu/e_exp.S: Likewise.
37983 * sysdeps/i386/fpu/e_expf.S: Likewise.
37984 * sysdeps/i386/fpu/e_expl.c: Likewise.
37985 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37986 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37987 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37988 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37989 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37990 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37991 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37992
ba1a0d59
UD
37993 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37994 is sufficient, at least on modern CPUs.
37995
fd5bdc09
UD
37996 * ctype/ctype-info.c (__ctype_init): Define.
37997 * include/ctype.h (__ctype_init): Declare.
37998 (__ctype_b_loc): The variable is always initialized.
37999 (__ctype_toupper_loc): Likewise.
38000 (__ctype_tolower_loc): Likewise.
38001 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38002 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38003
7872cfb0
AS
380042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38005
b468825a
AS
38006 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38007
7872cfb0
AS
38008 * configure.in: Also look in $cxxmachine/include for C++ system
38009 headers.
38010
be13f7bf
LD
380112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38012
38013 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38014 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38015 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38016 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38017 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38018 (USE_AS_WMEMCMP): New macro.
38019 Fixing indents.
38020 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38021 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38022 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38023 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38025 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38026 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38027 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38028 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38029 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38030 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38031 (USE_AS_WMEMCMP): New macro.
38032 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38033 * sysdeps/string/test-memcmp.c: Update.
38034 Fix simple_wmemcmp.
38035 Add new tests.
38036 * wcsmbs/wmemcmp.c: Update.
38037 (WMEMCMP): New macro.
38038 Fix overflow bug.
38039
556a2007
AJ
380402011-10-12 Andreas Jaeger <aj@suse.de>
38041
38042 [BZ #13268]
38043 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38044
538faaa7
UD
380452011-10-15 Ulrich Drepper <drepper@gmail.com>
38046
ab6737ff
UD
38047 * libio/iofwide.c (do_length): Avoid warning.
38048
538faaa7
UD
38049 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38050
396a21b1
UD
380512011-10-14 Ulrich Drepper <drepper@gmail.com>
38052
cdf2901f
UD
38053 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38054
38ad40ce
UD
38055 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38056 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38057 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38058 * sysdeps/i386/i686/fpu/e_log.S: New file.
38059 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38060 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38061
396a21b1
UD
38062 * ctype/ctype.h: Add support for inlined isXXX functions when
38063 compiling C++ code.
38064
6b1f68c9
AS
380652011-10-14 Andreas Schwab <schwab@redhat.com>
38066
349290c0
AS
38067 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38068
6b1f68c9
AS
38069 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38070
f2282d42
RM
380712011-10-13 Roland McGrath <roland@hack.frob.com>
38072
38073 [BZ #13291]
38074 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38075
5298ffa8
AS
380762011-10-13 Andreas Schwab <schwab@redhat.com>
38077
714fad23
AS
38078 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38079 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38080 feraiseexcept.
38081
81dcc7fb
AS
38082 * sysdeps/x86_64/memrchr.S: Check for zero size.
38083
5298ffa8
AS
38084 * string/stratcliff.c: Add memrchr tests.
38085
951fbcec
LD
380862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38087
38088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38089 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38090 rawmemchr-sse2 rawmemchr-sse2-bsf.
38091 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38092 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38093 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38094 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38095 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38096 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38097 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38098 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38099 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38100 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38101 * string/memrchr.c (MEMRCHR): New macro.
38102
0ac5ae23
UD
381032011-10-12 Ulrich Drepper <drepper@gmail.com>
38104
38105 Add integration with gcc's -ffinite-math-only and optimize wrapper
38106 functions in libm.
38107 * Versions.def: Define GLIBC_2.15 version for libm.
38108 * math/Makefile (headers): Add bits/math-finite.h.
38109 * math/bits/math-finite.h: New file.
38110 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38111 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38112 * math/e_acoshl.c: Add __*_finite alias.
38113 * math/e_acosl.c: Likewise.
38114 * math/e_asinl.c: Likewise.
38115 * math/e_atan2l.c: Likewise.
38116 * math/e_atanhl.c: Likewise.
38117 * math/e_coshl.c: Likewise.
38118 * math/e_exp10.c: Likewise.
38119 * math/e_exp10f.c: Likewise.
38120 * math/e_exp10l.c: Likewise.
38121 * math/e_exp2l.c: Likewise.
38122 * math/e_fmodl.c: Likewise.
38123 * math/e_gammal_r.c: Likewise.
38124 * math/e_hypotl.c: Likewise.
38125 * math/e_j0l.c: Likewise.
38126 * math/e_j1l.c: Likewise.
38127 * math/e_jnl.c: Likewise.
38128 * math/e_lgammal_r.c: Likewise.
38129 * math/e_log10l.c: Likewise.
38130 * math/e_log2l.c: Likewise.
38131 * math/e_logl.c: Likewise.
38132 * math/e_powl.c: Likewise.
38133 * math/e_sinhl.c: Likewise.
38134 * math/e_sqrtl.c: Likewise.
38135 * math/e_scalb.c: Completely rewritten and optimized.
38136 * math/e_scalbf.c: Likewise.
38137 * math/e_scalbl.c: Likewise.
38138 * math/w_acos.c: Likewise.
38139 * math/w_acosf.c: Likewise.
38140 * math/w_acosl.c: Likewise.
38141 * math/w_acosh.c: Likewise.
38142 * math/w_acoshf.c: Likewise.
38143 * math/w_acoshl.c: Likewise.
38144 * math/w_asin.c: Likewise.
38145 * math/w_asinf.c: Likewise.
38146 * math/w_asinl.c: Likewise.
38147 * math/w_atan2.c: Likewise.
38148 * math/w_atan2f.c: Likewise.
38149 * math/w_atan2l.c: Likewise.
38150 * math/w_atanh.c: Likewise.
38151 * math/w_atanhf.c: Likewise.
38152 * math/w_atanhl.c: Likewise.
38153 * math/w_exp10.c: Likewise.
38154 * math/w_exp10f.c: Likewise.
38155 * math/w_exp10l.c: Likewise.
38156 * math/w_fmod.c: Likewise.
38157 * math/w_fmodf.c: Likewise.
38158 * math/w_fmodl.c: Likewise.
38159 * math/w_j0.c: Likewise.
38160 * math/w_j0f.c: Likewise.
38161 * math/w_j0l.c: Likewise.
38162 * math/w_j1.c: Likewise.
38163 * math/w_j1f.c: Likewise.
38164 * math/w_j1l.c: Likewise.
38165 * math/w_jn.c: Likewise.
38166 * math/w_jnf.c: Likewise.
38167 * math/w_log.c: Likewise.
38168 * math/w_logf.c: Likewise.
38169 * math/w_logl.c: Likewise.
38170 * math/w_log10.c: Likewise.
38171 * math/w_log10f.c: Likewise.
38172 * math/w_log10l.c: Likewise.
38173 * math/w_log2.c: Likewise.
38174 * math/w_log2f.c: Likewise.
38175 * math/w_log2l.c: Likewise.
38176 * math/w_pow.c: Likewise.
38177 * math/w_powf.c: Likewise.
38178 * math/w_powl.c: Likewise.
38179 * math/w_remainder.c: Likewise.
38180 * math/w_remainderf.c: Likewise.
38181 * math/w_remainderl.c: Likewise.
38182 * math/w_scalb.c: Likewise.
38183 * math/w_scalbf.c: Likewise.
38184 * math/w_scalbl.c: Likewise.
38185 * math/w_sqrt.c: Likewise.
38186 * math/w_sqrtf.c: Likewise.
38187 * math/w_sqrtl.c: Likewise.
38188 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38189 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38190 used.
38191 * math/math_private.h: Declare __kernel_standard_f.
38192 * math/w_cosh.c: Remove cruft and optimize a bit.
38193 * math/w_coshf.c: Likewise.
38194 * math/w_coshl.c: Likewise.
38195 * math/w_exp2.c: Likewise.
38196 * math/w_exp2f.c: Likewise.
38197 * math/w_exp2l.c: Likewise.
38198 * math/w_hypot.c: Likewise.
38199 * math/w_hypotf.c: Likewise.
38200 * math/w_hypotl.c: Likewise.
38201 * math/w_lgamma.c: Likewise.
38202 * math/w_lgamma_r.c: Likewise.
38203 * math/w_lgammaf.c: Likewise.
38204 * math/w_lgammaf_r.c: Likewise.
38205 * math/w_lgammal.c: Likewise.
38206 * math/w_lgammal_r.c: Likewise.
38207 * math/w_sinh.c: Likewise.
38208 * math/w_sinhf.c: Likewise.
38209 * math/w_sinhl.c: Likewise.
38210 * math/w_tgamma.c: Likewise.
38211 * math/w_tgammaf.c: Likewise.
38212 * math/w_tgammal.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38214 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38215 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38216 Minor optimizations. Pretty printing. Remove cruft.
38217 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38218 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38219 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38220 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38221 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38222 * sysdeps/i386/fpu/e_asin.S: Likewise.
38223 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38224 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38225 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38226 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38227 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38228 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38229 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38230 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38231 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38232 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38233 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38234 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38235 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38236 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38237 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38238 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38239 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38240 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38241 * sysdeps/i386/fpu/e_log.S: Likewise.
38242 * sysdeps/i386/fpu/e_log10.S: Likewise.
38243 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38244 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38245 * sysdeps/i386/fpu/e_log2.S: Likewise.
38246 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38248 * sysdeps/i386/fpu/e_logf.S: Likewise.
38249 * sysdeps/i386/fpu/e_logl.S: Likewise.
38250 * sysdeps/i386/fpu/e_pow.S: Likewise.
38251 * sysdeps/i386/fpu/e_powf.S: Likewise.
38252 * sysdeps/i386/fpu/e_powl.S: Likewise.
38253 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38254 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38255 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38256 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38257 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38258 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38259 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38260 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38261 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38265 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38268 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38269 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38270 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38271 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38272 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38273 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38275 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38276 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38278 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38279 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38280 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38283 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38286 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38287 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38288 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38289 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38290 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38291 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38292 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38293 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38294 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38295 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38296 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38297 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38298 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38299 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38300 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38301 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38302 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38303 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38342 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38345 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38347 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38348 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38350 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38353 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38354 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38355 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38356 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38357 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38358 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38359 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38360 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38361 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38362 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38363 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38364 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38365 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38366 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38367 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38368 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38369 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38370 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38371 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38372 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38373 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38374 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38375 (__isnanf): Likewise.
38376 (__isinf_ns): Likewise.
38377 (__isinf_nsf): Likewise.
38378 (__finite): Likewise.
38379 (__finitef): Likewise.
38380 (__ieee754_sqrt): Define as macro.
38381 (__ieee754_sqrtf): Define as macro.
38382 (__ieee754_sqrtl): Define as macro.
38383 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38384 inlined copy.
38385 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38386 __FINITE_MATH_ONLY__ consistent.
38387 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38388
12cc2fcd
AS
383892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38390
a843a204
AS
38391 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38392 of rawmemchr.
38393
12cc2fcd
AS
38394 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38395
c853acd5
UD
383962011-10-09 Ulrich Drepper <drepper@gmail.com>
38397
38398 * po/ja.po: Update from translation team.
38399
c658d255
RM
384002011-10-08 Roland McGrath <roland@hack.frob.com>
38401
110946e4
RM
38402 * locale/programs/locarchive.c (prepare_address_space): New function.
38403 (create_archive, enlarge_archive, open_archive): Use it.
38404
50604220
RM
38405 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38406 inside [SHARED], where it is used.
38407
c658d255
RM
38408 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38409
38410 * nss/getent.c (netgroup_keys): Remove unused variable.
38411 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38412
6a621eb7
UD
384132011-10-08 Ulrich Drepper <drepper@gmail.com>
38414
7edb55ce
UD
38415 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38416 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38418 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38419 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38420 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38421 * math/Makefile (libm-calls): Add s_isinf_ns.
38422 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38423 * math/multc3.c: Likewise.
38424 * math/s_casin.c: Likewise.
38425 * math/s_casinf.c: Likewise.
38426 * math/s_casinl.c: Likewise.
38427 * math/s_ccos.c: Likewise.
38428 * math/s_ccosf.c: Likewise.
38429 * math/s_ccosl.c: Likewise.
38430 * math/s_ctan.c: Likewise.
38431 * math/s_ctanf.c: Likewise.
38432 * math/s_ctanh.c: Likewise.
38433 * math/s_ctanhf.c: Likewise.
38434 * math/s_ctanhl.c: Likewise.
38435 * math/s_ctanl.c: Likewise.
38436 * math/w_fmod.c: Likewise.
38437 * math/w_fmodf.c: Likewise.
38438 * math/w_fmodl.c: Likewise.
38439 * math/w_remainder.c: Likewise.
38440 * math/w_remainderf.c: Likewise.
38441 * math/w_remainderl.c: Likewise.
38442 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38443 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38444 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38446 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38447 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38448 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38449 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38450
187da0ae
UD
38451 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38452 of the number.
38453 * stdio-common/printf_fphex.c: Likewise.
38454 * stdio-common/printf_size.c: Likewise.
38455
9277c064
UD
38456 * math/e_exp10.c: Include math_private.h using <...> not "...".
38457 * math/e_exp10f.c: Likewise.
38458 * math/e_exp10l.c: Likewise.
38459 * math/e_exp2l.c: Likewise.
38460 * math/e_j0l.c: Likewise.
38461 * math/e_j1l.c: Likewise.
38462 * math/e_jnl.c: Likewise.
38463 * math/e_lgammal_r.c: Likewise.
38464 * math/e_rem_pio2l.c: Likewise.
38465 * math/e_scalb.c: Likewise.
38466 * math/e_scalbf.c: Likewise.
38467 * math/e_scalbl.c: Likewise.
38468 * math/k_cosl.c: Likewise.
38469 * math/k_sinl.c: Likewise.
38470 * math/k_tanl.c: Likewise.
38471 * math/s_cacoshf.c: Likewise.
38472 * math/s_catan.c: Likewise.
38473 * math/s_catanf.c: Likewise.
38474 * math/s_catanh.c: Likewise.
38475 * math/s_catanhf.c: Likewise.
38476 * math/s_catanhl.c: Likewise.
38477 * math/s_catanl.c: Likewise.
38478 * math/s_ccosh.c: Likewise.
38479 * math/s_ccoshf.c: Likewise.
38480 * math/s_ccoshl.c: Likewise.
38481 * math/s_cexp.c: Likewise.
38482 * math/s_cexpf.c: Likewise.
38483 * math/s_cexpl.c: Likewise.
38484 * math/s_clog.c: Likewise.
38485 * math/s_clog10.c: Likewise.
38486 * math/s_clog10f.c: Likewise.
38487 * math/s_clog10l.c: Likewise.
38488 * math/s_clogf.c: Likewise.
38489 * math/s_clogl.c: Likewise.
38490 * math/s_csin.c: Likewise.
38491 * math/s_csinf.c: Likewise.
38492 * math/s_csinh.c: Likewise.
38493 * math/s_csinhf.c: Likewise.
38494 * math/s_csinhl.c: Likewise.
38495 * math/s_csinl.c: Likewise.
38496 * math/s_csqrt.c: Likewise.
38497 * math/s_csqrtf.c: Likewise.
38498 * math/s_csqrtl.c: Likewise.
38499 * math/s_ctan.c: Likewise.
38500 * math/s_ctanf.c: Likewise.
38501 * math/s_ctanh.c: Likewise.
38502 * math/s_ctanhf.c: Likewise.
38503 * math/s_ctanhl.c: Likewise.
38504 * math/s_ctanl.c: Likewise.
38505 * math/s_ldexp.c: Likewise.
38506 * math/s_ldexpf.c: Likewise.
38507 * math/s_ldexpl.c: Likewise.
38508 * math/s_significand.c: Likewise.
38509 * math/s_significandf.c: Likewise.
38510 * math/s_significandl.c: Likewise.
38511 * math/w_acos.c: Likewise.
38512 * math/w_acosf.c: Likewise.
38513 * math/w_acosh.c: Likewise.
38514 * math/w_acoshf.c: Likewise.
38515 * math/w_acoshl.c: Likewise.
38516 * math/w_acosl.c: Likewise.
38517 * math/w_asin.c: Likewise.
38518 * math/w_asinf.c: Likewise.
38519 * math/w_asinl.c: Likewise.
38520 * math/w_atan2.c: Likewise.
38521 * math/w_atan2f.c: Likewise.
38522 * math/w_atan2l.c: Likewise.
38523 * math/w_atanh.c: Likewise.
38524 * math/w_atanhf.c: Likewise.
38525 * math/w_atanhl.c: Likewise.
38526 * math/w_cosh.c: Likewise.
38527 * math/w_coshf.c: Likewise.
38528 * math/w_coshl.c: Likewise.
38529 * math/w_dremf.c: Likewise.
38530 * math/w_exp10.c: Likewise.
38531 * math/w_exp10f.c: Likewise.
38532 * math/w_exp10l.c: Likewise.
38533 * math/w_exp2.c: Likewise.
38534 * math/w_exp2f.c: Likewise.
38535 * math/w_fmod.c: Likewise.
38536 * math/w_fmodf.c: Likewise.
38537 * math/w_fmodl.c: Likewise.
38538 * math/w_hypot.c: Likewise.
38539 * math/w_hypotf.c: Likewise.
38540 * math/w_hypotl.c: Likewise.
38541 * math/w_j0.c: Likewise.
38542 * math/w_j0f.c: Likewise.
38543 * math/w_j0l.c: Likewise.
38544 * math/w_j1.c: Likewise.
38545 * math/w_j1f.c: Likewise.
38546 * math/w_j1l.c: Likewise.
38547 * math/w_jn.c: Likewise.
38548 * math/w_jnf.c: Likewise.
38549 * math/w_jnl.c: Likewise.
38550 * math/w_lgamma.c: Likewise.
38551 * math/w_lgamma_r.c: Likewise.
38552 * math/w_lgammaf.c: Likewise.
38553 * math/w_lgammaf_r.c: Likewise.
38554 * math/w_lgammal.c: Likewise.
38555 * math/w_lgammal_r.c: Likewise.
38556 * math/w_log.c: Likewise.
38557 * math/w_log10.c: Likewise.
38558 * math/w_log10f.c: Likewise.
38559 * math/w_log10l.c: Likewise.
38560 * math/w_log2.c: Likewise.
38561 * math/w_log2f.c: Likewise.
38562 * math/w_log2l.c: Likewise.
38563 * math/w_logf.c: Likewise.
38564 * math/w_logl.c: Likewise.
38565 * math/w_pow.c: Likewise.
38566 * math/w_powf.c: Likewise.
38567 * math/w_powl.c: Likewise.
38568 * math/w_remainder.c: Likewise.
38569 * math/w_remainderf.c: Likewise.
38570 * math/w_remainderl.c: Likewise.
38571 * math/w_scalb.c: Likewise.
38572 * math/w_scalbf.c: Likewise.
38573 * math/w_scalbl.c: Likewise.
38574 * math/w_sinh.c: Likewise.
38575 * math/w_sinhf.c: Likewise.
38576 * math/w_sinhl.c: Likewise.
38577 * math/w_sqrt.c: Likewise.
38578 * math/w_sqrtf.c: Likewise.
38579 * math/w_sqrtl.c: Likewise.
38580 * math/w_tgamma.c: Likewise.
38581 * math/w_tgammaf.c: Likewise.
38582 * math/w_tgammal.c: Likewise.
38583
6a621eb7
UD
38584 * po/ja.po: Update from translation team.
38585
bf582445
AJ
385862011-09-29 Andreas Jaeger <aj@suse.de>
38587
f9efbf3a
AJ
38588 [BZ #13179]
38589 * sunrpc/netname.c (netname2host): Fix logic.
38590
bf582445
AJ
38591 [BZ #6779]
38592 [BZ #6783]
38593 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38594 correctly.
38595 * math/w_remainder.c (__remainder): Likewise.
38596 * math/w_remainderf.c (__remainderf): Likewise.
38597 * math/libm-test.inc (remainder_test): Add test cases.
38598
48693bea
AK
385992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38600
38601 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38602 sdiv_qrnnd.
38603
42622229
LD
386042011-10-07 Ulrich Drepper <drepper@gmail.com>
38605
38606 * string/test-memcmp.c: Avoid unncessary #defines.
38607 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38608
093ecf92
LD
386092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38610
38611 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38612 Use new sse2 version for core i3 - i7 as it's faster
38613 than sse42 version.
38614 (bit_Prefer_PMINUB_for_stringop): New.
38615 * sysdeps/x86_64/rawmemchr.S: Update.
38616 Replace with faster SSE2 version.
38617 * sysdeps/x86_64/memrchr.S: New file.
38618 * sysdeps/x86_64/memchr.S: Update.
38619 Replace with faster SSE2 version.
38620
fde56e5c
MP
386212011-09-12 Marek Polacek <mpolacek@redhat.com>
38622
38623 * elf/dl-load.c (lose): Add cast to avoid warning.
38624
21fd49a9
UD
386252011-10-07 Ulrich Drepper <drepper@gmail.com>
38626
5a06e643
UD
38627 * po/ca.po: Update from translation team.
38628
684ae515
UD
38629 * inet/getnetgrent_r.c: Hook up nscd.
38630 * nscd/Makefile (routines): Add nscd_netgroup.
38631 (nscd-modules): Add netgroupcache.
38632 (CFLAGS-netgroupcache.c): Define.
38633 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38634 (cache_search): Add const to second parameter.
38635 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38636 INNETGR.
38637 (dbs): Add netgrdb entry.
38638 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38639 (verify_persistent_db): Handle netgrdb.
38640 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38641 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38642 GETFDNETGR.
38643 (netgroup_response_header): Define.
38644 (innetgroup_response_header): Define.
38645 (datahead): Add netgroup_response_header and innetgroup_response_header
38646 elements.
38647 * nscd/nscd.conf: Add entries for netgroup cache.
38648 * nscd/nscd.h (dbtype): Add netgrdb.
38649 (_PATH_NSCD_NETGROUP_DB): Define.
38650 (netgroup_iov_disabled): Declare.
38651 (xmalloc, xcalloc, xrealloc): Move declarations here.
38652 (cache_search): Adjust prototype.
38653 Add netgroup-related prototypes.
38654 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38655 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38656 (__nscd_innetgr): Declare.
38657 * nscd/selinux.c (perms): Use access_vector_t as element type and
38658 add netgroup-related initializers.
38659 * nscd/netgroupcache.c: New file.
38660 * nscd/nscd_netgroup.c: New file.
38661 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38662 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38663 For four parameters use innetgr.
38664 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38665 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38666 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38667 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38668
21fd49a9
UD
38669 * nscd/connections.c (register_traced_file): Don't register file
38670 for disabled databases.
38671
054c0457
UD
386722011-10-06 Ulrich Drepper <drepper@gmail.com>
38673
32b63198
UD
38674 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38675
054c0457
UD
38676 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38677 from tree and freeing node.
38678
64031225
JO
386792011-09-25 Jiri Olsa <jolsa@redhat.com>
38680
38681 * nss/nsswitch.c (__nss_database_lookup): Handle
38682 nss_parse_service_list out of memory case.
38683
0490345c
JO
386842011-09-15 Jiri Olsa <jolsa@redhat.com>
38685
38686 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38687 out of memory case.
38688
3a62d00d
AS
386892011-10-04 Andreas Schwab <schwab@redhat.com>
38690
38691 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38692 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38693 pass it down.
38694 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38695 elf_machine_rela, elf_machine_lazy_rel.
38696 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38697 (ELF_DYNAMIC_DO_REL): Likewise.
38698 (ELF_DYNAMIC_DO_RELA): Likewise.
38699 (ELF_DYNAMIC_RELOCATE): Likewise.
38700 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38701 to ELF_DYNAMIC_DO_REL.
38702 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38703 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38704 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38705 elf_machine_rela.
38706 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38707 skip_ifunc, don't call ifunc function if non-zero.
38708 (elf_machine_rela): Likewise.
38709 (elf_machine_lazy_rel): Likewise.
38710 (elf_machine_lazy_rela): Likewise.
38711 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38712 (elf_machine_lazy_rel): Likewise.
38713 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38714 Likewise.
38715 (elf_machine_lazy_rel): Likewise.
38716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38717 Likewise.
38718 (elf_machine_lazy_rel): Likewise.
38719 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38720 (elf_machine_lazy_rel): Likewise.
38721 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38722 (elf_machine_lazy_rel): Likewise.
38723 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38724 (elf_machine_lazy_rel): Likewise.
38725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38726 (elf_machine_lazy_rel): Likewise.
38727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38728 (elf_machine_lazy_rel): Likewise.
38729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38730 (elf_machine_lazy_rel): Likewise.
38731
68577918
UD
387322011-09-28 Ulrich Drepper <drepper@gmail.com>
38733
38734 * nss/nss_files/files-init.c (_nss_files_init): Use static
38735 initialization for all the *_traced_file variables.
38736
68822d74
AS
387372011-09-28 Andreas Schwab <schwab@redhat.com>
38738
38739 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38740
2056100b
RM
387412011-09-27 Roland McGrath <roland@hack.frob.com>
38742
38743 [BZ #13226]
38744 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38745
32c76b63
AS
387462011-09-27 Andreas Schwab <schwab@redhat.com>
38747
38748 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38749 Reread the line before reparsing it.
38750
bf972c9d
AS
387512011-09-26 Andreas Schwab <schwab@redhat.com>
38752
38753 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38754
e057a1b5
JM
387552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38756 Maxim Kuvyrkov <maxim@codesourcery.com>
38757 Joseph Myers <joseph@codesourcery.com>
38758
38759 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38760 if needed for __stack_chk_guard.
38761
bc7e1c36
RM
387622011-09-19 Roland McGrath <roland@hack.frob.com>
38763
ecb1482f
RM
38764 * sysdeps/posix/spawni.c (script_execute): Always define it.
38765 It will be optimized away if unused.
38766 (maybe_script_execute): New function.
38767 (__spawni): Call it.
38768
bc7e1c36
RM
38769 * Makerules: Don't include tls.make.
38770 (config-tls): Always set to thread.
38771 * tls.make.c: File removed.
38772
1c3b002b
MF
387732011-09-19 Mike Frysinger <vapier@gentoo.org>
38774
38775 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38776 * config.make.in (CPPFLAGS-config): New substituted variable.
38777
2840865d
UD
387782011-09-15 Ulrich Drepper <drepper@gmail.com>
38779
88738eb6
UD
38780 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38781
cbf645a6 38782 [BZ #13192]
2840865d
UD
38783 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38784 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38785
b402e91a
RM
387862011-09-15 Roland McGrath <roland@hack.frob.com>
38787
38788 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38789 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38791 (CALL_FAIL): Likewise.
38792 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38793 (CALL_FAIL): Macro removed.
38794 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38795
4c1a1f71
UD
387962011-09-15 Ulrich Drepper <drepper@gmail.com>
38797
38798 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38799 for __FINITE_MATH_ONLY__ == 1.
38800
edc121be
AS
388012011-09-15 Andreas Schwab <schwab@redhat.com>
38802
38803 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38804 __ieee754_sqrt instead of sqrt.
38805 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38806 __ieee754_sqrtf instead of sqrtf.
38807 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38808 __floorf instead of floorf.
38809 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38810 __floorf, __truncf instead of floorf, truncf.
38811
cd205654
UD
388122011-09-14 Ulrich Drepper <drepper@gmail.com>
38813
ee4d0315
UD
38814 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38815
cd205654
UD
38816 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38817 __extern_always_inline.
38818 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38819 32-bit.
38820
48b67d71
AS
388212011-09-14 Andreas Schwab <schwab@redhat.com>
38822
38823 * elf/rtld.c (dl_main): Also relocate in dependency order when
38824 doing symbol dependency testing.
38825
1ae12c75
AS
388262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38827
38828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38829 Always define `refsym'.
38830
995a80df
AS
388312011-09-13 Andreas Schwab <schwab@redhat.com>
38832
e529793b
AS
38833 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38834 (__FD_ELT): Renamed from __FDELT.
38835 * misc/bits/select2.h (__FD_ELT): Likewise.
38836 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38837 __FD_MASK instead of __FDELT, __FDMASK.
38838 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38839 Likewise.
38840 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38841 Likewise.
38842
52d4fef8
AS
38843 * elf/Makefile (gen-ldd): Fix pattern.
38844
995a80df
AS
38845 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38846 (init_tls): Likewise.
38847
8682f8b0
UD
388482011-09-12 Ulrich Drepper <drepper@gmail.com>
38849
38850 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38851
de82006d
AS
388522011-09-12 Andreas Schwab <schwab@redhat.com>
38853
a7c8e6a1
AS
38854 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38855 `struct cmsghdr *' instead of `void *'.
38856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38857 Likewise.
38858
0f31fe77
AS
388592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38860
38861 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38862 if non-absolute.
38863 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38864 ldd_rewrite_script.
0f31fe77 38865
32b4c839
UD
388662011-09-11 Ulrich Drepper <drepper@gmail.com>
38867
83cd1420
UD
38868 * configure.in: Remove --with-tls option.
38869 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38870 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38871 out in case it is missing.
38872 * sysdeps/ia64/elf/configure.in: Likewise.
38873 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38874 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38875 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38876 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38877 * sysdeps/sh/elf/configure.in: Likewise.
38878 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38879 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38880 * sysdeps/x86_64/elf/configure.in: Likewise.
38881 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38882 * sysdeps/mach/hurd/tls.h: Likewise.
38883
633f745d
UD
38884 [BZ #13067]
38885 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38886
f318beb8
UD
38887 [BZ #13090]
38888 * configure.in: Fix use of AC_INIT.
38889
32b4c839
UD
38890 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38891
3ce1f295
UD
388922011-09-10 Ulrich Drepper <drepper@gmail.com>
38893
bb016596
UD
38894 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38895 __set_errno.
8e58439c
UD
38896 * malloc/hooks.c: Likewise.
38897
aebae053 38898 [BZ #11929]
02d46fc4
UD
38899 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38900 variables statically.
38901 (narenas): Initialize.
38902 (list_lock): Initialize.
bb016596
UD
38903 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38904 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38905 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38906 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38907 Add initializers to main_arena and mp_.
38908 (malloc_state): Remove pagesize member. Change all users to use
38909 GLRO(dl_pagesize).
38910
38911 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38912 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38913 is always initialized.
38914
22a89187
UD
38915 * malloc/malloc.c: Removed unused configurations and dead code.
38916 * malloc/arena.c: Likewise.
38917 * malloc/hooks.c: Likewise.
02d46fc4 38918 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38919
d063d164
UD
38920 * include/tls.h: Removed. USE___THREAD must always be defined.
38921 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38922 * elf/dl-libc.c: Likewise.
38923 * elf/dl-tsd.c: Likewise.
38924 * include/errno.h: Likewise.
38925 * include/netdb.h: Likewise.
38926 * include/resolv.h: Likewise.
38927 * inet/herrno-loc.c: Likewise.
38928 * inet/herrno.c: Likewise.
38929 * malloc/arena.c: Likewise.
38930 * malloc/hooks.c: Likewise.
38931 * malloc/malloc.c: Likewise.
38932 * resolv/res-state.c: Likewise.
38933 * resolv/res_libc.c: Likewise.
38934 * sysdeps/i386/dl-machine.h: Likewise.
38935 * sysdeps/ia64/dl-machine.h: Likewise.
38936 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38937 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38938 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38939 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38940 * sysdeps/sh/dl-machine.h: Likewise.
38941 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38942 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38943 * sysdeps/unix/i386/sysdep.S: Likewise.
38944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38945 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38947 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38950 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38954 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38955 * sysdeps/x86_64/dl-machine.h: Likewise.
38956 * tls.make.c: Likewise.
38957
3ce1f295
UD
38958 * configure.in: Remove --with-__thread option. Make tests for
38959 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38960 tls_model attribute fail if no support is available. Remove
38961 USE_IN_LIBIO.
38962 * Makeconfig: Adjust for dropped configure option. All features are
38963 now mandatory.
38964 * Makerules: Likewise.
38965 * Versions.def: Likewise.
38966 * argp/argp-fmtstream.c: Likewise.
38967 * argp/argp-fmtstream.h: Likewise.
38968 * argp/argp-help.c: Likewise.
38969 * assert/assert.c: Likewise.
38970 * config.h.in: Likewise.
38971 * config.make.in: Likewise.
38972 * configure: Likewise.
38973 * configure.in: Likewise.
38974 * csu/Versions: Likewise.
38975 * csu/init.c: Likewise.
38976 * elf/tst-audit2.c: Likewise.
38977 * elf/tst-tls10.c: Likewise.
38978 * elf/tst-tls10.h: Likewise.
38979 * elf/tst-tls11.c: Likewise.
38980 * elf/tst-tls12.c: Likewise.
38981 * elf/tst-tls14.c: Likewise.
38982 * elf/tst-tlsmod11.c: Likewise.
38983 * elf/tst-tlsmod12.c: Likewise.
38984 * elf/tst-tlsmod13.c: Likewise.
38985 * elf/tst-tlsmod13a.c: Likewise.
38986 * elf/tst-tlsmod14a.c: Likewise.
38987 * elf/tst-tlsmod15b.c: Likewise.
38988 * elf/tst-tlsmod16a.c: Likewise.
38989 * elf/tst-tlsmod16b.c: Likewise.
38990 * elf/tst-tlsmod7.c: Likewise.
38991 * elf/tst-tlsmod8.c: Likewise.
38992 * elf/tst-tlsmod9.c: Likewise.
38993 * gmon/gmon.c: Likewise.
38994 * grp/fgetgrent_r.c: Likewise.
38995 * grp/putgrent.c: Likewise.
38996 * hurd/fopenport.c: Likewise.
38997 * include/libc-symbols.h: Likewise.
38998 * include/tls.h: Likewise.
38999 * intl/gettextP.h: Likewise.
39000 * intl/loadinfo.h: Likewise.
39001 * locale/global-locale.c: Likewise.
39002 * locale/localeinfo.h: Likewise.
39003 * mach/devstream.c: Likewise.
39004 * malloc/arena.c: Likewise.
39005 * malloc/set-freeres.c: Likewise.
39006 * misc/err.c: Likewise.
39007 * misc/getttyent.c: Likewise.
39008 * misc/mntent_r.c: Likewise.
39009 * posix/getopt.c: Likewise.
39010 * posix/wordexp.c: Likewise.
39011 * pwd/fgetpwent_r.c: Likewise.
39012 * resolv/Versions: Likewise.
39013 * resolv/res_hconf.c: Likewise.
39014 * shadow/fgetspent_r.c: Likewise.
39015 * shadow/putspent.c: Likewise.
39016 * stdio-common/printf_fphex.c: Likewise.
39017 * stdio-common/tmpfile.c: Likewise.
39018 * stdlib/abort.c: Likewise.
39019 * stdlib/fmtmsg.c: Likewise.
39020 * sunrpc/auth_unix.c: Likewise.
39021 * sunrpc/clnt_perr.c: Likewise.
39022 * sunrpc/clnt_tcp.c: Likewise.
39023 * sunrpc/clnt_udp.c: Likewise.
39024 * sunrpc/clnt_unix.c: Likewise.
39025 * sunrpc/openchild.c: Likewise.
39026 * sunrpc/svc_simple.c: Likewise.
39027 * sunrpc/svc_tcp.c: Likewise.
39028 * sunrpc/svc_udp.c: Likewise.
39029 * sunrpc/svc_unix.c: Likewise.
39030 * sunrpc/xdr.c: Likewise.
39031 * sunrpc/xdr_array.c: Likewise.
39032 * sunrpc/xdr_rec.c: Likewise.
39033 * sunrpc/xdr_ref.c: Likewise.
39034 * sunrpc/xdr_stdio.c: Likewise.
39035
1248c1c4
PB
390362011-09-09 Ulrich Drepper <drepper@gmail.com>
39037
39038 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39039
390402011-07-03 Andreas Jaeger <aj@suse.de>
39041
39042 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39043 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39044 regenerate with gen-libm-tests.pl.
39045
390462010-05-12 Petr Baudis <pasky@suse.cz>
39047
39048 [BZ #11589]
39049 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39050 around j0() zero points by switching to j1().
39051 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39055
f22e1074
UD
390562011-09-09 Ulrich Drepper <drepper@gmail.com>
39057
f19009c1
UD
39058 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39059 instead of 0.
39060 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39061 instead of 0.
f19009c1
UD
39062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39063 Patch in part by Pavel Roskin <proski@gnu.org>.
39064
3f8cc204
UD
39065 [BZ #13138]
39066 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39067 realloc.
39068 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39069 Free memory block if necessary.
39070
f22e1074
UD
39071 [BZ #12847]
39072 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39073 be NULL. Don't lock in this case.
39074
0a2349f9
RM
390752011-09-09 Roland McGrath <roland@hack.frob.com>
39076
39077 * elf/elf.h (ELFOSABI_GNU): New macro.
39078 (ELFOSABI_LINUX): Define to that.
39079
f3cdd467
DZ
390802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39081
39082 * string/strncat.c (strncat): Undef the symbol in case it has been
39083 defined in bits/string.h.
39084
74718d13
UD
390852011-09-09 Ulrich Drepper <drepper@gmail.com>
39086
633e9e0f
UD
39087 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39088
0a2349f9 39089 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39090 link map.
39091
f9924780
AJ
390922011-08-17 Andreas Jaeger <aj@suse.de>
39093
39094 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39095
7f5517aa
PP
390962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39097 Ian Lance Taylor <iant@google.com>
39098
39099 * math/libm-test.inc (lround_test): New testcase.
39100 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39101
762011fe
UD
391022011-09-08 Ulrich Drepper <drepper@gmail.com>
39103
92963737
UD
39104 * Makefile: Remove support for automatic cvs check-ins.
39105 * Makerules: Likewise.
39106 * config.make.in: Likewise.
39107 * configure.in: Likewise.
39108 * intl/Makefile: Likewise.
39109 * locale/Makefile: Likewise.
39110 * po/Makefile: Likewise.
39111 * posix/Makefile: Likewise.
39112 * sysdeps/gnu/Makefile: Likewise.
39113 * sysdeps/mach/hurd/Makefile: Likewise.
39114 * sysdeps/sparc/sparc32/Makefile: Likewise.
39115
b0727fd8
JS
39116 [BZ #13118]
39117 * posix/Makefile (bug-regex32-ENV): Define.
39118 Patch by John Stanley <jpsinthemix@verizon.net>.
39119
a0f33f99
UD
39120 * misc/Makefile (headers): Add bits/select2.h.
39121 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39122 * misc/bits/select2.h: New file.
39123 * include/bits/select2.h: New file.
39124 * debug/Makefile (routines): Add fdelt_chk.
39125 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39126 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39127 FD_ISSET.
39128 * debug/fdelt_chk.c: New file.
39129
762011fe
UD
39130 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39131 * wcsmbs/test-wmemcmp.c: Likewise.
39132 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39133 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39134
391352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39136
39137 * string/Makefile (strop-tests): Add memcmp.
39138 * string/test-wmemcmp.c: New file.
39139 * string/test-memcmp.c: Add wmemcmp support.
39140
7f513ec8
RM
391412011-09-08 Roland McGrath <roland@hack.frob.com>
39142
0442afb4
RM
39143 [BZ #13153]
39144 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39145 2011-07-19 change.
39146
7f513ec8
RM
39147 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39148 garbage value in a __mach_port_mod_refs call in the cases of the
39149 task-self and thread-self ports.
39150
a12b2239
ST
391512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39152
39153 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39154
610f9ab4
AS
391552011-09-08 Andreas Schwab <schwab@redhat.com>
39156
7f513ec8 39157 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39158
48882a1a
LD
391592011-09-07 Ulrich Drepper <drepper@gmail.com>
39160
b49865be
UD
39161 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39162
fdc86bc9
UD
39163 * elf/dl-libc.c (dlerror_run): Pass back error code from
39164 dl_catch_error.
39165
c966526a
UD
39166 [BZ #13123]
39167 * elf/dl-load.c (lose): Free l_origin if it is valid.
39168
48882a1a
LD
39169 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39170 names.
39171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39172 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39173 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39175 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39176 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39177
77a2a8b4
AZ
391782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39179
39180 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39181 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39182 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39183 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39184 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39185 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39186 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39187 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39188 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39189 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39190
24f579d8
AM
391912011-08-15 Alan Modra <amodra@gmail.com>
39192
39193 [BZ #13092]
39194 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39195 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39196 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39197 ppc_mcount to static-only-routines.
39198 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39199 __mcount_internal.
39200 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39201 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39202
3d4837df
UD
392032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39204
39205 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39206 for finite and infinity parameters.
39207
22700377
WS
392082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39209
39210 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39211 and add nop instructions for throughput optimization.
39212 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39213
5025581e
WS
392142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39215
39216 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39217 aligned copy for power7 with vector-scalar instructions.
39218 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39219
08a300c9
L
392202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39221
39222 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39223 AVX check.
39224
59178ef9
AS
392252011-09-07 Andreas Schwab <schwab@redhat.com>
39226
39227 [BZ #13144]
39228 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39229 last change.
39230
e38ba7ab
UD
392312011-09-07 Ulrich Drepper <drepper@gmail.com>
39232
39233 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39234 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39235 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39236 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39237 clock_gettime.
39238
d53a73ac
UD
392392011-09-06 Ulrich Drepper <drepper@gmail.com>
39240
fc8bffcc
UD
39241 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39242 Forgot to demangle the pointer.
39243
ceaa0c5d
UD
39244 * sysdeps/i386/sysdep.h: Define atom_text_section.
39245 * sysdeps/x86_64/sysdep.h: Likewise.
39246 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39247 section with atom_text_section.
39248 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39249 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39250 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39252 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39253
a77d3c17
UD
39254 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39255 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39256 already be defined. Change to take two parameters and don't assign
39257 result to variable. Adjust all users.
39258 Define INTERNAL_GETTIME if not already defined.
39259 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39260 call.
39261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39262 HAVE_CLOCK_GETTIME_VSYSCALL.
39263 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39264
d53a73ac
UD
39265 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39266 gettimeofday vsyscall, just use time.
39267
a8f84144
AS
392682011-09-06 Andreas Schwab <schwab@redhat.com>
39269
39270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39271 <errno.h>.
39272
ef606249
UD
392732011-09-06 Ulrich Drepper <drepper@gmail.com>
39274
39275 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39276 syscall on x86-64.
39277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39278 syscall.
39279 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39280 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39281 syscall if possible.
39282
6585cb60
UD
392832011-09-05 Ulrich Drepper <drepper@gmail.com>
39284
39285 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39286 e_ident. Don't pass to find_mapsXX.
39287 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39288
a5f524e4
LD
392892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39290
39291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39292 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39293 * sysdeps/x86_64/multiarch/strchr.S: Update.
39294 Check bit_slow_BSF bit.
39295 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39296 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39297 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39298
554881ef
UD
392992011-09-05 Ulrich Drepper <drepper@gmail.com>
39300
d96de963
UD
39301 [BZ #13134]
39302 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39303 before glibc 2.15.
39304 (tryshell): Define.
39305 (__spawni): Change last parameter to be flag. Test
39306 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39307 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39308 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39309 * posix/spawni.c: Likewise.
39310 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39311 * posix/spawnp.c: Likewise. Change normal version to use
39312 SPAWN_XFLAGS_USE_PATH.
39313 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39314 SPAWN_XFLAGS_TRY_SHELL.
39315
d48e5868
UD
39316 [BZ #13150]
39317 * posix/glob.h: Remove gcc 1.x support.
39318
554881ef
UD
39319 [BZ #13068]
39320 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39321
693fb948
LD
393222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39323
39324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39325 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39326 strrchr-sse2-bsf
39327 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39328 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39329 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39330 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39331 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39332 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39333
1b48c537
UD
393342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39335
49d42c37
UD
39336 * sysdeps/x86_64/wcscmp.S: New file.
39337
1b48c537
UD
39338 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39339 wcscmp-c wcscmp-sse2
39340 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39341 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39342 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39343 * wcsmbs/wcscmp.c: Allow renaming.
39344
15c95c5d
DM
393452011-09-05 David S. Miller <davem@davemloft.net>
39346
39347 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39348 stack slot, rather than the struct return pointer slot.
39349 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39350 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39352 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39353
2f0ad8f3
UD
393542011-09-05 Ulrich Drepper <drepper@gmail.com>
39355
d88ae418
UD
39356 * po/ja.po: Update from translation team.
39357
2f0ad8f3
UD
39358 [BZ #13144]
39359 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39360 kernel in 64-bit binaries.
39361
5f4318d1
DM
393622011-09-01 David S. Miller <davem@davemloft.net>
39363
39364 * elf/elf.h (HWCAP_SPARC_*): Move to..
39365 * sysdeps/sparc/sysdep.h: this new file and add new values.
39366 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39367 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39368 _DL_HWCAP_COUNT to 24.
39369 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39370 entries.
39371 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39372 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39373 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39375 instead of magic constants.
39376 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39377
3ba57516
DM
393782011-08-31 David S. Miller <davem@davemloft.net>
39379
39380 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39382 Reimplement to do errno handling inline.
39383 (SYSCALL_ERROR_HANDLER): New macro.
39384 (__SYSCALL_STRING): Do not do errno handling in asm.
39385 (__CLONE_SYSCALL_STRING): Delete.
39386 (__INTERNAL_SYSCALL_STRING): Delete.
39387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39388 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39389 (PSEUDO): Reimplement to do errno handling inline.
39390 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39391 (SYSCALL_ERROR_HANDLER): New macro.
39392 (__SYSCALL_STRING): Do not do errno handling in asm.
39393 (__CLONE_SYSCALL_STRING): Delete.
39394 (__INTERNAL_SYSCALL_STRING): Delete.
39395 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39396 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39397 i386.
39398 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39399 (inline_syscall*): Add 'err' argument.
39400 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39401 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39402 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39403 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39404
39405 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39406 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39407
2bc17433
AS
394082011-08-30 Andreas Schwab <schwab@redhat.com>
39409
39410 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39411
fbeb5f4d
JO
394122011-08-29 Jiri Olsa <jolsa@redhat.com>
39413
39414 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39415 directive.
39416
ad69cc26
DM
394172011-08-24 David S. Miller <davem@davemloft.net>
39418
39419 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39420
39dd69df
AS
394212011-08-24 Andreas Schwab <schwab@redhat.com>
39422
39423 * elf/Makefile: Add rules to build and run unload8 test.
39424 * elf/unload8.c: New file.
39425 * elf/unload8mod1.c: New file.
39426 * elf/unload8mod1x.c: New file.
39427 * elf/unload8mod2.c: New file.
39428 * elf/unload8mod3.c: New file.
39429
39430 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39431 it wasn't used.
39432
2c0b250a
DM
394332011-08-23 David S. Miller <davem@davemloft.net>
39434
39435 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39436 subtract stack bias.
39437 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39438 %sp not %fp in calculations.
39439 (_JMPBUF_UNWINDS_ADJ): Likewise.
39440
22044b48
DM
39441 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39442 (aio_suspend): Call it to force an exception region around the
39443 AIO_MISC_WAIT() invocation.
39444
2cae4995
AS
394452011-08-23 Andreas Schwab <schwab@redhat.com>
39446
39447 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39448 backslash.
39449
873a772e
AJ
394502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39451
39452 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39453 protection macro.
39454 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39455 and <dl-machine.h>.
39456 (Elf64_FuncDesc): Remove.
39457
25ad0df1
DM
394582011-08-22 David S. Miller <davem@davemloft.net>
39459
39460 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39461 sigaltstack check, add missing cfi directives.
39462 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39463 missing cfi directives, and sigaltstack handling.
39464
e888bcbe
AS
394652011-08-16 Andreas Schwab <schwab@redhat.com>
39466
39467 [BZ #11724]
39468 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39469 object is seen twice.
39470 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39471
39472 * elf/Makefile (distribute): Add tst-initorder2.c.
39473 (tests): Add tst-initorder2.
39474 (modules-names): Add tst-initorder2a tst-initorder2b
39475 tst-initorder2c tst-initorder2d. Add rules to build them.
39476 ($(objpfx)tst-initorder2.out): New rule.
39477 * elf/tst-initorder2.c: New file.
39478 * elf/tst-initorder2.exp: New file.
39479
87162f46
AS
394802011-08-22 Andreas Schwab <schwab@redhat.com>
39481
70538b7f
AS
39482 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39483
f55ffe58
AS
39484 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39485 dependencies back to end of function.
39486
87162f46
AS
39487 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39488 $(elfobjdir)/ld.so.
39489
91b392a4
UD
394902011-08-21 Ulrich Drepper <drepper@gmail.com>
39491
39492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39493 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39495 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39496 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39497 of __vdso_gettimeofday.
39498 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39499 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39500 attribute_hidden.
39501 (_libc_vdso_platform_setup): Remove initialization of
39502 __vdso_gettimeofday and __vdso_time.
39503
5c43483f
UD
395042011-08-20 Ulrich Drepper <drepper@gmail.com>
39505
775a77e7
UD
39506 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39507 and fgetc_unlocked.
39508 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39509 getc_unlocked.
89f447ed 39510
49c74ba9
UD
39511 * elf/dl-open.c (add_to_global): Report additions to the global scope
39512 for LD_DEBUG=scopes.
39513 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39514 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39515
5c43483f
UD
39516 [BZ #13114]
39517 * stdio-common/Makefile (tests): Add bug24.
39518 * stdio-common/bug24.c: New file.
39519
a101b025
AJ
395202011-08-19 Andreas Jaeger <aj@suse.de>
39521
39522 [BZ #13114]
39523 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39524 non-existant file when using close-on-exec mode.
39525
c88f1766
UD
395262011-08-20 Ulrich Drepper <drepper@gmail.com>
39527
0276a718
UD
39528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39529 the very first instruction.
39530
c88f1766
UD
39531 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39532 the CFI state in the end.
39533 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39534 inclusion of dl-trampoline.h.
39535 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39536
51ccffa0
AS
395372011-08-19 Andreas Schwab <schwab@redhat.com>
39538
94d7165f
AS
39539 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39540 expectations for long double.
39541
51ccffa0
AS
39542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39543 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39544
fd708658 395452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39546
39547 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39548 artificual limit depends upon the system page size.
39549
44f0a71e
UD
395502011-08-17 Ulrich Drepper <drepper@gmail.com>
39551
39552 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39553 * resolv/Makefile: Define CFLAGS-libresolv.
39554
8de79a24
AS
395552011-08-17 Andreas Schwab <schwab@redhat.com>
39556
39557 * nss/makedb.c (compute_tables): Make variables used in nested
39558 function static.
39559
27724598
UD
395602011-08-17 Ulrich Drepper <drepper@gmail.com>
39561
c5305d88
UD
39562 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39563 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39564 if buffer was too small.
39565
27724598
UD
39566 * elf/pldd.c (main): Attach to all threads in the process.
39567 Rewrite /proc handling to use *at functions.
39568
076fe015
UD
395692011-08-16 Ulrich Drepper <drepper@gmail.com>
39570
174baab3
UD
39571 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39572 specifies first scope to show.
39573 (dl_open_worker): Update callers. Move printing scope of new
39574 object to before the relocation.
44f0a71e 39575 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39576 * sysdeps/generic/ldsodefs.h: Update declaration.
39577
076fe015
UD
39578 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39579 string for the scope number.
39580
a60df2c3
UD
395812011-08-14 Ulrich Drepper <drepper@gmail.com>
39582
39583 * nscd/servicescache.c (cache_addserv): Make sure written is always
39584 initialized.
39585
5e4287d1
RM
395862011-08-14 Roland McGrath <roland@hack.frob.com>
39587
85ae0589
RM
39588 * sysdeps/i386/i486/bits/atomic.h
39589 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39590 statement expression, so as to suppress "set but not used" warning.
39591 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39592
69f63097
RM
39593 * string/strncat.c (STRNCAT): Use prototype definition.
39594
675456ef
RM
39595 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39596 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39597 -Iprograms here.
39598 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39599 (localedef-modules): Add localedef.
39600 (locale-modules): Add locale.
39601
5e4287d1
RM
39602 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39603 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39604 to avoid a warning.
39605
9c96ff23
DM
396062011-08-14 David S. Miller <davem@davemloft.net>
39607
39608 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39609 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39610
f9ddf089
UD
396112011-08-13 Ulrich Drepper <drepper@gmail.com>
39612
44f0a71e 39613 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39614 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39615 * elf/rtld.c (dl_main): Set l_name of vDSO.
39616 Call _dl_show_scope when DL_DEBUG_SCOPES.
39617 (process_dl_debug): Recognize scopes flag and also set it for all.
39618 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39619 Declare _dl_show_scope.
39620
1dc27704
UD
39621 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39622 (do_dlopen): Pass caller_dlopen to dl_open.
39623 (__libc_dlopen_mode): Initialize caller_dlopen.
39624
f9ddf089
UD
39625 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39626 of libc. Make tolower call locale-independent. Optimize a bit by
39627 using isdigit instead of isalnum.
39628 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39629
9ac533d3
UD
396302011-08-12 Ulrich Drepper <drepper@gmail.com>
39631
39632 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39633 was a dependency or dynamically loaded.
39634
89edf2e9
UD
396352011-08-11 Ulrich Drepper <drepper@gmail.com>
39636
8e999d29
UD
39637 * intl/l10nflist.c: Allow architecture-specific pop function.
39638 * sysdeps/x86_64/l10nflist.c: New file.
39639
89edf2e9
UD
39640 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39641 classification.
39642
14d96785
AS
396432011-08-10 Andreas Schwab <schwab@redhat.com>
39644
39645 * include/dirent.h: Add libc_hidden_proto for scandirat and
39646 scandirat64. Don't declare __scandirat64.
39647 * dirent/scandirat.c: Add libc_hidden_def.
39648 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39649 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39650
6761ac04
DM
396512011-08-10 David S. Miller <davem@davemloft.net>
39652
39653 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39654 enum.
39655 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39656 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39657 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39658
c55fbd1e
UD
396592011-08-09 Ulrich Drepper <drepper@gmail.com>
39660
39661 * Versions.def [libc]: Add GLIBC_2.15.
39662 * dirent/Makefile (routines): Add scandirat and scandirat64.
39663 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39664 GLIBC_2.15.
39665 * dirent/dirent.h: Declare scandirat and scandirat64.
39666 * dirent/scandirat.c: New file.
39667 * dirent/scandirat64.c: New file.
39668 * sysdeps/wordsize-64/scandirat.c: New file.
39669 * sysdeps/wordsize-64/scandirat64.c: New file.
39670 * dirent/opendir.c: Define opendirat.
39671 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39672 using scandirat.
39673 * dirent/scandir64.c: Adjust for scandir.c change.
39674 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39675 __scandirat64, and __scandir_cancel_handler.
39676 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39677 additional parameter and use openat instead of open (outside of ld.so).
39678 Add new __opendir as wrapper around __opendirat.
39679 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39680 here without requiring old scandirat implementation.
39681
879165f2
UD
396822011-08-08 Ulrich Drepper <drepper@gmail.com>
39683
39684 * dirent/scandir.c (cancel_handler): Renamed to
39685 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39686 defined. Adjust users.
39687 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39688 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39689
cb7e923b
UD
396902011-08-04 Ulrich Drepper <drepper@gmail.com>
39691
16292edd
UD
39692 * string/test-string.h (IMPL): Use __STRING to expand name and then
39693 stringify it.
39694
cb7e923b
UD
39695 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39696 of cleanups.
39697
cff82933
LD
396982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39699
39700 * string/Makefile: Update.
39701 (strop-tests): Append strncat.
39702 * string/test-wcscmp.c: New file.
39703 New comprehensive test for wcscmp.
39704 * string/test-strcmp.c: Update.
39705 (WIDE): New define.
39706
9be9bfcc
AS
397072011-07-22 Andreas Schwab <schwab@redhat.com>
39708
39709 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39710 line.
39711
2e96f1c7
AS
397122011-07-26 Andreas Schwab <schwab@redhat.com>
39713
39714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39715 encoding to ACE if AI_IDN.
39716
85188888
JJ
397172011-08-01 Jakub Jelinek <jakub@redhat.com>
39718
39719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39720 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39721
5fa16e9b
LD
397222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39723
39724 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39725 Fix overflow bug in strncat.
39726 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39727
39728 * string/test-strncat.c: Update.
39729 Add new tests for checking overflow bugs.
39730
397312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39732
39733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39734 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39735 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39736 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39737 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39738 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39739 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39740 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39741 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39742
39743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39744 (USE_AS_STRCAT): Define.
39745 Add strcat and strncat support.
39746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39747
8c1a459f
AS
397482011-07-25 Andreas Schwab <schwab@redhat.com>
39749
39750 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39751 __n bigger than INT_MAX+1.
39752 (__strncmp_g): Likewise.
39753
bba33c28
UD
397542011-07-23 Ulrich Drepper <drepper@gmail.com>
39755
798be72d
UD
39756 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39757 * libio/stido.h: Likewise.
39758
8accd4dc
UD
39759 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39760 (AF_NFC): Define.
39761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39762 (AF_NFC): Define.
39763
cbff0d96
UD
39764 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39765 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39766 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39768 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39769
9191c04a
UD
39770 [BZ #13021]
39771 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39772 installed.
39773
bba33c28
UD
39774 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39775 typo.
39776 (_dl_x86_64_save_sse): Likewise.
39777
90f139dd
UD
397782011-07-22 Ulrich Drepper <drepper@gmail.com>
39779
1aae088a
UD
39780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39781 OSXSAVE.
39782 (_dl_x86_64_save_sse): Likewise.
39783
8e2045f5
UD
39784 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39785
90f139dd
UD
39786 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39787
1d002f25
AS
397882011-07-21 Andreas Schwab <schwab@redhat.com>
39789
39790 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39791 change.
39792 (_dl_x86_64_save_sse): Use correct AVX check.
39793
21137f89
UD
397942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39795
39796 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39797 bug in strncpy/strncat.
39798 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39799
a65c0b7a
UD
398002011-07-21 Ulrich Drepper <drepper@gmail.com>
39801
39802 * string/tester.c (test_strcat): Add tests for different alignments
39803 of source and destination.
39804 (test_strncat): Likewise.
39805
6986b98a
UD
398062011-07-20 Ulrich Drepper <drepper@gmail.com>
39807
90bb2039
UD
39808 [BZ #12852]
39809 * posix/glob.c (glob): Check passed in values before using them in
39810 expressions to avoid some overflows.
39811 (glob_in_dir): Likewise.
39812
5644ef54
UD
39813 [BZ #13007]
39814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39815 check for AVX enablement so that we don't crash with old kernels and
39816 new hardware.
39817 * elf/tst-audit4.c: Add same checks here.
39818 * elf/tst-audit6.c: Likewise.
39819
39820 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39821
bfc9dc9b
AS
398222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39823
39824 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39825
702e64bb
UD
398262011-07-20 Ulrich Drepper <drepper@gmail.com>
39827
39828 * po/cs.po: Update from translation team.
39829 * po/bg.po: Likewise.
39830
295e904f
MP
398312011-07-12 Marek Polacek <mpolacek@redhat.com>
39832
39833 * misc/sys/cdefs.h: Add support for const attribute.
39834 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39835 to gnu_dev_{major,minor,makedev} functions.
39836
3ff94596
MP
398372011-07-20 Marek Polacek <mpolacek@redhat.com>
39838
39839 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39840
28b59fca
AS
398412011-07-20 Andreas Schwab <schwab@redhat.com>
39842
39843 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39844 strlen results.
39845
19df733e
AK
398462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39847
39848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39849 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39850 register in order to avoid conflicts with the soft frame pointer
39851 being held in r11 when necessary.
39852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39853 (INTERNAL_VSYSCALL_NCS): Likewise.
39854
c8835729
MP
398552011-07-14 Marek Polacek <mpolacek@redhat.com>
39856
39857 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39858 * elf/dl-fini.c (_dl_fini): Adjust caller.
39859 * elf/dl-close.c (_dl_close_worker): Likewise.
39860 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39861
b902330c
MP
398622011-07-15 Marek Polacek <mpolacek@redhat.com>
39863
8991e135
MP
39864 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39865 "aux_cache->nlibs < 0".
39866
b902330c
MP
39867 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39868 in the reload-count case.
39869
99710781
LD
398702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39871
39872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39873 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39874 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39875 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39876 * sysdeps/x86_64/multiarch/strcat.S: New file.
39877 * sysdeps/x86_64/multiarch/strncat.S: New file.
39878 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39879 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39880 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39881 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39882 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39883 (USE_AS_STRCAT): Define.
39884 Add strcat and strncat support.
39885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39886 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39887 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39888 * string/strncat.c: Update.
39889 (USE_AS_STRNCAT): Define.
39890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39891 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39892 and i7.
39893 * sysdeps/x86_64/multiarch/init-arch.h
39894 (bit_Prefer_PMINUB_for_stringop): New.
39895 (index_Prefer_PMINUB_for_stringop): Likewise.
39896 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39897 bit_Prefer_PMINUB_for_stringop.
39898
7dc6bd90
UD
398992011-07-19 Ulrich Drepper <drepper@gmail.com>
39900
39901 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39902 buffer64.
39903 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39904 of casting of buffer.
39905 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39906 buffer32 and buffer64.
39907 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39908 writes instead of casting of buffer.
39909 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39910 buffer32.
39911 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39912 casting of buffer.
39913
e0e72284
AS
399142011-07-19 Andreas Schwab <schwab@redhat.com>
39915
39916 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39917
feb1eb0b
UD
399182011-07-19 Ulrich Drepper <drepper@gmail.com>
39919
39920 * nscd/nscd.c (termination_handler): Don't do anything for a database
39921 if it has not yet been initialized.
39922
298711ff
UD
399232011-07-18 Ulrich Drepper <drepper@gmail.com>
39924
39925 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39926
399272011-07-15 Marek Polacek <mpolacek@redhat.com>
39928
39929 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39930
f9d68389
UD
399312011-07-18 Ulrich Drepper <drepper@gmail.com>
39932
39933 * po/nl.po: Update from translation team.
39934 * po/sv.po: Likewise.
39935
db290cf5
RM
399362011-07-16 Roland McGrath <roland@hack.frob.com>
39937
39938 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39939 now disallowed by GCC.
5c550700 39940
fd5e21c7
RM
39941 * configure.in (use-default-link): Default to yes if a test -shared
39942 link meets our qualifications.
39943 * configure: Regenerated.
39944
5c550700
RM
39945 * config.make.in (output-format): New variable.
39946 * configure.in: Check for ld --print-output-format support.
39947 * configure: Regenerated.
39948 * Makerules ($(common-objpfx)format.lds)
39949 [$(output-format) != unknown]: Just use $(output-format),
39950 instead of the linker-script munging.
39951
9fa2c032
RM
399522011-07-14 Roland McGrath <roland@hack.frob.com>
39953
a6928d51
RM
39954 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39955 of $(common-objpfx)shlib.lds.
39956 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39957
661607b3
RM
39958 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39959 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39960
9fa2c032
RM
39961 * configure.in (-z relro check): Adjust test code to add a large
39962 writable data section after it.
39963 * configure: Regenerated.
39964
defe9061
RM
399652011-07-11 Roland McGrath <roland@hack.frob.com>
39966
39967 * configure.in (-z relro check): Fix test code to make the variable
39968 truly const.
39969 * configure: Regenerated.
39970
319b9ad4
UD
399712011-07-11 Ulrich Drepper <drepper@gmail.com>
39972
39973 * nscd/nscd.h (struct traced_file): Define.
39974 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39975 elements. Add traced_files.
39976 (inotify_fd): Declare.
39977 (register_traced_file): Declare.
39978 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39979 (inotify_fd): Export.
39980 (resolv_conf_descr): Remove.
39981 (nscd_init): Move inotify descriptor creation to main.
39982 Don't register files for notification here.
39983 (register_traced_file): New function.
39984 (invalidate_cache): Don't use reset_res to determine whether to call
39985 res_init, go through the list of registered files.
39986 (main_loop_poll): The inotify descriptors are now stored in the
39987 structures for the traced files.
39988 (main_loop_epoll): Likewise
39989 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39990 to __nss_disable_nscd.
39991 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39992 for a database anymore. Check the records for all the registered
39993 files instead.
39994 * nss/Makefile (libnss_files-routines): Add files-init.
39995 (libnss_db-routines): Add db-init.
39996 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39997 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39998 * nss/nss_db/db-init.c: New file.
39999 * nss/nss_files/files-init.c: New file.
40000 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40001 __nss_lookup_function.
40002 (__nss_lookup_function): Call nss_load_library.
40003 (nss_load_all_libraries): New function.
40004 (__nss_disable_nscd): Take parameter with callback function for files
40005 to register. Set is_nscd. Load all the DSOs for the NSS modules
40006 used for the cached services.
40007 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40008 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40009 options for features to all the files in nscd.
40010
40011 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40012
23bee3e8
RM
400132011-07-10 Roland McGrath <roland@hack.frob.com>
40014
40015 * csu/elf-init.c (__libc_csu_init): Comment typo.
40016
46a5b7f0
UD
400172011-07-09 Ulrich Drepper <drepper@gmail.com>
40018
40019 * po/pl.po: Update from translation team.
40020 * po/ja.po: Likewise.
40021 * po/ru.po: Likewise.
40022 * po/ko.po: Likewise.
40023 * po/fr.po: Likewise.
40024
d30cf5bb
RM
400252011-07-09 Roland McGrath <roland@hack.frob.com>
40026
113ddea4
RM
40027 * configure.in (.ctors/.dtors header and trailer check):
40028 Use an empirical test on a built program.
40029 * configure: Regenerated.
40030
574920b4
RM
40031 * configure.in (-z relro check): Use an empirical test on a built DSO.
40032 Detect, but do not require, on ia64.
40033 * configure: Regenerated.
40034
d30cf5bb
RM
40035 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40036 Update tests that use readelf to use $READELF instead.
40037 * configure: Regenerated.
40038
8538fdb3
UD
400392011-07-08 Ulrich Drepper <drepper@gmail.com>
40040
40041 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40042 if the result is not used.
40043
04d08991
AJ
400442011-07-05 Andreas Jaeger <aj@suse.de>
40045
40046 [BZ#9696]
40047 * stdlib/tst-strtod.c: Add testcase.
40048
de283087
AD
400492011-07-07 Ulrich Drepper <drepper@gmail.com>
40050
4e5f31c8 40051 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40052 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40053 The latter has a higher limit. Take additional parameter to pass to
40054 the new function.
40055 (__pathconf): Pass file to __statfs_link_max.
40056 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40057 __statfs_link_max.
40058 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40059 __statfs_link_max.
40060
de283087
AD
40061 [BZ #12868]
40062 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40063 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40064 Handle Lustre.
40065 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40066 (__statfs_filesize_max): Likewise.
40067 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40068
c75fa153
AJ
400692011-07-05 Andreas Jaeger <aj@suse.de>
40070
40071 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40072
1a544854
UD
400732011-07-06 Marek Polacek <mpolacek@redhat.com>
40074
40075 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40076 `status' variable.
40077 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40078 Likewise.
40079
6f0eec67
UD
400802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40081
40082 * Makefile (strop-tests): Add strncat.
40083 * string/test-strncat.c: New file.
40084
aae30307
UD
400852011-06-30 Marek Polacek <mpolacek@redhat.com>
40086
40087 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40088
c0cfb5eb
UD
400892011-06-21 Andreas Jaeger <aj@suse.de>
40090
40091 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40092 Copy rule from iconvdata/Makefile.
40093
01636b21
UD
400942011-07-06 Ulrich Drepper <drepper@gmail.com>
40095
40096 [BZ #12922]
40097 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40098 but no long options are defined, just return 'W'.
40099
9895c8bc
UD
401002011-06-22 Marek Polacek <mpolacek@redhat.com>
40101
40102 [BZ #9696]
40103 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40104
5d4cf042
UD
401052011-07-06 Ulrich Drepper <drepper@gmail.com>
40106
40107 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40108 netgroups to read.
960e5535 40109 (innetgr): Likewise.
5d4cf042 40110
751eb97e
RM
401112011-07-05 Roland McGrath <roland@hack.frob.com>
40112
40113 * config.make.in (install_root): Default to $(DESTDIR).
40114
f15f1e45
UD
401152011-07-05 Ulrich Drepper <drepper@gmail.com>
40116
40117 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40118
4e34ac6a
RM
401192011-07-02 Roland McGrath <roland@hack.frob.com>
40120
5e9b6af4
RM
40121 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40122
84f9ea0f
RM
40123 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40124 containing directory rather than embedding absolute directory names.
40125
ea5ee9f7
RM
40126 * scripts/check-local-headers.sh: Rewritten using awk.
40127 Match by word, not by line. Print error messages for matches.
40128 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40129
1b74661a
RM
40130 * Makerules [shlib-lds-flags empty]:
40131 ($(common-objpfx)libc_pic.opts): New target.
40132 ($(common-objpfx)libc_pic.os.clean): New target.
40133 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40134
40135 * config.make.in (OBJCOPY): New variable.
40136 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40137 * configure: Regenerated.
40138
f781ef40
RM
40139 * config.make.in (use-default-link): New variable.
40140 * configure.in (use_default_link): Grok --with-default-link to set it.
40141 * configure: Regenerated.
40142 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40143 (shlib-lds, shlib-lds-flags): Define to empty.
40144
2d4fa81e
RM
40145 * Makerules (shlib-lds): New variable.
40146 (shlib-lds-flags): New variable.
40147 (build-shlib, build-moduile, build-module-asneeded): Use it.
40148 ($(common-objpfx)libc.so): Use $(shlib-lds).
40149 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40150 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40151
31fffa6b
RM
40152 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40153 DT_FLAGS/DT_FLAGS_1 with zero flags.
40154
4e34ac6a
RM
40155 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40156 linker script munging.
40157
fcfc776b
UD
401582011-07-02 Ulrich Drepper <drepper@gmail.com>
40159
40160 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40161 as 128-bit value.
40162 * crypt/sha512.c (sha512_process_block): Perform total addition using
40163 128-bit if possible.
40164 (__sha512_finish_ctx): Likewise.
40165 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40166 as 64-bit value.
40167 * crypt/sha256.c (SWAP64): Define.
40168 (sha256_process_block): Perform total addition using 64-bit if
40169 possible.
40170 (__sha256_finish_ctx): Likewise.
40171
99231d9a
UD
401722011-07-01 Ulrich Drepper <drepper@gmail.com>
40173
40174 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40176 * nscd/hstcache.c (cache_addhst): Likewise.
40177 * nscd/grpcache.c (cache_addgr): Likewise.
40178 * nscd/aicache.c (addhstaiX): Likewise
40179 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40180
445b4a53
TK
401812011-07-01 Thorsten Kukuk <kukuk@suse.de>
40182
40183 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40184 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40185 * nscd/hstcache.c (cache_addhst): Likewise.
40186 * nscd/grpcache.c (cache_addgr): Likewise.
40187 * nscd/aicache.c (addhstaiX): Likewise
40188
6d4d8e8e
AS
401892011-07-01 Andreas Schwab <schwab@redhat.com>
40190
40191 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40192 domain only when needed.
40193
89f654c5
AS
401942011-06-30 Andreas Schwab <schwab@redhat.com>
40195
40196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40197 is always restored.
40198
cf3b23ff
UD
401992011-06-29 Ulrich Drepper <drepper@gmail.com>
40200
40201 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40202 are re-adding the entry.
40203 * nscd/servicescache.c (cache_addserv): Likewise.
40204
751626f9
AJ
402052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40206
40207 * sysdeps/generic/dl-irel.h: fix protection against multiple
40208 inclusions.
40209 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40210
9113ea1f
UD
402112011-06-28 Ulrich Drepper <drepper@gmail.com>
40212
5c0b8d90
UD
40213 [BZ #12935]
40214 * malloc/memusage.sh: Fix quoting in message.
40215 * debug/xtrace.sh: Likewise.
40216
9113ea1f
UD
40217 * configure.in: Remove support for --experimental-malloc option, make
40218 it the default.
40219 * config.make.in: Likewise.
40220 * malloc/Makefile: Likewise.
40221
a4172181
AS
402222011-06-27 Andreas Schwab <schwab@redhat.com>
40223
40224 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40225 two-byte characters.
40226
78a7eee7
RM
402272011-06-27 Roland McGrath <roland@hack.frob.com>
40228
62bede13
RM
40229 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40230 AC_CACHE_CHECK invocation.
40231 * configure: Regenerated.
40232
78a7eee7
RM
40233 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40234
5ce33a62
UD
402352011-06-27 Ulrich Drepper <drepper@gmail.com>
40236
034807a9
UD
40237 [BZ #12350]
40238 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40239 bit from old_res_options.
40240
4902da17
UD
40241 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40242
5ce33a62
UD
40243 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40244 value type for setfct.
40245
c2344f56
L
402462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40247
40248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40249 __gettimeofday instead of gettimeofday.
40250
68468076
UD
402512011-06-26 Ulrich Drepper <drepper@gmail.com>
40252
40253 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40254
acb0d739
L
402552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40256
40257 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40258
40259 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40260 info.
40261
8912479f
L
402622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40263
40264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40265 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40266 strcpy-sse2-unaligned strncpy-sse2-unaligned
40267 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40268 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40269 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40270 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40271 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40272 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40273 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40274 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40275 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40276 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40277 (STRCPY): Support SSE2 and SSSE3 versions.
40278
d5495a11
UD
402792011-06-24 Ulrich Drepper <drepper@gmail.com>
40280
40281 [BZ #12874]
40282 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40283 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40284 kernels which artificially limit size of requests.
40285
0b1cbaae
L
402862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40287
40288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40289 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40290 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40291 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40292 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40293 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40294 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40295 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40296 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40297 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40298 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40299 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40300 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40301 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40302 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40304 Enable unaligned load optimization for Intel Core i3, i5 and i7
40305 processors.
40306 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40307 Define.
40308 (index_Fast_Unaligned_Load): Define.
40309 (HAS_FAST_UNALIGNED_LOAD): Define.
40310
07f494a0
MP
403112011-06-23 Marek Polacek <mpolacek@redhat.com>
40312
40313 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40314
fa3fc0fe
UD
403152011-06-22 Ulrich Drepper <drepper@gmail.com>
40316
40317 [BZ #12907]
40318 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40319 until it is clear that the information is realy needed.
40320 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40321
e12df166
AS
403222011-06-22 Andreas Schwab <schwab@redhat.com>
40323
40324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40325
852eb34d
UD
403262011-06-22 Ulrich Drepper <drepper@gmail.com>
40327
84e2a551
UD
40328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40329 /sys/devices/system/cpu/online if it is usable.
40330
852eb34d
UD
40331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40332 reading the information from the /proc filesystem to once a second.
40333
6e502e19
UD
403342011-06-21 Andreas Jaeger <aj@suse.de>
40335
40336 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40337 NULL after inclusion of kernel headers.
40338
75d39ff2
UD
403392011-06-21 Ulrich Drepper <drepper@gmail.com>
40340
51f9aa6a
UD
40341 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40342 calls to internal_setent.
40343
c0244a9d
UD
40344 [BZ #12885]
40345 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40346 addresses using gethostbyname4_r ignore IPv4 addresses.
40347
c5e3c2ae
UD
40348 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40349 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40350
75d39ff2
UD
40351 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40352
42675c6f
DM
403532011-06-20 David S. Miller <davem@davemloft.net>
40354
40355 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40356 inclusions.
40357 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40358
40359 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40360 (elf_irel): Use it.
40361 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40362 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40363 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40364 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40365 * sysdeps/x86_64/dl-irel.h: Likewise.
40366
40367 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40368 * elf/dl-sym.c: Likewise.
40369
57912a71
UD
403702011-06-15 Ulrich Drepper <drepper@gmail.com>
40371
40372 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40373 need to dereference resplen2.
40374
ee22793d
AS
403752011-06-14 Andreas Schwab <schwab@redhat.com>
40376
40377 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40378
a9e836b0
UD
403792011-06-15 Ulrich Drepper <drepper@gmail.com>
40380
77fb9117
UD
40381 * Makeconfig: Define vardbdir and inst_vardbdir.
40382 * nss/Makefile: Add rules to install db-Makefile.
40383
40c1b22c
UD
40384 * nss/nss_db/db-XXX.c: Cleanup.
40385
9f2da732
UD
40386 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40387 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40388 GLIBC_PRIVATE.
40389 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40390 * nss/makedb.c: Implement -g option to specify that value strings
40391 are generated and should not be added to table iterated over for
40392 get*ent calls.
40393 * nss/nss_db/db-initgroups.c: New file.
40394
82e9a1f7
UD
40395 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40396 interface.
40397
c41af17e
UD
40398 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40399 (internal_getgrouplist): Adjust to name change.
40400 Update use_initgroups_entry if this is not the first call.
40401 * nss/databases.def: Add initgroups entry.
40402
a9e836b0
UD
40403 * nss/makedb.c (compute_tables): Check result of multiple hash table
40404 sizes to minimize maximum chain length.
40405
2666d441
UD
404062011-06-14 Ulrich Drepper <drepper@gmail.com>
40407
40408 * Versions.def: Add entry for libnss_db.
40409 * shlib-versions: Likewise.
40410 * nss/Makefile: Add rules to build libnss_db.
40411 * nss/Versions: Add libnss_db information. Organize libnss_files
40412 entries better.
40413 * nss/db-Makefile: Add gshadow support. Change rules for the new
40414 makedb progra. Some minor improvements to generate smaller files.
40415 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40416 here from...
40417 * nss/makedb.c: ...here.
40418 Improve database format to be smaller and require less memory at
40419 runtime.
40420 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40421 db anymore.
40422 * nss/nss_db/db-netgrp.c: Likewise.
40423 * nss/nss_db/db-open.c: Likewise.
40424 * nss/nss_files/flies-XXX.x: Adjust comments.
40425 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40426 * nss/nss_files/files-grp.c: Likewise.
40427 * nss/nss_files/files-hosts.c: Likewise.
40428 * nss/nss_files/files-network.c: Likewise.
40429 * nss/nss_files/files-proto.c: Likewise.
40430 * nss/nss_files/files-pwd.c: Likewise.
40431 * nss/nss_files/files-rpc.c: Likewise.
40432 * nss/nss_files/files-service.c: Likewise.
40433 * nss/nss_files/files-sgrp.c: Likewise.
40434 * nss/nss_files/files-spwd.c: Likewise.
40435 * nss/nss_db/db-alias.c: Removed.
40436 * nss/nss_db/dummy-db.h: Removed.
40437
9ee76b5a
UD
404382011-06-02 Ulrich Drepper <drepper@gmail.com>
40439
40440 * nss/makedb.c: Rewritten to not use database library.
40441 * nss/Makefile: Update to build new makedb program.
40442
c71ca1f8
AJ
404432011-06-14 Andreas Jaeger <aj@suse.de>
40444
40445 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40446 memset declaration.
40447
3154bfb8
UD
404482011-06-10 Andreas Schwab <schwab@redhat.com>
40449
40450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40451 tmpbuf.
40452
b350afab
RM
404532011-06-10 Roland McGrath <roland@hack.frob.com>
40454
decd4e50
RM
40455 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40456 * elf/Makefile ($(objpfx)ld.so): Likewise.
40457
5615eaf2
RM
40458 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40459 Don't list ld.so twice in dependencies.
40460
40461 * posix/bug-regex31.c: Include <stdlib.h>.
40462
40463 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40464
40465 * nis/nss_compat/compat-spwd.c
40466 (getspent_next_nss_netgr): Remove unused variable.
40467 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40468
40469 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40470 nonmembers" output to use the right array.
40471
40472 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40473
40474 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40475
40476 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40477 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40478 * catgets/gencat.c (read_input_file): Likewise.
40479 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40480
40481 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40482 variable definition inside #if's controlling its use.
40483
40484 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40485
40486 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40487
40488 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40489
40490 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40491 unreachable code.
40492
40493 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40494
b68e08db
RM
40495 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40496 * configure: Regenerated.
40497
b350afab
RM
40498 * Makerules: Revert last change.
40499 * elf/Makefile: Likewise.
40500
28368601
RM
405012011-06-09 Roland McGrath <roland@hack.frob.com>
40502
40503 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40504 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40505 (reloc-link): Likewise.
40506
11988f8f
UD
405072011-06-09 Ulrich Drepper <drepper@gmail.com>
40508
40509 * elf/Makefile: Add rules to build pldd.
40510 * elf/pldd.c: New file.
40511 * elf/pldd-xx.c: New file.
40512
e80fab37
UD
405132011-06-07 Ulrich Drepper <drepper@gmail.com>
40514
40515 * version.h: Update for 2.15 development version.
40516
9b849836
DM
405172011-06-07 David S. Miller <davem@davemloft.net>
40518
40519 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40520 ifuncs.
40521 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40522 elf_machine_lazy_rel): Likewise.
40523 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40524 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40525 elf_machine_lazy_rel): Likewise.
40526 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40527 dl_hwcap via passed in argument.
40528 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40529 Likewise.
40530
5a31b283
AK
405312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40532
40533 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40534
069e52f8
RM
405352011-06-06 Roland McGrath <roland@hack.frob.com>
40536
40537 [BZ #12849]
40538 * manual/fdl-1.1.texi: New file, verbatim from:
40539 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40540 * manual/lgpl-2.1.texi: New file, verbatim from:
40541 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40542 * manual/Makefile (licenses): New variable, list those new file names.
40543 (texis): Use it.
40544 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40545
40546 * manual/fdl.texi: File removed.
40547 * manual/lesser.texi: File removed.
40548 * manual/libc.texinfo (Copying, Documentation License):
40549 Use new @include file names, put @appendix directive before @include.
40550
f16846a5
JJ
405512011-06-04 Jakub Jelinek <jakub@redhat.com>
40552
40553 [BZ #12841]
40554 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40555 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40556 (mq_open): Add __NTH.
40557
3d29045b
L
405582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40559
40560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40561 Assume Intel Core i3/i5/i7 processor if AVX is available.
40562
8c297311
UD
405632011-05-31 Ulrich Drepper <drepper@gmail.com>
40564
40565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40566 typo.
40567
c8fc0c91
UD
405682011-05-31 Andreas Schwab <schwab@redhat.com>
40569
40570 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40571 memory. Use alloca_account. Fix memory leak when retrying.
40572
5b27a807
UD
405732011-05-31 Ulrich Drepper <drepper@gmail.com>
40574
356f8bc6
UD
40575 * version.h (RELEASE): Bump for 2.14 release.
40576 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40577
5b27a807
UD
40578 * config.make.in (RANLIB): Remove entry.
40579
01f16ab0
UD
405802011-05-30 Ulrich Drepper <drepper@gmail.com>
40581
41fce8bd
UD
40582 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40583 (libc.pot): Work around missing support for .ksh extension in xgettext.
40584
4769ae77
UD
40585 [BZ #12684]
40586 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40587 if both request failed.
40588 (send_dg): In case of server errors clear resplen or *resplen2.
40589
6b1e7d19
UD
40590 [BZ #12454]
40591 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40592 when there are multiple maps.
40593 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40594 (_dl_fini): Remove test here.
40595
01f16ab0
UD
40596 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40597
b1ebd700
UD
405982011-05-29 Ulrich Drepper <drepper@gmail.com>
40599
7ae22829
UD
40600 [BZ #12350]
40601 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40602 bit from old_res_options.
40603 (gaih_inet): Likewise.
40604
553149f6 40605 [BZ #11099]
18a84741 40606 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40607 as signed.
40608
652ffab1
UD
40609 * resolv/res_init.c (res_setoptions): Make the code more compact.
40610
16985fd0
UD
40611 [BZ #11558]
40612 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40613 set RES_USEVC.
40614
0464f746
UD
40615 [BZ #11634]
40616 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40617
7d17596c
UD
40618 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40619
cf6bbbd7
UD
40620 [BZ #11781]
40621 * malloc/malloc.h: Declare malloc hook variables as volatile.
40622
13f1ab36
UD
40623 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40624 in last patch.
40625
b1ebd700
UD
40626 [BZ #11799]
40627 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40628 raise in the comment.
80e2212d
UD
40629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40631 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40632
ce67228d
UD
406332011-05-28 Ulrich Drepper <drepper@gmail.com>
40634
8887a920
UD
40635 [BZ #12811]
40636 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40637 grow the buffers more if it already has to be sufficient.
40638 (build_wcs_upper_buffer): Likewise.
40639 * posix/regexec.c (check_matching): Likewise.
40640 (clean_state_log_if_needed): Likewise.
40641 (extend_buffers): Don't enlarge buffers beyond size of the input
40642 buffer.
40643 Patches mostly by Emil Wojak <emil@wojak.eu>.
40644 * posix/bug-regex32.c: New file.
40645 * posix/Makefile (tests): Add bug-regex32.
40646
4f031072
UD
40647 * locale/findlocale.c (_nl_find_locale): Return right away if
40648 _nl_explode_name failed.
40649 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40650
d0478f0c
UD
40651 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40652
de81b246
UD
40653 * debug/xtrace.sh: Unify messages.
40654 * malloc/memusage.sh: Likewise.
40655
c738465a
UD
40656 [BZ #12813]
40657 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40658 time symbol from vDSO. Substitute with vsyscall if not available.
40659 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40660 __vdso_time.
40661
f1f929d7
UD
40662 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40663 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40664 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40665 Add sendmmsg and internal_sendmmsg.
40666 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40667 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40668 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40669
ce67228d
UD
40670 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40671 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40672 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40673
e57420c6
UD
406742011-05-27 Ulrich Drepper <drepper@gmail.com>
40675
a8509ca5
UD
40676 [BZ #12813]
40677 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40678 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40679 available.
40680 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40681 __vdso_getcpu.
40682
e57420c6
UD
40683 [BZ #12814]
40684 * iconvdata/Makefile (tests): Add bug-iconv9.
40685 * iconvdata/bug-iconv9.c: New file.
40686
4d07db15
AS
406872011-05-27 Andreas Schwab <schwab@redhat.com>
40688
40689 [BZ #12814]
40690 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40691
ea486f69
JJ
406922011-05-25 Jakub Jelinek <jakub@redhat.com>
40693
40694 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40695 (struct user_regs_struct): Change intcs field back to cs.
40696
6f038433
UD
406972011-05-25 Ulrich Drepper <drepper@gmail.com>
40698
40699 * po/ja.po: Update from translation team.
40700
67f86a25
UD
407012011-05-23 Ulrich Drepper <drepper@gmail.com>
40702
40703 [BZ #12795]
40704 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40705 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40706
def7fbd6
AS
407072011-05-20 Andreas Schwab <schwab@redhat.com>
40708
40709 * stdlib/longlong.h: Update from GCC.
40710
f50ef8f1
AS
407112011-05-23 Andreas Schwab <schwab@redhat.com>
40712
40713 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40714 parameter name.
40715 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40716 Add parameter name.
40717 (__sysconf): Pass it down.
40718
de7ce8f1
UD
407192011-05-22 Ulrich Drepper <drepper@gmail.com>
40720
f2962a71
UD
40721 [BZ #12671]
40722 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40723 some situations.
40724 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40725 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40726 add in in __libc_use_alloca calls. Adjust callers.
40727 (glob): Use malloc in some situations.
40728
de7ce8f1
UD
40729 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40730 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40731 pltexit.
40732
aec84f53
UD
407332011-05-21 Ulrich Drepper <drepper@gmail.com>
40734
05bb4a68
UD
40735 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40736 and CLOCK_BOOTTIME_ALARM.
40737
7ea72f99
UD
40738 [BZ #12782]
40739 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40740 is returned.
40741
7e4afad5
UD
40742 * string/_strerror.c (__strerror_r): Print negative errors as signed
40743 numbers.
40744
8e211fec
UD
40745 [BZ #12777]
40746 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40747 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40748 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40749
f7d82dc9
UD
40750 * configure.in: Fix typo in redirection and correct removal of test
40751 files in two cases.
40752
cc9e536d
UD
40753 [BZ #12788]
40754 * locale/setlocale.c (new_composite_name): Fix test to check for
40755 identical name of all categories.
40756
aec84f53
UD
40757 [BZ #12792]
40758 * libio/filedoalloc.c (local_isatty): New function.
40759 (_IO_file_doallocate): Use local_isatty.
40760 * stdio-common/perror.c (perror): In case a new stream is used
40761 forward the stream error.
40762 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40763 error flag.
40764
78e64fdc
RT
407652011-05-20 Ulrich Drepper <drepper@gmail.com>
40766
34a9094f
UD
40767 [BZ #11869]
40768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40769 alloca.
40770 * include/alloca.h (extend_alloca_account): Define.
40771
78e64fdc
RT
40772 [BZ #11857]
40773 * posix/regex.h: Fix comments with documentation of user-accessible
40774 fields after compilation and describe correct free'ing of pattern
40775 after re_compile_pattern.
40776 Patch by Reuben Thomas <rrt@sc3d.org>.
40777
457bddfc
RA
407782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40779
40780 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40781 and -mno-altivec to prevent the compiler from using Altivec and/or
40782 VSX instructions when the corresponding registers are not available.
40783
a4527b51
AS
407842011-05-19 Andreas Schwab <schwab@redhat.com>
40785
40786 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40787
ed690b2f
UD
407882011-05-19 Ulrich Drepper <drepper@gmail.com>
40789
40790 * libio/freopen.c (freopen): Use __dup2, not dup2.
40791 * libio/freopen64.c (freopen64): Likewise.
40792
8db73634
L
407932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40794
40795 [BZ #12775]
40796 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40797 * math/Makefile (tests): Add test-powl.
40798 (CFLAGS-test-powl.c): Define.
40799 * math/test-powl.c: New file.
40800
0a197a9d
L
408012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40802
40803 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40804
ee30c380
UD
408052011-05-17 Ulrich Drepper <drepper@gmail.com>
40806
40807 [BZ #11837]
40808 * iconvdata/gb18030.c: Update to GB18020-2005.
40809
6ce75379
UD
408102011-05-16 Ulrich Drepper <drepper@gmail.com>
40811
a4b89fd8
AR
40812 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40813 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40814 Patch by Aharon Robbins <arnold@skeeve.com>.
40815
ea389b12
UD
40816 [BZ #11892]
40817 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40818 on the stack.
40819
68a3f91f
UD
40820 [BZ #11895]
40821 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40822 through underflows.
40823
15cc7dd1
UD
40824 [BZ #12766]
40825 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40826 point to strings before performing equality test for error_one_per_line
40827 mode.
40828
f3799213
UD
40829 [BZ #11697]
40830 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40831
d79a9c94
UD
40832 [BZ #11820]
40833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40834 (struct user_fpregs_struct): Avoid __uint*_t types.
40835
56e5eb46
UD
40836 [BZ #6420]
40837 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40838 symbol info. Use it instead of calling _dl_addr locally.
40839 (lock_and_info): New function.
40840 (tr_freehook): Call lock_and_info and pass symbol info as additional
40841 parameter to tr_where.
40842 (tr_mallochook): Likewise.
40843 (tr_reallochook): Likewise.
40844 (tr_memalignhook): Likewise.
40845
6ce75379
UD
40846 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40847 used and couldn't be at all thread-safe.
40848
f8a3b5bf
UD
408492011-05-15 Ulrich Drepper <drepper@gmail.com>
40850
94b7cc37
UD
40851 * libio/freopen.c (freopen): Don't close old file descriptor
40852 before the new one is opened. Instead dup the new file descriptor
40853 to the old one after the new stream is created.
40854 * libio/freopen64.c (freopen64): Likewise.
40855 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40856 * libio/fileops.c (_IO_new_file_close_it): Handle new
40857 _IO_FLAGS2_NOCLOSE flag.
40858 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40859 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40860 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40861 _IO_FLAGS2_NOCLOSE flag.
40862 * include/unistd.h: Add hidden_proto for dup3.
40863 Define __have_dup3.
40864 * io/dup3.c: Define hidden symbol.
40865 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40866
bd25564e
UD
40867 [BZ #7101]
40868 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40869 when an incomplete long option is used.
40870 * posix/tst-getopt_long1.c: New file.
40871 * posix/Makefile (tests): Add tst-getopt_long1.
40872
c84cfef4
UD
40873 [BZ #10138]
40874 * scripts/config.guess: Update from autoconf-2.68.
40875 * scripts/config.sub: Likewise.
40876
3b85df27
UD
40877 [BZ #10157]
40878 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40879 tests into ...
40880 (has_cpuclock): ...this. New function.
40881 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40882 macro here based on has_cpuclock code.
40883
15a856b1
UD
40884 [BZ #10149]
40885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40886 First byte (not low byte) is now always NUL.
40887 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40888
05f399e6
UD
40889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40890 Use non-cancelable interfaces.
40891
10a52685 40892 [BZ #9809]
94ecc67d
UD
40893 * locale/iso-639.def: Add entry for Sorani.
40894
f8a3b5bf
UD
40895 [BZ #11901]
40896 * include/stdlib.h: Move include protection to the right place.
40897 Define abort_msg_s. Declare __abort_msg with it.
40898 * stdlib/abort.c (__abort_msg): Adjust type.
40899 * assert/assert.c (__assert_fail_base): New function. Majority
40900 of code from __assert_fail. Allocate memory for __abort_msg with
40901 mmap.
40902 (__assert_fail): Now call __assert_fail_base.
40903 * assert/assert-perr.c: Remove bulk of implementation. Use
40904 __assert_fail_base.
40905 * include/assert.hL Declare __assert_fail_base.
40906 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40907 mmap.
40908 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40909
1af4e298
UD
409102011-05-14 Ulrich Drepper <drepper@gmail.com>
40911
f8a3b5bf 40912 [BZ #11952]
d26dfc60
MG
40913 [BZ #12453]
40914 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40915 until all modules are registered in the DTV.
40916 * elf/Makefile: Add rules to build and run tst-tls19.
40917 * elf/tst-tls19.c: New file.
40918 * elf/tst-tls19mod1.c: New file.
40919 * elf/tst-tls19mod2.c: New file.
40920 * elf/tst-tls19mod3.c: New file.
40921 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40922
2fc54d6f
UD
40923 [BZ #12083]
40924 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40925 correctly.
40926
98d76b46
UD
40927 [BZ #12601]
40928 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40929 two-byte sequence errors.
40930 * iconvdata/Makefile (tests): Add bug-iconv8.
40931 * iconvdata/bug-iconv8.c: New file.
40932
da3c19ef
UD
40933 [BZ #12626]
40934 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40935 buf2 definition.
40936
ca408c15
UD
40937 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40938
d6f67f7d
UD
40939 [BZ #12432]
40940 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40941 (dummy_getcfa): New function.
40942 (init): Get _Unwind_GetCFA address, use dummy if not found.
40943 (backtrace_helper): In recursion check, also check whether CFA changes.
40944 (__backtrace): Completely initialize arg.
40945
1af4e298 40946 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40947 storing incomplete byte sequence in state object. Avoid testing for
40948 guaranteed too small input if we know there is enough data available.
1af4e298 40949
da62f81b
AS
409502011-05-11 Andreas Schwab <schwab@redhat.com>
40951
40952 * Makeconfig (+link-pie): Indent.
40953 * Rules (binaries-pie): Define if $(have-fpie) and
40954 $(build-shared).
40955 (binaries-shared): Also filter out $(binaries-pie).
40956 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40957 * nscd/Makefile (others-pie): Add nscd.
40958 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40959 ($(objpfx)nscd): Remove command override.
40960 * login/Makefile (others-pie): Add pt_chown.
40961 ($(objpfx)pt_chown): Remove command override.
40962 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40963 remove command overrides.
40964
fcabc0f8
UD
409652011-05-13 Ulrich Drepper <drepper@gmail.com>
40966
20030ae6
UD
40967 * libio/tst_putwc.c: Fix error messages.
40968
fcabc0f8
UD
40969 [BZ #12724]
40970 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40971 currently writing and seek to current position when not.
40972 * libio/Makefile (tests): Add bug-fclose1.
40973 * libio/bug-fclose1.c: New file.
40974
320a5dc0
PB
409752011-05-12 Ulrich Drepper <drepper@gmail.com>
40976
40977 [BZ #12511]
40978 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40979 don't set DF_1_NODELETE here.
40980 (do_lookup_x): When entering new entry test for copy relocation
40981 and if necessary set DF_1_NODELETE flag.
40982 * elf/tst-unique4.cc: New file.
40983 * elf/tst-unique4.h: New file.
40984 * elf/tst-unique4lib.cc: New file.
40985 * elf/Makefile: Add rules to build and run tst-unique4.
40986 Patch by Piotr Bury <pbury@goahead.com>.
40987
22836f52
UD
409882011-05-11 Ulrich Drepper <drepper@gmail.com>
40989
f574184a
UD
40990 [BZ #12052]
40991 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40992
e1fb097f
UD
40993 [BZ #12625]
40994 * misc/mntent_r.c (addmntent): Flush the stream after the output
40995
22836f52
UD
40996 [BZ #12393]
40997 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40998 (is_trusted_path_normalize): Skip initial colon. Append slash
40999 to empty buffer. Duplicate is_trusted_path code but allow
41000 constructed patch to be prefix.
41001 (is_dst): Allow $ORIGIN followed by /.
41002 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41003 Correct testing of result of is_trusted_path_normalize
41004 (decompose_rpath): Fix warning.
41005
7b3b0b2a
UD
410062011-05-10 Ulrich Drepper <drepper@gmail.com>
41007
41008 [BZ #11257]
41009 * grp/initgroups.c (internal_getgrouplist): When we found the service
41010 list through the initgroups entry in nsswitch.conf do not always
41011 continue on a successful lookup. Don't always use the
eac80ce2 41012 __nss_group_database value if it is set.
7b3b0b2a
UD
41013 * nss/nsswitch.conf (initgroups): Change action for successful db
41014 lookup to continue for compatibility.
41015
2a81eaa5
UD
410162011-05-09 Ulrich Drepper <drepper@gmail.com>
41017
be97a69e
UD
41018 [BZ #11532]
41019 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41020 and CP774 modules.
41021 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41022 and CP774 modules.
41023 * iconvdata/tst-tables.sh: Likewise.
41024 * iconvdata/cp770.c: New file.
41025 * iconvdata/cp771.c: New file.
41026 * iconvdata/cp772.c: New file.
41027 * iconvdata/cp773.c: New file.
41028 * iconvdata/cp774.c: New file.
41029 * iconvdata/testdata/CP770: New file.
41030 * iconvdata/testdata/CP770..UTF8: New file.
41031 * iconvdata/testdata/CP771: New file.
41032 * iconvdata/testdata/CP771..UTF8: New file.
41033 * iconvdata/testdata/CP772: New file.
41034 * iconvdata/testdata/CP772..UTF8: New file.
41035 * iconvdata/testdata/CP773: New file.
41036 * iconvdata/testdata/CP773..UTF8: New file.
41037 * iconvdata/testdata/CP774: New file.
41038 * iconvdata/testdata/CP774..UTF8: New file.
41039
41040 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41041 END CHARMAP line.
41042 * iconvdata/gen-8bit-gap.sh: Likewise.
41043 * iconvdata/gen-8bit.sh: Likewise.
41044
c1e9e399
UD
41045 * locale/iso-639.def: Add ary entry.
41046
24c55fb3 41047 [BZ #11258]
96b4b1b0
UD
41048 * locale/C-translit.h.in: Add U20A1 transliteration.
41049
bdc2f971
KB
41050 [BZ #12178]
41051 * locale/iso-639.def: Add wae entry.
41052 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41053
2952b117
UD
41054 [BZ #12545]
41055 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41056 for n.
41057
2a81eaa5
UD
41058 [BZ #12711]
41059 * locale/C-translit.h.in: Add entry for U20B9.
41060 Patch by pravin.d.s@gmail.com.
41061
28377d1b
UD
410622011-05-08 Ulrich Drepper <drepper@gmail.com>
41063
7fb90fb8
UD
41064 [BZ #12713]
41065 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41066 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41067 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41068 in rtld. Use *stat64.
7fb90fb8 41069 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41070 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41071 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41072 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41073 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41074 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41075 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41076 __fstatat64 macros.
7fb90fb8
UD
41077 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41078 * dirent/rewinddir.c: Add libc_hidden_def.
41079 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41080 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41081
28377d1b
UD
41082 * include/dirent.h (__alloc_dir): Add flags parameter.
41083 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41084 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41085 __alloc_dir.
41086 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41087 from fdopendir if O_CLOEXEC is already set.
41088
66bdbaa4
AM
410892011-03-15 Alan Modra <amodra@gmail.com>
41090
41091 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41092 l_tls_firstbyte_offset non-zero. Save padding offset in
41093 l_tls_firstbyte_offset for later use.
41094 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41095 freeing static tls block.
41096
95721191
JN
410972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41098
41099 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41100 where #ifdef was intended. The intent is to prevent ARG_MAX from
41101 being defined by the kernel headers.
41102
f87dfb1f
UD
411032011-05-07 Ulrich Drepper <drepper@gmail.com>
41104
41105 [BZ #12734]
41106 * resolv/resolv.h: Define RES_NOTLDQUERY.
41107 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41108 no-tld-query and set RES_NOTLDQUERY.
41109 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41110 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41111 modern BIND to search name as TLD unless forbidden.
41112
47c3cd7a
UD
411132011-05-07 Petr Baudis <pasky@suse.cz>
41114 Ulrich Drepper <drepper@gmail.com>
41115
41116 [BZ #12393]
41117 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41118 (is_trusted_path): ...to here.
c1e9ea35 41119 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41120 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41121 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41122
8a35c912
PP
411232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41124
41125 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41126 __BEGIN/__END_DECLS.
41127
acd41f47
UD
411282011-05-06 Ulrich Drepper <drepper@gmail.com>
41129
41130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41131 NSS_STATUS_NOTFOUND if no record was found.
41132
597df647
AS
411332011-05-05 Andreas Schwab <schwab@redhat.com>
41134
41135 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41136 (headers-not-in-tirpc): Remove rpc/netdb.h
41137 * resolv/netdb.h: Revert last change.
41138
b9af1301
PP
411392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41140
41141 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41142 circular dependency between libgcc.a and libc.a.
41143
4e34d5f5
AS
411442011-05-05 Andreas Schwab <schwab@redhat.com>
41145
41146 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41147 * nis/Makefile: Don't install rpcsvc/*.
41148 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41149 instead of <rpc/types.h>.
41150 (MAXHOSTNAMELEN): Define.
41151
00ee369c
AS
411522011-05-03 Andreas Schwab <schwab@redhat.com>
41153
41154 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41155
0b592a30
MB
411562011-04-28 Maciej Babinski <mbabinski@google.com>
41157
41158 [BZ #12714]
41159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41160 gethostbyname4_r when IPv6 results are possible.
41161
6e04cbbe
UD
411622011-05-02 Ulrich Drepper <drepper@gmail.com>
41163
41164 [BZ #12723]
41165 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41166 _PC_PIPE_BUF handling.
41167
e4ecafe0
BH
411682011-04-30 Bruno Haible <bruno@clisp.org>
41169
41170 [BZ #12717]
41171 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41172 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41173 to 'int'.
41174 * inet/getnameinfo.c (getnameinfo): Likewise.
41175
125ee683
UD
411762011-04-29 Ulrich Drepper <drepper@gmail.com>
41177
41178 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41179 to groups setting in database lookup.
41180 * nss/nsswitch.conf: Add initgroups entry.
41181
b722481a
EB
411822011-04-22 Ulrich Drepper <drepper@gmail.com>
41183
41184 [BZ #12685]
41185 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41186 mode string.
41187 Patch by Eric Blake <eblake@redhat.com>.
41188
4df46dbd
L
411892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41190
41191 * sunrpc/Makefile (need-export-routines): Add svc_run.
41192 (routines): Remove svc_run.
41193 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41194 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41195 * sunrpc/svc_run.c (svc_run): Likewise.
41196 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41197
e84142d2
UD
411982011-04-21 Ulrich Drepper <drepper@gmail.com>
41199
41200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41201 problem in reallocation in last patch.
41202
877175d8
UD
412032011-04-20 Ulrich Drepper <drepper@gmail.com>
41204
41205 * sunrpc/Makefile: Move inclusion of Rules.
41206
ab8eed78
UD
412072011-04-19 Ulrich Drepper <drepper@gmail.com>
41208
41209 * nss/nss_files/files-initgroups.c: New file.
41210 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41211 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41212 _nss_files_initgroups_dyn.
41213
e3d8f584
RS
412142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41215
41216 * elf/elf.h (R_ARM_IRELATIVE): Define.
41217
af190f45
UD
412182011-04-19 Ulrich Drepper <drepper@gmail.com>
41219
41220 * po/ru.po: Update from translation team.
41221
53cf59ef
UD
412222011-04-17 Ulrich Drepper <drepper@gmail.com>
41223
41224 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41225 dependencies.
41226
4c559bcd
MF
412272011-02-06 Mike Frysinger <vapier@gentoo.org>
41228
41229 [BZ #12653]
41230 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41231 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41232 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41233 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41234 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41235
4420675c
AS
412362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41237
41238 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41239 differing bytes.
41240 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41241 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41242 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41243
75ea32ab
UD
412442011-04-17 Ulrich Drepper <drepper@gmail.com>
41245
41246 [BZ #12420]
41247 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41248 storing it.
41249 * stdlib/bug-getcontext.c: New file.
41250 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41251
27390476
AK
412522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41253
41254 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41255 instructions into .machine "z9-109".
41256 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41257 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41258
10442705
AK
412592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41260
41261 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41262 between environment variables and auxiliary vector.
41263
7b57bfe5
UD
412642011-04-16 Ulrich Drepper <drepper@gmail.com>
41265
41266 * Makefile: Add rules to build linkobj/libc.so.
41267 * include/libc-symbols.h: Define libc_hidden_nolink.
41268 * include/rpc/auth.h: Mark functions which are to be hidden.
41269 * include/rpc/auth_des.h: Likewise.
41270 * include/rpc/auth_unix.h: Likewise.
41271 * include/rpc/clnt.h: Likewise.
41272 * include/rpc/des_crypt.h: Likewise.
41273 * include/rpc/key_prot.h: Likewise.
41274 * include/rpc/pmap_clnt.h: Likewise.
41275 * include/rpc/pmap_prot.h: Likewise.
41276 * include/rpc/pmap_rmt.h: Likewise.
41277 * include/rpc/rpc_msg.h: Likewise.
41278 * include/rpc/svc.h: Likewise.
41279 * include/rpc/svc_auth.h: Likewise.
41280 * include/rpc/xdr.h: Likewise.
41281 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41282 * nss/Makefile: Likewise.
41283 * sunrpc/Makefile: Don't install headers. Build library with normal
41284 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41285 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41286 for the compat linking library. Remove use of INTDEF/INTUSE.
41287 * sunrpc/auth_none.c: Likewise.
41288 * sunrpc/auth_unix.c: Likewise.
41289 * sunrpc/authdes_prot.c: Likewise.
41290 * sunrpc/authuxprot.c: Likewise.
41291 * sunrpc/clnt_gen.c: Likewise.
41292 * sunrpc/clnt_perr.c: Likewise.
41293 * sunrpc/clnt_raw.c: Likewise.
41294 * sunrpc/clnt_simp.c: Likewise.
41295 * sunrpc/clnt_tcp.c: Likewise.
41296 * sunrpc/clnt_udp.c: Likewise.
41297 * sunrpc/clnt_unix.c: Likewise.
41298 * sunrpc/des_crypt.c: Likewise.
41299 * sunrpc/des_soft.c: Likewise.
41300 * sunrpc/get_myaddr.c: Likewise.
41301 * sunrpc/key_call.c: Likewise.
41302 * sunrpc/key_prot.c: Likewise.
41303 * sunrpc/netname.c: Likewise.
41304 * sunrpc/pm_getmaps.c: Likewise.
41305 * sunrpc/pm_getport.c: Likewise.
41306 * sunrpc/pmap_clnt.c: Likewise.
41307 * sunrpc/pmap_prot.c: Likewise.
41308 * sunrpc/pmap_prot2.c: Likewise.
41309 * sunrpc/pmap_rmt.c: Likewise.
41310 * sunrpc/publickey.c: Likewise.
41311 * sunrpc/rpc_cmsg.c: Likewise.
41312 * sunrpc/rpc_common.c: Likewise.
41313 * sunrpc/rpc_dtable.c: Likewise.
41314 * sunrpc/rpc_prot.c: Likewise.
41315 * sunrpc/rpc_thread.c: Likewise.
41316 * sunrpc/rtime.c: Likewise.
41317 * sunrpc/svc.c: Likewise.
41318 * sunrpc/svc_auth.c: Likewise.
41319 * sunrpc/svc_authux.c: Likewise.
41320 * sunrpc/svc_raw.c: Likewise.
41321 * sunrpc/svc_run.c: Likewise.
41322 * sunrpc/svc_simple.c: Likewise.
41323 * sunrpc/svc_tcp.c: Likewise.
41324 * sunrpc/svc_udp.c: Likewise.
41325 * sunrpc/svc_unix.c: Likewise.
41326 * sunrpc/svcauth_des.c: Likewise.
41327 * sunrpc/xcrypt.c: Likewise.
41328 * sunrpc/xdr.c: Likewise.
41329 * sunrpc/xdr_array.c: Likewise.
41330 * sunrpc/xdr_float.c: Likewise.
41331 * sunrpc/xdr_intXX_t.c: Likewise.
41332 * sunrpc/xdr_mem.c: Likewise.
41333 * sunrpc/xdr_rec.c: Likewise.
41334 * sunrpc/xdr_ref.c: Likewise.
41335 * sunrpc/xdr_sizeof.c: Likewise.
41336 * sunrpc/xdr_stdio.c: Likewise.
41337
e6c61494
UD
413382011-04-10 Ulrich Drepper <drepper@gmail.com>
41339
41340 [BZ #12650]
41341 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41342 * sysdeps/ia64/dl-tls.h: Likewise.
41343 * sysdeps/powerpc/dl-tls.h: Likewise.
41344 * sysdeps/s390/dl-tls.h: Likewise.
41345 * sysdeps/sh/dl-tls.h: Likewise.
41346 * sysdeps/sparc/dl-tls.h: Likewise.
41347 * sysdeps/x86_64/dl-tls.h: Likewise.
41348 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41349
34fe483e
AS
413502011-03-14 Andreas Schwab <schwab@redhat.com>
41351
41352 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41353 rpath element also skip the following colon.
41354 (expand_dynamic_string_token): Add is_path parameter and pass
41355 down to DL_DST_REQUIRED and _dl_dst_substitute.
41356 (decompose_rpath): Call expand_dynamic_string_token with
41357 non-zero is_path. Ignore empty rpaths.
41358 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41359 with zero is_path.
41360
f12a32e6
AS
413612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41362
41363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41364 Make cancelable.
41365
38a7d692
UD
413662011-04-09 Ulrich Drepper <drepper@gmail.com>
41367
41368 [BZ #12655]
41369 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41370 Patch by Filipe David Manana <fdmanana@apache.org>.
41371
e451d22b
AS
413722011-04-07 Andreas Schwab <schwab@redhat.com>
41373
41374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41375 Maintain aligned stack.
41376 (CHECK_RSP): Remove unused macro.
41377
dedc7c7b
UD
413782011-04-03 Ulrich Drepper <drepper@gmail.com>
41379
41380 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41381 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41382
94521213
UD
413832011-04-02 Ulrich Drepper <drepper@gmail.com>
41384
41385 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41386
8cb700c0 41387 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41388
0354e355
L
413892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41390
41391 [BZ #12518]
41392 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41393 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41394 * sysdeps/x86_64/memmove.c: New file.
41395 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41396 (memcpy): Renamed to ...
41397 (__new_memcpy): This.
41398 (memcpy): Provide GLIBC_2_14 memcpy.
41399 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41400 (memcpy): Provide GLIBC_2_2_5 memcpy.
41401
8593482f
UD
414022011-04-01 Ulrich Drepper <drepper@gmail.com>
41403
41404 [BZ #12631]
41405 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41406
81a5726b
AS
414072011-03-30 Andreas Schwab <schwab@redhat.com>
41408
41409 * misc/syncfs.c: New file.
41410 * misc/Makefile (routines): Add syncfs.
41411 * posix/unistd.h: Declare syncfs.
41412 * sysdeps/unix/syscalls.list: Add syncfs.
41413
00e5419f
AS
414142011-04-01 Andreas Schwab <schwab@redhat.com>
41415
41416 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41417 open_by_handle_at.
41418 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41419 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41421 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41423 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41424 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41425
748876bf
UD
414262011-04-01 Ulrich Drepper <drepper@gmail.com>
41427
658e451d
UD
41428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41429 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41430 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41435
748876bf
UD
41436 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41437 sync_file_range.c with -fexceptions.
41438 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41439 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41440 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41441 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41442 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41443 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41444 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41445 sync_file_range as cancellation point
41446 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41447 now a wrapper around __call_sync_file_range with cancellation handling.
41448 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41449 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41450 function name to __call_sync_file_range.
41451 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41452 Add call_sync_file_range.
748876bf 41453
6e63d5e1
AS
414542011-04-01 Andreas Schwab <schwab@redhat.com>
41455
41456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41457 bits/timex.h.
6e63d5e1 41458
46998f74
UD
414592011-04-01 Ulrich Drepper <drepper@gmail.com>
41460
4c1423ed
UD
41461 * iconv/iconv.h: Fix typo in comment.
41462 * io/fcntl.h: Likewise.
41463 * libio/stdio.h: Likewise.
41464 * posix/spawn.h: Likewise.
41465 * posix/unistd.h: Likewise.
41466 * stdlib/stdlib.h: Likewise.
41467 * time/time.h: Likewise.
41468 * wcsmbs/wchar.h: Likewise.
41469
158648c0
UD
41470 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41471 open_by_handle): Add.
41472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41473 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41474 Augment a few comments.
41475 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41477 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41480 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41481 open_by_handle.
41482
46998f74
UD
41483 * io/fcntl.h (AT_EMPTY_PATH): Define.
41484
83fe108b
UD
414852011-03-30 Ulrich Drepper <drepper@gmail.com>
41486
41487 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41488 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41489 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41490 to...
41491 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41492 * Versions.def: Add GLIBC_2.14.
41493 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41494 Export.
83fe108b 41495
bb242059
UD
414962011-03-22 Ulrich Drepper <drepper@gmail.com>
41497
41498 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41499 round counter.
41500 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41501
c97a1282
L
415022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41503
41504 [BZ #12597]
41505 * string/test-strncmp.c (do_page_test): New function.
41506 (check2): Likewise.
41507 (test_main): Call check2.
41508 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41509
2a115601
UD
415102011-03-20 Ulrich Drepper <drepper@gmail.com>
41511
41512 [BZ #12587]
41513 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41514 Handle cache information in CPU leaf 4.
41515 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41516
8126d904
UD
415172011-03-18 Ulrich Drepper <drepper@gmail.com>
41518
042c49c6 41519 [BZ #12583]
8126d904
UD
41520 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41521 character representation.
41522 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41523
ccfe366e
RA
415242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41525
41526 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41527 END(__isnan) to END(__isnanf) to match function entry point/label
41528 EALIGN(__isnanf,...).
41529
c6e13027
JJ
415302011-03-10 Jakub Jelinek <jakub@redhat.com>
41531
41532 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41533
33f85a3f
UD
415342011-03-10 Ulrich Drepper <drepper@gmail.com>
41535
028478fa
UD
41536 [BZ #12510]
41537 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41538 copy from the symbol referenced in the relocation to initialize the
41539 used variable.
41540 Patch by Piotr Bury <pbury@goahead.com>.
41541 * elf/Makefile: Add rules to build and tst-unique3.
41542 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41543 * elf/tst-unique3.cc: New file.
41544 * elf/tst-unique3.h: New file.
41545 * elf/tst-unique3lib.cc: New file.
41546 * elf/tst-unique3lib2.cc: New file.
41547
33f85a3f
UD
41548 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41549
03592fc7
MF
415502011-03-10 Mike Frysinger <vapier@gentoo.org>
41551
41552 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41553 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41554 to _start.
03592fc7 41555
6a5ee102
UD
415562011-03-06 Ulrich Drepper <drepper@gmail.com>
41557
41558 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41559 to-be-loaded object along a path to loader is ld.so.
41560
7e4ba49c
HJ
415612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41562 Ulrich Drepper <drepper@gmail.com>
41563
41564 * sysdeps/x86_64/memset.S: After aligning destination, code
41565 branches to different locations depending on the value of
41566 misalignment, when multiarch is enabled. Fix this.
41567
415682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41569
41570 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41571 Set _x86_64_preferred_memory_instruction for AMD processsors.
41572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41573 Set bit_Prefer_SSE_for_memop for AMD processors.
41574
13a804de
UD
415752011-03-04 Ulrich Drepper <drepper@gmail.com>
41576
41577 * libio/fmemopen.c (fmemopen): Optimize a bit.
41578
9d25c392
AS
415792011-03-03 Andreas Schwab <schwab@redhat.com>
41580
41581 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41582
a5543c6a
RM
415832011-03-03 Roland McGrath <roland@redhat.com>
41584
41585 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41586
012d35f7
DM
415872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41588
7e4ba49c 41589 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41590 __bzero_ultra1 instead of __memset_ultra1.
41591
4bff6e01
AS
415922011-02-23 Andreas Schwab <schwab@redhat.com>
41593 Ulrich Drepper <drepper@gmail.com>
41594
41595 [BZ #12509]
41596 * include/link.h (struct link_map): Add l_orig_initfini.
41597 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41598 returning unsuccessfully.
41599 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41600 close of a file loaded at startup, restore the original l_initfini
41601 list.
41602 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41603 list, store the pointer.
41604 * elf/Makefile ($(objpfx)noload-mem): New rule.
41605 (noload-ENV): Define.
41606 (tests): Add $(objpfx)noload-mem.
41607 * elf/noload.c: Include <memcheck.h>.
41608 (main): Call mtrace. Close all opened handles.
41609
f2092faf
AS
416102011-02-17 Andreas Schwab <schwab@redhat.com>
41611
41612 [BZ #12454]
41613 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41614 dependencies are missing.
41615
6c8a2e88
ST
416162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41617
f2092faf 41618 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41619 Hurd needs munmap.
41620 * sysdeps/mach/hurd/ifreq.h: New file.
41621
84a42118
PB
416222011-01-27 Petr Baudis <pasky@suse.cz>
41623 Ulrich Drepper <drepper@gmail.com>
41624
071f805e 41625 [BZ 12445]#
84a42118
PB
41626 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41627 to extend_alloca().
41628 * stdio-common/bug23.c: New file.
41629 * stdio-common/Makefile (tests): Add bug23.
41630
e23fe25b
AS
416312010-09-28 Andreas Schwab <schwab@redhat.com>
41632 Ulrich Drepper <drepper@gmail.com>
41633
41634 [BZ #12489]
41635 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41636 before performing relro protection. At old place add assertion
41637 to make sure nothing changed.
41638
d3f02e10
NS
416392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41640 Glauber de Oliveira Costa <glommer@gmail.com>
41641
41642 * elf/elf.h: Add new ARM TLS relocs.
41643
d55fd7a5
RA
416442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41645
41646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41647 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41648 cast from r3.
41649 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41650 'tests' variable.
41651 * sysdeps/wordsize-64/tst-writev.c: New file.
41652
2206397e
RA
416532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41654
41655 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41656 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41657 insns in _dl_start to prevent a TOC reference before relocs are
41658 resolved.
41659
e9433893
UD
416602011-02-15 Ulrich Drepper <drepper@gmail.com>
41661
41662 [BZ #12469]
41663 * Makeconfig: Remove RANLIB definition.
41664 * Makerules: Don't use RANLIB.
41665 * aclocal.m4: Remove ranlib test.
41666 * configure.in: No need to check for ranlib.
41667 * elf/rtld-Rules: Don't use RANLIB.
41668
f75286c6
ST
416692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41670
8e31c82d
ST
41671 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41672 protection macro.
41673 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41674 inclusion protection macro.
41675
f75286c6
ST
41676 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41677 SIGRTMIN and SIGRTMAX and print information in that case only when
41678 SIGRTMIN is defined.
41679
c1d0e639
JJ
416802011-02-11 Jakub Jelinek <jakub@redhat.com>
41681
41682 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41683 arginfo fn returning -1.
41684
41685 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41686 and thousands string is zero terminated.
41687
edf9294e
AS
416882011-02-03 Andreas Schwab <schwab@redhat.com>
41689
41690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41691 sysdeps/unix/sysv/linux/bits/socket.h.
41692
2b7e92df
ST
416932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41694
edf9294e
AS
41695 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41696 (__CPU_COUNT): Remove old macros.
41697 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41698 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41699 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41700 (__sched_cpualloc, __sched_cpufree): Add declarations.
41701
a4c7ea7b
UD
417022011-02-05 Ulrich Drepper <drepper@gmail.com>
41703
41704 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41705 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41706 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41707 (readdhstai): Return value of addhstaiX call.
41708 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41709 (addgrbyX): Return value returned by cache_addgr.
41710 (readdgrbyname): Return value returned by addgrbyX.
41711 (readdgrbygid): Likewise.
41712 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41713 (addpwbyX): Return value returned by cache_addpw.
41714 (readdpwbyname): Return value returned by addhstbyX.
41715 (readdpwbyuid): Likewise.
41716 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41717 (addservbyX): Return value returned by cache_addserv.
41718 (readdservbyname): Return value returned by addservbyX:
41719 (readdservbyport): Likewise.
41720 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41721 (addhstbyX): Return value returned by cache_addhst.
41722 (readdhstbyname): Return value returned by addhstbyX.
41723 (readdhstbyaddr): Likewise.
41724 (readdhstbynamev6): Likewise.
41725 (readdhstbyaddrv6): Likewise.
41726 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41727 (readdinitgroups): Return value returned by addinitgroupsX.
41728 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41729 (prune_cache): Keep track of timeout value of re-added entries.
41730 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41731 * nscd/nscd.h: Adjust prototypes of readd* functions.
41732
a0bf67cc
RM
417332011-02-04 Roland McGrath <roland@redhat.com>
41734
41735 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41736 (nis_stats): Likewise.
41737 * nis/nis_modify.c (nis_modify): Likewise.
41738 * nis/nis_remove.c (nis_remove): Likewise.
41739 * nis/nis_add.c (nis_add): Likewise.
41740
41741 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41742
41743 * posix/fnmatch_loop.c: Add some consts.
41744
41745 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41746
435b95eb
L
417472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41748
41749 [BZ #12460]
41750 * config.make.in (config-cflags-novzeroupper): Define.
41751 * configure.in: Substitute libc_cv_cc_novzeroupper.
41752 * elf/Makefile (AVX-CFLAGS): Define.
41753 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41754 (CFLAGS-tst-auditmod4a.c): Likewise.
41755 (CFLAGS-tst-auditmod4b.c): Likewise.
41756 (CFLAGS-tst-auditmod6b.c): Likewise.
41757 (CFLAGS-tst-auditmod6c.c): Likewise.
41758 (CFLAGS-tst-auditmod7b.c): Likewise.
41759 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41760
8517b15e
UD
417612011-02-02 Ulrich Drepper <drepper@gmail.com>
41762
41763 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41764 function to the callback.
41765 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41766
10a656fe
AS
417672011-02-02 Andreas Schwab <schwab@redhat.com>
41768
41769 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41770 of errno.
41771
968dad0a
UD
417722011-01-19 Ulrich Drepper <drepper@gmail.com>
41773
9f94d2ea 41774 [BZ #11724]
968dad0a
UD
41775 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41776 of constructors.
41777 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41778 of destructors.
41779 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41780
41781 [BZ #11724]
41782 * elf/Makefile: Add rules to build and run new test.
41783 * elf/tst-initorder.c: New file.
41784 * elf/tst-initorder.exp: New file.
41785 * elf/tst-initordera1.c: New file.
41786 * elf/tst-initordera2.c: New file.
41787 * elf/tst-initordera3.c: New file.
41788 * elf/tst-initordera4.c: New file.
41789 * elf/tst-initorderb1.c: New file.
41790 * elf/tst-initorderb2.c: New file.
41791 * elf/tst-order-a1.c: New file.
41792 * elf/tst-order-a2.c: New file.
41793 * elf/tst-order-a3.c: New file.
41794 * elf/tst-order-a4.c: New file.
41795 * elf/tst-order-b1.c: New file.
41796 * elf/tst-order-b2.c: New file.
41797 * elf/tst-order-main.c: New file.
41798 New test case by George Gensure <werkt0@gmail.com>.
41799
86e92359
UD
418002010-10-01 Andreas Schwab <schwab@redhat.com>
41801
41802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41803 decoding ACE if AI_CANONIDN.
41804
5d5732b0
UD
418052011-01-18 Ulrich Drepper <drepper@gmail.com>
41806
41807 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41808
a77e8cbc
UD
418092011-01-17 Ulrich Drepper <drepper@gmail.com>
41810
6392473f
UD
41811 * version.h (RELEASE): Bump for 2.13 release.
41812 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41813
620a0529
UD
41814 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41815
18ba70a5
UD
41816 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41817 MADV_NOHUGEPAGE.
32465c3e
UD
41818 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41819 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41820 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41821 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41823 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41824
c0dafcf1
UD
41825 * posix/getconf.c: Update copyright year.
41826 * catgets/gencat.c: Likewise.
41827 * csu/version.c: Likewise.
41828 * debug/catchsegv.sh: Likewise.
41829 * debug/xtrace.sh: Likewise.
41830 * elf/ldconfig.c: Likewise.
41831 * elf/ldd.bash.in: Likewise.
41832 * elf/sprof.c (print_version): Likewise.
41833 * iconv/iconv_prog.c: Likewise.
41834 * iconv/iconvconfig.c: Likewise.
41835 * locale/programs/locale.c: Likewise.
41836 * locale/programs/localedef.c: Likewise.
41837 * malloc/memusage.sh: Likewise.
41838 * malloc/mtrace.pl: Likewise.
41839 * nscd/nscd.c (print_version): Likewise.
41840 * nss/getent.c: Likewise.
41841
a77e8cbc
UD
41842 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41843 PF_CAIF, and PF_ALG.
41844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41845
77e8bddf
AS
418462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41847
1f20b93a
AS
41848 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41849 (modules-names): Use them.
41850 (ifunc-test-modules, ifunc-pie-tests): Define.
41851 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41852 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41853 (test-extras): Likewise.
41854 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41855 $(compile-command.c).
41856 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41857 (all-built-dso): Define.
41858 (check-textrel.out, check-execstack.out): Depend on it.
41859
77e8bddf
AS
41860 * configure.in: Don't override --enable-multi-arch.
41861
bc425b33
UD
418622011-01-15 Ulrich Drepper <drepper@gmail.com>
41863
41864 [BZ #6812]
41865 * nscd/hstcache.c (tryagain): Define.
41866 (cache_addhst): Return tryagain not notfound for temporary errors.
41867 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41868 failed.
41869
794c3ad3
UD
418702011-01-14 Ulrich Drepper <drepper@gmail.com>
41871
70181fdd
UD
41872 [BZ #10563]
41873 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41874 to make the syscall.
41875 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41876
794c3ad3
UD
41877 [BZ #12378]
41878 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41879 and fall back to matching as normal character if the string ends before
41880 the matching ']' is found. This is what POSIX requires.
41881 * posix/testfnm.c: Adjust test result.
41882 * posix/globtest.sh: Adjust test result. Add new test.
41883 * posix/tst-fnmatch.input: Likewise.
41884 * posix/tst-fnmatch2.c: Add new test.
41885
68dc9497
AS
418862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41887
41888 * elf/Makefile (check-execstack): Revert last change. Depend on
41889 check-execstack.h.
41890 (check-execstack.h): New target.
41891 (generated): Add check-execstack.h.
41892 * elf/check-execstack.c: Include "check-execstack.h".
41893 (main): Revert last change.
41894 (handle_file): Return zero if GNU_STACK is absent and
41895 DEFAULT_STACK_PERMS doesn't include PF_X.
41896
451f001b
UD
418972011-01-13 Ulrich Drepper <drepper@gmail.com>
41898
cfa28e56
UD
41899 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41900 in child fails because the descriptor is already closed.
8cf8ce17
UD
41901 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41902 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41903 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41904
1086d70d
UD
41905 [BZ #12397]
41906 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41907 syscall.
41908
451f001b
UD
41909 [BZ #10484]
41910 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41911 temporary buffer used to handle multi lookups locally.
a85b5cb4 41912 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41913
08769175
UD
419142011-01-12 Ulrich Drepper <drepper@gmail.com>
41915
41916 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41917 loader is ld.so.
41918
5e49c52e
UD
419192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41920
41921 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41922 alignment for SSE2.
41923
60522a5f
UD
419242011-01-12 Ulrich Drepper <drepper@gmail.com>
41925
41926 [BZ #12394]
41927 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41928 characters. When rounding increased number of integer digits recompute
41929 number of groups.
41930 * stdio-common/tst-grouping.c: New file.
41931 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41932
f257bbd7
UD
419332011-01-09 Ulrich Drepper <drepper@gmail.com>
41934
41935 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41936 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41937
41938 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41939 void.
41940 * bits/select.h: Likewise.
41941
fa9c15cb
UD
419422011-01-08 Ulrich Drepper <drepper@gmail.com>
41943
41944 * po/ja.po: Update from translation team.
41945
16c2895f
DM
419462011-01-04 David S. Miller <davem@sunset.davemloft.net>
41947
41948 [BZ #11155]
41949 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41950 implementation just like for lxstat, fxstatat, et al.
41951
2543fef2
JM
419522010-12-27 Jim Meyering <meyering@redhat.com>
41953
41954 [BZ #12348]
41955 * posix/regexec.c (build_trtable): Return failure indication upon
41956 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41957
98727dbe
UD
419582010-12-25 Ulrich Drepper <drepper@gmail.com>
41959
5bd6dc5c
UD
41960 [BZ #12201]
41961 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41962 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41963 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41965
97983464
UD
41966 [BZ #12207]
41967 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41968
98727dbe
UD
41969 [BZ #12204]
41970 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41971 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41972
4a531bb0
L
419732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41974
41975 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41976 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41977 script has SORT_BY_INIT_PRIORITY.
41978 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41979 NO_CTORS_DTORS_SECTIONS is defined.
41980 * elf/soinit.c: Likewise.
41981 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41982 NO_CTORS_DTORS_SECTIONS is defined.
41983 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41984 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41985 * sysdeps/sh/init-first.c: Likewise.
41986 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41987
07eb4b71
UD
419882010-12-24 Ulrich Drepper <drepper@gmail.com>
41989
41990 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41991 always use the slow path.
41992
30950a5f
RA
419932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41994
41995 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41996 similar rule which adds the sysdep directories to the header search in
41997 order to pick up the correct platform stackinfo.h.
41998 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41999 perform test if it is, otherwise return successfully without testing.
42000 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42001 DEFAULT_STACK_PERMS define in stackinfo.h.
42002 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42003 defined in stackinfo.h.
42004 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42005 DEFAULT_STACK_PERMS defined in stackinfo.h.
42006 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42007 * sysdeps/ia64/stackinfo.h: Likewise.
42008 * sysdeps/s390/stackinfo.h: Likewise.
42009 * sysdeps/sh/stackinfo.h: Likewise.
42010 * sysdeps/sparc/stackinfo.h: Likewise.
42011 * sysdeps/x86_64/stackinfo.h: Likewise.
42012 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42013 PF_X for powerpc64. Retain PF_X for powerpc32.
42014
db753e2c
UD
420152010-12-19 Ulrich Drepper <drepper@gmail.com>
42016
14b697f7
UD
42017 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42018 accurately.
db753e2c
UD
42019 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42020 GETDENTS_64BIT_ALIGNED.
42021
28300719
UD
420222010-12-14 Ulrich Drepper <dreper@gmail.com>
42023
14b697f7 42024 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42025
4f197237
AS
420262010-12-10 Andreas Schwab <schwab@redhat.com>
42027
dbb0472f
AS
42028 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42029 _GNU_SOURCE.
42030
4f197237
AS
42031 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42032 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42033 Remove __restrict.
42034 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42035 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42036
fb88ac72
UD
420372010-12-09 Ulrich Drepper <drepper@gmail.com>
42038
42039 [BZ #11655]
42040 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42041 are initialized.
42042
42acbb92
JJ
420432010-12-09 Jakub Jelinek <jakub@redhat.com>
42044
42045 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42046
c038d98d
UD
420472010-12-03 Ulrich Drepper <drepper@gmail.com>
42048
42049 * po/it.po: Update from translation team.
42050
3a4a2499
L
420512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42052
42053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42054 unused codes.
42055
1e24cf6e
UD
420562010-11-30 Ulrich Drepper <drepper@gmail.com>
42057
42058 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42059
a7690819
AS
420602010-11-24 Andreas Schwab <schwab@redhat.com>
42061
42062 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42063 specially.
42064 (gaih_getanswer_slice): Likewise.
42065
3bf8d1b1
JJ
420662010-10-20 Jakub Jelinek <jakub@redhat.com>
42067
42068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42069
6db52fbb
PB
420702010-05-31 Petr Baudis <pasky@suse.cz>
42071
42072 [BZ #11149]
42073 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42074 silently even in the chroot mode.
42075
eaca7569
UD
420762010-11-22 Ulrich Drepper <drepper@gmail.com>
42077
42078 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42079 last patch a bit. Pretty printing
42080
3056dcdb
UD
420812010-05-31 Petr Baudis <pasky@suse.cz>
42082
42083 [BZ #10085]
42084 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42085 initialization of skip_initgroups_dyn.
42086
cf7c9078
UD
420872010-11-19 Ulrich Drepper <drepper@gmail.com>
42088
42089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42091
a1fb5e3e
UD
420922010-11-16 Ulrich Drepper <drepper@gmail.com>
42093
42094 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42095
3540d66b
AS
420962010-11-11 Andreas Schwab <schwab@redhat.com>
42097
42098 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42099 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42100 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42101 ($(objpfx)tst-fnmatch-mem): New rule.
42102 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42103 * posix/tst-fnmatch.c (main): Call mtrace.
42104
13b69574
L
421052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42106
42107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42108 Support Intel processor model 6 and model 0x2c.
42109
da93d214
LM
421102010-11-10 Luis Machado <luisgpm@br.ibm.com>
42111
42112 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42113 signed comparison.
42114
8ca52c6e
L
421152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42116
42117 [BZ #12205]
42118 * string/test-strncasecmp.c (check_result): New function.
42119 (do_one_test): Use it.
42120 (check1): New function.
42121 (test_main): Use it.
42122 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42123 Support strcasecmp and strncasecmp.
42124
69da074d
UD
421252010-11-08 Ulrich Drepper <drepper@gmail.com>
42126
42127 [BZ #12194]
42128 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42129 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42130
ff02d528
L
421312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42132
42133 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42134 IFUNC support.
42135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42136 memset-x86-64.
42137 * sysdeps/x86_64/multiarch/bzero.S: New file.
42138 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42139 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42140 * sysdeps/x86_64/multiarch/memset.S: New file.
42141 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42143 Set bit_Prefer_SSE_for_memop for Intel processors.
42144 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42145 Define.
42146 (index_Prefer_SSE_for_memop): Define.
42147 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42148
344d0b54
LM
421492010-11-04 Luis Machado <luisgpm@br.ibm.com>
42150
42151 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42152 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42153
c0dde15b
UD
421542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42155
42156 [BZ #12191]
42157 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42158 (__x86_64_raw_data_cache_size_half): Likewise.
42159 (__x86_64_raw_shared_cache_size): Likewise.
42160 (__x86_64_raw_shared_cache_size_half): Likewise.
42161
42162 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42163 (__x86_64_raw_data_cache_size_half): Likewise.
42164 (__x86_64_raw_shared_cache_size): Likewise.
42165 (__x86_64_raw_shared_cache_size_half): Likewise.
42166 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42167 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42168 and __x86_64_raw_shared_cache_size_half. Round
42169 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42170 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42171 to multiple of 256 bytes.
42172
0e516e0e
MS
421732010-11-03 Ulrich Drepper <drepper@gmail.com>
42174
42175 [BZ #12167]
42176 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42177 of inacessible symlinks. Verify result of symlink before returning it.
42178 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42179 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42180
0e012e87
ER
421812010-10-28 Erich Ritz <erichritz@gmail.com>
42182
42183 * math/math.h (isinf): Fix typo in comment.
42184
de0ff7bc
UD
421852010-11-01 Ulrich Drepper <drepper@gmail.com>
42186
42187 * po/da.po: Update from translation team.
42188
fa41c84d
UD
421892010-10-26 Ulrich Drepper <drepper@gmail.com>
42190
42191 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42192 is added to the list.
42193
f0967738
AK
421942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42195 Ulrich Drepper <drepper@gmail.com>
42196
42197 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42198 the global list here. Move code to...
42199 (_dl_add_to_namespace_list): ...here. New function.
42200 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42201 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42202 * elf/dl-load.c (lose): Don't remove the element from the list.
42203 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42204 (_dl_map_object): Likewise.
42205
422062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42207
42208 [BZ #12159]
42209 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42210 into all bytes of SSE register.
42211 Patch by Richard Li <richardpku@gmail.com>.
42212
f0967738 422132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42214
42215 [BZ #12140]
42216 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42217 perturbing.
42218
d0b9e94f
MB
422192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42220
42221 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42222 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42223 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42224 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42226 submachine.
42227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42228
8e9f92e9
AS
422292010-10-22 Andreas Schwab <schwab@redhat.com>
42230
42231 * include/dlfcn.h (__RTLD_SECURE): Define.
42232 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42233 mode & __RTLD_SECURE instead.
42234 (open_path): Rename preloaded parameter to secure.
42235 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42236 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42237 * elf/dl-deps.c (openaux): Likewise.
42238 * elf/rtld.c (struct map_args): Remove is_preloaded.
42239 (map_doit): Don't use it.
42240 (dl_main): Likewise.
42241 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42242 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42243
bc96fbda
AS
422442010-09-09 Andreas Schwab <schwab@redhat.com>
42245
42246 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42247 (sysd-rules-targets): Remove duplicates.
42248 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42249 rtld-%.$o dependency.
42250
22cd1c9b
AS
422512010-10-18 Andreas Schwab <schwab@redhat.com>
42252
42253 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42254 _dl_map_object do it.
42255
18edac48
UD
422562010-10-19 Ulrich Drepper <drepper@gmail.com>
42257
42258 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42259 fast fma builtins, define the macros in the C99 standard.
42260 (FP_FAST_FMAF): Likewise.
42261 (FP_FAST_FMAL): Likewise.
42262 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42263
42264 * bits/mathdef.h: Update copyright year.
42265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42266
d2050124
MM
422672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42268
42269 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42270 builtins, define the macros in the C99 standard.
42271 (FP_FAST_FMAF): Likewise.
42272 (FP_FAST_FMAL): Likewise.
42273 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42274 multiply/add.
42275 (FP_FAST_FMAF): Likewise.
42276
475facd1
JJ
422772010-10-15 Jakub Jelinek <jakub@redhat.com>
42278
42279 [BZ #3268]
42280 * math/libm-test.inc (fma_test): Some new testcases.
42281 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42282 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42283 y and infinite z. Do multiplication by C already in long double.
42284 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42286 y and infinite z. Do bitwise or of inexact bit into u.d.
42287 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42288 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42289 * sysdeps/i386/fpu/s_fma.S: Removed.
42290 * sysdeps/i386/fpu/s_fmal.S: Removed.
42291
7c08a05c
JJ
422922010-10-16 Jakub Jelinek <jakub@redhat.com>
42293
42294 [BZ #3268]
42295 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42297 computation is not scheduled after fetestexcept. Fix value
42298 of minimum denormal long double.
42299
f3f7372d
JJ
423002010-10-14 Jakub Jelinek <jakub@redhat.com>
42301
42302 [BZ #3268]
42303 * math/libm-test.inc (fma_test): Add some more tests.
42304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42305 correctly.
42306
14d43591
AS
423072010-10-15 Andreas Schwab <schwab@redhat.com>
42308
42309 * scripts/data/localplt-s390-linux-gnu.data: New file.
42310 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42311
5e908464
JJ
423122010-10-13 Jakub Jelinek <jakub@redhat.com>
42313
42314 [BZ #3268]
42315 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42316 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42317 instead of dbl-64.
42318 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42319 inlines.
42320 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42322 if one of x and y is very large and the other is subnormal.
42323 * sysdeps/s390/fpu/s_fmaf.c: New file.
42324 * sysdeps/s390/fpu/s_fma.c: New file.
42325 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42326 * sysdeps/powerpc/fpu/s_fma.S: New file.
42327 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42328 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42329 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42330
423312010-10-12 Jakub Jelinek <jakub@redhat.com>
42332
42333 [BZ #3268]
42334 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42335 fma tests.
42336 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42337 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42338 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42339 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42340 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42341 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42343
b833d51f
UD
423442010-10-12 Ulrich Drepper <drepper@redhat.com>
42345
42346 [BZ #12078]
42347 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42348 * posix/bug-regex31.input: Add test case.
42349
1751705d
UD
423502010-10-11 Ulrich Drepper <drepper@gmail.com>
42351
e9b9cbf5
UD
42352 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42353 * posix/bug-regex31.input: New file.
42354
42355 [BZ #12078]
42356 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42357 (parse_sub_exp): Fix last change, use postorder.
42358
ef06edbe
UD
42359 * posix/bug-regex31.c: New file.
42360 * posix/Makefile: Add rules to build and run bug-regex31.
42361
a129c80d
UD
42362 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42363
42364 [BZ #12078]
42365 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42366
b76b818e
UD
42367 [BZ #12108]
42368 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42369 to have entries in sys_siglist.
42370
1751705d
UD
42371 [BZ #12093]
42372 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42373 be NULL.
42374
9ff8d36f
JJ
423752010-10-07 Jakub Jelinek <jakub@redhat.com>
42376
42377 [BZ #3268]
42378 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42379 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42380 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42381 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42382 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42383 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42384 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42385 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42386 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42387 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42388 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42389 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42390 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42391 * math/ftestexcept.c (fetestexcept): Likewise.
42392 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42393 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42394 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42395 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42396 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42397 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42398 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42399
af325969
UD
424002010-10-11 Ulrich Drepper <drepper@gmail.com>
42401
c579b202 42402 [BZ #12107]
af325969
UD
42403 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42404 newline.
42405
67a67b95
UD
424062010-10-06 Ulrich Drepper <drepper@gmail.com>
42407
42408 * string/bug-strstr1.c: New file.
42409 * string/Makefile: Add rules to build and run bug-strstr1.
42410
5fb308bc
EB
424112010-10-05 Eric Blake <eblake@redhat.com>
42412
42413 [BZ #12092]
42414 * string/str-two-way.h (two_way_long_needle): Always clear memory
42415 when skipping input due to the shift table.
42416
45db99c7
UD
424172010-10-03 Ulrich Drepper <drepper@gmail.com>
42418
3b111893
UD
42419 [BZ #12005]
42420 * malloc/mcheck.c: Handle large requests.
42421
45db99c7
UD
42422 [BZ #12077]
42423 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42424 for strncmp and strncasecmp.
42425 * string/stratcliff.c: Add tests for strcmp and strncmp.
42426 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42427
cf7a1eb8
NI
424282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42429
42430 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42431 __set_fpscr.
42432
6484ba5e
AJ
424332010-09-30 Andreas Jaeger <aj@suse.de>
42434
42435 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42436 (CGROUP_SUPER_MAGIC): Define.
42437 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42438 Handle btrfs and cgroup file systems.
42439 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42440 Likewise.
42441
91c42559
LM
424422010-09-27 Luis Machado <luisgpm@br.ibm.com>
42443
42444 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42445 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42446
87a97932
AK
424472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42448
42449 [BZ #12067]
42450 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42451 trying to locate the ELF header.
42452
c21cc9bc
AS
424532010-09-27 Andreas Schwab <schwab@redhat.com>
42454
42455 [BZ #11611]
42456 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42457 Mask out sign-bit copies when constructing f_fsid.
42458
315970f6
PB
424592010-09-24 Petr Baudis <pasky@suse.cz>
42460
42461 * debug/stack_chk_fail_local.c: Add missing licence exception.
42462 * debug/warning-nop.c: Likewise.
42463
1ac7a2c7
JM
424642010-09-15 Joseph Myers <joseph@codesourcery.com>
42465
42466 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42467 implementing getdents64 using getdents syscall, set d_type if
42468 __ASSUME_GETDENTS32_D_TYPE.
42469
56801c50
AS
424702010-09-16 Andreas Schwab <schwab@redhat.com>
42471
42472 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42473 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42474
dda51327
UD
424752010-09-21 Ulrich Drepper <drepper@redhat.com>
42476
42477 [BZ #12037]
42478 * posix/unistd.h: Undo change of feature selection for ftruncate from
42479 2010-01-11.
42480
8ffcee4a
UD
424812010-09-20 Ulrich Drepper <drepper@redhat.com>
42482
a545ecd9 42483 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42484 detection.
42485
e24f0a8b
AS
424862010-09-20 Andreas Schwab <schwab@redhat.com>
42487
42488 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42489 fanotify_mark.
42490 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42491
7291c56f
AS
424922010-09-14 Andreas Schwab <schwab@redhat.com>
42493
42494 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42495 variables after CHECK_SP call.
42496 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42497
bc5fb037
AS
424982010-09-13 Andreas Schwab <schwab@redhat.com>
42499 Ulrich Drepper <drepper@redhat.com>
42500
42501 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42502 re-relocationg ld.so.
42503 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42504 _dl_init_paths call.
42505 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42506 here anymore.
42507
e66e7419
UD
425082010-09-14 Ulrich Drepper <drepper@redhat.com>
42509
42510 * resolv/res_init.c (__res_vinit): Count the default server we added.
42511
c044aa75
CLT
425122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42513 Ulrich Drepper <drepper@redhat.com>
42514
42515 [BZ #11968]
42516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42517 (____longjmp_chk): Use %ebx for saving value across system call.
42518 Add unwind info.
42519
32cf4069
AS
425202010-09-06 Andreas Schwab <schwab@redhat.com>
42521
42522 * manual/Makefile: Don't mix pattern rules with normal rules.
42523
817328ee
AS
425242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42525
42526 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42527 operation.
42528 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42529 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42530 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42531 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42533 Likewise.
42534
29fddf61
UD
425352010-09-04 Ulrich Drepper <drepper@redhat.com>
42536
42537 [BZ #11979]
42538 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42539 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42540
0959ffc9
UD
425412010-09-02 Ulrich Drepper <drepper@redhat.com>
42542
42543 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42544 * sysdeps/x86_64/addmul_1.S: Likewise.
42545 * sysdeps/x86_64/lshift.S: Likewise.
42546 * sysdeps/x86_64/mul_1.S: Likewise.
42547 * sysdeps/x86_64/rshift.S: Likewise.
42548 * sysdeps/x86_64/sub_n.S: Likewise.
42549 * sysdeps/x86_64/submul_1.S: Likewise.
42550
ece29840
ST
425512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42552
0959ffc9
UD
42553 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42554 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42555 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42556 * bits/sched.h [__need_schedparam]
ece29840 42557 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42558 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42559 (__defined_schedparam): Define to 1.
ece29840
ST
42560 (__sched_param): New structure, identical to sched_param.
42561 (__need_schedparam): Undefine.
42562
e53a31fe
MF
425632010-08-31 Mike Frysinger <vapier@gentoo.org>
42564
fdc0c10d
MF
42565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42566 (epoll_create1): Declare.
42567
e53a31fe
MF
42568 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42569
a726d796
AS
425702010-08-31 Andreas Schwab <schwab@redhat.com>
42571
42572 [BZ #7066]
42573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42574 shifting retval into place.
42575
2f3e3dc7
UD
425762010-09-01 Ulrich Drepper <drepper@redhat.com>
42577
f2933da9
UD
42578 * nis/rpcsvc/nis.h: Update copyright notice.
42579 * nis/rpcsvc/nis.x: Likewise.
42580 * nis/rpcsvc/nis_callback.h: Likewise.
42581 * nis/rpcsvc/nis_callback.x: Likewise.
42582 * nis/rpcsvc/nis_object.x: Likewise.
42583 * nis/rpcsvc/nis_tags.h: Likewise.
42584 * nis/rpcsvc/yp.h: Likewise.
42585 * nis/rpcsvc/yp.x: Likewise.
42586 * nis/rpcsvc/ypupd.h: Likewise.
42587 * nis/yp_xdr.c: Likewise.
42588 * nis/ypupdate_xdr.c: Likewise.
42589
2f3e3dc7
UD
42590 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42591 mainly the body of pmap_getport. Add parameters to specify timeouts.
42592 (pmap_getport): Use __libc_rpc_getport.
42593 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42594 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42595 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42596
f3dcc2f9
AS
425972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42598
42599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42600 fanotify_mark.
42601
6d34eb5b
RM
426022010-08-27 Roland McGrath <roland@redhat.com>
42603
42604 * sysdeps/i386/i686/multiarch/Makefile
42605 (CFLAGS-varshift.c): New variable.
42606
9ea3de11
UD
426072010-08-27 Ulrich Drepper <drepper@redhat.com>
42608
c96d23fc
UD
42609 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42610 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42611
9ea3de11
UD
42612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42613
42614 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42615
623aac7f
L
426162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42617
42618 * sysdeps/x86_64/strlen.S: Unroll the loop.
42619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42620 strlen-sse2 strlen-sse2-bsf.
42621 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42622 __strlen_no_bsf if bit_Slow_BSF is set.
42623 (__strlen_sse42): Removed.
42624 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42625 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42626
8b2b7715
RM
426272010-08-25 Roland McGrath <roland@redhat.com>
42628
42629 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42630 * sysdeps/x86_64/multiarch/varshift.c: New file.
42631 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42632 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42633 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42634 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42635
e73015f2
L
426362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42637
42638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42639 strlen-sse2 strlen-sse2-bsf.
42640 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42641 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42642 (__strlen_sse2): Removed.
42643 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42646 bit_Slow_BSF for Atom.
42647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42648 (index_Slow_BSF): Define.
42649 (HAS_SLOW_BSF): Define.
42650
df24a73e
UD
426512010-08-25 Ulrich Drepper <drepper@redhat.com>
42652
42653 [BZ #10851]
42654 * resolv/res_init.c (__res_vinit): When no server address at all
42655 is given default to loopback.
42656
f2ac4868
RM
426572010-08-24 Roland McGrath <roland@redhat.com>
42658
09055553
RM
42659 * configure.in: Remove config-name.h generation.
42660 * configure: Regenerated.
42661 * config-name.in: File removed.
42662 * scripts/config-uname.sh: New file.
42663 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42664 ($(objdir)config-name.h): New target.
42665
f2ac4868
RM
42666 * sunrpc/rpc_parse.h: Avoid nested comment.
42667
73f27d5e
RH
426682010-08-24 Richard Henderson <rth@redhat.com>
42669 Ulrich Drepper <drepper@redhat.com>
42670 H.J. Lu <hongjiu.lu@intel.com>
42671
42672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42674 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42675 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42676 _mm_alignr_epi8 with _mm_loadu_si128.
42677 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42678 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42679 (__m128i_shift_right): Removed.
42680 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42681 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42682 * sysdeps/x86_64/multiarch/varshift.h: New file.
42683 * sysdeps/x86_64/multiarch/varshift.S: New file.
42684
84b9230c
MF
426852010-08-21 Mike Frysinger <vapier@gentoo.org>
42686
42687 * configure.in: Move assembler checks to before sysdep dir checking.
42688
9bbd0ddc
PB
426892010-08-20 Petr Baudis <pasky@suse.cz>
42690
42691 * LICENSES: Sync the sunrpc license.
42692
9da4bb31
UD
426932010-08-19 Ulrich Drepper <drepper@redhat.com>
42694
a7ab6ec8
UD
42695 * sunrpc/auth_des.c: Update copyright notice once again.
42696 * sunrpc/auth_none.c: Likewise.
42697 * sunrpc/auth_unix.c: Likewise.
42698 * sunrpc/authdes_prot.c: Likewise.
42699 * sunrpc/authuxprot.c: Likewise.
42700 * sunrpc/bindrsvprt.c: Likewise.
42701 * sunrpc/clnt_gen.c: Likewise.
42702 * sunrpc/clnt_perr.c: Likewise.
42703 * sunrpc/clnt_raw.c: Likewise.
42704 * sunrpc/clnt_simp.c: Likewise.
42705 * sunrpc/clnt_tcp.c: Likewise.
42706 * sunrpc/clnt_udp.c: Likewise.
42707 * sunrpc/clnt_unix.c: Likewise.
42708 * sunrpc/des_crypt.c: Likewise.
42709 * sunrpc/des_soft.c: Likewise.
42710 * sunrpc/get_myaddr.c: Likewise.
42711 * sunrpc/getrpcport.c: Likewise.
42712 * sunrpc/key_call.c: Likewise.
42713 * sunrpc/key_prot.c: Likewise.
42714 * sunrpc/openchild.c: Likewise.
42715 * sunrpc/pm_getmaps.c: Likewise.
42716 * sunrpc/pm_getport.c: Likewise.
42717 * sunrpc/pmap_clnt.c: Likewise.
42718 * sunrpc/pmap_prot.c: Likewise.
42719 * sunrpc/pmap_prot2.c: Likewise.
42720 * sunrpc/pmap_rmt.c: Likewise.
42721 * sunrpc/rpc/auth.h: Likewise.
42722 * sunrpc/rpc/auth_unix.h: Likewise.
42723 * sunrpc/rpc/clnt.h: Likewise.
42724 * sunrpc/rpc/des_crypt.h: Likewise.
42725 * sunrpc/rpc/key_prot.h: Likewise.
42726 * sunrpc/rpc/netdb.h: Likewise.
42727 * sunrpc/rpc/pmap_clnt.h: Likewise.
42728 * sunrpc/rpc/pmap_prot.h: Likewise.
42729 * sunrpc/rpc/pmap_rmt.h: Likewise.
42730 * sunrpc/rpc/rpc.h: Likewise.
42731 * sunrpc/rpc/rpc_des.h: Likewise.
42732 * sunrpc/rpc/rpc_msg.h: Likewise.
42733 * sunrpc/rpc/svc.h: Likewise.
42734 * sunrpc/rpc/svc_auth.h: Likewise.
42735 * sunrpc/rpc/types.h: Likewise.
42736 * sunrpc/rpc/xdr.h: Likewise.
42737 * sunrpc/rpc_clntout.c: Likewise.
42738 * sunrpc/rpc_cmsg.c: Likewise.
42739 * sunrpc/rpc_common.c: Likewise.
42740 * sunrpc/rpc_cout.c: Likewise.
42741 * sunrpc/rpc_dtable.c: Likewise.
42742 * sunrpc/rpc_hout.c: Likewise.
42743 * sunrpc/rpc_main.c: Likewise.
42744 * sunrpc/rpc_parse.c: Likewise.
42745 * sunrpc/rpc_parse.h: Likewise.
42746 * sunrpc/rpc_prot.c: Likewise.
42747 * sunrpc/rpc_sample.c: Likewise.
42748 * sunrpc/rpc_scan.c: Likewise.
42749 * sunrpc/rpc_scan.h: Likewise.
42750 * sunrpc/rpc_svcout.c: Likewise.
42751 * sunrpc/rpc_tblout.c: Likewise.
42752 * sunrpc/rpc_util.c: Likewise.
42753 * sunrpc/rpc_util.h: Likewise.
42754 * sunrpc/rpcinfo.c: Likewise.
42755 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42756 * sunrpc/rpcsvc/key_prot.x: Likewise.
42757 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42758 * sunrpc/rpcsvc/mount.x: Likewise.
42759 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42760 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42761 * sunrpc/rpcsvc/rex.x: Likewise.
42762 * sunrpc/rpcsvc/rstat.x: Likewise.
42763 * sunrpc/rpcsvc/rusers.x: Likewise.
42764 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42765 * sunrpc/rpcsvc/spray.x: Likewise.
42766 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42767 * sunrpc/rtime.c: Likewise.
42768 * sunrpc/svc.c: Likewise.
42769 * sunrpc/svc_auth.c: Likewise.
42770 * sunrpc/svc_authux.c: Likewise.
42771 * sunrpc/svc_raw.c: Likewise.
42772 * sunrpc/svc_run.c: Likewise.
42773 * sunrpc/svc_simple.c: Likewise.
42774 * sunrpc/svc_tcp.c: Likewise.
42775 * sunrpc/svc_udp.c: Likewise.
42776 * sunrpc/svc_unix.c: Likewise.
42777 * sunrpc/svcauth_des.c: Likewise.
42778 * sunrpc/xcrypt.c: Likewise.
42779 * sunrpc/xdr.c: Likewise.
42780 * sunrpc/xdr_array.c: Likewise.
42781 * sunrpc/xdr_float.c: Likewise.
42782 * sunrpc/xdr_mem.c: Likewise.
42783 * sunrpc/xdr_rec.c: Likewise.
42784 * sunrpc/xdr_ref.c: Likewise.
42785 * sunrpc/xdr_sizeof.c: Likewise.
42786 * sunrpc/xdr_stdio.c: Likewise.
42787
9da4bb31
UD
42788 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42789 handling.
42790
bdaa77bc
AS
427912010-08-19 Andreas Schwab <schwab@redhat.com>
42792
42793 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42794
fe2f79db
LM
427952010-08-19 Luis Machado <luisgpm@br.ibm.com>
42796
42797 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42798 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42799 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42800 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42801 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42802 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42803 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42804 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42805 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42806 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42807 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42808 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42809 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42810 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42811
b9b42ee0
AB
428122010-07-26 Anton Blanchard <anton@samba.org>
42813
42814 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42815 * malloc/arena.c (heap_trim): Likewise.
42816
1c06ba31
UD
428172010-08-16 Ulrich Drepper <drepper@redhat.com>
42818
42819 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42820 here. Not...
42821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42822 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42823
f8392f40
L
428242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42825
42826 * sysdeps/i386/elf/Makefile: New file.
42827
3162f12e
AS
428282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42829
42830 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42831 from fanotify_init.
42832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42833 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42834
28c90b2c
UD
428352010-08-15 Ulrich Drepper <drepper@redhat.com>
42836
42837 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42838 of strncasecmp_l.
1feccb6c 42839 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42840
ca6bb004
UD
428412010-08-14 Ulrich Drepper <drepper@redhat.com>
42842
e9f82e0d
UD
42843 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42844 strncase_l-nonascii.
42845 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42846 Add strncase_l-ssse3.
42847 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42848 * sysdeps/x86_64/strcmp.S: Likewise.
42849 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42850 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42851 * sysdeps/x86_64/strncase.S: New file.
42852 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42853 * sysdeps/x86_64/strncase_l.S: New file.
42854 * string/Makefile (strop-tests): Add strncasecmp.
42855 * string/test-strncasecmp.c: New file.
42856
42857 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42858 warning.
42859
ca6bb004
UD
42860 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42861 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42862
052fa7b3
AS
428632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42864
42865 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42866
962dba78
UD
428672010-08-12 Ulrich Drepper <drepper@redhat.com>
42868
42869 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42870 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42871 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42872
bebff237
AM
428732010-05-01 Alan Modra <amodra@gmail.com>
42874
42875 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42876 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42877 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42878 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42879 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42880 tidying. Don't tail-call __sigjmp_save for static lib.
42881 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42882 save location.
42883 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42884 (CALL_MCOUNT): Add eh info, and nop after bl.
42885 (TAIL_CALL_SYSCALL_ERROR): New macro.
42886 (PSEUDO_RET): Use it.
42887 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42888 Correct save location of integer regs and cr.
42889 (_dl_profile_resolve): Correct cr save location. Delete nops
42890 after bl when SHARED. Reduce cfi size a little by better
42891 placement of cfi directives.
42892 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42893 make a stack frame. Instead use parm save area as a temp.
42894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42895 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42897 Don't make a stack frame for parent, use parm save area.
42898 Increase child stack frame to 112 bytes. Don't save unused reg,
42899 and adjust reg usage. Set up cfi on error recovery and
42900 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42902 (__makecontext): Add dummy nop after jump to exit.
42903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42904 Use correct parm save area and cr save, reduce stack frame.
42905 Correct cfi for possible PSEUDO_RET frame setup.
42906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42907 Branch to local label emitted by PSEUDO_RET rather than
42908 __syscall_error.
42909
02637374
AS
429102010-08-12 Andreas Schwab <schwab@redhat.com>
42911
42912 [BZ #11904]
42913 * locale/programs/locale.c (print_assignment): New function.
42914 (show_locale_vars): Use it.
42915
c3e2f19b
UD
429162010-08-11 Ulrich Drepper <drepper@redhat.com>
42917
3cdaa6ad
UD
42918 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42919 field.
42920 (struct statfs64): Likewise.
42921 (_STATFS_F_FLAGS): Define.
42922 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42923 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42924 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42925 (ST_VALID): Define locally.
42926 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42927 __statvfs_getflags, use the provided value.
42928 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42929 __ASSUME_STATFS_F_FLAGS.
42930
754f7da3
UD
42931 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42932
10b3bedc
UD
42933 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42934 Add sys/fanotify.h.
42935 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42936 fanotify_mask for GLIBC_2.13.
42937 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42938 fanotify_init and fanotify_mark.
42939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42940 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42941
c08fb0d7
UD
42942 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42943 Add prlimit.
42944 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42945 prlimit64 for GLIBC_2.13.
42946 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42947 prlimit64.
42948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42949 syscall.
42950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42951 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42952 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42953 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42955 add prlimit alias.
42956 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42957
15bac72b
UD
42958 [BZ #11903]
42959 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42960 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42961
c3e2f19b
UD
42962 * nss/Makefile: Add rules to build and run tst-nss-test1.
42963 * shlib-versions: Add entry for libnss_test1.
42964 * nss/nss_test1.c: New file.
42965 * nss/tst-nss-test1.c: New file.
42966
42967 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42968 (__nss_configure_lookup): Set appropriate entry in
42969 __nss_configure_lookup to true.
42970 * nss/nsswitch.h: Define enum with indeces of databases in
42971 databases and __nss_database_custom arrays. Declare
42972 __nss_database_custom.
42973 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42974 to avoid using nscd when custom rules are installed.
42975 * nss/getXXbyYY_r.c: Likewise.
42976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42977
42978 * nss/nss_files/files-parse.c: Whitespace fixes.
42979
f15ce4d8
UD
429802010-08-09 Ulrich Drepper <drepper@redhat.com>
42981
42982 [BZ #11883]
42983 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42984 * posix/fnmatch_loop.c: Likewise.
42985
d22e4cc9
AK
429862010-07-17 Andi Kleen <ak@linux.intel.com>
42987
42988 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42989 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42990 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42991 * Versions.def [GLIBC_2.13]: Add.
42992
805bc17d
UD
429932010-08-06 Ulrich Drepper <drepper@redhat.com>
42994
42995 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42996 Also fail if tpwd after pwuid call is NULL.
42997
5a42321d
ST
429982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42999
43000 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43001 when converting to ms.
43002
fd3ebeda
ST
430032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43004
43005 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43006 EOPNOTSUPP errors with ENOTTY.
43007 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43008 EOPNOTSUPP errors with ENOTTY.
43009
73507d3a
UD
430102010-07-31 Ulrich Drepper <drepper@redhat.com>
43011
43012 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43013 Add strcasecmp_l-ssse3.
43014 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43015 strcasecmp.
43016 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43017 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43019
fe36dd02
UD
430202010-07-30 Ulrich Drepper <drepper@redhat.com>
43021
66f6765a
UD
43022 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43023
42e08a54
UD
43024 * string/Makefile (strop-tests): Add strcasecmp.
43025 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43026 strcasecmp_l-nonascii.
43027 (gen-as-const-headers): Add locale-defines.sym.
43028 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43029 * sysdeps/x86_64/strcasecmp.S: New file.
43030 * sysdeps/x86_64/strcasecmp_l.S: New file.
43031 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43032 * sysdeps/x86_64/locale-defines.sym: New file.
43033 * string/test-strcasecmp.c: New file.
43034
fe36dd02
UD
43035 * string/test-strcasestr.c: Test both ends of the range of characters.
43036 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43037
48cbc0d6
RM
430382010-07-29 Roland McGrath <roland@redhat.com>
43039
76e6d6bc 43040 [BZ #11856]
48cbc0d6
RM
43041 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43042
880113d9
UD
430432010-07-27 Ulrich Drepper <drepper@redhat.com>
43044
43045 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43046 for ld.so.
43047
deb9cabb
AS
430482010-07-27 Andreas Schwab <schwab@redhat.com>
43049
43050 * manual/memory.texi (Malloc Tunable Parameters): Document
43051 M_PERTURB.
43052
1c7570ff
RM
430532010-07-26 Roland McGrath <roland@redhat.com>
43054
43055 [BZ #11840]
43056 * configure.in (-fgnu89-inline check): Set and substitute
43057 gnu89_inline, not libc_cv_gnu89_inline.
43058 * configure: Regenerated.
43059 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43060
24fb0f88
UD
430612010-07-26 Ulrich Drepper <drepper@redhat.com>
43062
43063 * string/test-strnlen.c: New file.
43064 * string/Makefile (strop-tests): Add strnlen.
43065 * string/tester.c (test_strnlen): Add a few more test cases.
43066 * string/tst-strlen.c: Better error reporting.
43067
43068 * sysdeps/x86_64/strnlen.S: New file.
43069
8e96b93a
UD
430702010-07-24 Ulrich Drepper <drepper@redhat.com>
43071
43072 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43073 lower-latency instructions.
43074
dbc676d4
UD
430752010-07-23 Ulrich Drepper <drepper@redhat.com>
43076
43077 * string/test-strcasestr.c: New file.
43078 * string/test-strstr.c: New file.
43079 * string/Makefile (strop-tests): Add strstr and strcasestr.
43080 * string/str-two-way.h: Don't undefine MAX.
43081 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43082
f6a31e0e
AS
430832010-07-21 Andreas Schwab <schwab@redhat.com>
43084
43085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43086 strcasestr-nonascii.
43087 (CFLAGS-strcasestr-nonascii.c): Define.
43088 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43090 Remove unused attribute.
43091
5dbc3b6c
RM
430922010-07-20 Roland McGrath <roland@redhat.com>
43093
43094 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43095 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43096 ld.so.cache was broken. With it, there is no way to disable dsocaps
43097 like LD_HWCAP_MASK can disable hwcaps.
43098
23d101d8
EPM
430992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43100
43101 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43102
cc9f2e47
UD
431032010-07-16 Ulrich Drepper <drepper@redhat.com>
43104
43105 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43106 call in strcasestr.
43107 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43108 __strcasestr_sse42_nonascii.
43109 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43110 strcasestr-nonascii.c.
43111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43112
77c1b069
LM
431132010-06-15 Luis Machado <luisgpm@br.ibm.com>
43114
43115 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43116 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43117 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43118 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43119
440566c3
UD
431202010-07-09 Ulrich Drepper <drepper@redhat.com>
43121
43122 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43123 fcntl.
43124
5be9d05d
AS
431252010-07-06 Andreas Schwab <schwab@redhat.com>
43126
c30b7ee2 43127 [BZ #11577]
5be9d05d
AS
43128 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43129 dl_signal_cerror.
43130
8a492a67
UD
431312010-07-06 Ulrich Drepper <drepper@redhat.com>
43132
43133 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43134 _PC_PIPE_BUF using F_GETPIPE_SZ.
43135
713df3d5
RM
431362010-07-05 Roland McGrath <roland@redhat.com>
43137
43138 * manual/arith.texi (Rounding Functions): Fix rint description
43139 implicit in round description.
43140
702e8f14
UD
431412010-07-02 Ulrich Drepper <drepper@redhat.com>
43142
43143 * elf/Makefile: Fix linking for a few tests to make recent linker
43144 happy.
43145
52ed8be9
AS
431462010-06-30 Andreas Schwab <schwab@redhat.com>
43147
43148 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43149 $(common-objpfx)libc_nonshared.a.
43150
f47c9a11
LM
431512010-06-21 Luis Machado <luisgpm@br.ibm.com>
43152
43153 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43154 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43155 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43156 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43157 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43158 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43159 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43160 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43175 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43176 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43177 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43178 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43179 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43180 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43181 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43182 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43183 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43184 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43185 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43186 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43201
6fb8cbcb
L
432022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43203
43204 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43205 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43206 * string/memmove.c (memmove): Renamed to ...
43207 (MEMMOVE): ...this. Default to memmove.
43208 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43209 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43210 (END_CHK): Define.
43211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43212 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43213 mempcpy-ssse3-back memmove-ssse3-back.
43214 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43216 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43217 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43218 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43219 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43220 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43221 * sysdeps/x86_64/multiarch/memmove.c: New file.
43222 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43223 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43224 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43225 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43226 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43227 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43228 Define.
43229 (index_Fast_Copy_Backward): Define.
43230 (HAS_ARCH_FEATURE): Define.
43231 (HAS_FAST_REP_STRING): Define.
43232 (HAS_FAST_COPY_BACKWARD): Define.
43233
4e733bac 432342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43235
43236 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43237 Restore proper fallback handling.
43238
63c4ed22
UD
432392010-06-19 Ulrich Drepper <drepper@redhat.com>
43240
ac2b484c
UD
43241 [BZ #11701]
43242 * posix/group_member.c (__group_member): Correct checking loop.
43243
63c4ed22
UD
43244 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43245 OOM in getpwuid_r correctly. Return error number when the caller
43246 should return, otherwise -1.
43247 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43248 call returning > 0 value.
43249 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43250
765ade4b
AS
432512010-06-07 Andreas Schwab <schwab@redhat.com>
43252
43253 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43254 libc_nonshared.a from targets in modules-names.
43255
80da2e09
KS
432562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43257
43258 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43259 requires it.
43260
158db122
LM
432612010-06-10 Luis Machado <luisgpm@br.ibm.com>
43262
43263 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43264 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43265 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43267
caa78cf8
AS
432682010-06-02 Andreas Schwab <schwab@redhat.com>
43269
43270 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43271
b2ef2c01
UD
432722010-06-14 Ulrich Drepper <drepper@redhat.com>
43273
43274 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43275 and F_GETPIPE_SZ.
43276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43280 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43282
fbd643b6
RM
432832010-06-14 Roland McGrath <roland@redhat.com>
43284
43285 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43286
f32f2869
JJ
432872010-06-07 Jakub Jelinek <jakub@redhat.com>
43288
43289 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43290 __REDIRECT followed by __THROW.
43291 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43292 * posix/getopt.h (getopt): Likewise.
43293
2a50c078
EPM
432942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43295
43296 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43297 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43298 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43299 in AT_FLAGS.
43300 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43301 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43302
eb5ad2eb
LM
433032010-05-28 Luis Machado <luisgpm@br.ibm.com>
43304
43305 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43306
3c88fe1e
L
433072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43308
43309 [BZ #11640]
43310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43311 Properly check family and model.
43312
d2f73151
TY
433132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43314
43315 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43316
ebd2e13d
LM
433172010-05-24 Luis Machado <luisgpm@br.ibm.com>
43318
43319 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43320
b32b8b45
UD
433212010-05-21 Ulrich Drepper <drepper@redhat.com>
43322
43323 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43324 symbol reference.
43325
9acbe24d
AS
433262010-05-19 Andreas Schwab <schwab@redhat.com>
43327
43328 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43329 symbol reference.
43330
f0ccf6ea
AS
433312010-05-21 Andreas Schwab <schwab@redhat.com>
43332
3d04ff3a
AS
43333 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43334 and internal_recvmmsg.
43335 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43336 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43337 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43338 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43339
f0ccf6ea
AS
43340 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43341 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43342 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43343
5b08ac57
AS
433442010-05-20 Andreas Schwab <schwab@redhat.com>
43345
43346 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43347
4828935d
LM
433482010-05-17 Luis Machado <luisgpm@br.ibm.com>
43349
43350 POWER7 optimizations.
43351 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43352 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43353
373d545e
UD
433542010-05-19 Ulrich Drepper <drepper@redhat.com>
43355
43356 * version.h: Update for 2.13 development version.
43357
21a2b1ae
AS
433582010-05-12 Andrew Stubbs <ams@codesourcery.com>
43359
43360 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43361 exceptions. Return 0.
43362
3f7dcb2b
RM
433632010-05-07 Roland McGrath <roland@redhat.com>
43364
43365 * elf/ldconfig.c (main): Add a const.
43366
5f24d53a 433672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43368
a160f8d8
UD
43369 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43370 (args_options): Add no-idn option.
43371 (ahosts_keys_int): Add idn_flags to ai_flags.
43372 (parse_option): Handle 'i' option to clear idn_flags.
43373
5f24d53a
UD
43374 * malloc/malloc.c (_int_free): Possible race in the most recently
43375 added check. Only act on the data if no current modification
43376 happened.
265bb1ce
UD
43377
43378See ChangeLog.17 for earlier changes.